From 20e7c5252b9da548848c1fc24bff644daa39bdca Mon Sep 17 00:00:00 2001 From: Chaosvolt Date: Fri, 27 Oct 2023 08:55:08 -0500 Subject: [PATCH] feat(balance): fleshing out survivor zombie drops (#3507) * Fleshing out survivor zombie drops * Update supplies.json --- data/json/itemgroups/supplies.json | 6 ++ data/json/monsterdrops/zombie_survivor.json | 78 ++++++++++++++++++--- 2 files changed, 75 insertions(+), 9 deletions(-) diff --git a/data/json/itemgroups/supplies.json b/data/json/itemgroups/supplies.json index 54d3f3e9ac15..afe9eb5b9c2d 100644 --- a/data/json/itemgroups/supplies.json +++ b/data/json/itemgroups/supplies.json @@ -558,5 +558,11 @@ "type": "item_group", "//": "GParts for military helicopter", "items": [ [ "medium_turbine_engine", 30 ], [ "large_turbine_engine", 20 ], [ "heavy_duty_military_rotor", 50 ] ] + }, + { + "id": "survivor_currency", + "type": "item_group", + "subtype": "distribution", + "entries": [ { "item": "FMCNote", "prob": 80, "count": [ 1, 8 ] }, { "item": "RobofacCoin", "prob": 20, "count": [ 1, 2 ] } ] } ] diff --git a/data/json/monsterdrops/zombie_survivor.json b/data/json/monsterdrops/zombie_survivor.json index c1a95fe96f99..97453861a6bc 100644 --- a/data/json/monsterdrops/zombie_survivor.json +++ b/data/json/monsterdrops/zombie_survivor.json @@ -5,8 +5,64 @@ "id": "mon_zombie_survivor_death_drops", "magazine": 100, "entries": [ - { "group": "clothing_outdoor_set", "damage": [ 1, 4 ] }, - { "group": "bags", "damage": [ 1, 4 ], "prob": 10 }, + { + "distribution": [ + { "group": "survivorzed_suits", "prob": 5, "damage": [ 1, 4 ] }, + { + "collection": [ + { + "distribution": [ + { "group": "clothing_outdoor_torso", "prob": 95, "damage": [ 1, 4 ] }, + { "group": "survivorzed_tops", "prob": 5, "damage": [ 1, 4 ] } + ] + }, + { + "distribution": [ + { "group": "clothing_outdoor_pants", "prob": 95, "damage": [ 1, 4 ] }, + { "group": "survivorzed_bottoms", "prob": 5, "damage": [ 1, 4 ] } + ] + } + ], + "prob": 95 + } + ] + }, + { + "distribution": [ + { "group": "clothing_outdoor_shoes", "prob": 9, "damage": [ 1, 4 ] }, + { "group": "survivorzed_boots", "prob": 1, "damage": [ 1, 4 ] } + ] + }, + { + "distribution": [ { "group": "underwear", "prob": 9, "damage": [ 1, 4 ] }, { "group": "loincloth", "prob": 1, "damage": [ 1, 4 ] } ] + }, + { + "distribution": [ + { "group": "gloves_unisex", "prob": 9, "damage": [ 1, 4 ] }, + { "group": "survivorzed_gloves", "prob": 1, "damage": [ 1, 4 ] } + ], + "prob": 10 + }, + { + "distribution": [ + { "group": "hats_unisex", "prob": 9, "damage": [ 1, 4 ] }, + { "group": "survivorzed_head", "prob": 1, "damage": [ 1, 4 ] } + ], + "prob": 10 + }, + { + "distribution": [ + { + "collection": [ + { "group": "clothing_glasses", "prob": 5 }, + { "group": "clothing_watch", "prob": 5 }, + { "group": "bags", "damage": [ 1, 4 ], "prob": 10 } + ], + "prob": 90 + }, + { "group": "survivorzed_extra", "count": [ 1, 3 ], "prob": 10, "damage": [ 1, 4 ] } + ] + }, { "distribution": [ { "group": "book_survival", "prob": 15 }, @@ -23,7 +79,9 @@ { "group": "stash_food", "prob": 40 } ] }, - { "item": "cash_card", "charges-min": 25000, "charges-max": 100000 }, + { + "distribution": [ { "item": "cash_card", "prob": 75, "charges": [ 25000, 100000 ] }, { "group": "survivor_currency", "prob": 25 } ] + }, { "item": "survival_kit", "prob": 5, "damage": [ 1, 4 ] } ] }, @@ -107,16 +165,13 @@ "distribution": [ { "group": "survivorzed_suits", "prob": 25, "damage": [ 1, 4 ] }, { - "collection": [ - { "group": "survivorzed_tops", "prob": 25, "damage": [ 1, 4 ] }, - { "group": "survivorzed_bottoms", "prob": 25, "damage": [ 1, 4 ] } - ], + "collection": [ { "group": "survivorzed_tops", "damage": [ 1, 4 ] }, { "group": "survivorzed_bottoms", "damage": [ 1, 4 ] } ], "prob": 75 } ] }, { - "distribution": [ { "group": "underwear", "prob": 10, "damage": [ 1, 4 ] }, { "group": "loincloth", "prob": 1, "damage": [ 1, 4 ] } ] + "distribution": [ { "group": "underwear", "prob": 9, "damage": [ 1, 4 ] }, { "group": "loincloth", "prob": 1, "damage": [ 1, 4 ] } ] }, { "distribution": [ @@ -134,7 +189,12 @@ { "group": "mil_surplus", "prob": 6 } ] }, - { "item": "cash_card", "prob": 25, "charges-min": 50000, "charges-max": 150000 } + { + "distribution": [ + { "item": "cash_card", "prob": 25, "charges": [ 50000, 150000 ] }, + { "group": "survivor_currency", "prob": 75, "count": 2 } + ] + } ] } ]