Skip to content

Commit

Permalink
Add more dormant zombies
Browse files Browse the repository at this point in the history
  • Loading branch information
Milopetilo committed Nov 25, 2024
1 parent 130ec53 commit c6e799b
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 10 deletions.
19 changes: 14 additions & 5 deletions data/json/monstergroups/zombies.json
Original file line number Diff line number Diff line change
Expand Up @@ -230,17 +230,26 @@
"name": "GROUP_VANILLA_DORMANT",
"default": "mon_pseudo_dormant_zombie",
"//": "only dormant zombies",
"monsters": [ { "monster": "mon_pseudo_dormant_zombie", "weight": 50, "cost_multiplier": 0 } ]
"//2": "These are generated in MonsterGenerator::generate_fake_pseudo_dormant_monster",
"monsters": [
{ "monster": "mon_pseudo_dormant_zombie", "weight": 264, "cost_multiplier": 0 },
{ "monster": "pseudo_dormant_mon_zombie_fat", "weight": 266, "cost_multiplier": 0 },
{ "monster": "pseudo_dormant_mon_zombie_child", "weight": 100, "cost_multiplier": 0 },
{ "monster": "pseudo_dormant_mon_zombie_tough", "weight": 50, "cost_multiplier": 0 },
{ "monster": "pseudo_dormant_mon_zombie_rot", "weight": 60, "cost_multiplier": 0 },
{ "monster": "pseudo_dormant_mon_zombie_crawler", "weight": 30, "cost_multiplier": 0 },
{ "monster": "pseudo_dormant_mon_zombie_brainless", "weight": 30, "cost_multiplier": 0 }
]
},
{
"type": "monstergroup",
"name": "GROUP_VANILLA",
"default": "mon_zombie",
"//": "Normalized to 1000",
"//": "Normalized to 1300",
"monsters": [
{ "group": "GROUP_VANILLA_NO_FERAL", "weight": 777, "cost_multiplier": 0 },
{ "group": "GROUP_CIVILIANS_STANDARD", "weight": 477, "cost_multiplier": 0 },
{ "group": "GROUP_FERAL", "weight": 66, "cost_multiplier": 0 },
{ "group": "GROUP_VANILLA_NO_FERAL", "weight": 701, "cost_multiplier": 0 },
{ "group": "GROUP_CIVILIANS_STANDARD", "weight": 500, "cost_multiplier": 0 },
{ "group": "GROUP_FERAL", "weight": 99, "cost_multiplier": 0 },
{ "group": "GROUP_VANILLA_DORMANT", "weight": 100, "cost_multiplier": 0 }
]
},
Expand Down
7 changes: 4 additions & 3 deletions data/json/monsters/zed-classic.json
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@
],
"fungalize_into": "mon_zombie_crawler_fungal",
"upgrades": { "half_life": 30, "into_group": "GROUP_ZOMBIE_CRAWLER_UPGRADE" },
"extend": { "flags": [ "ATTACK_LOWER" ] },
"extend": { "flags": [ "ATTACK_LOWER", "GEN_DORMANT" ] },
"delete": { "flags": [ "PUSH_MON" ] }
},
{
Expand All @@ -129,7 +129,7 @@
"fungalize_into": "mon_zombie_fat_fungus",
"upgrades": { "half_life": 32, "into_group": "GROUP_ZOMBIE_FAT" },
"armor": { "bash": 5, "cut": 3, "bullet": 2, "electric": 2 },
"extend": { "weakpoint_sets": [ "wps_humanoid_head_small" ] }
"extend": { "weakpoint_sets": [ "wps_humanoid_head_small" ], "flags": [ "GEN_DORMANT" ] }
},
{
"id": "mon_zombie_fireman",
Expand Down Expand Up @@ -187,7 +187,8 @@
"melee_dice_sides": 2,
"grab_strength": 15,
"fungalize_into": "mon_zombie_rot_fungal",
"upgrades": { "half_life": 43, "into": "mon_devourer" }
"upgrades": { "half_life": 43, "into": "mon_devourer" },
"extend": { "flags": [ "GEN_DORMANT" ] }
},
{
"id": "mon_zombie_swat",
Expand Down
2 changes: 1 addition & 1 deletion data/json/monsters/zed_children.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
"copy-from": "mon_zombie_child_base",
"categories": [ "CLASSIC" ],
"death_function": { "effect": { "id": "death_guilt", "min_level": 6 } },
"extend": { "flags": [ "GUILT_CHILD" ] }
"extend": { "flags": [ "GUILT_CHILD", "GEN_DORMANT" ] }
},
{
"id": "mon_zombie_creepy",
Expand Down
2 changes: 1 addition & 1 deletion data/json/monsters/zed_misc.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
"harvest": "zombie_humanoid_headless",
"decay": "zombie_decay_bone",
"upgrades": { "half_life": 24, "into_group": "GROUP_ZOMBIE_BRAINLESS_UPGRADE" },
"extend": { "flags": [ "NOHEAD" ] },
"extend": { "flags": [ "NOHEAD", "GEN_DORMANT" ] },
"delete": { "flags": [ "SEES" ], "special_attacks": [ "bite_humanoid" ] },
"//3": "Removed Bite attack to reflect damage to mouth.",
"//4": "Has NOHEAD flag to reflect the head is already catastrophically damaged. Only detects through hearing."
Expand Down

0 comments on commit c6e799b

Please sign in to comment.