Skip to content

Commit

Permalink
feat(content): monofilament whip CBM (#5595)
Browse files Browse the repository at this point in the history
* bionic monowire

* give monofilament whip the WHIP flag, add biojutsu technique wrap attack, disable biojutsu technique impale for weapons other than fists and swords
  • Loading branch information
Soadreqm authored Oct 21, 2024
1 parent 1acd5e9 commit ecb051e
Show file tree
Hide file tree
Showing 5 changed files with 66 additions and 0 deletions.
10 changes: 10 additions & 0 deletions data/json/bionics.json
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,16 @@
"fake_item": "bio_blade_weapon",
"flags": [ "BIONIC_TOGGLED", "BIONIC_WEAPON", "BIONIC_NPC_USABLE" ]
},
{
"id": "bio_monowire",
"type": "bionic",
"name": { "str": "Monofilament Whip" },
"description": "Your left hand conceals three meters of monomolecular filament on an artificial diamond spool, extending behind a small counterweight in your thumbtip. It requires a small amount of bionic power to activate, and prevents you from holding anything else while extended.",
"occupied_bodyparts": [ [ "hand_l", 5 ] ],
"act_cost": "50 J",
"fake_item": "bio_wire_weapon",
"flags": [ "BIONIC_TOGGLED", "BIONIC_WEAPON", "BIONIC_NPC_USABLE" ]
},
{
"id": "bio_shotgun",
"type": "bionic",
Expand Down
4 changes: 4 additions & 0 deletions data/json/itemgroups/bionics.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@
[ "bio_heat_absorb", 10 ],
[ "bio_claws", 10 ],
[ "bio_blade", 5 ],
[ "bio_monowire", 5 ],
[ "bio_surgical_razor", 10 ],
[ "bio_razors", 10 ],
[ "bio_shockwave", 10 ],
Expand Down Expand Up @@ -205,6 +206,7 @@
[ "bio_power_armor_interface", 10 ],
[ "bio_cqb", 5 ],
[ "bio_blade", 2 ],
[ "bio_monowire", 2 ],
[ "bio_speed", 2 ],
[ "bio_adrenaline", 10 ],
[ "bio_infolink", 20 ],
Expand Down Expand Up @@ -298,6 +300,7 @@
[ "bio_power_armor_interface", 10 ],
[ "bio_cqb", 5 ],
[ "bio_blade", 5 ],
[ "bio_monowire", 5 ],
[ "bio_speed", 5 ],
[ "bio_adrenaline", 15 ],
[ "bio_infolink", 20 ],
Expand All @@ -318,6 +321,7 @@
"//": "Elite zombie bio-operator offense CBMs.",
"items": [
[ "bio_blade", 10 ],
[ "bio_monowire", 10 ],
[ "bio_chain_lightning", 10 ],
[ "bio_claws", 10 ],
[ "bio_cqb", 10 ],
Expand Down
11 changes: 11 additions & 0 deletions data/json/items/bionics.json
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,17 @@
"weight": "250 g",
"difficulty": 8
},
{
"id": "bio_monowire",
"copy-from": "bionic_general_npc_usable",
"type": "BIONIC_ITEM",
"name": { "str": "Monofilament Whip CBM" },
"looks_like": "bio_int_enhancer",
"description": "A razor-sharp thread of advanced material that is installed inside the hand, capable of being extended at the cost of a small amount of power. Though exceptionally sharp, it will prevent the user from holding anything else while extended.",
"price": "2000 USD",
"weight": "250 g",
"difficulty": 8
},
{
"id": "bio_shotgun",
"copy-from": "bionic_general",
Expand Down
18 changes: 18 additions & 0 deletions data/json/items/melee/fake.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,23 @@
"cutting": 36,
"flags": [ "UNARMED_WEAPON", "NO_DROP", "NO_UNWIELD", "UNBREAKABLE_MELEE", "TRADER_AVOID" ],
"qualities": [ [ "CUT", 1 ], [ "BUTCHER", 22 ] ]
},
{
"id": "bio_wire_weapon",
"type": "GENERIC",
"category": "weapons",
"weapon_category": [ "BIONIC_WEAPONRY", "WHIPS" ],
"name": { "str": "monofilament whip" },
"description": "A long, sharp thread of high-tech material, with a small counterweight at the end.",
"weight": "100 g",
"to_hit": 3,
"color": "dark_gray",
"symbol": "{",
"material": [ "superalloy" ],
"techniques": [ "WIDE" ],
"volume": "250 ml",
"cutting": 28,
"flags": [ "REACH_ATTACK", "NO_DROP", "NO_UNWIELD", "UNBREAKABLE_MELEE", "TRADER_AVOID", "WHIP" ],
"qualities": [ [ "SAW_M", 1 ], [ "SAW_W", 1 ] ]
}
]
23 changes: 23 additions & 0 deletions data/json/martialarts_fictional.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@
"tec_biojutsu_strike_unarmed",
"tec_biojutsu_strike_melee",
"tec_biojutsu_impale",
"tec_biojutsu_wrap",
"tec_biojutsu_takedown",
"tec_biojutsu_wide"
],
Expand Down Expand Up @@ -340,13 +341,35 @@
"skill_requirements": [ { "name": "melee", "level": 3 } ],
"melee_allowed": true,
"crit_tec": true,
"weapon_categories_allowed": [ "FIST_WEAPONS", "BIONIC_SWORDS" ],
"mult_bonuses": [
{ "stat": "damage", "type": "bash", "scale": 1.5 },
{ "stat": "damage", "type": "cut", "scale": 1.5 },
{ "stat": "damage", "type": "stab", "scale": 1.5 }
],
"stun_dur": 1
},
{
"type": "technique",
"id": "tec_biojutsu_wrap",
"name": "Biojutsu Wrap Attack",
"messages": [
"You wrap your weapon around %s and quickly yank it back",
"<npcname> wraps their weapon around %s and quickly yanks it back"
],
"skill_requirements": [ { "name": "melee", "level": 3 } ],
"melee_allowed": true,
"unarmed_allowed": false,
"crit_tec": true,
"weapon_categories_allowed": [ "WHIPS" ],
"mult_bonuses": [
{ "stat": "damage", "type": "bash", "scale": 1.5 },
{ "stat": "damage", "type": "cut", "scale": 1.5 },
{ "stat": "damage", "type": "stab", "scale": 1.5 },
{ "stat": "movecost", "scale": 1.1 }
],
"stun_dur": 2
},
{
"type": "technique",
"id": "tec_biojutsu_takedown",
Expand Down

0 comments on commit ecb051e

Please sign in to comment.