Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Amphib. Adds #4 - Dead Frogs Draft #71475

Merged
merged 20 commits into from
Feb 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
44 changes: 44 additions & 0 deletions data/json/monster_special_attacks/monster_deaths.json
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,50 @@
"max_field_intensity": 3,
"field_chance": 1
},
{
"id": "death_sludge",
"type": "SPELL",
"name": { "str": "Sludge Death" },
"description": "Sludge sprays out of a dead monster.",
"valid_targets": [ "ground", "self", "hostile", "ally" ],
"flags": [ "NO_EXPLOSION_SFX", "LIQUID" ],
"shape": "blast",
"effect": "attack",
"min_duration": 2400,
"max_duration": 2400,
"effect_str": "sludged",
"field_id": "fd_sludge",
"min_field_intensity": 3,
"max_field_intensity": 3,
"field_chance": 1,
"min_aoe": 1,
"max_aoe": 2,
"aoe_increment": 1,
"max_level": 1,
"extra_effects": [ { "id": "death_explosion", "hit_self": true } ]
},
{
"id": "death_sludge_mega",
"type": "SPELL",
"name": { "str": "Mega Sludge Death" },
"description": "A large amount of sludge sprays out of a dead monster.",
"valid_targets": [ "ground", "self", "hostile", "ally" ],
"flags": [ "NO_EXPLOSION_SFX", "LIQUID" ],
"shape": "blast",
"effect": "attack",
"min_duration": 2400,
"max_duration": 2400,
"effect_str": "sludged",
"field_id": "fd_sludge",
"min_field_intensity": 3,
"max_field_intensity": 3,
"field_chance": 1,
"min_aoe": 3,
"max_aoe": 3,
"aoe_increment": 1,
"max_level": 1,
"extra_effects": [ { "id": "death_explosion", "hit_self": true } ]
},
{
"id": "death_blood",
"type": "SPELL",
Expand Down
15 changes: 15 additions & 0 deletions data/json/monsterdrops/zombie.json
Original file line number Diff line number Diff line change
Expand Up @@ -130,5 +130,20 @@
{ "item": "dinosuit", "prob": 50, "damage": [ 2, 3 ] },
{ "item": "sharksuit", "prob": 50, "damage": [ 2, 3 ] }
]
},
{
"type": "item_group",
"id": "explode_toad",
"subtype": "collection",
"entries": [
{ "item": "blood_tainted", "prob": 100, "damage": [ 2, 3 ], "count": [ 5, 10 ] },
{ "item": "meat_tainted", "prob": 100, "damage": [ 2, 3 ], "count": [ 5, 10 ] },
{ "item": "fat_tainted", "prob": 80, "damage": [ 2, 3 ], "count": [ 1, 5 ] },
{ "item": "bone_tainted", "prob": 100, "damage": [ 2, 3 ], "count": [ 5, 10 ] },
{ "item": "tainted_marrow", "prob": 50, "damage": [ 2, 3 ], "count": [ 1, 5 ] },
{ "item": "sinew", "prob": 50, "damage": [ 2, 3 ], "count": [ 5, 10 ] },
{ "item": "mutant_brain", "prob": 50, "damage": [ 2, 3 ], "count": [ 1, 5 ] },
{ "item": "stomach_large", "prob": 80, "damage": [ 2, 3 ] }
]
}
]
19 changes: 19 additions & 0 deletions data/json/monstergroups/zombies.json
Original file line number Diff line number Diff line change
Expand Up @@ -608,10 +608,29 @@
"type": "monstergroup",
"name": "GROUP_ZOMBULL_FROG_UPGRADE",
"monsters": [
{ "monster": "mon_zombullfrog", "weight": 100, "cost_multiplier": 3 },
{ "monster": "mon_frog_dad", "weight": 75, "cost_multiplier": 3 },
{ "monster": "mon_frog_mother", "weight": 25, "cost_multiplier": 1 }
]
},
{
"type": "monstergroup",
"name": "GROUP_DEADTOAD_UPGRADE",
"monsters": [
{ "monster": "mon_toad_bloat", "weight": 25, "cost_multiplier": 1 },
{ "monster": "mon_toad_wart", "weight": 25, "cost_multiplier": 1 },
{ "monster": "mon_toad_bone", "weight": 25, "cost_multiplier": 1 },
{ "monster": "mon_gastro_bufo", "weight": 25, "cost_multiplier": 1 }
]
},
{
"type": "monstergroup",
"name": "GROUP_ZOMBTREEFROG_UPGRADE",
"monsters": [
{ "monster": "mon_zombtreefrog", "weight": 75, "cost_multiplier": 3 },
{ "monster": "mon_frog_shadow", "weight": 25, "cost_multiplier": 3 }
]
},
{
"type": "monstergroup",
"name": "GROUP_MANSION_POOL",
Expand Down
22 changes: 14 additions & 8 deletions data/json/monsters/reptile_amphibian.json
Original file line number Diff line number Diff line change
Expand Up @@ -705,7 +705,6 @@
],
"fear_triggers": [ "FRIEND_DIED", "FIRE", "SOUND" ],
"anger_triggers": [ "STALK", "PLAYER_WEAK", "PLAYER_CLOSE", "MATING_SEASON" ],
"zombify_into": "mon_zombullfrog",
"baby_flags": [ "SPRING", "SUMMER" ],
"flags": [ "FISHABLE", "SEES", "SMELLS", "HEARS", "SWARMS", "SWIMS", "WATER_CAMOUFLAGE", "CLIMBS" ]
},
Expand All @@ -718,6 +717,7 @@
"color": "light_green",
"aggression": 0,
"upgrades": { "age_grow": 30, "into_group": "GROUP_FROGS_UPGRADE_STRANGE" },
"zombify_into": "mon_zombullfrog",
"reproduction": { "baby_egg": "egg_strange_bigfrog", "baby_count": 12, "baby_timer": 20 },
"delete": { "flags": [ "SWARMS" ] }
},
Expand All @@ -729,6 +729,7 @@
"copy-from": "mon_proxy_bigfrog",
"aggression": 0,
"upgrades": { "age_grow": 30, "into_group": "GROUP_FROGS_UPGRADE_ODD" },
"zombify_into": "mon_toad_zombie",
"reproduction": { "baby_egg": "egg_odd_bigfrog", "baby_count": 12, "baby_timer": 20 },
"extend": { "flags": [ "POISON" ] },
"delete": { "flags": [ "SWARMS" ] }
Expand All @@ -752,6 +753,7 @@
"luminance": 3,
"special_when_hit": [ "ZAPBACK", 100 ],
"upgrades": { "age_grow": 30, "into_group": "GROUP_FROGS_UPGRADE_PATTERN" },
"zombify_into": "mon_frog_shocker",
"reproduction": { "baby_egg": "egg_pattern_frog", "baby_count": 12, "baby_timer": 20 }
},
{
Expand Down Expand Up @@ -779,6 +781,7 @@
}
],
"upgrades": { "age_grow": 30, "into_group": "GROUP_FROGS_UPGRADE_FOUL" },
"zombify_into": "mon_toad_zombie",
"reproduction": { "baby_egg": "egg_foul_bigfrog", "baby_count": 12, "baby_timer": 20 },
"extend": { "flags": [ "POISON", "NO_BREATHE" ] },
"//": "When possible, add an AOE burst & temporary trail of slippery, toxic grease on several hour cooldown. The toad can expel grease like a squid with ink. The grease offgasses into something between tear gas and a blister agent, hence the smell. NO_BREATHE flag is to prevent self-gassing."
Expand Down Expand Up @@ -810,6 +813,7 @@
],
"fear_triggers": [ "HURT", "FRIEND_DIED", "FIRE", "SOUND" ],
"anger_triggers": [ "PLAYER_CLOSE", "MATING_SEASON" ],
"zombify_into": "mon_zombtreefrog",
"reproduction": { "baby_egg": "egg_vocal_frog", "baby_count": 12, "baby_timer": 20 },
"delete": { "flags": [ "SWARMS" ] },
"harvest": "bullfrog",
Expand Down Expand Up @@ -845,6 +849,7 @@
"dodge": 6,
"armor": { "bash": 5, "acid": 2, "heat": 5, "electric": 4 },
"vision_night": 35,
"zombify_into": "mon_frog_shadow",
"reproduction": { "baby_egg": "egg_shift_frog", "baby_count": 12, "baby_timer": 20 },
"extend": { "flags": [ "CAMOUFLAGE" ] },
"//": "Give climbing (Z axis) ability when available."
Expand Down Expand Up @@ -904,7 +909,6 @@
],
"fear_triggers": [ "FIRE" ],
"anger_triggers": [ "STALK", "PLAYER_WEAK", "PLAYER_CLOSE", "MATING_SEASON" ],
"zombify_into": "mon_zombullfrog",
"baby_flags": [ "SPRING", "SUMMER" ],
"flags": [ "FISHABLE", "SEES", "SMELLS", "HEARS", "GRABS", "SWIMS", "WATER_CAMOUFLAGE", "CLIMBS", "BASHES" ]
},
Expand All @@ -916,6 +920,7 @@
"copy-from": "mon_proxy_giganfrog",
"color": "light_green",
"upgrades": { "age_grow": 45, "into_group": "GROUP_FROGS_UPGRADE_STRANGE_MEGA" },
"zombify_into": "mon_zombullfrog",
"reproduction": { "baby_egg": "egg_strange_bigfrog", "baby_count": 18, "baby_timer": 20 }
},
{
Expand All @@ -925,7 +930,7 @@
"description": "This toad has grown bigger than a human. It looks uninterested in eating you but you better not give it a chance.",
"copy-from": "mon_proxy_giganfrog",
"upgrades": { "age_grow": 45, "into_group": "GROUP_FROGS_UPGRADE_ODD_MEGA" },
"zombify_into": "mon_gastro_bufo",
"zombify_into": "mon_toad_zombie",
"reproduction": { "baby_egg": "egg_odd_bigfrog", "baby_count": 18, "baby_timer": 20 },
"extend": { "flags": [ "POISON" ] }
},
Expand Down Expand Up @@ -973,6 +978,7 @@
],
"special_when_hit": [ "ZAPBACK", 100 ],
"anger_triggers": [ "PLAYER_WEAK", "PLAYER_CLOSE", "MATING_SEASON", "FRIEND_ATTACKED" ],
"zombify_into": "mon_frog_shocker",
"reproduction": { "baby_egg": "egg_pattern_frog", "baby_count": 18, "baby_timer": 20 },
"extend": { "flags": [ "SWARMS" ] }
},
Expand Down Expand Up @@ -1014,7 +1020,7 @@
],
"anger_triggers": [ "PLAYER_WEAK", "PLAYER_CLOSE", "MATING_SEASON", "FRIEND_ATTACKED" ],
"upgrades": { "age_grow": 45, "into_group": "GROUP_FROGS_UPGRADE_FOUL_MEGA" },
"zombify_into": "mon_gastro_bufo",
"zombify_into": "mon_toad_zombie",
"reproduction": { "baby_egg": "egg_foul_bigfrog", "baby_count": 18, "baby_timer": 20 },
"extend": { "flags": [ "POISON", "NO_BREATHE", "SWARMS" ] },
"//": "When possible, add ability to dig furrows (lines of shallow pits) and wallow. NO_BREATHE flag is to prevent gassing by younger of its kind."
Expand Down Expand Up @@ -1074,7 +1080,6 @@
],
"fear_triggers": [ "FIRE" ],
"anger_triggers": [ "STALK", "PLAYER_WEAK", "PLAYER_CLOSE", "MATING_SEASON" ],
"zombify_into": "mon_frog_dad",
"baby_flags": [ "SPRING", "SUMMER" ],
"flags": [ "SEES", "SMELLS", "GRABS", "HEARS", "SWIMS", "DESTROYS" ]
},
Expand Down Expand Up @@ -1109,6 +1114,7 @@
[ "SHRIEK_ALERT", 20 ],
[ "SHRIEK_STUN", 5 ]
],
"zombify_into": "mon_frog_dad",
"reproduction": { "baby_egg": "egg_strange_bigfrog", "baby_count": 32, "baby_timer": 20 }
},
{
Expand All @@ -1118,7 +1124,7 @@
"description": "This toad is of truly enormous stature, larger than many cars. You can't help but wonder if it could fit as many people inside.",
"copy-from": "mon_proxy_megafrog",
"armor": { "bash": 18, "cut": 18, "bullet": 12, "electric": 4 },
"zombify_into": "mon_gastro_bufo",
"zombify_into": "mon_toad_wart",
"reproduction": { "baby_egg": "egg_odd_bigfrog", "baby_count": 32, "baby_timer": 20 },
"extend": { "flags": [ "POISON" ] },
"//": "Simple wallowing, likes to create deep pits and lay in them."
Expand Down Expand Up @@ -1153,7 +1159,7 @@
{ "damage_type": "cut", "amount": 26, "armor_multiplier": 0.2 },
{ "damage_type": "bash", "amount": 14, "armor_multiplier": 0.2 }
],
"effects": [ { "id": "paralyzepoison", "duration": 20, "affect_hit_bp": true } ],
"effects": [ { "id": "venom_pain", "duration": 20, "affect_hit_bp": true } ],
"condition": { "not": { "u_has_effect": "maimed_mandible" } }
},
{
Expand All @@ -1178,7 +1184,7 @@
}
],
"anger_triggers": [ "PLAYER_WEAK", "PLAYER_CLOSE", "MATING_SEASON", "FRIEND_ATTACKED" ],
"zombify_into": "mon_gastro_bufo",
"zombify_into": "mon_toad_bone",
"reproduction": { "baby_egg": "egg_foul_bigfrog", "baby_count": 32, "baby_timer": 20 },
"extend": { "flags": [ "POISON", "NO_BREATHE" ] },
"//": "When possible, add ability to dig furrows (lines of shallow pits) and wallow. NO_BREATHE flag is to prevent gassing by younger of its kind."
Expand Down
51 changes: 18 additions & 33 deletions data/json/monsters/zed-animal.json
Original file line number Diff line number Diff line change
Expand Up @@ -811,47 +811,32 @@
"type": "MONSTER",
"name": { "str": "gastro bufo" },
"description": "A massive toad stumbling around while leaking acid from its skin. Doesn't look friendly at all.",
"default_faction": "zombie",
"species": [ "ZOMBIE", "AMPHIBIAN" ],
"copy-from": "mon_proxy_frog_zombie",
"volume": "200 L",
"weight": "280 kg",
"hp": 200,
"speed": 75,
"attack_cost": 75,
"material": [ "flesh" ],
"symbol": "F",
"color": "black_green",
"aggression": 100,
"morale": 100,
"melee_skill": 5,
"melee_dice": 5,
"melee_dice_sides": 6,
"melee_damage": [ { "damage_type": "bash", "amount": 5 } ],
"symbol": "R",
"dodge": 2,
"vision_night": 7,
"weakpoint_sets": [ "wps_amphibian_body", "wps_amphibian_frog" ],
"families": [ "prof_intro_biology", "prof_physiology", "prof_wp_basic_amphibian", "prof_wp_zombie" ],
"harvest": "zombie_animal_acid",
"path_settings": { "max_dist": 5 },
"special_attacks": [ { "type": "leap", "cooldown": 10, "move_cost": 0, "max_range": 10, "min_consider_range": 2 } ],
"emit_fields": [ { "emit_id": "emit_acid_drop", "delay": "1 s" } ],
"special_attacks": [
{
"type": "leap",
"cooldown": 10,
"move_cost": 0,
"max_range": 10,
"min_consider_range": 2,
"condition": { "not": { "u_has_effect": "maimed_leg" } }
},
{ "id": "grab_drag", "cooldown": 3 },
{ "id": "drag_followup" },
[ "ACID_BARF", 5 ]
],
"special_when_hit": [ "ACIDSPLASH", 100 ],
"death_function": { "message": "The %s's body leaks acid.", "effect": { "id": "death_acid", "hit_self": true } },
"flags": [
"SEES",
"HEARS",
"SMELLS",
"KEENNOSE",
"STUMBLES",
"WARM",
"BASHES",
"POISON",
"NO_BREATHE",
"REVIVES",
"PUSH_MON",
"FILTHY",
"ACIDPROOF",
"ACID_BLOOD"
],
"armor": { "bash": 8, "cut": 2, "bullet": 1 }
"extend": { "flags": [ "POISON", "ACIDPROOF", "ACID_BLOOD" ] },
"delete": { "flags": [ "RANGED_ATTACKER" ] }
}
]
Loading
Loading