mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Cactus Colada
Made cacti lootable Cactus colada recipe and item price balance fmt "make it 8 and drop it to 20 or 25? Not really sure tbh"
This commit is contained in:
parent
278b64deab
commit
c17e3ad996
9
assets/common/items/crafting_ing/cactus.ron
Normal file
9
assets/common/items/crafting_ing/cactus.ron
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
ItemDef(
|
||||||
|
name: "Cactus",
|
||||||
|
description: "Grows in warm and dry places.",
|
||||||
|
kind: Ingredient(
|
||||||
|
kind: "Cactus",
|
||||||
|
),
|
||||||
|
quality: Common,
|
||||||
|
tags: [],
|
||||||
|
)
|
22
assets/common/items/food/cactus_colada.ron
Normal file
22
assets/common/items/food/cactus_colada.ron
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
ItemDef(
|
||||||
|
name: "Cactus Colada",
|
||||||
|
description: "Giving you that special prickle.",
|
||||||
|
kind: Consumable(
|
||||||
|
kind: "CactusColada",
|
||||||
|
effect: [
|
||||||
|
Buff((
|
||||||
|
kind: Saturation,
|
||||||
|
data: (
|
||||||
|
strength: 25.0,
|
||||||
|
duration: Some((
|
||||||
|
secs: 15,
|
||||||
|
nanos: 0,
|
||||||
|
)),
|
||||||
|
),
|
||||||
|
cat_ids: [Natural],
|
||||||
|
)),
|
||||||
|
]
|
||||||
|
),
|
||||||
|
quality: Moderate,
|
||||||
|
tags: [Food],
|
||||||
|
)
|
@ -6,4 +6,5 @@
|
|||||||
(1.2, Item("common.items.food.plainsalad")),
|
(1.2, Item("common.items.food.plainsalad")),
|
||||||
(0.5, Item("common.items.food.sunflower_icetea")),
|
(0.5, Item("common.items.food.sunflower_icetea")),
|
||||||
(1.0, Item("common.items.food.tomatosalad")),
|
(1.0, Item("common.items.food.tomatosalad")),
|
||||||
|
(1.4, Item("common.items.food.cactus_colada")),
|
||||||
]
|
]
|
||||||
|
@ -49,6 +49,14 @@
|
|||||||
],
|
],
|
||||||
craft_sprite: Some(Cauldron),
|
craft_sprite: Some(Cauldron),
|
||||||
),
|
),
|
||||||
|
"cactus_colada": (
|
||||||
|
output: ("common.items.food.cactus_colada", 1),
|
||||||
|
inputs: [
|
||||||
|
(Item("common.items.crafting_ing.empty_vial"), 1),
|
||||||
|
(Item("common.items.crafting_ing.cactus"), 8),
|
||||||
|
],
|
||||||
|
craft_sprite: Some(Cauldron),
|
||||||
|
),
|
||||||
"collar_basic": (
|
"collar_basic": (
|
||||||
output: ("common.items.utility.collar", 1),
|
output: ("common.items.utility.collar", 1),
|
||||||
inputs: [
|
inputs: [
|
||||||
|
@ -2272,6 +2272,10 @@
|
|||||||
Consumable("Coconut"): Png(
|
Consumable("Coconut"): Png(
|
||||||
"element.items.item_coconut",
|
"element.items.item_coconut",
|
||||||
),
|
),
|
||||||
|
Consumable("CactusColada"): VoxTrans(
|
||||||
|
"voxel.object.cactus_drink",
|
||||||
|
(-1.0, 1.0, 0.0), (-50.0, 30.0, 20.0), 0.8,
|
||||||
|
),
|
||||||
Consumable("PotionMed"): VoxTrans(
|
Consumable("PotionMed"): VoxTrans(
|
||||||
"voxel.object.potion_red",
|
"voxel.object.potion_red",
|
||||||
(0.0, 0.0, 0.0), (-50.0, 30.0, 20.0), 0.7,
|
(0.0, 0.0, 0.0), (-50.0, 30.0, 20.0), 0.7,
|
||||||
@ -2448,6 +2452,10 @@
|
|||||||
"voxel.sprite.rocks.rock-0",
|
"voxel.sprite.rocks.rock-0",
|
||||||
(0.0, 0.0, 0.0), (-50.0, 40.0, 20.0), 0.8,
|
(0.0, 0.0, 0.0), (-50.0, 40.0, 20.0), 0.8,
|
||||||
),
|
),
|
||||||
|
Ingredient("Cactus"): VoxTrans(
|
||||||
|
"voxel.sprite.cacti.flat_cactus_med",
|
||||||
|
(0.0, 0.0, 0.0), (-50.0, 40.0, 20.0), 0.9,
|
||||||
|
),
|
||||||
Ingredient("Seashells"): VoxTrans(
|
Ingredient("Seashells"): VoxTrans(
|
||||||
"voxel.sprite.seashells.shell-0",
|
"voxel.sprite.seashells.shell-0",
|
||||||
(0.0, 0.0, 0.0), (-50.0, 40.0, 20.0), 0.8,
|
(0.0, 0.0, 0.0), (-50.0, 40.0, 20.0), 0.8,
|
||||||
|
BIN
assets/voxygen/voxel/object/cactus_drink.vox
(Stored with Git LFS)
Normal file
BIN
assets/voxygen/voxel/object/cactus_drink.vox
(Stored with Git LFS)
Normal file
Binary file not shown.
@ -851,6 +851,9 @@ impl Item {
|
|||||||
SpriteKind::Pyrebloom => "common.items.flowers.pyrebloom",
|
SpriteKind::Pyrebloom => "common.items.flowers.pyrebloom",
|
||||||
SpriteKind::WildFlax => "common.items.flowers.wild_flax",
|
SpriteKind::WildFlax => "common.items.flowers.wild_flax",
|
||||||
SpriteKind::Seashells => "common.items.crafting_ing.seashells",
|
SpriteKind::Seashells => "common.items.crafting_ing.seashells",
|
||||||
|
SpriteKind::RoundCactus => "common.items.crafting_ing.cactus",
|
||||||
|
SpriteKind::ShortFlatCactus => "common.items.crafting_ing.cactus",
|
||||||
|
SpriteKind::MedFlatCactus => "common.items.crafting_ing.cactus",
|
||||||
// Containers
|
// Containers
|
||||||
// IMPORTANT: Add any new container to `SpriteKind::is_container`
|
// IMPORTANT: Add any new container to `SpriteKind::is_container`
|
||||||
container
|
container
|
||||||
|
@ -298,6 +298,9 @@ impl SpriteKind {
|
|||||||
SpriteKind::Moonbell => true,
|
SpriteKind::Moonbell => true,
|
||||||
SpriteKind::Pyrebloom => true,
|
SpriteKind::Pyrebloom => true,
|
||||||
SpriteKind::WildFlax => true,
|
SpriteKind::WildFlax => true,
|
||||||
|
SpriteKind::RoundCactus => true,
|
||||||
|
SpriteKind::ShortFlatCactus => true,
|
||||||
|
SpriteKind::MedFlatCactus => true,
|
||||||
_ => false,
|
_ => false,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user