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

[Megafauna] Add weakpoints and anatomical proficiencies #63590

Merged
merged 14 commits into from
Aug 5, 2023
Merged
170 changes: 170 additions & 0 deletions data/mods/Megafauna/mf_weakpoint_sets.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,170 @@
[
{
"type": "weakpoint_set",
"id": "wps_megafauna_body",
"weakpoints": [
{
"id": "head_normal",
"name": "the head",
"armor_mult": { "physical": 0.75 },
"damage_mult": { "all": 1.25 },
"crit_mult": { "all": 1.25 },
"difficulty": { "all": 4 },
"coverage_mult": { "ranged": 1.2, "stab": 1.5 },
"coverage": 3,
"effects": [
{
"effect": "stunned",
"duration": [ 1, 3 ],
"chance": 7,
"message": "The %s is stunned!",
"damage_required": [ 1, 10 ]
},
{
"effect": "stunned",
"duration": [ 1, 3 ],
"chance": 18,
"message": "The %s is stunned!",
"damage_required": [ 11, 100 ]
},
{
"effect": "dazed",
"duration": [ 1, 3 ],
"chance": 10,
"message": "The %s is dazed!",
"damage_required": [ 10, 100 ]
}
]
},
{
"id": "head_down",
"//": "if animal is downed, hitting the head should be way easier too!",
"name": "the downed %s head",
"armor_mult": { "physical": 0.75 },
"damage_mult": { "all": 1.25 },
"crit_mult": { "all": 1.25 },
"difficulty": { "all": 2 },
"coverage_mult": { "ranged": 0.3 },
"coverage": 10,
"required_effects": [ "downed" ],
"effects": [
{
"effect": "stunned",
"duration": [ 1, 3 ],
"chance": 7,
"message": "The %s is stunned!",
"damage_required": [ 1, 10 ]
},
{
"effect": "stunned",
"duration": [ 1, 3 ],
"chance": 18,
"message": "The %s is stunned!",
"damage_required": [ 11, 100 ]
},
{
"effect": "dazed",
"duration": [ 1, 3 ],
"chance": 10,
"message": "The %s is dazed!",
"damage_required": [ 10, 100 ]
}
]
},
{
"name": "the belly",
"//": "this should be limited to downed animals and present opport. to hit vitals. hitting belly per se is easier though, esp. with melee",
"armor_mult": { "physical": 0.5 },
"crit_mult": { "all": 1.2 },
"difficulty": { "melee": 2, "ranged": 4 },
"coverage_mult": { "ranged": 0.5 },
"coverage": 25,
"required_effects": [ "downed" ],
"effects": [
{
"effect": "nausea",
"permanent": true,
"chance": 10,
"message": "You have ripped the %s bowels! The % is wretching.",
merrygin marked this conversation as resolved.
Show resolved Hide resolved
"damage_required": [ 5, 25 ]
},
{
"effect": "winded",
"permanent": true,
"chance": 10,
"message": "You have punctured the %s lungs! The % has trouble breathing.",
"damage_required": [ 5, 25 ]
}
]
},
{
"name": "the downed %s eyes",
"//": "downed eye variant. easier to hit with melee, but ranged unchanged",
"armor_mult": { "physical": 0 },
"coverage": 1,
"crit_mult": { "all": 1.25 },
"coverage_mult": { "ranged": 0.5 },
"difficulty": { "ranged": 4, "melee": 3 },
"effects": [
{ "effect": "blind", "duration": [ 1, 2 ], "chance": 25, "message": "The %s is blinded!", "damage_required": [ 1, 25 ] },
{
"effect": "blind",
"permanent": true,
"chance": 30,
"message": "The %s's eyes are obliterated!",
"damage_required": [ 26, 100 ]
}
]
},
{
"name": "the eyes",
"//": "standing animal, eyes are nigh impossible to hit (with non point weapons. actually, reach weapons, but not possible here, so point it is)",
"armor_mult": { "physical": 0 },
"coverage": 1,
"crit_mult": { "all": 1.25 },
"coverage_mult": { "ranged": 0.5 },
"difficulty": { "ranged": 6, "melee": 10, "point": 6 },
Maleclypse marked this conversation as resolved.
Show resolved Hide resolved
Maleclypse marked this conversation as resolved.
Show resolved Hide resolved
"effects": [
{ "effect": "blind", "duration": [ 1, 2 ], "chance": 25, "message": "The %s is blinded!", "damage_required": [ 1, 25 ] },
{
"effect": "blind",
"permanent": true,
"chance": 30,
"message": "The %s's eyes are obliterated!",
"damage_required": [ 26, 100 ]
}
]
},
{
"name": "the leg",
"//": "legs are the easiest target, but usually also hardy.",
"crit_mult": { "all": 0.75 },
"difficulty": { "ranged": 2, "melee": 1 },
"coverage_mult": { "point": 0.75 },
"coverage": 8,
"effects": [
{
"effect": "staggered",
"chance": 25,
"duration": [ 1, 2 ],
"message": "The %s is staggered!",
"damage_required": [ 10, 100 ]
},
{
"effect": "maimed_leg",
"chance": 14,
"permanent": true,
"message": "You maim one of the %s legs!",
"damage_required": [ 10, 100 ]
},
{
"effect": "downed",
"chance": 20,
"message": "The %s is knocked down, leaving its vitals unprotected!",
"damage_required": [ 20, 100 ]
}
]
}
]
}
]
48 changes: 38 additions & 10 deletions data/mods/Megafauna/monsters/mf_domestic.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"bodytype": "horse",
"categories": [ "WILDLIFE" ],
"species": [ "MAMMAL" ],
"families": [ "prof_intro_biology" ],
"volume": "600 L",
"weight": "600 kg",
"hp": 400,
Expand All @@ -21,7 +22,9 @@
"melee_dice_sides": 8,
"melee_damage": [ { "damage_type": "stab", "amount": 5.0, "armor_penetration": 2 }, { "damage_type": "bash", "amount": 3.0 } ],
"dodge": 2,
"armor_bash": 3,
"armor_bash": 5,
"armor_cut": 7,
"armor_stab": 3,
"starting_ammo": { "milk_raw": 12 },
"shearing": [ { "result": "wool_staple", "ratio_volume": 0.1 } ],
"harvest": "pelt_megafauna",
Expand All @@ -48,6 +51,7 @@
"bodytype": "dog",
"categories": [ "WILDLIFE" ],
"species": [ "MAMMAL" ],
"families": [ "prof_intro_biology" ],
"volume": "90 L",
"weight": "90 kg",
"hp": 80,
Expand Down Expand Up @@ -77,6 +81,7 @@
"bodytype": "horse",
"categories": [ "WILDLIFE" ],
"species": [ "MAMMAL" ],
"families": [ "prof_intro_biology" ],
"volume": "400 L",
"weight": "400 kg",
"hp": 120,
Expand All @@ -93,7 +98,9 @@
{ "damage_type": "bash", "amount": 4.0, "armor_penetration": 2 }
],
"dodge": 2,
"armor_bash": 3,
"armor_bash": 5,
"armor_cut": 7,
"armor_stab": 3,
"starting_ammo": { "milk_raw": 8 },
"shearing": [ { "result": "wool_staple", "ratio_volume": 0.2 } ],
"harvest": "pelt_megafauna",
Expand All @@ -120,6 +127,7 @@
"bodytype": "dog",
"categories": [ "WILDLIFE" ],
"species": [ "MAMMAL" ],
"families": [ "prof_intro_biology" ],
"volume": "60 L",
"weight": "60 kg",
"hp": 50,
Expand Down Expand Up @@ -149,6 +157,7 @@
"bodytype": "horse",
"categories": [ "WILDLIFE" ],
"species": [ "MAMMAL" ],
"families": [ "prof_intro_biology" ],
"volume": "200 L",
"weight": "200 kg",
"hp": 200,
Expand All @@ -163,6 +172,8 @@
"melee_damage": [ { "damage_type": "stab", "amount": 7.0, "armor_penetration": 2 }, { "damage_type": "bash", "amount": 3.0 } ],
"dodge": 3,
"armor_bash": 3,
"armor_cut": 4,
"armor_stab": 2,
"starting_ammo": { "milk_raw": 6 },
"shearing": [ { "result": "wool_staple", "ratio_volume": 0.1 } ],
"harvest": "pelt_megafauna",
Expand All @@ -189,6 +200,7 @@
"bodytype": "dog",
"categories": [ "WILDLIFE" ],
"species": [ "MAMMAL" ],
"families": [ "prof_intro_biology" ],
"volume": "40 L",
"weight": "40 kg",
"hp": 30,
Expand Down Expand Up @@ -217,6 +229,7 @@
"bodytype": "horse",
"categories": [ "WILDLIFE" ],
"species": [ "MAMMAL" ],
"families": [ "prof_intro_biology" ],
"volume": "1000 L",
"weight": "1000 kg",
"hp": 420,
Expand All @@ -230,7 +243,9 @@
"melee_dice_sides": 8,
"melee_damage": [ { "damage_type": "stab", "amount": 3.0 }, { "damage_type": "bash", "amount": 5.0, "armor_penetration": 2 } ],
"dodge": 2,
"armor_bash": 3,
"armor_bash": 5,
"armor_cut": 7,
"armor_stab": 3,
"starting_ammo": { "milk_raw": 6 },
"shearing": [ { "result": "wool_staple", "ratio_volume": 0.15 } ],
"harvest": "pelt_megafauna",
Expand All @@ -253,6 +268,7 @@
"bodytype": "dog",
"categories": [ "WILDLIFE" ],
"species": [ "MAMMAL" ],
"families": [ "prof_intro_biology" ],
"volume": "160 L",
"weight": "160 kg",
"hp": 150,
Expand Down Expand Up @@ -282,6 +298,7 @@
"bodytype": "horse",
"categories": [ "WILDLIFE" ],
"species": [ "MAMMAL" ],
"families": [ "prof_intro_biology" ],
"volume": "350 L",
"weight": "350 kg",
"hp": 120,
Expand All @@ -295,7 +312,9 @@
"melee_dice_sides": 8,
"melee_damage": [ { "damage_type": "bash", "amount": 5.0, "armor_penetration": 4 } ],
"dodge": 2,
"armor_bash": 2,
"armor_bash": 3,
"armor_cut": 4,
"armor_stab": 3,
"anger_triggers": [ "FRIEND_ATTACKED" ],
"fear_triggers": [ "SOUND", "FIRE" ],
"placate_triggers": [ "PLAYER_WEAK" ],
Expand Down Expand Up @@ -355,6 +374,7 @@
"bodytype": "horse",
"categories": [ "WILDLIFE" ],
"species": [ "MAMMAL" ],
"families": [ "prof_intro_biology" ],
"volume": "1000 L",
"weight": "1000 kg",
"hp": 500,
Expand All @@ -368,7 +388,9 @@
"melee_dice_sides": 8,
"melee_damage": [ { "damage_type": "bash", "amount": 12.0, "armor_penetration": 4 } ],
"dodge": 2,
"armor_bash": 2,
"armor_bash": 5,
"armor_cut": 7,
"armor_stab": 3,
"anger_triggers": [ "FRIEND_ATTACKED" ],
"fear_triggers": [ "SOUND", "FIRE" ],
"placate_triggers": [ "PLAYER_WEAK" ],
Expand Down Expand Up @@ -428,6 +450,7 @@
"bodytype": "horse",
"categories": [ "WILDLIFE" ],
"species": [ "MAMMAL" ],
"families": [ "prof_intro_biology", "prof_wp_megafauna" ],
"volume": "1000 L",
"weight": "1000 kg",
"hp": 400,
Expand All @@ -441,7 +464,9 @@
"melee_dice_sides": 8,
"melee_damage": [ { "damage_type": "bash", "amount": 5.0, "armor_penetration": 2 } ],
"dodge": 2,
"armor_bash": 2,
"armor_bash": 6,
"armor_cut": 9,
"armor_stab": 4,
"anger_triggers": [ "FRIEND_ATTACKED", "PLAYER_NEAR_BABY" ],
"fear_triggers": [ "SOUND", "PLAYER_CLOSE", "FIRE" ],
"placate_triggers": [ "PLAYER_WEAK" ],
Expand Down Expand Up @@ -492,6 +517,7 @@
"bodytype": "pig",
"categories": [ "WILDLIFE" ],
"species": [ "MAMMAL" ],
"families": [ "prof_intro_biology" ],
"volume": "50 L",
"weight": "40 kg",
"hp": 40,
Expand All @@ -506,8 +532,9 @@
"melee_dice_sides": 3,
"melee_damage": [ { "damage_type": "cut", "amount": 4.0, "armor_penetration": 2 }, { "damage_type": "bash", "amount": 2.0 } ],
"dodge": 2,
"armor_bash": 1,
"armor_cut": 1,
"armor_bash": 2,
"armor_cut": 3,
"armor_stab": 2,
"harvest": "mammal_small_boar",
"reproduction": { "baby_monster": "mon_flathead_piglet", "baby_count": 5, "baby_timer": 135 },
"baby_flags": [ "SPRING", "SUMMER", "AUTUMN" ],
Expand Down Expand Up @@ -569,8 +596,9 @@
"melee_dice_sides": 6,
"melee_damage": [ { "damage_type": "cut", "amount": 6.0, "armor_penetration": 2 }, { "damage_type": "bash", "amount": 4.0 } ],
"dodge": 2,
"armor_bash": 2,
"armor_cut": 1,
"armor_bash": 4,
"armor_cut": 6,
"armor_stab": 4,
"special_attacks": [ [ "EAT_FOOD", 20 ], { "id": "slam", "cooldown": 10 } ],
"anger_triggers": [ "PLAYER_NEAR_BABY", "FRIEND_ATTACKED" ],
"fear_triggers": [ "SOUND", "FIRE" ],
Expand Down
Loading