Add CorruptionSpores

- New lootable food which you can find as husk or darkhound drop
This commit is contained in:
juliancoffee 2021-06-28 15:12:12 +03:00
parent 0151e5aeed
commit 21a29ecf74
4 changed files with 46 additions and 5 deletions

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

View File

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

View File

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

Binary file not shown.