From 256c823db2226b61e99603a878d8448db7909da0 Mon Sep 17 00:00:00 2001 From: "Standing-StormStanding-Storm git config --global user.name Standing-Storm git config --global user.name Standing-Storm" Date: Sun, 3 Nov 2024 18:37:05 -0600 Subject: [PATCH] Fix fetch items --- .../innawood/itemgroups/itemgroups_new.json | 24 +++++++++++++++++++ .../innawood/monsters/monster_overrides.json | 6 +++++ 2 files changed, 30 insertions(+) diff --git a/data/mods/Xedra_Evolved/mod_interactions/innawood/itemgroups/itemgroups_new.json b/data/mods/Xedra_Evolved/mod_interactions/innawood/itemgroups/itemgroups_new.json index ceedf2f2eb1d8..38c548a54e650 100644 --- a/data/mods/Xedra_Evolved/mod_interactions/innawood/itemgroups/itemgroups_new.json +++ b/data/mods/Xedra_Evolved/mod_interactions/innawood/itemgroups/itemgroups_new.json @@ -148,5 +148,29 @@ { "item": "kiwi", "prob": 2 }, { "item": "apricot", "prob": 1 } ] + }, + { + "type": "item_group", + "subtype": "distribution", + "id": "fetch_child_death_drops", + "entries": [ + { "group": "default_innawood_zombie_clothes", "custom-flags": [ "UNDERSIZE" ], "prob": 100 }, + { "group": "child_items", "prob": 65 } + ] + }, + { + "type": "item_group", + "subtype": "distribution", + "id": "child_items", + "entries": [ + { "item": "pointy_stick", "prob": 15 }, + { "item": "rock", "prob": 50 }, + { "item": "feather", "prob": 40, "count": [ 1, 10 ] }, + { "item": "hickory_nut", "prob": 20, "count": [ 1, 10 ] }, + { "item": "acorns", "prob": 20, "count": [ 1, 10 ] }, + { "item": "straw_doll", "prob": 5 }, + { "item": "bag_canvas_small", "prob": 10 }, + { "group": "tools_common_small", "prob": 1, "entry-wrapper": "makeshift_sling" } + ] } ] diff --git a/data/mods/Xedra_Evolved/mod_interactions/innawood/monsters/monster_overrides.json b/data/mods/Xedra_Evolved/mod_interactions/innawood/monsters/monster_overrides.json index a63b6f2bdf3d9..6ced316fcf755 100644 --- a/data/mods/Xedra_Evolved/mod_interactions/innawood/monsters/monster_overrides.json +++ b/data/mods/Xedra_Evolved/mod_interactions/innawood/monsters/monster_overrides.json @@ -5,5 +5,11 @@ "type": "MONSTER", "name": { "str": "renfield" }, "upgrades": { "half_life": 50, "into_group": "GROUP_RENFIELD_UPGRADE_INNAWOOD" } + }, + { + "copy-from": "mon_fetch_child", + "id": "mon_renfield", + "type": "MONSTER", + "death_drops": "fetch_child_death_drops" } ]