mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Add Golden Cheese debug item
This commit is contained in:
parent
34c5e95d8a
commit
3cbfe02a8e
55
assets/common/items/debug/golden_cheese.ron
Normal file
55
assets/common/items/debug/golden_cheese.ron
Normal file
@ -0,0 +1,55 @@
|
||||
ItemDef(
|
||||
name: "Golden Cheese",
|
||||
description: "They say gods eat it to get eternal youth.",
|
||||
kind: Consumable(
|
||||
kind: Drink,
|
||||
effects: [
|
||||
Buff((
|
||||
kind: Regeneration,
|
||||
data: (
|
||||
strength: 1000,
|
||||
duration: Some((
|
||||
secs: 999,
|
||||
nanos: 0,
|
||||
)),
|
||||
),
|
||||
cat_ids: [Natural],
|
||||
)),
|
||||
Buff((
|
||||
kind: EnergyRegen,
|
||||
data: (
|
||||
strength: 1000,
|
||||
duration: Some((
|
||||
secs: 999,
|
||||
nanos: 0,
|
||||
)),
|
||||
),
|
||||
cat_ids: [Natural],
|
||||
)),
|
||||
Buff((
|
||||
kind: IncreaseMaxHealth,
|
||||
data: (
|
||||
strength: 50000,
|
||||
duration: Some((
|
||||
secs: 999,
|
||||
nanos: 0,
|
||||
)),
|
||||
),
|
||||
cat_ids: [Natural],
|
||||
)),
|
||||
Buff((
|
||||
kind: IncreaseMaxEnergy,
|
||||
data: (
|
||||
strength: 50000,
|
||||
duration: Some((
|
||||
secs: 999,
|
||||
nanos: 0,
|
||||
)),
|
||||
),
|
||||
cat_ids: [Natural],
|
||||
)),
|
||||
]
|
||||
),
|
||||
quality: Debug,
|
||||
tags: [Food],
|
||||
)
|
@ -5,6 +5,7 @@
|
||||
(Item("common.items.debug.admin_sword"),1),
|
||||
(Item("common.items.debug.velorite_bow_debug"), 1),
|
||||
(Item("common.items.debug.admin"),1),
|
||||
(Item("common.items.debug.golden_cheese"),100),
|
||||
],
|
||||
"consumables": [
|
||||
(Item("common.items.consumable.potion_big"), 100),
|
||||
|
@ -3189,6 +3189,11 @@
|
||||
"voxel.sprite.food.salad_tomato",
|
||||
(0.0, 0.0, 0.0), (-50.0, 30.0, 20.0), 0.8,
|
||||
),
|
||||
// Admin consumables
|
||||
Simple("common.items.debug.golden_cheese"): VoxTrans(
|
||||
"voxel.object.item_cheese",
|
||||
(0.0, 0.0, 0.0), (-50.0, 30.0, 20.0), 0.7,
|
||||
),
|
||||
// Throwables
|
||||
Simple("common.items.utility.bomb"): VoxTrans(
|
||||
"voxel.object.bomb",
|
||||
|
Loading…
Reference in New Issue
Block a user