Add Golden Cheese debug item

This commit is contained in:
juliancoffee 2022-09-05 21:57:45 +03:00
parent 34c5e95d8a
commit 3cbfe02a8e
3 changed files with 61 additions and 0 deletions

View 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],
)

View File

@ -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),

View File

@ -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",