mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Add CorruptionSpores
- New lootable food which you can find as husk or darkhound drop
This commit is contained in:
parent
0151e5aeed
commit
21a29ecf74
33
assets/common/items/food/spore_corruption.ron
Normal file
33
assets/common/items/food/spore_corruption.ron
Normal file
@ -0,0 +1,33 @@
|
||||
ItemDef(
|
||||
name: "Spore of Corruption",
|
||||
description: "You feel an evil force pulsating within.\n\nIt may be unwise to hold on to it for too long...",
|
||||
kind: Consumable(
|
||||
kind: Food,
|
||||
effect: [
|
||||
Buff((
|
||||
kind: Frenzied,
|
||||
data: (
|
||||
strength: 0.4,
|
||||
duration: Some((
|
||||
secs: 60,
|
||||
nanos: 0,
|
||||
)),
|
||||
),
|
||||
cat_ids: [Natural],
|
||||
)),
|
||||
Buff((
|
||||
kind: Cursed,
|
||||
data: (
|
||||
strength: 0.35,
|
||||
duration: Some((
|
||||
secs: 60,
|
||||
nanos: 0,
|
||||
)),
|
||||
),
|
||||
cat_ids: [Natural],
|
||||
)),
|
||||
]
|
||||
),
|
||||
quality: Epic,
|
||||
tags: [Food],
|
||||
)
|
@ -1,9 +1,10 @@
|
||||
[
|
||||
// Crafting Ingredients
|
||||
(3.0, LootTable("common.loot_tables.materials.common")),
|
||||
(100.0, LootTable("common.loot_tables.materials.common")),
|
||||
// Food
|
||||
(3.0, LootTable("common.loot_tables.food.wild_ingredients")),
|
||||
(0.5, LootTable("common.loot_tables.food.prepared")),
|
||||
// Consumables
|
||||
(0.5, LootTable("common.loot_tables.consumable.default")),
|
||||
(100.0, LootTable("common.loot_tables.food.wild_ingredients")),
|
||||
(15.0, LootTable("common.loot_tables.food.prepared")),
|
||||
// Utilities
|
||||
(15.0, LootTable("common.loot_tables.consumable.default")),
|
||||
(1.0, Item("common.items.food.spore_corruption")),
|
||||
]
|
||||
|
@ -2279,6 +2279,10 @@
|
||||
Consumable("common.items.food.apple_mushroom_curry"): Png(
|
||||
"element.items.item_apple_curry",
|
||||
),
|
||||
Consumable("common.items.food.spore_corruption"): VoxTrans(
|
||||
"voxel.sprite.spore.corruption_spore",
|
||||
(0.0, 0.0, 0.0), (-30.0, 30.0, 20.0), 0.8,
|
||||
),
|
||||
Consumable("common.items.food.apple_stick"): Png(
|
||||
"element.items.item_apple_stick",
|
||||
),
|
||||
|
BIN
assets/voxygen/voxel/sprite/spore/corruption_spore.vox
(Stored with Git LFS)
Normal file
BIN
assets/voxygen/voxel/sprite/spore/corruption_spore.vox
(Stored with Git LFS)
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user