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

Added triffid weakpoints and weakpoint proficiencies #69764

Merged
merged 2 commits into from
Nov 26, 2023
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
6 changes: 6 additions & 0 deletions data/json/harvest.json
Original file line number Diff line number Diff line change
Expand Up @@ -2049,6 +2049,7 @@
{
"id": "biollante",
"type": "harvest",
"message": "<triffid_harvest>",
"//": "todo: add biollante item",
"entries": [
{ "drop": "stick_fiber", "type": "bone", "mass_ratio": 0.5 },
Expand All @@ -2059,6 +2060,7 @@
{
"id": "triffid_small",
"type": "harvest",
"message": "<triffid_harvest>",
"entries": [
{ "drop": "stick_fiber", "type": "bone", "mass_ratio": 0.5 },
{ "drop": "veggy", "type": "flesh", "mass_ratio": 0.2 },
Expand All @@ -2068,6 +2070,7 @@
{
"id": "triffid_paralytic",
"type": "harvest",
"message": "<triffid_harvest>",
"entries": [
{ "drop": "stick_fiber", "type": "bone", "mass_ratio": 0.4 },
{ "drop": "veggy", "type": "flesh", "mass_ratio": 0.2 },
Expand All @@ -2080,6 +2083,7 @@
"id": "triffid_acid",
"//": "acid blood type for plant based creaturs.",
"type": "harvest",
"message": "<triffid_harvest>",
"entries": [
{ "drop": "blood_acid_plant", "type": "blood", "mass_ratio": 0.1 },
{ "drop": "stick_fiber", "type": "bone", "mass_ratio": 0.5 },
Expand All @@ -2090,6 +2094,7 @@
{
"id": "triffid_fungal_fighter",
"type": "harvest",
"message": "<triffid_harvest>",
"entries": [
{ "drop": "stick_fiber", "type": "bone", "mass_ratio": 0.4 },
{ "drop": "veggy", "type": "flesh", "mass_ratio": 0.2 },
Expand All @@ -2102,6 +2107,7 @@
{
"id": "triffid_queen",
"type": "harvest",
"message": "<triffid_harvest>",
"entries": [
{ "drop": "log", "type": "bone", "mass_ratio": 0.35 },
{ "drop": "stick_fiber", "type": "bone", "mass_ratio": 0.15 },
Expand Down
93 changes: 93 additions & 0 deletions data/json/monster_weakpoints/triffid_weakpoints.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
[
{
"type": "weakpoint_set",
"id": "wps_triffid",
"weakpoints": [
{
"id": "branch",
"name": "the branch",
"crit_mult": { "all": 0.75 },
"difficulty": { "ranged": 4, "melee": 3 },
"coverage_mult": { "point": 0.75 },
"effects": [
{ "effect": "staggered", "chance": 15, "message": "The %s is knocked off-balance!", "damage_required": [ 10, 30 ] },
{
"effect": "staggered",
"chance": 25,
"message": "The %s is knocked off-balance!",
"damage_required": [ 31, 100 ]
}
],
"coverage": 6
},
{
"id": "root",
"name": "the root",
"crit_mult": { "all": 0.75 },
"difficulty": { "ranged": 3, "melee": 1 },
"coverage_mult": { "point": 0.75 },
"effects": [
{ "effect": "downed", "chance": 5, "message": "The %s is knocked down!", "damage_required": [ 10, 30 ] },
{ "effect": "downed", "chance": 15, "message": "The %s is knocked down!", "damage_required": [ 31, 50 ] },
{ "effect": "downed", "chance": 25, "message": "The %s is knocked down!", "damage_required": [ 51, 100 ] }
],
"coverage": 15
},
{
"id": "flower",
"name": "the flower",
"coverage": 5,
"crit_mult": { "all": 1.1 },
"armor_mult": { "physical": 0.75 },
"difficulty": { "melee": 2, "ranged": 5 },
"effects": [
{
"effect": "stunned",
"duration": [ 1, 2 ],
"chance": 5,
"message": "The %s is stunned!",
"damage_required": [ 1, 10 ]
},
{
"effect": "stunned",
"duration": [ 1, 2 ],
"chance": 25,
"message": "The %s is stunned!",
"damage_required": [ 11, 50 ]
},
{
"effect": "stunned",
"duration": [ 1, 2 ],
"chance": 45,
"message": "The %s is stunned!",
"damage_required": [ 51, 100 ]
}
]
},
{
"id": "gap",
"name": "a small gap in the bark",
"coverage": 5,
"difficulty": { "melee": 4, "ranged": 5 },
"coverage_mult": { "broad": 0.5 },
"armor_mult": { "all": 0.25 }
},
{
"id": "joint",
"name": "a soft fold in the thick bark",
"coverage": 10,
"difficulty": { "melee": 3, "ranged": 5 },
"coverage_mult": { "point": 0.75 },
"armor_mult": { "all": 0.5 }
},
{
"id": "thick bark",
"name": "a particularly thick patch of the bark",
"armor_mult": { "all": 1.25 },
"crit_mult": { "all": 0.75 },
"coverage_mult": { "melee": 0.75 },
"coverage": 3
}
]
}
]
22 changes: 22 additions & 0 deletions data/json/monsters/triffid.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@
"morale": 100,
"melee_damage": [ { "damage_type": "cut", "amount": 0 } ],
"bleed_rate": 80,
"weakpoint_sets": [ "wps_triffid" ],
"families": [ "prof_intro_biology", "prof_wp_triffid_basic", "prof_wp_triffid_advanced" ],
"harvest": "biollante",
"dissect": "dissect_plant_sample_single",
"special_attacks": [ [ "SPIT_SAP", 2 ] ],
Expand All @@ -70,6 +72,8 @@
"morale": 100,
"melee_damage": [ { "damage_type": "cut", "amount": 0 } ],
"bleed_rate": 50,
"weakpoint_sets": [ "wps_triffid" ],
"families": [ "prof_intro_biology", "prof_wp_triffid_basic", "prof_wp_triffid_advanced" ],
"harvest": "exempt",
"special_attacks": [ [ "GROW_VINE", 60 ] ],
"death_function": { "effect": { "id": "death_kill_vines", "hit_self": true, "min_level": 1 }, "corpse_type": "NO_CORPSE" },
Expand All @@ -94,6 +98,8 @@
"morale": 100,
"melee_damage": [ { "damage_type": "cut", "amount": 0 } ],
"bleed_rate": 80,
"weakpoint_sets": [ "wps_triffid" ],
"families": [ "prof_intro_biology", "prof_wp_triffid_basic", "prof_wp_triffid_advanced" ],
"harvest": "exempt",
"special_attacks": [ [ "VINE", 100 ] ],
"death_function": { "effect": { "id": "death_kill_vines", "hit_self": true }, "corpse_type": "NO_CORPSE" },
Expand All @@ -120,6 +126,8 @@
"melee_dice": 1,
"melee_dice_sides": 1,
"melee_damage": [ { "damage_type": "cut", "amount": 1 } ],
"weakpoint_sets": [ "wps_triffid" ],
"families": [ "prof_intro_biology", "prof_wp_triffid_basic", "prof_wp_triffid_advanced" ],
"harvest": "triffid_small",
"upgrades": { "age_grow": 14, "into": "mon_triffid_young" },
"flags": [ "HEARS", "SMELLS", "HAS_MIND", "NOHEAD", "STUMBLES" ],
Expand All @@ -145,6 +153,8 @@
"melee_dice_sides": 4,
"melee_damage": [ { "damage_type": "cut", "amount": 4 } ],
"bleed_rate": 75,
"weakpoint_sets": [ "wps_triffid" ],
"families": [ "prof_intro_biology", "prof_wp_triffid_basic", "prof_wp_triffid_advanced" ],
"harvest": "triffid_paralytic",
"dissect": "dissect_plant_sample_single",
"upgrades": { "age_grow": 14, "into": "mon_triffid" },
Expand Down Expand Up @@ -174,6 +184,8 @@
"melee_dice_sides": 4,
"melee_damage": [ { "damage_type": "cut", "amount": 6 } ],
"bleed_rate": 60,
"weakpoint_sets": [ "wps_triffid" ],
"families": [ "prof_intro_biology", "prof_wp_triffid_basic", "prof_wp_triffid_advanced" ],
"harvest": "triffid_paralytic",
"dissect": "dissect_plant_sample_single",
"fungalize_into": "mon_fungaloid",
Expand Down Expand Up @@ -201,6 +213,8 @@
"melee_dice_sides": 8,
"melee_damage": [ { "damage_type": "cut", "amount": 8 } ],
"bleed_rate": 40,
"weakpoint_sets": [ "wps_triffid" ],
"families": [ "prof_intro_biology", "prof_wp_triffid_basic", "prof_wp_triffid_advanced" ],
"harvest": "triffid_queen",
"dissect": "dissect_plant_sample_small",
"special_attacks": [ [ "GROWPLANTS", 20 ] ],
Expand Down Expand Up @@ -231,6 +245,8 @@
"special_attacks": [ { "id": "grab", "cooldown": 7 }, { "id": "grab_2", "cooldown": 12 } ],
"dodge": 4,
"bleed_rate": 10,
"weakpoint_sets": [ "wps_triffid" ],
"families": [ "prof_intro_biology", "prof_wp_triffid_basic", "prof_wp_triffid_advanced" ],
"harvest": "triffid_small",
"dissect": "dissect_plant_sample_single",
"flags": [ "HEARS", "GOODHEARING", "NOHEAD", "HARDTOSHOOT", "GRABS", "SWIMS", "PLASTIC", "WATER_CAMOUFLAGE" ],
Expand All @@ -257,6 +273,8 @@
"melee_dice_sides": 6,
"melee_damage": [ { "damage_type": "cut", "amount": 4 } ],
"bleed_rate": 60,
"weakpoint_sets": [ "wps_triffid" ],
"families": [ "prof_intro_biology", "prof_wp_triffid_basic", "prof_wp_triffid_advanced" ],
"harvest": "triffid_fungal_fighter",
"dissect": "dissect_plant_sample_single",
"attack_effs": [ { "id": "paralyzepoison", "intensity": [ 3, 6 ], "duration": [ 20, 60 ] } ],
Expand Down Expand Up @@ -285,6 +303,8 @@
"melee_damage": [ { "damage_type": "cut", "amount": 0 } ],
"bleed_rate": 60,
"emit_fields": [ { "emit_id": "emit_pollen_stream", "delay": "1 s" } ],
"weakpoint_sets": [ "wps_triffid" ],
"families": [ "prof_intro_biology", "prof_wp_triffid_basic", "prof_wp_triffid_advanced" ],
"harvest": "triffid_paralytic",
"dissect": "dissect_plant_sample_small",
"special_attacks": [ [ "SPIT_SAP", 3 ], [ "PARA_STING", 12 ] ],
Expand All @@ -309,6 +329,8 @@
"aggression": 100,
"morale": 100,
"melee_damage": [ { "damage_type": "cut", "amount": 0 } ],
"weakpoint_sets": [ "wps_triffid" ],
"families": [ "prof_intro_biology", "prof_wp_triffid_basic", "prof_wp_triffid_advanced" ],
"harvest": "triffid_small",
"dissect": "dissect_plant_sample_huge",
"special_attacks": [ [ "TRIFFID_HEARTBEAT", 50 ] ],
Expand Down
24 changes: 24 additions & 0 deletions data/json/proficiencies/weakpoints.json
Original file line number Diff line number Diff line change
Expand Up @@ -324,5 +324,29 @@
"required_proficiencies": [ "prof_wp_slime_basic" ],
"default_weakpoint_bonus": 2,
"default_weakpoint_penalty": -2
},
{
"type": "proficiency",
"id": "prof_wp_triffid_basic",
"category": "prof_weakpoint",
"name": { "str": "Triffid basic anatomy" },
"description": "Study of triffids has given you insights into their anatomy that allows you to aim for some weak spots.",
"can_learn": true,
"required_proficiencies": [ "prof_intro_biology" ],
"time_to_learn": "6 h",
"default_weakpoint_bonus": 1,
"default_weakpoint_penalty": -2
},
{
"type": "proficiency",
"id": "prof_wp_triffid_advanced",
"category": "prof_weakpoint",
"name": { "str": "Triffid detailed anatomy" },
"description": "Extensive study of triffids has provided you with a good understanding of their strengths and weaknesses when it comes to combat. A scientific study of them might yield further biological insights, but you don't have the time to spend years cooped up in a lab.",
"can_learn": true,
"time_to_learn": "24 h",
"required_proficiencies": [ "prof_wp_triffid_basic" ],
"default_weakpoint_bonus": 2,
"default_weakpoint_penalty": -2
}
]
30 changes: 30 additions & 0 deletions data/json/snippets/triffid_anatomy.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
[
{
"type": "snippet",
"category": "<triffid_harvest>",
"text": [
"The bark of this \"plant\" has a bark like texture, but is more leathery in consistency.",
"The smell emanating from the creature when you dissect it reminds you of vegetables.",
"The monster's sap is sticky and somewhat greenish.",
"While outwardly plant like, the creature's muscles look surprisingly similar to those of normal animals.",
"Thick fibers are found throughout the body of the creature. Perhaps they serve a scaffolding purpose similar to that of (very flexible) bones.",
"The creature's whip like sting drips from poison. You take extra care not to accidentally scratch yourself on it."
]
},
{
"type": "snippet",
"category": "<triffid_harvest_deeper>",
"text": [
"The creature appears to have a vascular system vaguely similar to those of animals, with a branching network of vein, although the organization is unfamiliar.",
"You find what you think is a heart, although it doesn't look like any configuration you know of from Earth. In fact, you find four hearts, each seemingly supporting a lateral quarter of the body.",
"A sac connected to the sting is filled with some fluid. Might it perhaps have some useful properties?",
"While the roots of the plant creature contain muscles and veins, they also contain finer networks indicating a use for nutrient uptake when the roots are lodged into the soil.",
"At the top of the creature you find what you assume is a brain, although it seems to employ quadrilateral symmetry and thus is shaped and organized completely differently from that of terrestial versions."
]
},
{
"type": "snippet",
"category": "<triffid_harvest>",
"text": [ "<triffid_harvest>", "<triffid_harvest_deeper>", "<triffid_harvest> <triffid_harvest_deeper>" ]
}
]
Loading