From 21a29ecf746152095e9427eba462d8e05ba323cc Mon Sep 17 00:00:00 2001 From: juliancoffee Date: Mon, 28 Jun 2021 15:12:12 +0300 Subject: [PATCH] Add CorruptionSpores - New lootable food which you can find as husk or darkhound drop --- assets/common/items/food/spore_corruption.ron | 33 +++++++++++++++++++ .../loot_tables/dungeon/tier-5/minion.ron | 11 ++++--- assets/voxygen/item_image_manifest.ron | 4 +++ .../voxel/sprite/spore/corruption_spore.vox | 3 ++ 4 files changed, 46 insertions(+), 5 deletions(-) create mode 100644 assets/common/items/food/spore_corruption.ron create mode 100644 assets/voxygen/voxel/sprite/spore/corruption_spore.vox diff --git a/assets/common/items/food/spore_corruption.ron b/assets/common/items/food/spore_corruption.ron new file mode 100644 index 0000000000..17ff0a7ce8 --- /dev/null +++ b/assets/common/items/food/spore_corruption.ron @@ -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], +) diff --git a/assets/common/loot_tables/dungeon/tier-5/minion.ron b/assets/common/loot_tables/dungeon/tier-5/minion.ron index a382efce96..35d6a38dfb 100644 --- a/assets/common/loot_tables/dungeon/tier-5/minion.ron +++ b/assets/common/loot_tables/dungeon/tier-5/minion.ron @@ -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")), ] diff --git a/assets/voxygen/item_image_manifest.ron b/assets/voxygen/item_image_manifest.ron index 9ec38b32f3..925bf0e639 100644 --- a/assets/voxygen/item_image_manifest.ron +++ b/assets/voxygen/item_image_manifest.ron @@ -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", ), diff --git a/assets/voxygen/voxel/sprite/spore/corruption_spore.vox b/assets/voxygen/voxel/sprite/spore/corruption_spore.vox new file mode 100644 index 0000000000..9ebb9f65fa --- /dev/null +++ b/assets/voxygen/voxel/sprite/spore/corruption_spore.vox @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b4f774e987ca62070ac4f09b5768bcd158065317ea913c92cc64192c80700b8f +size 1848