Skip to content

Commit

Permalink
[Megafauna] Add weakpoints and anatomical proficiencies (#63590)
Browse files Browse the repository at this point in the history
* Prof Biology added

* Update data/mods/Megafauna/monsters/mf_domestic.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* First steps defining weakpoints

* The eyes #1

* Update data/mods/Megafauna/mf_weakpoint_sets.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Basic weakpoints and linting

* fix bad language

* Update data/mods/Megafauna/proficiencies/mf_weakpoints.json

* Update data/mods/Megafauna/proficiencies/mf_weakpoints.json

* Update data/mods/Megafauna/mf_weakpoint_sets.json

---------

Co-authored-by: merrygin <smitzjak@hu-berlin.de>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Maleclypse <54345792+Maleclypse@users.noreply.github.com>
Co-authored-by: David Seguin <davidseguin@live.ca>
  • Loading branch information
5 people authored Aug 5, 2023
1 parent fe20646 commit 9463676
Show file tree
Hide file tree
Showing 5 changed files with 231 additions and 22 deletions.
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 retching.",
"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 },
"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 ]
}
]
}
]
}
]
30 changes: 21 additions & 9 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 Down Expand Up @@ -37,7 +38,7 @@
"pet": "The %s lets you pet its shaggy-haired head, mooing loudly in satisfaction."
},
"flags": [ "SEES", "HEARS", "SMELLS", "ANIMAL", "PATH_AVOID_DANGER_1", "WARM", "MILKABLE" ],
"armor": { "bash": 3 }
"armor": { "bash": 5, "cut": 7, "stab": 3 }
},
{
"id": "mon_shrubox_calf",
Expand All @@ -48,6 +49,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 +79,7 @@
"bodytype": "horse",
"categories": [ "WILDLIFE" ],
"species": [ "MAMMAL" ],
"families": [ "prof_intro_biology" ],
"volume": "400 L",
"weight": "400 kg",
"hp": 120,
Expand Down Expand Up @@ -109,7 +112,7 @@
"pet": "The %s lets you pet its shaggy-haired head, mooing loudly in satisfaction."
},
"flags": [ "SEES", "HEARS", "SMELLS", "ANIMAL", "PATH_AVOID_DANGER_1", "WARM", "PET_WONT_FOLLOW", "MILKABLE" ],
"armor": { "bash": 3 }
"armor": { "bash": 5, "cut": 7, "stab": 3 }
},
{
"id": "mon_woodox_calf",
Expand All @@ -120,6 +123,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 +153,7 @@
"bodytype": "horse",
"categories": [ "WILDLIFE" ],
"species": [ "MAMMAL" ],
"families": [ "prof_intro_biology" ],
"volume": "200 L",
"weight": "200 kg",
"hp": 200,
Expand Down Expand Up @@ -178,7 +183,7 @@
"pet": "The %s lets you scratch its big belly, letting of a sonorous bleat in satisfaction."
},
"flags": [ "SEES", "HEARS", "SMELLS", "ANIMAL", "PATH_AVOID_DANGER_1", "WARM", "MILKABLE" ],
"armor": { "bash": 3 }
"armor": { "bash": 3, "cut": 4, "stab": 2 }
},
{
"id": "mon_soergoat_kid",
Expand All @@ -189,6 +194,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 +223,7 @@
"bodytype": "horse",
"categories": [ "WILDLIFE" ],
"species": [ "MAMMAL" ],
"families": [ "prof_intro_biology" ],
"volume": "1000 L",
"weight": "1000 kg",
"hp": 420,
Expand All @@ -242,7 +249,7 @@
"special_attacks": [ [ "EAT_CROP", 120 ] ],
"petfood": { "food": [ "CATTLEFOOD" ], "feed": "The %s seems to like you! It lets you pat its head and seems friendly." },
"flags": [ "SEES", "HEARS", "SMELLS", "ANIMAL", "PATH_AVOID_DANGER_1", "WARM", "PET_WONT_FOLLOW", "MILKABLE" ],
"armor": { "bash": 3 }
"armor": { "bash": 5, "cut": 7, "stab": 3 }
},
{
"id": "mon_bison_calf",
Expand All @@ -253,6 +260,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 +290,7 @@
"bodytype": "horse",
"categories": [ "WILDLIFE" ],
"species": [ "MAMMAL" ],
"families": [ "prof_intro_biology" ],
"volume": "350 L",
"weight": "350 kg",
"hp": 120,
Expand All @@ -307,7 +316,7 @@
"petfood": { "food": [ "CATTLEFOOD" ], "feed": "The %s seems to like you! It lets you pat its head and seems friendly." },
"mountable_weight_ratio": 0.35,
"flags": [ "SEES", "HEARS", "SMELLS", "ANIMAL", "PET_WONT_FOLLOW", "PET_MOUNTABLE", "PATH_AVOID_DANGER_1", "WARM", "MILKABLE" ],
"armor": { "bash": 2 }
"armor": { "bash": 3, "cut": 4, "stab": 3 }
},
{
"id": "mon_scotts_foal",
Expand Down Expand Up @@ -355,6 +364,7 @@
"bodytype": "horse",
"categories": [ "WILDLIFE" ],
"species": [ "MAMMAL" ],
"families": [ "prof_intro_biology" ],
"volume": "1000 L",
"weight": "1000 kg",
"hp": 500,
Expand All @@ -380,7 +390,7 @@
"petfood": { "food": [ "CATTLEFOOD" ], "feed": "The %s seems to like you! It lets you pat its head and seems friendly." },
"mountable_weight_ratio": 0.35,
"flags": [ "SEES", "HEARS", "SMELLS", "ANIMAL", "PET_WONT_FOLLOW", "PET_MOUNTABLE", "PATH_AVOID_DANGER_1", "WARM", "MILKABLE" ],
"armor": { "bash": 2 }
"armor": { "bash": 5, "cut": 7, "stab": 3 }
},
{
"id": "mon_giant_foal",
Expand Down Expand Up @@ -428,6 +438,7 @@
"bodytype": "horse",
"categories": [ "WILDLIFE" ],
"species": [ "MAMMAL" ],
"families": [ "prof_intro_biology", "prof_wp_megafauna" ],
"volume": "1000 L",
"weight": "1000 kg",
"hp": 400,
Expand All @@ -453,7 +464,7 @@
"baby_flags": [ "SUMMER" ],
"petfood": { "food": [ "CATTLEFOOD" ], "feed": "The %s seems to like you! It lets you pat its head and seems friendly." },
"flags": [ "SEES", "HEARS", "SMELLS", "ANIMAL", "PET_WONT_FOLLOW", "PET_MOUNTABLE", "PATH_AVOID_DANGER_1", "WARM", "MILKABLE" ],
"armor": { "bash": 2 }
"armor": { "bash": 6, "cut": 9, "stab": 4 }
},
{
"id": "mon_camelops_foal",
Expand Down Expand Up @@ -492,6 +503,7 @@
"bodytype": "pig",
"categories": [ "WILDLIFE" ],
"species": [ "MAMMAL" ],
"families": [ "prof_intro_biology" ],
"volume": "50 L",
"weight": "40 kg",
"hp": 40,
Expand All @@ -516,7 +528,7 @@
"special_attacks": [ [ "EAT_FOOD", 20 ] ],
"petfood": { "food": [ "CATTLEFOOD" ], "feed": "The %s seems to like you! It squeals happily as you pet it." },
"flags": [ "SEES", "HEARS", "SMELLS", "ANIMAL", "PATH_AVOID_DANGER_1", "WARM", "KEENNOSE", "CANPLAY" ],
"armor": { "bash": 1, "cut": 1 }
"armor": { "bash": 2, "cut": 3, "stab": 2 }
},
{
"id": "mon_flathead_piglet",
Expand Down Expand Up @@ -573,7 +585,7 @@
"fear_triggers": [ "SOUND", "FIRE" ],
"reproduction": { "baby_monster": "mon_longnose_piglet", "baby_count": 1, "baby_timer": 200 },
"flags": [ "SEES", "HEARS", "SMELLS", "KEENNOSE", "ANIMAL", "PATH_AVOID_DANGER_1", "PET_MOUNTABLE", "WARM", "CANPLAY" ],
"armor": { "bash": 2, "cut": 1 }
"armor": { "bash": 4, "cut": 6, "stab": 4 }
},
{
"id": "mon_longnose_piglet",
Expand Down
Loading

0 comments on commit 9463676

Please sign in to comment.