From 5ad27cb9af25faa4bdffeb70e0451f525aa730de Mon Sep 17 00:00:00 2001
From: Jackriip <97582790+Jackriip@users.noreply.github.com>
Date: Sun, 15 Nov 2026 15:44:22 -0800
Subject: [PATCH 01/29] Cyberware lines: cheaper chrome models, a street
ripperdoc, new chrome and ability animations
- Street and milspec models of Cascade, Redline, Ghostskin and Governor Delete, with the Shiv and Scorch Blades,
the Widowline Arc and Brawler myomers.
- Ratchet's Back Bay, a street ripperdoc at Quartermain Depot. Both ripperdocs buy back pulled street chrome and
burnt-out NPC chrome.
- New chrome: leg, hand, plating, lung, lining, reflex and ear pieces, the holdout revolver arm, and street passives.
- Ghostskin and better hide the wearer from turrets, older mobs and human NPCs short of bosses.
- Ability animations for Redline, Cascade, Ghostskin, the Lazarus node, leaps, EMP and brownouts, and the
Chrome Cradle's rig. Worn chrome draws over the jumpsuit.
- Reflex windows dodge blows and ranged fire by model and crit more often.
- The Chrome Cradle fits a second arm housing of the same kind on the free arm.
- Chrome stock in the loot themes and at Splice, gear ratings, the admin chrome test kit, and the wiki.
- The cyberdeck's leftovers are removed from Machine Communion.
---
tgstation.dme | 13 +
.../voidcrew_tgui/interfaces/ChromeCradle.tsx | 50 +-
tools/gear_catalog/ratings/ammo.json | 9 +
tools/gear_catalog/ratings/cyberware.json | 397 ++++++-
tools/gear_catalog/ratings/guns.json | 9 +
tools/gear_catalog/ratings/melee.json | 35 +-
tools/gear_catalog/ratings/organs.json | 42 +-
tools/gear_catalog/ratings/tools.json | 45 +-
voidcrew/_DEFINES/cyberware.dm | 116 +-
.../outposts/trader_outpost_outfitter.dmm | 277 +++--
voidcrew/modules/admin/chrome_test_kit.dm | 256 +++++
.../modules/antag_ruins/ascension_mech.dm | 32 +-
voidcrew/modules/cyberware/chrome_cradle.dm | 15 +-
voidcrew/modules/cyberware/cyberware_anim.dm | 921 +++++++++++++++
voidcrew/modules/cyberware/cyberware_anim2.dm | 1023 +++++++++++++++++
voidcrew/modules/cyberware/cyberware_base.dm | 181 ++-
.../modules/cyberware/cyberware_component.dm | 14 +
.../modules/cyberware/cyberware_stealth.dm | 131 ++-
.../cyberware/icons/chrome_cradle_rig.dmi | Bin 0 -> 8223 bytes
.../modules/cyberware/icons/cyberware.dmi | Bin 35983 -> 63256 bytes
.../cyberware/icons/cyberware_anim.dmi | Bin 0 -> 12313 bytes
.../cyberware/icons/cyberware_anim2.dmi | Bin 0 -> 36105 bytes
.../cyberware/icons/cyberware_anim2_large.dmi | Bin 0 -> 11560 bytes
.../cyberware/icons/cyberware_anim_large.dmi | Bin 0 -> 61317 bytes
.../icons/cyberware_anim_monowire.dmi | Bin 0 -> 7378 bytes
.../cyberware/icons/cyberware_ground.dmi | Bin 0 -> 1601 bytes
.../cyberware/icons/cyberware_lefthand.dmi | Bin 2000 -> 8431 bytes
.../cyberware/icons/cyberware_righthand.dmi | Bin 1960 -> 8252 bytes
.../cyberware/icons/cyberware_weapons.dmi | Bin 1672 -> 6188 bytes
.../cyberware/icons/cyberware_worn.dmi | Bin 3700 -> 7161 bytes
.../modules/cyberware/ripperdoc_catalog.dm | 232 +++-
.../modules/cyberware/street_doc_catalog.dm | 268 +++++
.../modules/cyberware/ware_arm_utility.dm | 13 +-
voidcrew/modules/cyberware/ware_legend.dm | 322 +++++-
.../modules/cyberware/ware_line_berserk.dm | 91 ++
voidcrew/modules/cyberware/ware_line_camo.dm | 67 ++
.../modules/cyberware/ware_line_governor.dm | 75 ++
.../modules/cyberware/ware_line_mantis.dm | 196 ++++
.../modules/cyberware/ware_line_models_a.dm | 383 ++++++
voidcrew/modules/cyberware/ware_line_sandy.dm | 132 +++
.../modules/cyberware/ware_line_widowline.dm | 223 ++++
.../modules/cyberware/ware_military_arms.dm | 180 ++-
.../modules/cyberware/ware_military_body.dm | 179 ++-
voidcrew/modules/cyberware/ware_models_b.dm | 314 +++++
voidcrew/modules/cyberware/ware_pro_combat.dm | 192 +++-
.../modules/cyberware/ware_pro_utility.dm | 78 +-
.../modules/cyberware/ware_second_wind.dm | 30 +-
voidcrew/modules/cyberware/ware_street.dm | 51 +-
.../modules/cyberware/ware_street_passives.dm | 454 ++++++++
voidcrew/modules/lich/lich_thrall.dm | 2 +
voidcrew/modules/loot/themes/armory.dm | 22 +
voidcrew/modules/loot/themes/expedition.dm | 12 +
voidcrew/modules/loot/themes/industrial.dm | 15 +-
voidcrew/modules/loot/themes/medical.dm | 8 +
voidcrew/modules/loot/themes/plunder.dm | 12 +-
voidcrew/modules/loot/themes/research.dm | 4 +
voidcrew/modules/loot/themes/syndicate.dm | 47 +-
voidcrew/modules/loot/themes/wardrobe.dm | 1 +
voidcrew/modules/trade/shop_buyback.dm | 43 +-
voidcrew/modules/unit_tests/_unit_tests.dm | 9 +
.../modules/unit_tests/voidcrew_cyberware.dm | 519 ++++++++-
.../unit_tests/voidcrew_cyberware_anim.dm | 226 ++++
.../unit_tests/voidcrew_cyberware_anim2.dm | 361 ++++++
.../unit_tests/voidcrew_cyberware_kit.dm | 79 ++
.../unit_tests/voidcrew_cyberware_mantis.dm | 159 +++
.../unit_tests/voidcrew_cyberware_models_a.dm | 383 ++++++
.../unit_tests/voidcrew_cyberware_models_b.dm | 404 +++++++
.../unit_tests/voidcrew_cyberware_npcs.dm | 202 ++++
.../unit_tests/voidcrew_cyberware_passives.dm | 317 +++++
.../unit_tests/voidcrew_cyberware_text.dm | 20 +
voidcrew/modules/unit_tests/voidcrew_loot.dm | 32 +-
wiki/content/cyberware.md | 53 +-
wiki/content/glossary.md | 2 +-
wiki/content/trader-outposts.md | 5 +-
74 files changed, 9451 insertions(+), 532 deletions(-)
create mode 100644 voidcrew/modules/admin/chrome_test_kit.dm
create mode 100644 voidcrew/modules/cyberware/cyberware_anim.dm
create mode 100644 voidcrew/modules/cyberware/cyberware_anim2.dm
create mode 100644 voidcrew/modules/cyberware/icons/chrome_cradle_rig.dmi
create mode 100644 voidcrew/modules/cyberware/icons/cyberware_anim.dmi
create mode 100644 voidcrew/modules/cyberware/icons/cyberware_anim2.dmi
create mode 100644 voidcrew/modules/cyberware/icons/cyberware_anim2_large.dmi
create mode 100644 voidcrew/modules/cyberware/icons/cyberware_anim_large.dmi
create mode 100644 voidcrew/modules/cyberware/icons/cyberware_anim_monowire.dmi
create mode 100644 voidcrew/modules/cyberware/icons/cyberware_ground.dmi
create mode 100644 voidcrew/modules/cyberware/street_doc_catalog.dm
create mode 100644 voidcrew/modules/cyberware/ware_line_berserk.dm
create mode 100644 voidcrew/modules/cyberware/ware_line_camo.dm
create mode 100644 voidcrew/modules/cyberware/ware_line_governor.dm
create mode 100644 voidcrew/modules/cyberware/ware_line_mantis.dm
create mode 100644 voidcrew/modules/cyberware/ware_line_models_a.dm
create mode 100644 voidcrew/modules/cyberware/ware_line_sandy.dm
create mode 100644 voidcrew/modules/cyberware/ware_line_widowline.dm
create mode 100644 voidcrew/modules/cyberware/ware_models_b.dm
create mode 100644 voidcrew/modules/cyberware/ware_street_passives.dm
create mode 100644 voidcrew/modules/unit_tests/voidcrew_cyberware_anim.dm
create mode 100644 voidcrew/modules/unit_tests/voidcrew_cyberware_anim2.dm
create mode 100644 voidcrew/modules/unit_tests/voidcrew_cyberware_kit.dm
create mode 100644 voidcrew/modules/unit_tests/voidcrew_cyberware_mantis.dm
create mode 100644 voidcrew/modules/unit_tests/voidcrew_cyberware_models_a.dm
create mode 100644 voidcrew/modules/unit_tests/voidcrew_cyberware_models_b.dm
create mode 100644 voidcrew/modules/unit_tests/voidcrew_cyberware_npcs.dm
create mode 100644 voidcrew/modules/unit_tests/voidcrew_cyberware_passives.dm
create mode 100644 voidcrew/modules/unit_tests/voidcrew_cyberware_text.dm
diff --git a/tgstation.dme b/tgstation.dme
index cbc40fdf982..40f23116804 100644
--- a/tgstation.dme
+++ b/tgstation.dme
@@ -7033,6 +7033,7 @@
#include "voidcrew\mapping\shuttles\syndicate\geneva.dm"
#include "voidcrew\mapping\shuttles\syndicate\hyena.dm"
#include "voidcrew\mapping\spawners\nanites.dm"
+#include "voidcrew\modules\admin\chrome_test_kit.dm"
#include "voidcrew\modules\admin\feature_testing.dm"
#include "voidcrew\modules\admin\overmap_management.dm"
#include "voidcrew\modules\admin\overmap_management_bans.dm"
@@ -7175,6 +7176,8 @@
#include "voidcrew\modules\cryo\machine.dm"
#include "voidcrew\modules\cyberware\chrome_cradle.dm"
#include "voidcrew\modules\cyberware\cradle_ui.dm"
+#include "voidcrew\modules\cyberware\cyberware_anim.dm"
+#include "voidcrew\modules\cyberware\cyberware_anim2.dm"
#include "voidcrew\modules\cyberware\cyberware_base.dm"
#include "voidcrew\modules\cyberware\cyberware_component.dm"
#include "voidcrew\modules\cyberware\cyberware_feedback.dm"
@@ -7183,15 +7186,25 @@
#include "voidcrew\modules\cyberware\cyberware_stealth.dm"
#include "voidcrew\modules\cyberware\parlor_fixtures.dm"
#include "voidcrew\modules\cyberware\ripperdoc_catalog.dm"
+#include "voidcrew\modules\cyberware\street_doc_catalog.dm"
#include "voidcrew\modules\cyberware\ware_arm_utility.dm"
#include "voidcrew\modules\cyberware\ware_legend.dm"
+#include "voidcrew\modules\cyberware\ware_line_berserk.dm"
+#include "voidcrew\modules\cyberware\ware_line_camo.dm"
+#include "voidcrew\modules\cyberware\ware_line_governor.dm"
+#include "voidcrew\modules\cyberware\ware_line_mantis.dm"
+#include "voidcrew\modules\cyberware\ware_line_models_a.dm"
+#include "voidcrew\modules\cyberware\ware_line_sandy.dm"
+#include "voidcrew\modules\cyberware\ware_line_widowline.dm"
#include "voidcrew\modules\cyberware\ware_military_arms.dm"
#include "voidcrew\modules\cyberware\ware_military_body.dm"
+#include "voidcrew\modules\cyberware\ware_models_b.dm"
#include "voidcrew\modules\cyberware\ware_pro_combat.dm"
#include "voidcrew\modules\cyberware\ware_pro_utility.dm"
#include "voidcrew\modules\cyberware\ware_registry.dm"
#include "voidcrew\modules\cyberware\ware_second_wind.dm"
#include "voidcrew\modules\cyberware\ware_street.dm"
+#include "voidcrew\modules\cyberware\ware_street_passives.dm"
#include "voidcrew\modules\derelict_outposts\derelict_layout.dm"
#include "voidcrew\modules\derelict_outposts\derelict_leash.dm"
#include "voidcrew\modules\derelict_outposts\derelict_outpost.dm"
diff --git a/tgui/packages/voidcrew_tgui/interfaces/ChromeCradle.tsx b/tgui/packages/voidcrew_tgui/interfaces/ChromeCradle.tsx
index 57008cc670e..cf51c16a304 100644
--- a/tgui/packages/voidcrew_tgui/interfaces/ChromeCradle.tsx
+++ b/tgui/packages/voidcrew_tgui/interfaces/ChromeCradle.tsx
@@ -370,10 +370,7 @@ const Rack = () => {
if (!has_occupant) {
return (
-
- The rack is dark. Drag yourself onto the slab to lie back and it wakes
- up.
-
+ The rack is dark.
);
}
@@ -477,7 +474,7 @@ const TileCard = (props: { ware: Ware }) => {
- T{ware.tier} {TIER_NAMES[ware.tier] || 'CHROME'}
+ {TIER_NAMES[ware.tier] || 'CHROME'}
load {ware.load}
{ware.capacity_bonus > 0 &&
+{ware.capacity_bonus} cap}
@@ -520,10 +517,7 @@ const Detail = () => {
if (!ware) {
return (
-
- Pick a piece from the rack. Anything you own shows up on the body before
- the rig touches you.
-
+
Nothing selected.
);
}
@@ -548,7 +542,7 @@ const Detail = () => {
- TIER {ware.tier} · {TIER_NAMES[ware.tier] || 'CHROME'}
+ {TIER_NAMES[ware.tier] || 'CHROME'}
{ware.state === 'installed'
@@ -603,7 +597,7 @@ const Detail = () => {
)}
{!!overCapacity && (
- No neural headroom. Shed load or find a Governor.
+ No neural headroom.
)}
@@ -614,7 +608,6 @@ const Detail = () => {
act('remove', { ref: ware.ref })}
>
EXTRACT
@@ -623,11 +616,7 @@ const Detail = () => {
act('install', { ref: ware.ref })}
>
INSTALL
@@ -776,10 +765,7 @@ const StatusDeck = () => {
style={{ width: `${progress * 100}%` }}
/>
-
- Hold still. Leaving the slab cancels the cycle. Nothing is lost, the
- ware goes to the tray.
-
+ Hold still.
);
}
@@ -789,19 +775,13 @@ const StatusDeck = () => {
notes.push('Trade embargo. The rig will not work on you.');
}
if (!has_occupant) {
- notes.push('The slab is empty. Drag yourself onto it to lie back.');
+ notes.push('The slab is empty.');
} else if (!occupant_is_user) {
- notes.push(
- `${occupant_name} is on the slab. The rig takes orders from its occupant only. You can still pop the parts tray.`,
- );
+ notes.push(`${occupant_name} is on the slab.`);
} else if (!can_operate) {
- notes.push(
- 'The rig refuses: you have to be conscious and unrestrained to consent to chrome work.',
- );
+ notes.push('The rig needs you awake and free to say yes.');
} else {
- notes.push(
- 'Rig idle. Highlight a piece in the rack, check it on the body, then commit.',
- );
+ notes.push('Rig idle.');
}
if (tray_count > 0) {
notes.push(
@@ -841,10 +821,7 @@ const Controls = () => {
act('tuneup')}
>
{`TUNE-UP · ${tuneup_fee} CR`}
@@ -852,7 +829,6 @@ const Controls = () => {
act('eject_tray')}
>
{`EJECT TRAY${tray_count > 0 ? ` · ${tray_count}` : ''}`}
@@ -860,7 +836,6 @@ const Controls = () => {
act('eject_cash')}
>
EJECT CASH
@@ -868,7 +843,6 @@ const Controls = () => {
act('get_up')}
>
{occupant_is_user ? 'GET UP' : 'UNBUCKLE'}
diff --git a/tools/gear_catalog/ratings/ammo.json b/tools/gear_catalog/ratings/ammo.json
index 4cb6dcb603c..6d7ae0e45a1 100644
--- a/tools/gear_catalog/ratings/ammo.json
+++ b/tools/gear_catalog/ratings/ammo.json
@@ -342,6 +342,15 @@
"reason": "Built into the peashooter, never on its own. Rated with the gun.",
"tier": "green"
},
+ "/obj/item/ammo_box/magazine/internal/cylinder/rev38/cyberware_holdout": {
+ "confidence": "high",
+ "group": "magazines built into a gun",
+ "hash": "",
+ "name": "holdout cylinder",
+ "rank": 8,
+ "reason": "Built into the Holdout revolver arm, never on its own. Rated with the gun.",
+ "tier": "yellow"
+ },
"/obj/item/ammo_box/magazine/internal/cylinder/rev38/housecall": {
"confidence": "high",
"group": "magazines built into a gun",
diff --git a/tools/gear_catalog/ratings/cyberware.json b/tools/gear_catalog/ratings/cyberware.json
index f4c5b57f0ea..f6613a33fec 100644
--- a/tools/gear_catalog/ratings/cyberware.json
+++ b/tools/gear_catalog/ratings/cyberware.json
@@ -19,7 +19,7 @@
"hash": "c229d282cf893570",
"name": "Strong-Arm empowered musculature implant",
"note": "Humans only. With the implanted arm active, an empty-hand combat-mode left-click on a mob becomes a slam on a 5 s cooldown: the hand's unarmed damage roll plus 5 (plus 20 more against beast, special and mining mobs), doubled and run through melee armor, and the target is thrown 1 tile if the wearer is standing; it is not used while Hulk. One implant in each arm lets the wearer pry closed airlocks open bare-handed (6 s, instant if unpowered, refused if bolted or welded). An EMP puts the arm down for 9 s (4.5 s on a light pulse): slams fail, and half the time the wearer lunges onto the target and falls for 3 s, otherwise is paralyzed for 1 s.",
- "rank": 6,
+ "rank": 14,
"reason": "A slam for 20 to 30 damage every 5 s per arm, 60 to 70 against mining mobs and beasts, and a pair pries powered airlocks in 6 s. 1,200 cr for two from cargo. EMP makes the arm a liability for 9 s.",
"tier": "yellow"
},
@@ -28,7 +28,7 @@
"group": "Work tools",
"hash": "5b81131a4a10a42c",
"name": "Harpoon Spool",
- "rank": 6,
+ "rank": 9,
"reason": "Pulls a loose item or small creature to you from 6 tiles every 8 s, anything bigger drags you a tile. Can grab a dropped gun, little else. Load 2, 2,800 cr.",
"tier": "green"
},
@@ -37,7 +37,7 @@
"group": "Arm weapons and fists",
"hash": "31fd669dadf0cf4c",
"name": "Bunker Buster housing",
- "rank": 5,
+ "rank": 10,
"reason": "Two 60-damage rockets that floor the target and wreck doors and machines with no blast, about 10 on the gun score plus breaching. Two hands, two shots, then 600 cr at reputation 22 or late research. Loot only.",
"tier": "yellow"
},
@@ -51,6 +51,15 @@
"reason": "Every timed action takes 25% less time, surgery, welding, cuffing and repairs alike, plus a driver, wrench and cutters in the arm. Worth a slot for medics and engineers. Load 2, 1,800 cr.",
"tier": "yellow"
},
+ "/obj/item/organ/cyberimp/arm/toolkit/cyberware/fixers/street": {
+ "confidence": "medium",
+ "group": "Work tools",
+ "hash": "",
+ "name": "Tinker's fingers",
+ "rank": 3,
+ "reason": "A driver, wrench and cutters in the arm, and every timed action 10% faster. The Fixer's Fingers at a tenth of the stack: load 1, 700 cr. Splice takes a pulled set back for 350 cr.",
+ "tier": "green"
+ },
"/obj/item/organ/cyberimp/arm/toolkit/cyberware/graverobber": {
"confidence": "medium",
"group": "Scouting and sight",
@@ -66,7 +75,7 @@
"group": "Hacking and ship control",
"hash": "52911504b95eb634",
"name": "Icepick Jack",
- "rank": 1,
+ "rank": 4,
"reason": "Knocks hostile turrets out for 15 s, turns them for 10 s, and forces bolted or unpowered doors in 6 s. A boarding crew's key to player hulls, though jacking their turrets sets off an alarm. Load 3, 1 voucher.",
"tier": "yellow"
},
@@ -76,7 +85,7 @@
"hash": "b190c2719a5d40f7",
"name": "Mantis Blade housing (right)",
"note": "Each housing extends a hardlight blade into the hand (it can't be dropped; retract stows it). An ability, usable from either housing with its blade out, dashes up to 5 tiles to a living target after a 0.3 s wind-up, lands 10 brute (armor applies, wounding) per extended blade on arrival and floors the target for 2 s. The 20 s cooldown is shared by both housings and is spent even if the dash falls short.",
- "rank": 2,
+ "rank": 5,
"reason": "Half of a pair: 20-force blades that can't be disarmed, plus a 5-tile lunge every 20 s that adds 20 damage and floors the target for 2 s. Load 6 the pair, 4 vouchers at reputation 22, one on the shelf per round.",
"tier": "red"
},
@@ -86,44 +95,110 @@
"hash": "91733b8b4ac9435a",
"name": "Mantis Blade housing (left)",
"note": "Each housing extends a hardlight blade into the hand (it can't be dropped; retract stows it). An ability, usable from either housing with its blade out, dashes up to 5 tiles to a living target after a 0.3 s wind-up, lands 10 brute (armor applies, wounding) per extended blade on arrival and floors the target for 2 s. The 20 s cooldown is shared by both housings and is spent even if the dash falls short.",
- "rank": 3,
+ "rank": 6,
"reason": "Left half of the Mantis pair: 20-force blades that can't be disarmed, plus a 5-tile lunge every 20 s that adds 20 damage and floors the target for 2 s.",
"tier": "red"
},
+ "/obj/item/organ/cyberimp/arm/toolkit/cyberware/mantis/scorch": {
+ "confidence": "medium",
+ "group": "Arm weapons and fists",
+ "hash": "",
+ "name": "Scorch Blade housing (right)",
+ "note": "Each landed cut adds 2 fire stacks and sets the target alight; the lunge adds 4 once, however many blades arrive. Corpses are left alone and the wearer is never lit. The blade is lit while out. Its torn arteries are seared half shut (2 flow, clotting) instead of the Mantis's 3.5 that never clots; otherwise the Mantis lunge, leap, kill reset, impale, X-slash and scissor.",
+ "rank": 3,
+ "reason": "Half of a pair: the Mantis blades and lunge, with every cut and the lunge setting the target alight. Load 8 the pair, 4 vouchers at reputation 22, one on the shelf per round.",
+ "tier": "red"
+ },
+ "/obj/item/organ/cyberimp/arm/toolkit/cyberware/mantis/scorch/left": {
+ "confidence": "medium",
+ "group": "Arm weapons and fists",
+ "hash": "",
+ "name": "Scorch Blade housing (left)",
+ "note": "Each landed cut adds 2 fire stacks and sets the target alight; the lunge adds 4 once, however many blades arrive. Corpses are left alone and the wearer is never lit. The blade is lit while out. Its torn arteries are seared half shut (2 flow, clotting) instead of the Mantis's 3.5 that never clots; otherwise the Mantis lunge, leap, kill reset, impale, X-slash and scissor.",
+ "rank": 4,
+ "reason": "Left half of the Scorch pair: the Mantis blades and lunge, with every cut and the lunge setting the target alight.",
+ "tier": "red"
+ },
+ "/obj/item/organ/cyberimp/arm/toolkit/cyberware/mantis/street": {
+ "confidence": "medium",
+ "group": "Arm weapons and fists",
+ "hash": "",
+ "name": "Shiv Blade housing (right)",
+ "rank": 15,
+ "reason": "Half of a pair: 14-force blades that can't be disarmed, no lunge. Load 4 the pair, 2,400 cr at yellow reputation. Splice takes a pulled housing back for 600 cr.",
+ "tier": "yellow"
+ },
+ "/obj/item/organ/cyberimp/arm/toolkit/cyberware/mantis/street/left": {
+ "confidence": "medium",
+ "group": "Arm weapons and fists",
+ "hash": "",
+ "name": "Shiv Blade housing (left)",
+ "rank": 16,
+ "reason": "Left half of the Shiv pair: 14-force blades that can't be disarmed, no lunge.",
+ "tier": "yellow"
+ },
"/obj/item/organ/cyberimp/arm/toolkit/cyberware/monowire": {
"confidence": "high",
"group": "Arm weapons and fists",
"hash": "174a6ea665db7cac",
"name": "Widowline spool housing",
- "rank": 1,
+ "rank": 2,
"reason": "20 damage a swing (15 brute, 5 burn) straight through all armor, reach 2, and it cuts neighbours for 75%. The best melee against armored crews, useless on walls and doors. Load 5, 3 vouchers at reputation 22, one on the shelf per round.",
"tier": "red"
},
+ "/obj/item/organ/cyberimp/arm/toolkit/cyberware/monowire/live": {
+ "confidence": "medium",
+ "group": "Arm weapons and fists",
+ "hash": "",
+ "name": "Widowline Arc spool housing",
+ "note": "The Widowline wire with a shock on every landed hit. A living target takes 5 more burn and a 2 s stagger (stacking to 4 s) unless it is shock immune or its suit is insulated; gloves do not matter. Silicons, mechs and robotic mobs take 25 more burn. A hit on a turret, ship laser turret, console or camera knocks it out for 5 s, once per 15 s per wire; outpost property is immune. The cleave does not shock. Its garrote always takes the head off, not only in hard crit; an Atlas frame, a sealed helmet, an armoured collar or plating still stops it. A wire pair counts as Arc if either wire is.",
+ "rank": 1,
+ "reason": "The Widowline's 20 a swing through all armor and reach 2, plus 5 burn and a stagger on the target, 25 extra burn on robots and mechs, and a turret or console shorted out for 5 s, and a garrote that always beheads. Load 6, 5 vouchers at reputation 22, one on the shelf per round.",
+ "tier": "red"
+ },
"/obj/item/organ/cyberimp/arm/toolkit/cyberware/rockjaw": {
"confidence": "high",
"group": "Work tools",
"hash": "29ec5344a41717f9",
"name": "Rockjaw drill fist",
"note": "Folds a mining drill out of the forearm. While the drill is out, ore from any rock the wearer cracks (with any tool) is swept 0.2 s later into an internal hopper with no size limit in the code instead of landing on the floor; a second button dumps the hopper at the wearer's feet. Sweeping is off during an EMP reboot, and the hopper's contents drop if the arm ware is destroyed.",
- "rank": 5,
+ "rank": 7,
"reason": "A mining drill in the forearm with a bottomless ore hopper. A miner's bag and pick in one arm slot. Load 2, 1,200 cr.",
"tier": "green"
},
+ "/obj/item/organ/cyberimp/arm/toolkit/cyberware/rockjaw/deepcore": {
+ "confidence": "medium",
+ "group": "Work tools",
+ "hash": "",
+ "name": "Deepcore drill fist",
+ "rank": 6,
+ "reason": "The Rockjaw's ore hopper on a faster drill, between the Rockjaw drill and a diamond drill. Load 3, 2,400 cr. Splice takes a pulled one back for 1,200 cr.",
+ "tier": "green"
+ },
"/obj/item/organ/cyberimp/arm/toolkit/cyberware/ronin": {
"confidence": "medium",
"group": "Arm weapons and fists",
"hash": "43903115df46709c",
"name": "Popup Ronin housing",
- "rank": 4,
+ "rank": 9,
"reason": "A one-handed machine pistol in the arm that can't be disarmed: 20 damage, 3.3 shots a second, about a WT-550 on the gun score (47). 20-round magazines are 250 cr at reputation 22 or late research. Loot only.",
"tier": "yellow"
},
+ "/obj/item/organ/cyberimp/arm/toolkit/cyberware/ronin/holdout": {
+ "confidence": "medium",
+ "group": "Arm weapons and fists",
+ "hash": "",
+ "name": "Holdout housing",
+ "rank": 11,
+ "reason": "A .38 revolver in the arm that can't be disarmed: 25 damage, six shots, about 2.5 a second, reloaded by hand a round at a time with ordinary .38. Load 3, 2,400 cr at reputation 4. Splice takes a pulled housing back for 1,200 cr.",
+ "tier": "yellow"
+ },
"/obj/item/organ/cyberimp/arm/toolkit/cyberware/skyhook": {
"confidence": "high",
"group": "Mobility and stealth",
"hash": "d2c5b721e44bd009",
"name": "Skyhook wrist winch",
- "rank": 3,
+ "rank": 4,
"reason": "Fires a line at any wall or anchored structure within 7 tiles and hauls you there, every 8 s. Real chase and escape mobility, at the cost of an arm slot. Load 3, loot only.",
"tier": "yellow"
},
@@ -132,7 +207,7 @@
"group": "Work tools",
"hash": "4a6c47ce239cc051",
"name": "integrated paperwork implant",
- "rank": 7,
+ "rank": 11,
"reason": "A pen, clipboard, lighter and laser pointer in your arm. Harmless.",
"tier": "none"
},
@@ -141,7 +216,7 @@
"group": "Work tools",
"hash": "6e21944c25437900",
"name": "surgical toolset implant",
- "rank": 3,
+ "rank": 4,
"reason": "A surgical kit in your arm. Saves carrying the tools. Late printing.",
"tier": "green"
},
@@ -150,7 +225,7 @@
"group": "Work tools",
"hash": "2ffcab76bdd48728",
"name": "morbid surgical toolset implant",
- "rank": 4,
+ "rank": 5,
"reason": "The surgical arm rebuilt for looks and a nasty mood. Same job as the plain one.",
"tier": "green"
},
@@ -169,7 +244,7 @@
"hash": "095577f719c51add",
"name": "anti-drop implant",
"note": "A toggle button: switching it on makes whatever is in the wearer's hands at that moment undroppable (stuns and disarms don't release it) until the button is pressed again or the item leaves the hand; items picked up afterwards are not locked. An EMP releases it and flings the held items up to 10 tiles in random directions, and as with every brain implant any EMP also stuns the wearer for 20 s (10 s on a light pulse).",
- "rank": 6,
+ "rank": 8,
"reason": "Locks what's in your hands so stuns and disarms can't take it. Same job as Gecko Grip at about 24 cr of material, but any EMP stuns you for 20 s and flings the item.",
"tier": "green"
},
@@ -179,7 +254,7 @@
"hash": "8ae45008ffefef4e",
"name": "CNS rebooter implant",
"note": "1 s after the wearer gains a stun, immobilize, paralysis or stamina crit it clears stun, knockdown, immobilize, paralysis and all stamina damage, then grants stun immunity, baton resistance and immunity to damage slowdown for 6 s (stamina is zeroed again at the end). Then locks out for 60 s. An EMP takes it offline for 9 s (4.5 s on a light pulse), and as with every brain implant also stuns the wearer for 20 s (10 s light).",
- "rank": 2,
+ "rank": 3,
"reason": "Once a minute a stun is cleared after 1 s, stamina resets, and you get 6 s of stun immunity. Undoes the first stun of a fight for one neural load. Any EMP stuns the wearer for 20 s and takes it offline for 9 s.",
"tier": "yellow"
},
@@ -189,7 +264,7 @@
"hash": "df0fb0f149203f80",
"name": "CNS skillchip connector implant",
"note": "Lets the wearer put a skillchip in or take one out without surgery: a 1.5 s action, inserting the chip in the active hand or, with an empty hand, choosing an installed chip from a radial menu. An EMP knocks installed chips onto the floor (one on a light pulse, two on a heavy one), and as with every brain implant stuns the wearer for 20 s (10 s light). With no chip installed the handler indexes the first chip of an empty or null list and its brain-damage branch is called without a brain, so it may error out before the reboot timer starts (unconfirmed).",
- "rank": 7,
+ "rank": 8,
"reason": "Swap skillchips without surgery. Skillchips do almost nothing, and any EMP stuns you for 20 s.",
"tier": "none"
},
@@ -199,7 +274,7 @@
"hash": "5bc666bd0e7ad39e",
"name": "nutriment pump implant",
"note": "While the wearer's nutrition is at or below 150 (250 for the PLUS version) it adds about 50 nutrition, then waits 5 s before it can do so again, which stops nutrition falling below that line. An EMP pushes bad-food toxin into the blood (5 units on a heavy pulse, 10 on the PLUS version).",
- "rank": 5,
+ "rank": 6,
"reason": "Keeps you just above starving. Removes the need for a kitchen for one neural load.",
"tier": "green"
},
@@ -209,7 +284,7 @@
"hash": "ce113e10a6c8deab",
"name": "nutriment pump implant PLUS",
"note": "While the wearer's nutrition is at or below 150 (250 for the PLUS version) it adds about 50 nutrition, then waits 5 s before it can do so again, which stops nutrition falling below that line. An EMP pushes bad-food toxin into the blood (5 units on a heavy pulse, 10 on the PLUS version).",
- "rank": 4,
+ "rank": 5,
"reason": "Keeps you fed before you get hungry. Removes food from a six-hour round for one neural load.",
"tier": "green"
},
@@ -229,7 +304,7 @@
"hash": "14f4a2c2517247c0",
"name": "Herculean gravitronic spinal implant",
"note": "Cuts the wearer's climbing, ladder, gym-machine, table-carry and vent-boulder lifting times to 80%, adds +1 speed and +4 range to everything they throw, adds 4 to tackle strength and lets them break boulders off a discovered ore vent with bare hands. An EMP deals 20 brute (10 light) to the chest. A gravity anomaly core can be slotted in to change it into the Atlas variant.",
- "rank": 6,
+ "rank": 9,
"reason": "Faster climbing, throws fly farther and faster, tackles hit harder, and you can break boulders off ore vents by hand. Nothing here wins a fight. About 85 cr of material.",
"tier": "green"
},
@@ -239,20 +314,40 @@
"hash": "ffff4012788ccee2",
"name": "implantable thrusters set",
"note": "A toggle that lets the wearer move under their own power in zero gravity, with a movement-speed bonus while floating and no stabilization, so they keep drifting when they stop. It draws on ambient air above 30 kPa for free, otherwise internals gas or the wearer's plasma store, and turns itself off if neither is available.",
- "rank": 5,
+ "rank": 7,
"reason": "A jetpack in your chest with no back slot used, and a speed bonus while floating. Free air when there's pressure, otherwise your tank. About 74 cr of material after 200 research points.",
"tier": "green"
},
+ "/obj/item/organ/cyberimp/cyberware/adrenal_pump": {
+ "confidence": "medium",
+ "group": "Nerves and stuns",
+ "hash": "",
+ "name": "Adrenal pump",
+ "note": "When a stamina update leaves a conscious wearer at 70 or more stamina loss and the pump is ready, one tick later it takes 40 off, speeds the wearer up (movement -0.4) and tints them red for 3 s, and plays a loud heartbeat. It then waits 4 minutes; the wait is stored as a ready-at time on the organ, so a refit does not reset it. It ignores the stamina dumped by the Cascade and Redline crashes. It takes the spare heart slot, so it evicts the Clotter node, and goes off during an EMP reboot or brownout.",
+ "rank": 5,
+ "reason": "Once every 4 minutes a bad run of stamina damage is cut by 40 and the wearer gets 3 s of extra speed, enough to stay out of a stamina crit for one more volley. Load 2, 2,400 cr at reputation 4.",
+ "tier": "yellow"
+ },
"/obj/item/organ/cyberimp/cyberware/atlas": {
"confidence": "medium",
"group": "Armor and frame",
"hash": "0a8132740babf01b",
"name": "Atlas frame",
"note": "Bones can't be broken (no dislocations or fractures) and limbs can't be dismembered; slashes, punctures, burns and bleeding still land normally. Items and mobs the wearer throws get +2 tiles of range and +1 speed, and any throw of the wearer by something else travels half as far. All of it drops during an EMP reboot or over-capacity brownout.",
- "rank": 3,
+ "rank": 4,
"reason": "No broken bones and no lost limbs, thrown things fly farther and you get thrown half as far. Slashes, burns and bleeding still land. Load 4, 2 vouchers at reputation 22.",
"tier": "yellow"
},
+ "/obj/item/organ/cyberimp/cyberware/atlas/street": {
+ "confidence": "medium",
+ "group": "Armor and frame",
+ "hash": "",
+ "name": "Strut frame",
+ "note": "Bone wounds (dislocations, hairline and compound fractures) are refused while the ware is online; nothing else. Limbs can still be dismembered, throws are not boosted and the wearer's own knockback is not reduced. Drops during an EMP reboot or over-capacity brownout.",
+ "rank": 8,
+ "reason": "Bones can't break: no dislocations or fractures. Limbs still come off, and slashes, burns and bleeding land as usual. None of the Atlas Frame's throw boost or knockback cut. Load 2, 1,500 cr at reputation 4.",
+ "tier": "yellow"
+ },
"/obj/item/organ/cyberimp/cyberware/cargo_cavity": {
"confidence": "high",
"group": "Body upkeep",
@@ -265,32 +360,80 @@
"/obj/item/organ/cyberimp/cyberware/cascade": {
"confidence": "high",
"group": "Operating system",
- "hash": "875de17ed8afaa7f",
+ "hash": "",
"name": "Cascade lattice",
"rank": 1,
- "reason": "Eight seconds a minute at about double speed, melee twice as fast and 40% dodge while moving, then six seconds of crash and 80 stamina. Load 12 of 20, 8 vouchers at reputation 22. An EMP mid-burst ends it.",
+ "reason": "Eight seconds a minute at about double speed, melee twice as fast, 60% dodge against blows (and shots while moving) and a bigger crit roll on its own hits, then six seconds of crash and 80 stamina. Load 12 of 20, 8 vouchers at reputation 22. An EMP mid-burst ends it.",
"tier": "red"
},
+ "/obj/item/organ/cyberimp/cyberware/cascade/milspec": {
+ "confidence": "medium",
+ "group": "Operating system",
+ "hash": "",
+ "name": "Service reflex lattice",
+ "rank": 4,
+ "reason": "Seven seconds in every 90 at close to the lattice's speed, melee 40% quicker, 45% dodge against blows (and shots while moving) and a bigger crit roll on its own hits, then seven seconds of crash and 90 stamina. Load 9, 4 vouchers at reputation 11. An EMP mid-burst ends it.",
+ "tier": "red"
+ },
+ "/obj/item/organ/cyberimp/cyberware/cascade/street": {
+ "confidence": "medium",
+ "group": "Operating system",
+ "hash": "",
+ "name": "Spliced reflex rig",
+ "rank": 7,
+ "reason": "Six seconds in every 120 at a clear speed boost, melee a quarter quicker, 30% dodge against blows (and shots while moving) and a small crit roll bonus on its own hits, then eight seconds of crash and 90 stamina. A short window on a long cooldown keeps it below the service lattice. Load 6, 3,600 cr at reputation 4. An EMP mid-burst ends it.",
+ "tier": "yellow"
+ },
"/obj/item/organ/cyberimp/cyberware/chromatic_dermis": {
"confidence": "high",
"group": "Body upkeep",
"hash": "ec8cfbbd975a51eb",
"name": "Chromatic Dermis ink suite",
"note": "Cosmetic only: draws a glowing outline of the chosen colour and pattern around the wearer that flares when they take damage, swing, use a chrome ability or when other chrome acts, dims when they are hungry, and goes dark while the ware is down. No mechanical effect.",
- "rank": 8,
+ "rank": 9,
"reason": "Glowing tattoos with no other effect. Load 0, 400 cr.",
"tier": "none"
},
+ "/obj/item/organ/cyberimp/cyberware/clotter_node": {
+ "confidence": "medium",
+ "group": "Body upkeep",
+ "hash": "",
+ "name": "Clotter node",
+ "note": "While online, multiplies the blood a human wearer loses by 0.5, on life ticks and flat bleeds alike. It stacks multiplicatively with other bleed reducers and goes off during an EMP reboot or over-capacity brownout. It takes the spare heart slot, so it evicts the Adrenal pump.",
+ "rank": 3,
+ "reason": "Halves the blood lost to wounds. It buys a bleeding crew member time between medic visits and does nothing against burst damage. Load 1, 900 cr.",
+ "tier": "green"
+ },
"/obj/item/organ/cyberimp/cyberware/coolant": {
"confidence": "medium",
"group": "Armor and frame",
"hash": "4ceed965097294a4",
"name": "Coolant Loop lattice",
- "note": "While the ware is online the wearer takes no damage from overheating (hot air or body temperature), takes half burn damage (humans only), and loses 1 fire stack per second. It does not stop fire: a burning wearer is still burned at half strength. All three drop during an EMP reboot or over-capacity brownout.",
+ "note": "While the ware is online the wearer takes no damage from overheating (hot air or body temperature), takes half burn damage (humans only), and loses 1 fire stack per second. Fire on a human only does harm through body heat, which the ware blocks, so a burning wearer loses clothes but takes no burn from the flames; burn dealt outright (lasers) lands at half. All three drop during an EMP reboot or over-capacity brownout.",
"rank": 2,
"reason": "Halves all burn damage on top of armor, lasers included, plus no heat damage and fire burns off fast. Half of every beam in the game for load 3. Bullets and blades ignore it. 3,600 cr with no reputation.",
"tier": "red"
},
+ "/obj/item/organ/cyberimp/cyberware/coolant/street": {
+ "confidence": "medium",
+ "group": "Armor and frame",
+ "hash": "",
+ "name": "Heat-sink lining",
+ "note": "While the ware is online the wearer takes no damage from overheating (hot air or body temperature) and loses 1 fire stack per second. It does not reduce burn damage dealt outright (lasers land at full strength), but fire on a human only does harm through body heat, which the ware blocks, so a burning wearer loses clothes and takes no burn from the flames. Both drop during an EMP reboot or over-capacity brownout.",
+ "rank": 9,
+ "reason": "No heat damage from hot air or lava country, and being set alight burns only your clothes, but laser burns land at full strength. The heat half of the Coolant Loops for load 1, 1,500 cr.",
+ "tier": "green"
+ },
+ "/obj/item/organ/cyberimp/cyberware/cuffer_wrists": {
+ "confidence": "medium",
+ "group": "Work tools",
+ "hash": "",
+ "name": "Cuffer's wrists",
+ "note": "While online, handcuffing takes 75% of the usual time, the trait combat and insulated gloves also give. It takes the hands slot, so it evicts the Gecko Grip and the Medic's palms.",
+ "rank": 10,
+ "reason": "Cuffs go on in three quarters of the time with no glove needed. A small edge for bounty hunters and boarders. Load 1, 500 cr.",
+ "tier": "green"
+ },
"/obj/item/organ/cyberimp/cyberware/dead_channel": {
"confidence": "medium",
"group": "Nerves and stuns",
@@ -307,10 +450,20 @@
"hash": "5b60dbb7a15c8084",
"name": "Dermal Mesh weave",
"note": "While online, adds physiology armor to a human wearer: melee 15, bullet 15, laser 10, wound 5. The armor is removed during an EMP reboot or an over-capacity brownout.",
- "rank": 4,
+ "rank": 5,
"reason": "15 melee, 15 bullet, 10 laser on the whole body, on top of whatever you wear. A clear step up for load 2 and 2,000 cr. EMP switches it off for 9 s.",
"tier": "yellow"
},
+ "/obj/item/organ/cyberimp/cyberware/dermal_mesh/hardweave": {
+ "confidence": "medium",
+ "group": "Armor and frame",
+ "hash": "",
+ "name": "Hardweave plating",
+ "note": "While online, adds physiology armor to a human wearer: melee 20, bullet 20, laser 15, energy 10, wound 10. Bullets and buckshot pellets from the front glance off at 30% (each pellet rolls on its own), keep flying at reduced damage and cost the wearer 5 stamina each. Never lasers, energy, melee or shots into the back. Shares the dodge arbiter: dodge plus glance never stop more than 60% of shots. The armor and the glance are off during an EMP reboot or an over-capacity brownout.",
+ "rank": 3,
+ "reason": "20 melee, 20 bullet, 15 laser, 10 energy and 10 wound armor on the whole body, on top of whatever you wear, and nearly a third of bullets from the front glance off. A size up from the Mesh and well short of the Slabskin Plate, which adds bomb, fire, acid and a bigger glance. Load 3, 3,000 cr at reputation 4. Strong for yellow against gunfire from the front, still useless against lasers and flanking. EMP switches it off for 9 s.",
+ "tier": "yellow"
+ },
"/obj/item/organ/cyberimp/cyberware/doppler": {
"confidence": "high",
"group": "Scouting and sight",
@@ -321,13 +474,33 @@
"reason": "Anything alive and moving within 9 tiles shows through walls, without taking your eye slot. Standing still hides you and the ping is audible. Thermals' little brother. Load 2, 1 voucher.",
"tier": "yellow"
},
+ "/obj/item/organ/cyberimp/cyberware/doppler/street": {
+ "confidence": "medium",
+ "group": "Scouting and sight",
+ "hash": "",
+ "name": "Thumper ear",
+ "note": "A toggle: while on, living mobs within 5 tiles on the wearer's level that are moving show as blips through walls on the wearer's HUD, each lasting 3 s after its last step so standing still drops off the display; machines never show. It plays a sonar ping at the wearer on every life tick while any mover is tracked, louder than the Heartbeat Doppler's and doubled within 3 tiles, so nearby players can hear it.",
+ "rank": 3,
+ "reason": "Anything alive and moving within 5 tiles shows through walls for a moment after each step, without taking your eye slot. Standing still hides you and the ping carries. A shorter, louder Heartbeat Doppler. Load 1, 1,500 cr at reputation 4.",
+ "tier": "yellow"
+ },
+ "/obj/item/organ/cyberimp/cyberware/frostline": {
+ "confidence": "medium",
+ "group": "Armor and frame",
+ "hash": "",
+ "name": "Frostline lining",
+ "note": "While the ware is online the wearer takes no damage from cold air or body temperature. It does nothing for pressure, breathing or burns. The trait drops during an EMP reboot or over-capacity brownout.",
+ "rank": 10,
+ "reason": "No cold damage on ice planets and in the cold of space, but low pressure and no air still kill. Shares the seal slot with every air and heat lining, so it never sits beside a bladder. Load 1, 1,500 cr.",
+ "tier": "green"
+ },
"/obj/item/organ/cyberimp/cyberware/gastro": {
"confidence": "high",
"group": "Body upkeep",
"hash": "26dc92f22c6385f6",
"name": "Gastro Reactor",
"note": "The wearer eats 35% faster, food that is contaminated (for example dropped on the floor) gives no infection or disgust mood, vomiting costs half the nutrition, everything they eat counts as 6 points higher quality (lifting rotten or gross food above the disgust line, though species-toxic food stays toxic) and disgust drains away at 3 per second. Off during an EMP reboot or over-capacity brownout.",
- "rank": 6,
+ "rank": 7,
"reason": "Eat anything, eat faster, no food poisoning. No bearing on a fight. Load 1, 400 cr.",
"tier": "none"
},
@@ -337,7 +510,7 @@
"hash": "e331ce1251c1f939",
"name": "Gecko Grip palm pads",
"note": "The wearer's hands refuse to drop held items while stunned, paralyzed, unconscious, in crit or stamina-crit (handcuffs still take the hands, and the dead drop them). They can walk over tables and climb obstacles 20% faster, and stepping onto a chasm edge shoves them back to the lip instead of dropping them, resetting after 30 s. An EMP opens the hands and hurls whatever is held up to 5 tiles (3 on a light pulse).",
- "rank": 5,
+ "rank": 7,
"reason": "Stuns and crit can't strip what you're holding, you walk over tables and a chasm edge throws you back. Load 1, 900 cr. An EMP flings your gun away.",
"tier": "green"
},
@@ -346,11 +519,21 @@
"group": "Mobility and stealth",
"hash": "d87709dff38cd54e",
"name": "Ghostskin weave",
- "note": "A button turns on 10 s of optical camo (a faint outline that brightens when they move) with a 30 s cooldown spent on use; pressing it again drops the field early. The field collapses on attacking a living thing, firing a gun, being hit or attacked, hostile bullets, being cuffed, death or an EMP. Basic-mob AI won't target the wearer from more than 2 tiles away while it is up.",
+ "note": "A button turns on 10 s of optical camo (a faint outline that brightens when they move) with a 30 s cooldown spent on use; pressing it again drops the field early. The field collapses on attacking a living thing, firing a gun, being hit or attacked (an animal's bite, a mech or a xeno included), hostile bullets, a real electric shock, being cuffed, death or an EMP. Basic-mob AI won't target the wearer from more than 2 tiles away while it is up.",
"rank": 2,
"reason": "Ten seconds of near-invisibility every 30, and mobs farther than 2 tiles lose you. Attacking or being hit ends it. A free escape or free first shot in most fights, and it walks you through ruins. Load 5, 4 vouchers at reputation 22.",
"tier": "red"
},
+ "/obj/item/organ/cyberimp/cyberware/ghostskin/street": {
+ "confidence": "medium",
+ "group": "Mobility and stealth",
+ "hash": "",
+ "name": "Flickerskin weave",
+ "note": "A button turns on 7 s of optical camo (a faded outline at about a quarter opacity that brightens when they move) with a 45 s cooldown spent on use; pressing it again drops the field early. The field collapses on attacking a living thing, firing a gun, being hit or attacked (an animal's bite, a mech or a xeno included), hostile bullets, a real electric shock, being cuffed, death or an EMP. It does not grant the mob-hiding camo trait, so NPC AI still targets the wearer at any range and Chrome Read still resolves them.",
+ "rank": 6,
+ "reason": "Seven seconds of mostly faded camo every 45: people lose you in a crowd or a dim room, mobs and turrets still see you, and any swing or hit ends it. A cheap way to break line of sight from players. Load 2, 2,400 cr at yellow reputation.",
+ "tier": "yellow"
+ },
"/obj/item/organ/cyberimp/cyberware/gorilla_arms": {
"confidence": "high",
"group": "Arm weapons and fists",
@@ -371,6 +554,24 @@
"reason": "Left half of the Gorilla pair: a flat 20 damage punch every 4 s, 40 to machines and structures every second, breaks rock, and the pair pries powered airlocks in 4 s.",
"tier": "yellow"
},
+ "/obj/item/organ/cyberimp/cyberware/gorilla_arms/street": {
+ "confidence": "medium",
+ "group": "Arm weapons and fists",
+ "hash": "",
+ "name": "Brawler myomers (right)",
+ "rank": 12,
+ "reason": "Half of a pair: a 14 damage punch every 5 s that snaps a limb on the fourth hit, a grab slam for 18 to 22 with a 1 s knockdown every 15 s, and 32 to structures, enough to break down an airlock. The pair forces powered airlocks in 7 s, staggers everything adjacent every 60 s and tears an arm off a downed target. Above the Strong-Arm, which slams a little harder but has no finisher or door damage; below Gorilla Arms, which hurl, hit harder, pry faster and have three finishers. Load 4 the pair, 2,000 cr at reputation 4. Either ripperdoc takes a pulled arm back for 500 cr.",
+ "tier": "yellow"
+ },
+ "/obj/item/organ/cyberimp/cyberware/gorilla_arms/street/left": {
+ "confidence": "medium",
+ "group": "Arm weapons and fists",
+ "hash": "",
+ "name": "Brawler myomers (left)",
+ "rank": 13,
+ "reason": "Left half of the Brawler pair: a 14 damage punch every 5 s, an 18 to 22 grab slam every 15 s, 32 to structures. The pair forces airlocks, has a light ground pound and the limb rip.",
+ "tier": "yellow"
+ },
"/obj/item/organ/cyberimp/cyberware/governor_delete": {
"confidence": "medium",
"group": "Operating system",
@@ -380,6 +581,24 @@
"reason": "Adds 15 neural load for 35 in all, giving up the slot Cascade and Redline need. That runs Slabskin, Lazarus, Mantis, Hopper, Dead Channel, Coolant, Deadeye and Atlas at once. 5 vouchers at reputation 22.",
"tier": "red"
},
+ "/obj/item/organ/cyberimp/cyberware/governor_delete/milspec": {
+ "confidence": "medium",
+ "group": "Operating system",
+ "hash": "",
+ "name": "Governor Bypass",
+ "rank": 6,
+ "reason": "Raises the neural load limit from 20 to 30 for no load of its own, in the slot Cascade and Redline need. 3 vouchers at reputation 11.",
+ "tier": "red"
+ },
+ "/obj/item/organ/cyberimp/cyberware/governor_delete/street": {
+ "confidence": "medium",
+ "group": "Operating system",
+ "hash": "",
+ "name": "Governor Patch",
+ "rank": 9,
+ "reason": "Raises the neural load limit from 20 to 25 for no load of its own, in the slot Cascade and Redline need. 2,500 cr at reputation 4.",
+ "tier": "yellow"
+ },
"/obj/item/organ/cyberimp/cyberware/hemoglass": {
"confidence": "medium",
"group": "Body upkeep",
@@ -395,10 +614,28 @@
"group": "Mobility and stealth",
"hash": "2f8e33baec594340",
"name": "Hopper piston calves",
- "rank": 4,
+ "rank": 5,
"reason": "Jump 4 tiles over tables, gaps and people every 8 s. Won't cross walls or windows. Strong in any fight. Load 3, 3,600 cr.",
"tier": "yellow"
},
+ "/obj/item/organ/cyberimp/cyberware/hopper/milspec": {
+ "confidence": "medium",
+ "group": "Mobility and stealth",
+ "hash": "",
+ "name": "Vaulter pistons",
+ "rank": 3,
+ "reason": "Jump 5 tiles over tables, gaps and people every 6 s, and walk away from drops and wet floors like the Shock Coils. Won't cross walls or windows. Load 4, 3 vouchers at reputation 11.",
+ "tier": "red"
+ },
+ "/obj/item/organ/cyberimp/cyberware/hopper/street": {
+ "confidence": "medium",
+ "group": "Mobility and stealth",
+ "hash": "",
+ "name": "Spring calves",
+ "rank": 8,
+ "reason": "Jump 3 tiles over tables, gaps and people every 14 s. Won't cross walls or windows. The cheap rung under the Hopper, with none of the Shock Coils' trims. Load 2, 1,800 cr at reputation 4. Splice takes a pulled pair back for 900 cr.",
+ "tier": "yellow"
+ },
"/obj/item/organ/cyberimp/cyberware/lazarus": {
"confidence": "high",
"group": "Revive and last stand",
@@ -409,6 +646,26 @@
"reason": "Once every 6 minutes, dropping into crit stands you up at 30% health with stuns cleared after a 1 s seizure. A second life in the same fight. Load 5, 4 vouchers at reputation 22.",
"tier": "red"
},
+ "/obj/item/organ/cyberimp/cyberware/medic_palms": {
+ "confidence": "medium",
+ "group": "Work tools",
+ "hash": "",
+ "name": "Medic's palms",
+ "note": "While online, gives the wearer the quicker chemistry trait (syringes, pills, patches and the like take less time) and the quicker fireman carry (3 s instead of 5), the same traits as nitrile gloves, without using the glove slot. It takes the hands slot, so it evicts the Gecko Grip and the Cuffer's wrists.",
+ "rank": 8,
+ "reason": "Nitrile-glove speed on chemistry and carrying without the glove slot, so a medic can wear insulated or armored gloves instead. Load 1, 600 cr.",
+ "tier": "green"
+ },
+ "/obj/item/organ/cyberimp/cyberware/muffler_ear": {
+ "confidence": "medium",
+ "group": "Nerves and stuns",
+ "hash": "",
+ "name": "Muffler ear",
+ "note": "While online, takes one point off the intensity of a bang, which is what earmuffs do: a flashbang or similar bang does nothing to the wearer, though the flash still blinds. It goes off during an EMP reboot or brownout. It takes the chrome ears slot, so it evicts the Heartbeat Doppler.",
+ "rank": 10,
+ "reason": "A flashbang's bang stops dropping the wearer, like earmuffs you can't take off. The flash still blinds. Load 1, 700 cr.",
+ "tier": "green"
+ },
"/obj/item/organ/cyberimp/cyberware/piledriver": {
"confidence": "high",
"group": "Mobility and stealth",
@@ -427,13 +684,31 @@
"reason": "Twelve seconds in every 90: stun immune, 40% less brute and burn, 8 more on punches, and a roar that staggers everyone within 5 tiles. Then 100 stamina and slow legs. Load 10, 6 vouchers at reputation 22.",
"tier": "red"
},
+ "/obj/item/organ/cyberimp/cyberware/redline/milspec": {
+ "confidence": "medium",
+ "group": "Operating system",
+ "hash": "",
+ "name": "Vanguard core",
+ "rank": 5,
+ "reason": "Ten seconds in every 105: stun immune, 30% less brute and burn, 5 more on punches, and a roar that staggers everyone within 4 tiles. Then 100 stamina and slow legs. Load 8, 4 vouchers at reputation 11.",
+ "tier": "red"
+ },
+ "/obj/item/organ/cyberimp/cyberware/redline/street": {
+ "confidence": "medium",
+ "group": "Operating system",
+ "hash": "",
+ "name": "Hothead core",
+ "rank": 8,
+ "reason": "Eight seconds in every 90: 20% less brute and burn and 3 more on punches, with no stun immunity and no roar. Then 100 stamina and slow legs. Load 4, 3,000 cr at reputation 4.",
+ "tier": "yellow"
+ },
"/obj/item/organ/cyberimp/cyberware/registry_uplink": {
"confidence": "low",
"group": "Hacking and ship control",
"hash": "3ab34be71b4333f9",
"name": "Registry uplink",
"note": "Gives a button that opens an outpost's management panel from anywhere, with no distance, docking, zone or console-power requirement, for each outpost where the wearer is currently the management user. It needs the wearer conscious and the ware running, and any open panel closes if the ware goes down or is removed.",
- "rank": 3,
+ "rank": 6,
"reason": "Opens the management panel of an outpost you run from anywhere. Convenience for outpost owners, no use to anyone else. Load 2, 2,800 cr.",
"tier": "green"
},
@@ -443,7 +718,7 @@
"hash": "332ab143dabb3d52",
"name": "Rigger socket",
"note": "Opens a working helm console on the ship the bearer is standing on, from anywhere aboard, subject to the console's normal crew access; broken, unpowered and view-only viewscreen consoles don't count. While the uplink is up the bearer has +1 movement slowdown, and it drops if they leave the hull, go unconscious, close the panel, lose the console, or the socket is EMP'd or browned out. The button has a 5 second cooldown.",
- "rank": 2,
+ "rank": 5,
"reason": "Fly your ship from anywhere aboard at a walking pace. Lets a pilot hide from boarders or fix things mid-fight, and it needs a working helm. Load 4, 3 vouchers at reputation 22.",
"tier": "yellow"
},
@@ -453,7 +728,7 @@
"hash": "e057ede2eff30ba2",
"name": "Scrapper's Knuckles",
"note": "Replaces the bearer's own punch (combat mode, left click, not a Hulk) with that hand's normal unarmed roll plus 4 flat damage against mobs, and double that total against machines and structures. Humans can still block it and armor still applies; it stops working while the ware is EMP'd or browned out.",
- "rank": 9,
+ "rank": 17,
"reason": "Half of a pair: punches do 4 more, double against machines. A cheap brawler's first step. Load 2 the pair, 800 cr.",
"tier": "green"
},
@@ -463,7 +738,7 @@
"hash": "1262168b74587722",
"name": "Scrapper's Knuckles",
"note": "Replaces the bearer's own punch (combat mode, left click, not a Hulk) with that hand's normal unarmed roll plus 4 flat damage against mobs, and double that total against machines and structures. Humans can still block it and armor still applies; it stops working while the ware is EMP'd or browned out.",
- "rank": 10,
+ "rank": 18,
"reason": "Left half of the Scrapper pair: punches do 4 more, double against machines.",
"tier": "green"
},
@@ -473,17 +748,27 @@
"hash": "7266f264ffd401f9",
"name": "Second Wind bladder",
"note": "When the surroundings have under 16 kPa of oxygen and the bearer isn't on tank internals, the bladder supplies the breath itself from a 180 second reserve, spending 8 seconds of reserve per breath and refilling 16 seconds per breath taken in breathable air. It replaces only the breath, and it announces itself with a gasp, a HUD alert and a loud breathing loop; it does nothing for no-breathers or while EMP'd or browned out.",
- "rank": 5,
+ "rank": 7,
"reason": "Three minutes of air when you lose your internals, refills as you breathe. A safety net against vacuum. Load 1, 900 cr.",
"tier": "green"
},
+ "/obj/item/organ/cyberimp/cyberware/second_wind/deep": {
+ "confidence": "medium",
+ "group": "Armor and frame",
+ "hash": "",
+ "name": "Deep-lung bladder",
+ "note": "Works exactly like the Second Wind bladder: when the surroundings have under 16 kPa of oxygen and the bearer isn't on tank internals, it supplies the breath itself, spending 8 seconds of reserve per breath. The reserve is 360 seconds (180) and refills 24 seconds per breath taken in breathable air (16). It announces itself with a gasp, a HUD alert and a loud breathing loop; it does nothing for no-breathers or while EMP'd or browned out.",
+ "rank": 6,
+ "reason": "Six minutes of air when you lose your internals, refilling faster than the Second Wind. A longer safety net against vacuum, not a way to work in it. Load 2, 1,800 cr.",
+ "tier": "green"
+ },
"/obj/item/organ/cyberimp/cyberware/shock_coils": {
"confidence": "medium",
"group": "Nerves and stuns",
"hash": "d453bb62463e3dcb",
"name": "Shock Coil calf pistons",
"note": "Halves knockdown durations and cuts stun durations by 20%, stops slipping on water-wet floors (water only), and cancels fall damage from dropping down levels with no power cost; falls of 2 or more levels still stagger the bearer for up to 10 seconds. All of it switches off while the ware is EMP'd or browned out.",
- "rank": 4,
+ "rank": 6,
"reason": "Knockdowns are half as long, stuns 20% shorter, no slipping on water or fall damage. The best cheap chrome: load 1, 500 cr. Evicted by Hopper.",
"tier": "green"
},
@@ -503,16 +788,46 @@
"hash": "83d2c1a6b828b267",
"name": "Slipwire reflex shunt",
"note": "While the bearer has moved within the last second, a hostile projectile has a 15% chance to be dodged with a visible sidestep and the round flies on; shooters 1 tile away always hit, and it doesn't work lying down, buckled or unconscious. Also gives a small speed bonus (-0.1 slowdown); with other dodge sources only the highest chance counts, and everything here is off while the ware is EMP'd or browned out.",
- "rank": 3,
+ "rank": 4,
"reason": "15% of bullets miss while you're moving, never from an adjacent shooter, and you run slightly faster. Takes the slot Dead Channel wants. Load 4, 2 vouchers.",
"tier": "yellow"
},
+ "/obj/item/organ/cyberimp/cyberware/slipwire/milspec": {
+ "confidence": "medium",
+ "group": "Nerves and stuns",
+ "hash": "",
+ "name": "Weaver shunt",
+ "note": "While the bearer has moved within the last second, a hostile projectile has a 20% chance to be dodged with a visible sidestep and the round flies on; shooters 1 tile away always hit, and it doesn't work lying down, buckled or unconscious. Also gives a speed bonus (-0.15 slowdown). With other dodge sources only the highest chance counts, so a Cascade window's 40% still wins, and everything here is off while the ware is EMP'd or browned out.",
+ "rank": 2,
+ "reason": "20% of bullets miss while you're moving, never from an adjacent shooter, and you run a little faster than a Slipwire. Takes the slot Dead Channel wants. Load 5, 3 vouchers at reputation 11.",
+ "tier": "red"
+ },
+ "/obj/item/organ/cyberimp/cyberware/slipwire/street": {
+ "confidence": "medium",
+ "group": "Nerves and stuns",
+ "hash": "",
+ "name": "Twitchwire",
+ "note": "While the bearer has moved within the last second, a hostile projectile has an 8% chance to be dodged with a visible sidestep and the round flies on; shooters 1 tile away always hit, and it doesn't work lying down, buckled or unconscious. No speed bonus. With other dodge sources only the highest chance counts, and it is off while the ware is EMP'd or browned out.",
+ "rank": 9,
+ "reason": "8% of bullets miss while you're moving, never from an adjacent shooter, and nothing else. A cheap taste of the Slipwire in the slot Dead Channel wants. Load 2, 1,800 cr at reputation 4.",
+ "tier": "yellow"
+ },
+ "/obj/item/organ/cyberimp/cyberware/subvocal_mic": {
+ "confidence": "medium",
+ "group": "Mobility and stealth",
+ "hash": "",
+ "name": "Subvocal mic",
+ "note": "While online, a radio line the wearer speaks (headset, department or intercom) is spoken at range 0 instead of 1: the wearer and anyone on their tile hear it, a neighbour one tile away gets the usual garbled eavesdrop copy, and nobody further hears it. Ordinary talk is unchanged. It goes off during an EMP reboot or brownout.",
+ "rank": 10,
+ "reason": "Radio talk is not overheard by anyone standing close. A small edge for sneaking and boarding. Load 1, 600 cr.",
+ "tier": "green"
+ },
"/obj/item/organ/cyberimp/eyes/hud/diagnostic": {
"confidence": "high",
"group": "Scouting and sight",
"hash": "bc1a71fec9d46258",
"name": "diagnostic HUD implant",
- "rank": 5,
+ "rank": 6,
"reason": "A diagnostic HUD with no glasses. Shows machine and robot health, for engineers.",
"tier": "green"
},
@@ -521,7 +836,7 @@
"group": "Scouting and sight",
"hash": "4beab53dff56918d",
"name": "medical HUD implant",
- "rank": 3,
+ "rank": 4,
"reason": "A health HUD with no glasses, same job as the green goggles but the eye slot stays free. About 30 cr of material, or found on two hulls.",
"tier": "green"
},
@@ -530,7 +845,7 @@
"group": "Scouting and sight",
"hash": "91681c47158b6422",
"name": "security HUD implant",
- "rank": 4,
+ "rank": 5,
"reason": "A security HUD with no glasses. Names and wanted status, nothing that wins a fight.",
"tier": "green"
},
@@ -539,7 +854,7 @@
"group": "Body upkeep",
"hash": "81096fd3e55913d0",
"name": "breathing tube implant",
- "rank": 3,
+ "rank": 4,
"reason": "Use internals with no mask, which frees the mask slot, and you can't be choked. About 2 cr of material after 200 research points.",
"tier": "green"
}
diff --git a/tools/gear_catalog/ratings/guns.json b/tools/gear_catalog/ratings/guns.json
index efe8bbffc2b..93472b5b67c 100644
--- a/tools/gear_catalog/ratings/guns.json
+++ b/tools/gear_catalog/ratings/guns.json
@@ -591,6 +591,15 @@
},
"tier": "yellow"
},
+ "/obj/item/gun/ballistic/revolver/cyberware_holdout": {
+ "confidence": "medium",
+ "group": "sidearms",
+ "hash": "",
+ "name": "holdout revolver",
+ "rank": 14,
+ "reason": "A .38 revolver folded into the forearm: 25 damage, six shots, about 2.5 a second. Can't be disarmed while deployed, and every reload is a round at a time by hand.",
+ "tier": "yellow"
+ },
"/obj/item/gun/ballistic/revolver/golden": {
"confidence": "medium",
"group": "sidearms",
diff --git a/tools/gear_catalog/ratings/melee.json b/tools/gear_catalog/ratings/melee.json
index a7568c8fc05..ad2dbd69153 100644
--- a/tools/gear_catalog/ratings/melee.json
+++ b/tools/gear_catalog/ratings/melee.json
@@ -1161,19 +1161,48 @@
"hash": "c34e783490904319",
"name": "Widowline monowire",
"note": "Each landed hit adds 5 burn damage and cleaves every living mob next to the target that the target can see and that is not on the wielder's crew team, for 75% of the hit's damage in brute and burn. Its armour penetration is the full 100.",
- "rank": 1,
+ "rank": 2,
"reason": "Rated with its arm housing: 25 a second through any armor at 2 tiles, and the hit carries into every enemy beside the target. Hidden until used. Needs surgery.",
"tier": "red"
},
+ "/obj/item/melee/cyberware_monowire/live": {
+ "confidence": "medium",
+ "group": "arm blades",
+ "hash": "",
+ "name": "Widowline Arc monowire",
+ "note": "Each landed hit also shocks the target for 5 burn and a short stagger (not through shock immunity or insulated suits), adds 25 burn on silicons, mechs and robotic mobs, and shorts a turret, ship laser turret, console or camera for 5 s, once per 15 s. The cleave neighbours take the plain cleave only.",
+ "rank": 1,
+ "reason": "Rated with its arm housing: the Widowline wire with a shock, a stagger and a machine-killing short on every landed hit. Needs surgery.",
+ "tier": "red"
+ },
"/obj/item/melee/energy/blade/hardlight/cyberware_mantis": {
"confidence": "medium",
"group": "arm blades",
"hash": "e09509a45772dc39",
"name": "mantis blade",
- "rank": 2,
+ "rank": 4,
"reason": "Rated with its arm housing: 20 force blades that cannot be disarmed, and a 5 tile lunge every 20 s that floors the target for 2 s. Needs surgery.",
"tier": "red"
},
+ "/obj/item/melee/energy/blade/hardlight/cyberware_mantis/scorch": {
+ "confidence": "medium",
+ "group": "arm blades",
+ "hash": "",
+ "name": "scorch blade",
+ "note": "Each landed cut adds 2 fire stacks and sets the target alight. Corpses are left alone and the wielder is never lit.",
+ "rank": 3,
+ "reason": "Rated with its arm housing: the Mantis blade and lunge, with every cut and the lunge setting the target alight. Needs surgery.",
+ "tier": "red"
+ },
+ "/obj/item/melee/energy/blade/hardlight/cyberware_mantis/street": {
+ "confidence": "medium",
+ "group": "arm blades",
+ "hash": "",
+ "name": "shiv blade",
+ "rank": 5,
+ "reason": "Rated with its arm housing: 14 force blades that cannot be disarmed, no lunge. Needs surgery.",
+ "tier": "yellow"
+ },
"/obj/item/melee/energy/sword/pirate": {
"confidence": "high",
"group": "energy blades",
@@ -1315,7 +1344,7 @@
"group": "arm blades",
"hash": "63a21bf583afc355",
"name": "synthetic arm blade",
- "rank": 3,
+ "rank": 6,
"reason": "20 force blade grown on a hacked limb grower. Huge, no parry. The route was not fully traced.",
"tier": "green"
},
diff --git a/tools/gear_catalog/ratings/organs.json b/tools/gear_catalog/ratings/organs.json
index fba7540a1e9..10e7be33481 100644
--- a/tools/gear_catalog/ratings/organs.json
+++ b/tools/gear_catalog/ratings/organs.json
@@ -429,7 +429,7 @@
"group": "Eyes",
"hash": "970e50f04a7a2db8",
"name": "eyes",
- "rank": 18,
+ "rank": 23,
"reason": "Plain replacement eyes.",
"tier": "none"
},
@@ -438,7 +438,7 @@
"group": "Eyes",
"hash": "07ec6668fecdcd61",
"name": "moth eyes",
- "rank": 19,
+ "rank": 24,
"reason": "Plain replacement eyes.",
"tier": "none"
},
@@ -447,7 +447,7 @@
"group": "Eyes",
"hash": "3e1ed2dde4757134",
"name": "fung-eye",
- "rank": 8,
+ "rank": 11,
"reason": "Night vision you can toggle, with no neural load. Placed in one jungle ruin. Same job as night vision goggles.",
"tier": "yellow"
},
@@ -456,7 +456,7 @@
"group": "Eyes",
"hash": "84a3161d476535dd",
"name": "robotic eyes",
- "rank": 11,
+ "rank": 16,
"reason": "A working pair of robotic eyes, no better than your own.",
"tier": "none"
},
@@ -465,7 +465,7 @@
"group": "Eyes",
"hash": "7cc5a72a291dbd8a",
"name": "basic robotic eyes",
- "rank": 13,
+ "rank": 18,
"reason": "Cheap replacement eyes, weak to flashes.",
"tier": "none"
},
@@ -474,7 +474,7 @@
"group": "Eyes",
"hash": "4ba3d5231be60398",
"name": "basic robotic moth eyes",
- "rank": 14,
+ "rank": 19,
"reason": "Cheap replacement eyes, weak to flashes.",
"tier": "none"
},
@@ -483,8 +483,8 @@
"group": "Eyes",
"hash": "8ea026e0bf1e0602",
"name": "Deadeye link",
- "rank": 5,
- "reason": "Tag a target and your next three shots curve onto it, every 25 s. Bullets stop missing for a burst, but the target gets a warning and walls stop it. Load 3, 2 vouchers with no reputation.",
+ "rank": 7,
+ "reason": "Tag a target and your next three shots curve onto it, every 25 s. Bullets stop missing for a burst, but the target gets a warning and walls stop it. Also zooms about 14 tiles out at a slight slowdown, though nobody can shoot while zoomed. Load 3, 2 vouchers at yellow reputation.",
"tier": "yellow"
},
"/obj/item/organ/eyes/robotic/cyberware/nightshade": {
@@ -493,8 +493,8 @@
"hash": "030567541e7e32a4",
"name": "Nightshade optics",
"note": "Gives night vision with a green tint and puts a glow, visible only to the wearer, on every living body in view even in the dark (corpses glow dimmer). Flash protection stays at the robotic default, and its chrome scan only counts implants without naming them.",
- "rank": 6,
- "reason": "Night vision with no flash weakness and a glow on every living body in view. Beats night vision goggles for 600 cr and load 1.",
+ "rank": 8,
+ "reason": "Night vision with no flash weakness and a glow on every living body in view. Beats night vision goggles for 600 cr and load 1. Also zooms about 9 tiles out at a walk.",
"tier": "yellow"
},
"/obj/item/organ/eyes/robotic/cyberware/prospector": {
@@ -502,8 +502,8 @@
"group": "Eyes",
"hash": "5f70c88fa7552793",
"name": "Prospector Suite optics",
- "rank": 7,
- "reason": "A pulse every 10 s shows ore through rock and loot caches within 9 tiles. Great for mining and ruin crews, no help in a fight. Load 2, 2 vouchers.",
+ "rank": 10,
+ "reason": "A pulse every 10 s shows ore through rock and loot caches within 9 tiles. Great for mining and ruin crews, no help in a fight. Also zooms about 14 tiles out at a slight slowdown. Load 2, 1 voucher at yellow reputation.",
"tier": "yellow"
},
"/obj/item/organ/eyes/robotic/flashlight": {
@@ -511,7 +511,7 @@
"group": "Eyes",
"hash": "31bf05befe1e2bdf",
"name": "flashlight eyes",
- "rank": 17,
+ "rank": 22,
"reason": "Flashlights strapped into your skull. You can't see through them. A joke.",
"tier": "none"
},
@@ -520,7 +520,7 @@
"group": "Eyes",
"hash": "121bc2c724450f5d",
"name": "high luminosity eyes",
- "rank": 15,
+ "rank": 20,
"reason": "A coloured torch in your face. Useful in the dark, costs a load.",
"tier": "none"
},
@@ -529,7 +529,7 @@
"group": "Eyes",
"hash": "880f3fcfed561cbf",
"name": "high luminosity moth eyes",
- "rank": 16,
+ "rank": 21,
"reason": "A coloured torch in your face. Useful in the dark, costs a load.",
"tier": "none"
},
@@ -538,7 +538,7 @@
"group": "Eyes",
"hash": "1719a4848fac0fdb",
"name": "robotic moth eyes",
- "rank": 12,
+ "rank": 17,
"reason": "A working pair of robotic eyes, no better than your own.",
"tier": "none"
},
@@ -547,7 +547,7 @@
"group": "Eyes",
"hash": "5d54a8f40d09d8b4",
"name": "shielded robotic eyes",
- "rank": 9,
+ "rank": 14,
"reason": "Flash immunity with no tint, and EMP proof. Better sunglasses that don't take the slot. About 2 cr of material.",
"tier": "green"
},
@@ -556,7 +556,7 @@
"group": "Eyes",
"hash": "617e9ddf30f1f6f4",
"name": "shielded robotic moth eyes",
- "rank": 10,
+ "rank": 15,
"reason": "Moth looks on shielded eyes. Flash immunity with no tint.",
"tier": "green"
},
@@ -565,7 +565,7 @@
"group": "Eyes",
"hash": "2abaf20763c58a3e",
"name": "thermal eyes",
- "rank": 3,
+ "rank": 4,
"reason": "Same sight as thermal goggles, every living thing through walls, but sunglasses over them cancel the flash weakness. Better than the goggles, and they print with no reputation. An EMP flashes them.",
"tier": "yellow"
},
@@ -574,7 +574,7 @@
"group": "Eyes",
"hash": "1436defdd6c14505",
"name": "thermal moth eyes",
- "rank": 4,
+ "rank": 5,
"reason": "Same as thermal eyes with moth looks. Living things through walls, flash weak.",
"tier": "yellow"
},
@@ -601,7 +601,7 @@
"group": "Eyes",
"hash": "927d6a5cf2f19d2f",
"name": "snail eyes",
- "rank": 20,
+ "rank": 25,
"reason": "Plain replacement eyes.",
"tier": "none"
},
diff --git a/tools/gear_catalog/ratings/tools.json b/tools/gear_catalog/ratings/tools.json
index 80c6cfaaa21..53f65496042 100644
--- a/tools/gear_catalog/ratings/tools.json
+++ b/tools/gear_catalog/ratings/tools.json
@@ -1446,7 +1446,7 @@
"group": "Mining tools",
"hash": "16ae32694e632739",
"name": "manual mining scanner",
- "rank": 19,
+ "rank": 20,
"reason": "Manual ore scanner. Click for a look at nearby ore. Common on hulls.",
"tier": "none"
},
@@ -1539,7 +1539,7 @@
"group": "Mining tools",
"hash": "c2024f595b1ac958",
"name": "ore sensor",
- "rank": 20,
+ "rank": 21,
"reason": "Crafted bone ore sensor. Small range and it needs brimdust to make.",
"tier": "none"
},
@@ -1557,7 +1557,7 @@
"group": "Mining tools",
"hash": "971c85bf93572b1b",
"name": "pickaxe",
- "rank": 14,
+ "rank": 15,
"reason": "Plain pick. Prints at round start and hits for 15, but it's heavy to carry.",
"tier": "none"
},
@@ -1566,7 +1566,7 @@
"group": "Mining tools",
"hash": "b938dac87ca2790e",
"name": "diamond-tipped pickaxe",
- "rank": 7,
+ "rank": 8,
"reason": "Digs in about a third of the normal time. 1,200 cr at the green waystation, a fair first upgrade.",
"tier": "green"
},
@@ -1584,7 +1584,7 @@
"group": "Mining tools",
"hash": "a8467bba7110047c",
"name": "mining drill",
- "rank": 10,
+ "rank": 11,
"reason": "Digs at a little over half the normal time. Cheap and printable after 40 research points. The usual first upgrade.",
"tier": "green"
},
@@ -1593,10 +1593,19 @@
"group": "Mining tools",
"hash": "093655e5e5394734",
"name": "rockjaw drill",
- "rank": 8,
+ "rank": 9,
"reason": "Implant drill. Half-time digging with your hands free. The implant is the real purchase.",
"tier": "green"
},
+ "/obj/item/pickaxe/drill/cyberware/deepcore": {
+ "confidence": "medium",
+ "group": "Mining tools",
+ "hash": "",
+ "name": "deepcore drill",
+ "rank": 7,
+ "reason": "Implant drill. Digs in under a third of the usual time with your hands free, between the rockjaw drill and a diamond drill. The implant is the real purchase.",
+ "tier": "green"
+ },
"/obj/item/pickaxe/drill/diamonddrill": {
"confidence": "medium",
"group": "Mining tools",
@@ -1620,7 +1629,7 @@
"group": "Mining tools",
"hash": "971c85bf93572b1b",
"name": "emergency disembarkation tool",
- "rank": 15,
+ "rank": 16,
"reason": "Plain-speed pick from emergency kits. Hits for 15, but it's heavy to carry.",
"tier": "none"
},
@@ -1629,7 +1638,7 @@
"group": "Mining tools",
"hash": "e44656dab7dcaa9d",
"name": "improvised pickaxe",
- "rank": 17,
+ "rank": 18,
"reason": "Taped-together pick at a third of the normal speed. Better than bare hands.",
"tier": "none"
},
@@ -1638,7 +1647,7 @@
"group": "Mining tools",
"hash": "f0d10d8ea21ed503",
"name": "compact pickaxe",
- "rank": 14,
+ "rank": 15,
"reason": "Plain-speed pick in a smaller size.",
"tier": "none"
},
@@ -1647,7 +1656,7 @@
"group": "Mining tools",
"hash": "0dc2d79772498eca",
"name": "rusty pickaxe",
- "rank": 16,
+ "rank": 17,
"reason": "Plain-speed pick from a scrap crate.",
"tier": "none"
},
@@ -1656,7 +1665,7 @@
"group": "Mining tools",
"hash": "d955462ef7f3820e",
"name": "silver-plated pickaxe",
- "rank": 9,
+ "rank": 10,
"reason": "Half-time digging for 1,000 mining points.",
"tier": "green"
},
@@ -1674,7 +1683,7 @@
"group": "Mining tools",
"hash": "dab2a22ec6f7f472",
"name": "material sniffer",
- "rank": 22,
+ "rank": 23,
"reason": "Crafted from an analyzer and some cable. Points at loose sheets of iron and glass. Minor.",
"tier": "none"
},
@@ -1701,7 +1710,7 @@
"group": "Mining tools",
"hash": "adad44b7c8924f21",
"name": "ventpointer",
- "rank": 21,
+ "rank": 22,
"reason": "Points at nearby ore vents. 800 mining points for a shortcut you can walk.",
"tier": "none"
},
@@ -2195,7 +2204,7 @@
"group": "Mining tools",
"hash": "a8c7ee47f9855f4e",
"name": "shovel",
- "rank": 18,
+ "rank": 19,
"reason": "Plain shovel, 8 force. Prints at round start.",
"tier": "none"
},
@@ -2215,7 +2224,7 @@
"hash": "39a661a6f4799dbe",
"name": "dull bone shovel",
"note": "With combat mode on, each hit on an organic mob (and each thrown hit) adds a second hit equal to its own force (10; 8 for the dull version) to the same limb, and does nothing extra to robots or other non-organic mobs. Digs at tool speed 0.3 (0.8 dull).",
- "rank": 11,
+ "rank": 12,
"reason": "Dull bone shovel: each hit on an organic lands twice for 16. Slower dig. One ruin.",
"tier": "green"
},
@@ -2224,7 +2233,7 @@
"group": "Mining tools",
"hash": "6d36ec3489795240",
"name": "spade",
- "rank": 18,
+ "rank": 19,
"reason": "Garden spade.",
"tier": "none"
},
@@ -2386,7 +2395,7 @@
"group": "Mining tools",
"hash": "949739cf35df0bb0",
"name": "advanced automatic mining scanner",
- "rank": 12,
+ "rank": 13,
"reason": "Shows ore within 7 tiles on its own. 300 cr at the green waystation. Right price, right place.",
"tier": "green"
},
@@ -2395,7 +2404,7 @@
"group": "Mining tools",
"hash": "7c5b6654d9cb653b",
"name": "automatic mining scanner",
- "rank": 13,
+ "rank": 14,
"reason": "Shows ore within 4 tiles on its own, more slowly. Common on hulls.",
"tier": "green"
},
diff --git a/voidcrew/_DEFINES/cyberware.dm b/voidcrew/_DEFINES/cyberware.dm
index 02a5ffdaa13..cf6eb52c4f0 100644
--- a/voidcrew/_DEFINES/cyberware.dm
+++ b/voidcrew/_DEFINES/cyberware.dm
@@ -11,12 +11,19 @@
#define CYBERWARE_BIOTECH_CAPACITY 15
#define TRAIT_BIOTECH_NEURAL "biotech_neural"
-/// Mob-overlay height worn chrome draws at: between the character-setup
-/// underwear/undershirt layer (BODY_LAYER, 32) and the eyes (EYES_LAYER, 31),
-/// so a spine rig reads over a bra or undershirt while every EQUIPPED
-/// clothing layer (UNIFORM_LAYER 28 and up) still covers it. Fractional on
-/// purpose, it must never collide with a real layer index.
-#define CYBERWARE_WORN_LAYER 31.5
+/// Mob-overlay height worn chrome draws at: just over the jumpsuit
+/// (UNIFORM_LAYER, 28) and under the worn ID (ID_LAYER, 27), so arm plates and
+/// a spine rig read over normal clothes while hands (BODYPARTS_HIGH_LAYER 25),
+/// gloves, shoes and every suit, vest or armour layer (SUIT_LAYER 19 and up)
+/// still cover them. Mob layers count down: a lower number draws on top.
+/// Fractional on purpose, it must never collide with a real layer index, nor
+/// with a fresh stump (HV_STUMP_FRESH_LAYER, 27.5).
+#define CYBERWARE_WORN_LAYER 27.6
+/// Mob layer the lit nodes of a spine rig (Cascade, Redline) shine at: just over
+/// whatever is worn on the back (BACK_LAYER 14, and every suit and cloak under
+/// it), still under hair (HAIR_LAYER 13) and headgear. Only what glows goes up
+/// here; the housing and dark nodes stay at CYBERWARE_WORN_LAYER.
+#define CYBERWARE_SPINE_SHINE_LAYER 13.7
// ---- Organ slots -------------------------------------------------------
// Minted here, never in DNA.dm. Slot uniqueness is global per mob, so
@@ -150,3 +157,100 @@
/// Minimum environmental O2 partial pressure (kPa) the bladder considers
/// breathable, mirroring the lungs' safe_oxygen_min of 16.
#define CYBERWARE_BREATHABLE_O2_KPA 16
+
+// ---- Optics zoom (cyberware_zoom.dm) -----------------------------------
+// Every set of chrome optics can zoom: tg's scope component pans the camera
+// toward the cursor. A zoomed bearer can't fire a gun and their clicks reach
+// nothing on the map.
+
+/// Held by a bearer while their chrome optics are zoomed. Source is the optics.
+#define TRAIT_CYBER_ZOOMED "cyber_zoomed"
+
+// ---- Chrome wheel (chrome_wheel.dm) ------------------------------------
+
+/// Name of the "Chrome wheel" keybind; the release poll reads the player's
+/// keys for it to catch modifier binds, which never get a keyUp of their own.
+#define CHROME_WHEEL_KEYBIND "chrome_wheel"
+/// A wheel key let go sooner than this was a tap, and the wheel stays open
+/// for a click instead of closing on release.
+#define CHROME_WHEEL_HOLD_TIME (0.3 SECONDS)
+
+/// Wheel states. CLOSED, HELD (open while the key is down) or CLICK (open
+/// after a tap, until the next click or press).
+#define CHROME_WHEEL_CLOSED 0
+#define CHROME_WHEEL_HELD 1
+#define CHROME_WHEEL_CLICK 2
+
+/// Sockets: where a ware's chips sit on the ring. Each owns a run of fixed
+/// positions on its region's arc, so one socket's chrome changing never moves
+/// another socket's chips. Hand chrome rides its arm's socket.
+#define CHROME_WHEEL_SOCKET_EYES "eyes"
+#define CHROME_WHEEL_SOCKET_HEAD "head"
+#define CHROME_WHEEL_SOCKET_OS "os"
+#define CHROME_WHEEL_SOCKET_SKIN "skin"
+#define CHROME_WHEEL_SOCKET_LEFT_ARM "l_arm"
+#define CHROME_WHEEL_SOCKET_RIGHT_ARM "r_arm"
+#define CHROME_WHEEL_SOCKET_LEGS "legs"
+
+/// Radius in pixels of the ring the chips sit on.
+#define CHROME_WHEEL_RADIUS 100
+/// Degrees between neighbouring chips on the ring.
+#define CHROME_WHEEL_STEP 14.5
+/// A socket with more chips than its arc holds starts another row this much
+/// further out, at the same angles.
+#define CHROME_WHEEL_ROW_GAP 26
+/// The ring's centre sits this many pixels above the centre of the view.
+#define CHROME_WHEEL_CENTRE_Y 2
+/// Mouse distance from the ring centre inside which nothing is pointed at.
+#define CHROME_WHEEL_DEADZONE 34
+/// A chip this close to the mouse is the one under it.
+#define CHROME_WHEEL_PICK_RANGE 12
+/// Otherwise the mouse points at the first-row chip whose bearing from the ring
+/// centre is nearest its own, if one lies within this many degrees.
+#define CHROME_WHEEL_POINT_TOLERANCE 13
+
+/// After a pick the wheel stays up this long for the lock and fade. The pick
+/// itself lands at once.
+#define CHROME_WHEEL_LINGER_TIME (0.2 SECONDS)
+/// A wheel opened from the Chrome button fires what a click picks, so a click
+/// further than this from the ring's centre picks by bearing no more: out past
+/// the second row, a click just shuts the wheel.
+#define CHROME_WHEEL_FIRE_REACH (CHROME_WHEEL_RADIUS + CHROME_WHEEL_ROW_GAP + 24)
+/// Reserves Arm chrome's place on the wheel (GLOB.chrome_wheel_reserved), as an
+/// organ slot reserves its ware's.
+#define CHROME_WHEEL_ARMS_KEY "chrome_arms"
+/// The region an Arm chrome chip lights: both arms.
+#define CHROME_WHEEL_REGION_ARMS "arms"
+/// The Chrome button's and Arm chrome's own art.
+#define CHROME_HUD_ICON 'voidcrew/modules/cyberware/icons/chrome_hud.dmi'
+
+#define CHROME_WHEEL_ICON 'voidcrew/modules/cyberware/icons/chrome_wheel.dmi'
+/// 240x240 art centred on the ring: body, arcs, leaders, glows, backdrop.
+#define CHROME_WHEEL_RING_ICON 'voidcrew/modules/cyberware/icons/chrome_wheel_ring.dmi'
+/// Corner brackets borrowed from the chrome read.
+#define CHROME_WHEEL_BRACKET_ICON 'voidcrew/modules/cyberware/icons/chrome_read.dmi'
+
+/// Wheel colours, the chrome read's own.
+#define CHROME_WHEEL_HUD_COLOR CYBERWARE_COLOR_TIER_2
+#define CHROME_WHEEL_PANEL_COLOR "#060e12"
+#define CHROME_WHEEL_NAME_COLOR "#e6fbff"
+#define CHROME_WHEEL_DIM_COLOR "#8fa1a8"
+#define CHROME_WHEEL_OFFLINE_COLOR "#ff5a4a"
+#define CHROME_WHEEL_OFFLINE_NAME_COLOR "#7d8a90"
+/// The pick's brackets (radial.dmi's module_selected cyan).
+#define CHROME_WHEEL_PICKED_COLOR "#00ffff"
+/// Deployed or armed (radial.dmi's module_active green).
+#define CHROME_WHEEL_DEPLOYED_COLOR "#00ff00"
+
+// ---- Phase 2 models: seal, frame and nervous street models -------------
+// ware_models_b.dm. Hardweave, the Strut frame, the Deep-lung bladder, the
+// Heat-sink and Frostline linings, the Twitchwire and Weaver shunts, and the
+// Thumper ear.
+
+/// Held by a bearer whose skeleton simply does not break. Blocks the whole
+/// bone wound series, dislocations, hairline fractures, compound fractures,
+/// at the wound system's own gate, and nothing else. Every other wound series
+/// lands on its bearer exactly as it lands on anyone. Granted by the Atlas
+/// frame (ware_military_body.dm) and the Strut frame (ware_models_b.dm); the
+/// gate itself is in ware_military_body.dm.
+#define TRAIT_CYBERWARE_UNBREAKABLE_BONES "cyberware_unbreakable_bones"
diff --git a/voidcrew/_maps/map_files/outposts/trader_outpost_outfitter.dmm b/voidcrew/_maps/map_files/outposts/trader_outpost_outfitter.dmm
index 2d4848184b2..82854e88a5b 100644
--- a/voidcrew/_maps/map_files/outposts/trader_outpost_outfitter.dmm
+++ b/voidcrew/_maps/map_files/outposts/trader_outpost_outfitter.dmm
@@ -372,6 +372,10 @@
/obj/effect/landmark/outpost_network_pad_spot,
/turf/open/indestructible/dark,
/area/voidcrew/trader_outpost/checkpoint)
+"bc" = (
+/obj/structure/sink/directional/north,
+/turf/open/indestructible/freezer,
+/area/voidcrew/trader_outpost)
"bd" = (
/obj/effect/turf_decal/arrows{
dir = 2
@@ -748,6 +752,10 @@
},
/turf/open/indestructible/dark/smooth_large,
/area/voidcrew/trader_outpost)
+"dg" = (
+/obj/effect/decal/cleanable/blood/gibs/robot_debris/old,
+/turf/open/indestructible/freezer,
+/area/voidcrew/trader_outpost)
"dD" = (
/obj/effect/turf_decal/stripes,
/obj/effect/turf_decal/siding/thinplating_new/dark{
@@ -1043,6 +1051,13 @@
},
/turf/open/indestructible,
/area/voidcrew/trader_outpost)
+"gS" = (
+/obj/item/trash/can{
+ pixel_w = -6;
+ pixel_z = -4
+ },
+/turf/open/indestructible/freezer,
+/area/voidcrew/trader_outpost)
"gT" = (
/obj/effect/turf_decal/siding/thinplating_new/dark,
/obj/effect/decal/cleanable/dirt,
@@ -1171,6 +1186,9 @@
/obj/effect/decal/cleanable/dirt,
/turf/open/indestructible/dark/smooth_large,
/area/voidcrew/trader_outpost)
+"iQ" = (
+/turf/open/indestructible/freezer,
+/area/voidcrew/trader_outpost)
"iR" = (
/obj/effect/turf_decal/siding/thinplating_new/dark{
dir = 8
@@ -1292,6 +1310,12 @@
/obj/effect/decal/cleanable/dirt,
/turf/open/indestructible/large,
/area/voidcrew/trader_outpost)
+"ku" = (
+/obj/structure/rack,
+/obj/structure/sign/poster/contraband/cybersun_six_hundred/directional/north,
+/obj/effect/decal/cleanable/dirt,
+/turf/open/indestructible/freezer,
+/area/voidcrew/trader_outpost)
"kv" = (
/obj/effect/turf_decal/siding/thinplating_new/dark/corner{
dir = 1
@@ -1377,6 +1401,14 @@
},
/turf/open/indestructible/large,
/area/voidcrew/trader_outpost)
+"ld" = (
+/obj/structure/table,
+/obj/item/cigbutt{
+ pixel_w = 5;
+ pixel_z = 7
+ },
+/turf/open/indestructible/freezer,
+/area/voidcrew/trader_outpost)
"lw" = (
/obj/structure/rack,
/obj/effect/turf_decal/trimline/red/filled/line{
@@ -1402,6 +1434,11 @@
"ly" = (
/turf/open/indestructible/dark,
/area/voidcrew/trader_outpost)
+"lz" = (
+/mob/living/basic/outpost_trader/ripperdoc/street_doc,
+/obj/machinery/light/small/dim/directional/north,
+/turf/open/indestructible/freezer,
+/area/voidcrew/trader_outpost)
"lE" = (
/obj/structure/window/reinforced/shuttle/indestructible,
/turf/open/indestructible/plating,
@@ -1533,6 +1570,10 @@
},
/turf/open/indestructible/dark,
/area/voidcrew/trader_outpost)
+"nV" = (
+/obj/machinery/light/small/directional/west,
+/turf/open/indestructible/freezer,
+/area/voidcrew/trader_outpost)
"oi" = (
/obj/effect/turf_decal/siding/wideplating_new/dark{
dir = 1
@@ -1631,18 +1672,6 @@
/obj/machinery/newscaster/directional/east,
/turf/open/indestructible/dark,
/area/voidcrew/trader_outpost)
-"pC" = (
-/obj/effect/turf_decal/tile/yellow/anticorner/contrasted{
- dir = 4
- },
-/obj/effect/turf_decal/siding/thinplating_new{
- dir = 5
- },
-/obj/item/kirbyplants/organic/plant22,
-/obj/effect/decal/cleanable/cobweb/cobweb2,
-/obj/effect/decal/cleanable/dirt,
-/turf/open/indestructible,
-/area/voidcrew/trader_outpost)
"pE" = (
/obj/effect/turf_decal/tile/dark/full,
/obj/effect/invisible_wall,
@@ -1731,6 +1760,11 @@
/obj/effect/decal/cleanable/dirt/dust,
/turf/open/indestructible/dark/textured,
/area/voidcrew/trader_outpost)
+"qA" = (
+/obj/structure/fluff/shower_drain,
+/obj/effect/decal/cleanable/blood/old,
+/turf/open/indestructible/freezer,
+/area/voidcrew/trader_outpost)
"qN" = (
/obj/structure/closet/crate/secure{
name = "chassis crate";
@@ -1757,6 +1791,12 @@
/obj/effect/decal/cleanable/dirt,
/turf/open/indestructible/large,
/area/voidcrew/trader_outpost)
+"qZ" = (
+/obj/machinery/door/airlock/maintenance{
+ name = "Back Bay"
+ },
+/turf/open/indestructible/freezer,
+/area/voidcrew/trader_outpost)
"rd" = (
/obj/effect/turf_decal/trimline/yellow/filled/line{
dir = 8
@@ -1771,6 +1811,10 @@
/obj/structure/chair/office/light,
/turf/open/indestructible/large,
/area/voidcrew/trader_outpost)
+"rg" = (
+/obj/structure/closet/crate/bin,
+/turf/open/indestructible/freezer,
+/area/voidcrew/trader_outpost)
"rj" = (
/obj/structure/table/reinforced/rglass,
/obj/structure/desk_bell{
@@ -1813,6 +1857,16 @@
/obj/effect/decal/cleanable/dirt,
/turf/open/indestructible,
/area/voidcrew/trader_outpost)
+"sd" = (
+/obj/machinery/porta_turret/outpost,
+/obj/effect/turf_decal/box/red/corners{
+ dir = 1
+ },
+/obj/effect/turf_decal/box/red/corners{
+ dir = 8
+ },
+/turf/open/indestructible/freezer,
+/area/voidcrew/trader_outpost)
"sf" = (
/obj/structure/closet/secure_closet/outpost_rental,
/obj/effect/turf_decal/siding/wideplating_new/dark{
@@ -1828,6 +1882,14 @@
},
/turf/open/indestructible/dark,
/area/voidcrew/trader_outpost)
+"sh" = (
+/obj/structure/closet/crate{
+ anchored = 1;
+ name = "parts crate"
+ },
+/obj/effect/decal/cleanable/cobweb,
+/turf/open/indestructible/freezer,
+/area/voidcrew/trader_outpost)
"si" = (
/obj/effect/turf_decal/siding/wideplating_new/dark{
dir = 4
@@ -1928,6 +1990,14 @@
},
/turf/open/indestructible/large,
/area/voidcrew/trader_outpost)
+"tf" = (
+/obj/structure/table,
+/obj/structure/fluff/paper/stack{
+ pixel_w = -3;
+ pixel_z = 3
+ },
+/turf/open/indestructible/freezer,
+/area/voidcrew/trader_outpost)
"tj" = (
/obj/structure/closet/secure_closet/outpost_rental,
/obj/effect/turf_decal/siding/wideplating_new/dark{
@@ -1959,6 +2029,11 @@
},
/turf/open/indestructible/large,
/area/voidcrew/trader_outpost)
+"tD" = (
+/obj/machinery/chrome_cradle,
+/obj/effect/decal/cleanable/blood/old,
+/turf/open/indestructible/freezer,
+/area/voidcrew/trader_outpost)
"tH" = (
/obj/effect/turf_decal/siding/thinplating_new/corner{
dir = 4
@@ -2075,6 +2150,10 @@
/obj/machinery/light/floor,
/turf/open/indestructible,
/area/voidcrew/trader_outpost)
+"uM" = (
+/obj/effect/decal/cleanable/dirt,
+/turf/open/indestructible/freezer,
+/area/voidcrew/trader_outpost)
"vb" = (
/obj/structure/fluff/paper/stack{
dir = 1;
@@ -2190,6 +2269,10 @@
},
/turf/open/indestructible/white/smooth_large,
/area/voidcrew/trader_outpost)
+"wK" = (
+/obj/machinery/light/cold/directional/east,
+/turf/open/indestructible/freezer,
+/area/voidcrew/trader_outpost)
"wM" = (
/obj/structure/table,
/obj/item/storage/medkit/regular,
@@ -2375,6 +2458,11 @@
/obj/machinery/light/directional/north,
/turf/open/indestructible/large,
/area/voidcrew/trader_outpost)
+"zp" = (
+/obj/structure/rack,
+/obj/effect/decal/cleanable/cobweb/cobweb2,
+/turf/open/indestructible/freezer,
+/area/voidcrew/trader_outpost)
"zw" = (
/obj/structure/chair{
dir = 1
@@ -2629,6 +2717,11 @@
},
/turf/open/indestructible/dark,
/area/voidcrew/trader_outpost)
+"CD" = (
+/obj/structure/chair/stool,
+/obj/effect/decal/cleanable/dirt,
+/turf/open/indestructible/freezer,
+/area/voidcrew/trader_outpost)
"CQ" = (
/obj/effect/turf_decal/tile/yellow/half/contrasted{
dir = 8
@@ -2765,6 +2858,19 @@
},
/turf/open/indestructible,
/area/voidcrew/trader_outpost)
+"EW" = (
+/obj/effect/turf_decal/tile/yellow/anticorner/contrasted{
+ dir = 4
+ },
+/obj/effect/turf_decal/siding/thinplating_new{
+ dir = 5
+ },
+/obj/item/kirbyplants/organic/plant22,
+/obj/effect/decal/cleanable/cobweb/cobweb2,
+/obj/effect/decal/cleanable/dirt,
+/obj/structure/sign/poster/contraband/interdyne_gene_clinics/directional/east,
+/turf/open/indestructible,
+/area/voidcrew/trader_outpost)
"EX" = (
/obj/effect/turf_decal/tile/dark/full,
/obj/effect/invisible_wall,
@@ -2778,6 +2884,14 @@
/obj/item/radio/intercom/directional/north,
/turf/open/indestructible/hoteltile,
/area/voidcrew/trader_outpost)
+"Ff" = (
+/obj/structure/table,
+/obj/structure/desk_bell{
+ pixel_w = 0;
+ pixel_z = 4
+ },
+/turf/open/indestructible/freezer,
+/area/voidcrew/trader_outpost)
"Fx" = (
/obj/structure/closet/secure_closet/outpost_rental,
/obj/effect/turf_decal/siding/wideplating_new/dark{
@@ -2836,6 +2950,10 @@
},
/turf/open/indestructible,
/area/voidcrew/trader_outpost)
+"Ga" = (
+/obj/machinery/vending/wallmed/directional/east,
+/turf/open/indestructible/freezer,
+/area/voidcrew/trader_outpost)
"Gd" = (
/obj/effect/turf_decal/siding/wideplating_new/light{
dir = 8
@@ -2854,6 +2972,10 @@
/obj/effect/decal/cleanable/dirt,
/turf/open/indestructible,
/area/voidcrew/trader_outpost)
+"Gk" = (
+/obj/structure/mirror/directional/east,
+/turf/open/indestructible/freezer,
+/area/voidcrew/trader_outpost)
"Gt" = (
/obj/effect/turf_decal/tile/dark/full,
/obj/structure/sign/poster/official/get_your_legs{
@@ -2972,6 +3094,10 @@
},
/turf/open/indestructible,
/area/voidcrew/trader_outpost)
+"Iu" = (
+/obj/item/cigbutt,
+/turf/open/indestructible/freezer,
+/area/voidcrew/trader_outpost)
"Iw" = (
/turf/open/indestructible/hoteltile,
/area/voidcrew/trader_outpost)
@@ -3299,6 +3425,10 @@
/obj/structure/extinguisher_cabinet/directional/west,
/turf/open/indestructible,
/area/voidcrew/trader_outpost)
+"MB" = (
+/obj/effect/decal/cleanable/blood/drip,
+/turf/open/indestructible/freezer,
+/area/voidcrew/trader_outpost)
"MI" = (
/obj/effect/spawner/random/trash/soap,
/obj/machinery/light/small/directional/south,
@@ -3314,6 +3444,10 @@
},
/turf/open/indestructible/large,
/area/voidcrew/trader_outpost)
+"MW" = (
+/obj/effect/decal/cleanable/blood/oil,
+/turf/open/indestructible/freezer,
+/area/voidcrew/trader_outpost)
"Na" = (
/obj/structure/table,
/obj/effect/spawner/random/food_or_drink/donkpockets,
@@ -3668,6 +3802,11 @@
},
/turf/open/indestructible/dark,
/area/voidcrew/trader_outpost)
+"Uc" = (
+/obj/effect/decal/cleanable/blood/gibs/robot_debris/limb,
+/obj/item/cigbutt,
+/turf/open/indestructible/freezer,
+/area/voidcrew/trader_outpost)
"Ud" = (
/obj/effect/turf_decal/bot,
/obj/structure/closet/crate,
@@ -3924,6 +4063,10 @@
},
/turf/open/indestructible,
/area/voidcrew/trader_outpost)
+"ZP" = (
+/obj/structure/table,
+/turf/open/indestructible/freezer,
+/area/voidcrew/trader_outpost)
"ZV" = (
/obj/effect/decal/cleanable/dirt/dust,
/obj/machinery/light/floor,
@@ -5368,7 +5511,7 @@ ai
fp
vS
dU
-pC
+EW
hE
gQ
Vl
@@ -5412,7 +5555,7 @@ CS
dU
dU
dU
-dU
+qZ
dU
dU
dU
@@ -5452,13 +5595,13 @@ lE
lE
dU
dU
-aV
-aV
-aV
-aV
-aV
-aV
-aV
+sh
+ZP
+uM
+nV
+uM
+rg
+dU
dU
dU
lE
@@ -5492,15 +5635,15 @@ ao
ao
ao
ao
-ao
-aF
-aV
-aV
-aV
-aV
-aV
aV
dU
+ku
+tf
+Iu
+CD
+uM
+bc
+dU
dU
FC
oU
@@ -5534,15 +5677,15 @@ ao
ao
ao
ao
-ao
-ao
-ao
-aV
-aV
-aV
-aV
aV
dU
+Uc
+ZP
+gS
+iQ
+MW
+dg
+dU
cI
cY
gg
@@ -5576,14 +5719,14 @@ ao
ao
ao
ao
-ao
-ao
-ao
-ao
-ao
-aV
-aV
aV
+dU
+lz
+Ff
+uM
+MB
+tD
+qA
lE
aE
Hd
@@ -5618,14 +5761,14 @@ ao
ao
ao
ao
-ao
-ao
-ao
-ao
-ao
-ao
-ao
-aF
+aV
+dU
+zp
+ld
+Ga
+Gk
+wK
+sd
dU
tj
AY
@@ -5660,14 +5803,14 @@ ao
ao
ao
ao
-ao
-ao
-ao
-ao
-ao
-ao
-ao
-ao
+aV
+dU
+dU
+dU
+dU
+dU
+dU
+dU
dU
dU
sf
@@ -5702,15 +5845,15 @@ ao
ao
ao
ao
-ao
-ao
-ao
-ao
-ao
-ao
-ao
-ao
-ao
+aF
+aV
+aV
+aV
+aV
+aV
+aV
+aF
+aV
dU
dU
dU
diff --git a/voidcrew/modules/admin/chrome_test_kit.dm b/voidcrew/modules/admin/chrome_test_kit.dm
new file mode 100644
index 00000000000..e562911d4ef
--- /dev/null
+++ b/voidcrew/modules/admin/chrome_test_kit.dm
@@ -0,0 +1,256 @@
+/**
+ * # Chrome test kit
+ *
+ * One admin verb for trying the cyberware lines without a shopping trip. It drops a Chrome
+ * Cradle beside the admin with a stack of trade vouchers and a holochip of credits, then offers
+ * a short list of ready-made builds (see GLOB.chrome_test_loadouts) that either go straight into
+ * the admin's own body or into a crate at their feet, plus a chromed human to point Chrome Read
+ * at. The dummy is a human NPC body (voidcrew/modules/human_npcs/) with no
+ * AI, so it is the same kind of body as the NPCs players meet: its chrome works, and burns out
+ * to scrap when it dies or a piece leaves it.
+ *
+ * Installs here are special inserts, the same door the unit tests use: no cradle sequence, no
+ * boot splash, no install context. They still obey the body's rules in two ways. A piece whose
+ * limb is missing is not forced into a body that cannot hold it, and a piece that would push the
+ * body past its neural capacity goes into the crate instead of browning the whole build out
+ * (the Cascade and Redline cores share the OS slot with the Governors, so the heavy builds do
+ * not fit on a stock body). The chat report lists what went where and the final load.
+ *
+ * Admin only (R_ADMIN|R_DEBUG), logged like the other feature-testing verbs. The loadouts are
+ * plain typepath lists so they are easy to retune.
+ */
+
+/**
+ * The ready-made builds, in install order. Order matters twice: a piece is skipped when the
+ * body no longer has headroom, so the ones listed first are the ones that stay; and pairs list
+ * the right arm first, its left twin after.
+ */
+GLOBAL_LIST_INIT(chrome_test_loadouts, list(
+ "Blade dancer" = list(
+ /obj/item/organ/cyberimp/arm/toolkit/cyberware/mantis,
+ /obj/item/organ/cyberimp/arm/toolkit/cyberware/mantis/left,
+ /obj/item/organ/cyberimp/cyberware/cascade,
+ /obj/item/organ/cyberimp/cyberware/slipwire,
+ ),
+ "Tank" = list(
+ /obj/item/organ/cyberimp/cyberware/gorilla_arms,
+ /obj/item/organ/cyberimp/cyberware/gorilla_arms/left,
+ /obj/item/organ/cyberimp/cyberware/slabskin,
+ /obj/item/organ/cyberimp/cyberware/atlas,
+ /obj/item/organ/cyberimp/cyberware/redline,
+ ),
+ "Street kid" = list(
+ /obj/item/organ/cyberimp/cyberware/cascade/street,
+ /obj/item/organ/cyberimp/arm/toolkit/cyberware/mantis/street,
+ /obj/item/organ/cyberimp/arm/toolkit/cyberware/mantis/street/left,
+ /obj/item/organ/cyberimp/cyberware/ghostskin/street,
+ /obj/item/organ/cyberimp/cyberware/hopper/street,
+ /obj/item/organ/cyberimp/cyberware/clotter_node,
+ /obj/item/organ/cyberimp/cyberware/medic_palms,
+ /obj/item/organ/cyberimp/cyberware/subvocal_mic,
+ /obj/item/organ/cyberimp/cyberware/muffler_ear,
+ ),
+))
+
+/// The kit's menu entries that are not loadouts.
+#define CHROME_KIT_EVERYTHING "Everything (one of each, in a crate)"
+#define CHROME_KIT_DUMMY "Chrome dummy (a chromed human to test on)"
+#define CHROME_KIT_BASICS "Cradle, vouchers and credits only"
+
+/// Vouchers and credits the kit hands out per use.
+#define CHROME_KIT_VOUCHERS 30
+#define CHROME_KIT_CREDITS 20000
+
+/**
+ * Every piece of chrome a ripperdoc shelf sells, one of each, as typepaths: the loose organs,
+ * and the cased pairs as the case (cracking it open spills both halves). Read off the shop's
+ * own SKU datums so it follows the roster by itself, plus the one piece no shelf sells.
+ */
+/proc/chrome_kit_everything_types()
+ var/list/found = list()
+ for(var/datum/shop_sku/sku_type as anything in subtypesof(/datum/shop_sku/ripperdoc))
+ var/item_path = initial(sku_type.item_path)
+ if(!item_path || found[item_path])
+ continue
+ if(ispath(item_path, /obj/item/organ) || ispath(item_path, /obj/item/cyberware_pair_case) || ispath(item_path, /obj/item/storage/case/cyberware))
+ found[item_path] = TRUE
+ // The Meteor Piledriver is a mission prize, not on any shelf.
+ found[/obj/item/organ/cyberimp/cyberware/piledriver] = TRUE
+ return assoc_to_keys(found)
+
+/// A free turf beside the user for a prop: open floor with nothing solid on it, nearest first.
+/proc/chrome_kit_adjacent_turf(atom/user)
+ var/turf/origin = get_turf(user)
+ if(!origin)
+ return null
+ for(var/direction in GLOB.cardinals)
+ var/turf/candidate = get_step(origin, direction)
+ if(!candidate || candidate.density || isspaceturf(candidate))
+ continue
+ var/blocked = FALSE
+ for(var/atom/movable/occupant as anything in candidate)
+ if(occupant.density || istype(occupant, /obj/machinery/chrome_cradle))
+ blocked = TRUE
+ break
+ if(!blocked)
+ return candidate
+ return origin
+
+/**
+ * Seats a build into a body with special inserts, in order. A piece stays out when the body has
+ * no limb for it, when it would not fit under the body's neural capacity (the same netted check
+ * the cradle uses, so a same-slot swap counts) or when the insert is refused. Returns the
+ * organs left over, ready for a crate; `report` collects a plain line per piece for the chat
+ * report.
+ */
+/proc/chrome_kit_install(mob/living/carbon/target, list/ware_types, list/report)
+ var/list/left_over = list()
+ var/turf/here = get_turf(target)
+ for(var/ware_type in ware_types)
+ var/obj/item/organ/ware = new ware_type(here)
+ var/reason
+ if(!target.get_bodypart(deprecise_zone(ware.zone)))
+ reason = "no limb for it"
+ else if(!cyberware_insert_check(ware, target, silent = TRUE))
+ reason = "no neural headroom"
+ else if(!ware.Insert(target, special = TRUE))
+ reason = "the body refused it"
+ if(reason)
+ report += "[ware.name] left out ([reason])"
+ left_over += ware
+ return left_over
+
+/**
+ * The kit's dummy: a human NPC body with no AI (it never moves, fights or barks), in a grey
+ * jumpsuit, on no side anyone fights for. Being an NPC body is the point: its chrome burns out at
+ * death and when a piece leaves it, as on every NPC players meet.
+ */
+/mob/living/carbon/human/npc/chrome_dummy
+ ai_controller = null
+ npc_name = "Chrome dummy"
+ npc_outfit = /datum/outfit/chrome_dummy
+ faction = list(FACTION_NEUTRAL)
+ npc_voice = null
+ npc_surrender = null
+
+/datum/outfit/chrome_dummy
+ name = "Chrome dummy"
+ uniform = /obj/item/clothing/under/color/grey
+
+/**
+ * A chrome dummy at `where` carrying what fits of `ware_types` (chrome_kit_install(); pieces that
+ * don't fit are deleted, so the dummy keeps only what fits). Returns the dummy.
+ */
+/proc/chrome_kit_make_dummy(turf/where, list/ware_types, list/report)
+ var/mob/living/carbon/human/npc/chrome_dummy/dummy = new(where)
+ var/list/dummy_spare = chrome_kit_install(dummy, ware_types, report)
+ QDEL_LIST(dummy_spare)
+ return dummy
+
+/// A crate of loose chrome at a turf. Items placed straight into the crate, so its slot count
+/// never turns the big builds away.
+/proc/chrome_kit_crate(turf/where, list/contents_list, crate_name = "chrome crate")
+ var/obj/structure/closet/crate/crate = new(where)
+ crate.name = crate_name
+ for(var/obj/item/spare in contents_list)
+ spare.forceMove(crate)
+ return crate
+
+/// The admin's chrome status line: load against capacity and any piece that is dark.
+/proc/chrome_kit_status_line(mob/living/carbon/target)
+ var/load = get_chrome_load(target)
+ var/capacity = get_chrome_capacity(target)
+ var/dark = 0
+ for(var/obj/item/organ/ware as anything in get_installed_cyberware(target))
+ if(ware.organ_flags & ORGAN_FAILING)
+ dark++
+ return "[length(get_installed_cyberware(target))] pieces, load [load]/[capacity][dark ? ", [dark] dark" : ""]"
+
+ADMIN_VERB(chrome_test_kit, R_ADMIN|R_DEBUG, "Chrome: Test Kit", "Drop a Chrome Cradle with vouchers and credits beside you, then take a ready-made chrome build (into your body or a crate) or a chromed dummy to test on.", ADMIN_CATEGORY_DEBUG)
+ var/mob/admin_mob = user.mob
+ var/turf/origin = get_turf(admin_mob)
+ if(!origin)
+ to_chat(user, span_warning("You need a physical location to drop the kit at."))
+ return
+
+ var/list/menu = list()
+ for(var/loadout_name in GLOB.chrome_test_loadouts)
+ menu += loadout_name
+ menu += CHROME_KIT_EVERYTHING
+ menu += CHROME_KIT_DUMMY
+ menu += CHROME_KIT_BASICS
+ var/choice = tgui_input_list(user, "Which build?", "Chrome Test Kit", menu)
+ if(!choice)
+ return
+
+ // Where it goes, for the two choices that have a body to put it in.
+ var/into_body = FALSE
+ if(GLOB.chrome_test_loadouts[choice])
+ if(iscarbon(admin_mob))
+ var/where = tgui_input_list(user, "Install it where?", "Chrome Test Kit", list("Into my body", "Into a crate at my feet"))
+ if(!where)
+ return
+ into_body = where == "Into my body"
+ else
+ to_chat(user, span_notice("You have no body to install into, so the build goes in a crate."))
+
+ // The dummy takes any one of the builds, or a random one.
+ var/dummy_build
+ if(choice == CHROME_KIT_DUMMY)
+ var/list/builds = list("Random")
+ for(var/loadout_name in GLOB.chrome_test_loadouts)
+ builds += loadout_name
+ dummy_build = tgui_input_list(user, "Which build does the dummy carry?", "Chrome Test Kit", builds)
+ if(!dummy_build)
+ return
+ if(dummy_build == "Random")
+ dummy_build = pick(GLOB.chrome_test_loadouts)
+
+ // The bench. One cradle per kit spot; asking twice does not stack them.
+ var/obj/machinery/chrome_cradle/cradle = locate() in view(5, origin)
+ var/made_cradle = FALSE
+ if(!cradle)
+ cradle = new(chrome_kit_adjacent_turf(admin_mob))
+ made_cradle = TRUE
+ new /obj/item/stack/trade_voucher(origin, CHROME_KIT_VOUCHERS)
+ new /obj/item/holochip(origin, CHROME_KIT_CREDITS)
+
+ var/list/report = list()
+ var/summary = "[made_cradle ? "a cradle" : "the cradle already here"], [CHROME_KIT_VOUCHERS] vouchers and [CHROME_KIT_CREDITS] cr"
+ switch(choice)
+ if(CHROME_KIT_BASICS)
+ EMPTY_BLOCK_GUARD // the bench, vouchers and credits are the whole kit
+ if(CHROME_KIT_EVERYTHING)
+ var/list/everything = list()
+ for(var/ware_type in chrome_kit_everything_types())
+ everything += new ware_type(origin)
+ chrome_kit_crate(origin, everything, "chrome crate (everything)")
+ summary += ", a crate with [length(everything)] items"
+ if(CHROME_KIT_DUMMY)
+ var/mob/living/carbon/human/npc/chrome_dummy/dummy = chrome_kit_make_dummy(chrome_kit_adjacent_turf(admin_mob), GLOB.chrome_test_loadouts[dummy_build], report)
+ summary += ", a chrome dummy carrying the [dummy_build] build ([chrome_kit_status_line(dummy)])"
+ else
+ var/list/ware_types = GLOB.chrome_test_loadouts[choice]
+ if(into_body)
+ var/list/spare = chrome_kit_install(admin_mob, ware_types, report)
+ summary += ", the [choice] build installed ([chrome_kit_status_line(admin_mob)])"
+ if(length(spare))
+ chrome_kit_crate(origin, spare, "chrome crate ([choice], left over)")
+ summary += ", [length(spare)] left over in a crate"
+ else
+ var/list/boxed = list()
+ for(var/ware_type in ware_types)
+ boxed += new ware_type(origin)
+ chrome_kit_crate(origin, boxed, "chrome crate ([choice])")
+ summary += ", the [choice] build in a crate"
+
+ to_chat(user, span_notice("Chrome test kit: [summary]."))
+ for(var/line in report)
+ to_chat(user, span_notice(" [line]."))
+ message_admins("[key_name_admin(user)] used the chrome test kit ([choice]) at [ADMIN_VERBOSEJMP(origin)].")
+ log_admin("[key_name(user)] used the chrome test kit ([choice]): [summary].")
+ BLACKBOX_LOG_ADMIN_VERB("Chrome Test Kit")
+
+#undef CHROME_KIT_EVERYTHING
+#undef CHROME_KIT_DUMMY
+#undef CHROME_KIT_BASICS
diff --git a/voidcrew/modules/antag_ruins/ascension_mech.dm b/voidcrew/modules/antag_ruins/ascension_mech.dm
index b8fab656eb6..52619b45dba 100644
--- a/voidcrew/modules/antag_ruins/ascension_mech.dm
+++ b/voidcrew/modules/antag_ruins/ascension_mech.dm
@@ -2037,7 +2037,7 @@ GLOBAL_LIST_EMPTY(machine_quickhacks)
*/
/datum/machine_quickhack/safeties
name = "Cut the Safeties"
- desc = "Strip the target's safety interlocks. Exactly what an emag would do to it, which depends entirely on what it is."
+ desc = "Strip the target's safety interlocks."
radial_icon = 'icons/obj/card.dmi'
radial_icon_state = "emag"
cooldown = 25 SECONDS
@@ -2070,7 +2070,7 @@ GLOBAL_LIST_EMPTY(machine_quickhacks)
/datum/machine_quickhack/bolts
name = "Bolts"
- desc = "Throw the door's bolts, or pull them if they are already down. Works on the AI wire, so a cut door will not answer."
+ desc = "Throw the door's bolts, or pull them if they are already down."
radial_icon_state = "lockdown"
cooldown = 8 SECONDS
@@ -2105,8 +2105,7 @@ GLOBAL_LIST_EMPTY(machine_quickhacks)
*/
/datum/machine_quickhack/electrify
name = "Electrify"
- desc = "Run the door's frame live for 30 seconds. It draws on your own current rather than the area's, so a \
- nearly-empty APC still lands the shock. Touching it without insulated gloves is 20 burn and a stun."
+ desc = "Run the door's frame live for 30 seconds. Touching it without insulated gloves is 20 burn and a stun."
radial_icon = 'icons/obj/machines/wallmounts.dmi'
radial_icon_state = "apc-spark"
cooldown = 20 SECONDS
@@ -2171,7 +2170,7 @@ GLOBAL_LIST_EMPTY(machine_quickhacks)
/datum/machine_quickhack/kill_power
name = "Kill the Power"
- desc = "Flip an APC's breaker. Lights, equipment and air handling across that whole area go dead until it is flipped back."
+ desc = "Flip an APC's breaker. Lights, equipment and air handling across that whole area go dead."
radial_icon = 'icons/obj/machines/wallmounts.dmi'
radial_icon_state = "apc0"
cooldown = 30 SECONDS
@@ -2199,7 +2198,7 @@ GLOBAL_LIST_EMPTY(machine_quickhacks)
*/
/datum/machine_quickhack/burst_lights
name = "Burst the Lights"
- desc = "Push an APC's lighting circuit until every bulb in its area breaks. They stay broken."
+ desc = "Push an APC's lighting circuit until every bulb in its area breaks."
radial_icon_state = "blackout"
cooldown = 30 SECONDS
@@ -2239,7 +2238,7 @@ GLOBAL_LIST_EMPTY(machine_quickhacks)
*/
/datum/machine_quickhack/feedback_surge
name = "Feedback Surge"
- desc = "Dump everything a person's gear is holding into the person. Empties every power cell they are carrying and shocks them for up to 60 burn, scaled to how much charge there was."
+ desc = "Empty every power cell a person is carrying through the person, for up to 60 burn."
radial_icon = 'icons/obj/weapons/baton.dmi'
radial_icon_state = "stunbaton_active"
cooldown = 60 SECONDS
@@ -2277,7 +2276,7 @@ GLOBAL_LIST_EMPTY(machine_quickhacks)
*/
/datum/machine_quickhack/cutout
name = "Cutout"
- desc = "Quietly empty every power cell a person is carrying and switch their radios off for 45 seconds. No shock and no stun; their gear just stops."
+ desc = "Quietly empty every power cell a person is carrying and switch their radios off for 45 seconds."
radial_icon = 'icons/obj/weapons/baton.dmi'
radial_icon_state = "stunbaton_nocell"
cooldown = 35 SECONDS
@@ -2312,7 +2311,7 @@ GLOBAL_LIST_EMPTY(machine_quickhacks)
/datum/machine_quickhack/silence
name = "Silence"
- desc = "Jam every radio within nine tiles of what you clicked for 45 seconds, and switch the ones already in range off outright for as long."
+ desc = "Jam every radio within nine tiles of what you clicked for 45 seconds."
radial_icon = 'icons/obj/devices/syndie_gadget.dmi'
radial_icon_state = "jammer"
cooldown = 40 SECONDS
@@ -2608,10 +2607,7 @@ GLOBAL_LIST_EMPTY(machine_masshacks)
*/
/datum/machine_masshack/overload
name = "Overload the Room"
- desc = "Feed every machine around you power at once, each one at full overload strength. Five seconds of the whole \
- room buzzing, then up to twelve real explosions land a fifth of a second apart. It takes the walls with it and \
- it will breach a hull if one is in the pattern. Lights just burst. Nothing that goes up comes back, and you are \
- standing in the middle of it, leave."
+ desc = "Overload every machine around you at once. Five seconds of buzzing, then up to twelve explosions. You are standing in the middle of it."
radial_icon_state = "overload_machine"
cooldown = 3 MINUTES
@@ -2652,9 +2648,7 @@ GLOBAL_LIST_EMPTY(machine_masshacks)
*/
/datum/machine_masshack/arc_flash
name = "Arc Flash"
- desc = "Every powered machine around you starts earthing itself through whoever is standing nearest to it. Five \
- volleys a second and a half apart, 14 burn each, and it comes out of the wall rather than through their hands, \
- so insulated gloves do nothing. It hits everyone in the room except you, friend or not."
+ desc = "Every powered machine around you earths itself through whoever is standing nearest. Five volleys, 14 burn each, on everyone but you."
radial_icon = 'icons/mob/actions/actions_spells.dmi'
radial_icon_state = "lightning"
cooldown = 2 MINUTES
@@ -2767,9 +2761,7 @@ GLOBAL_LIST_EMPTY(machine_masshacks)
*/
/datum/machine_masshack/wake
name = "Wake the Machines"
- desc = "Stand every free-standing machine in the room up to fight for you. Up to eight of them, twice as tough as an \
- animated machine and hitting twice as hard, for two minutes before they fall apart. They know you and nobody \
- else, everyone else in the room is a stranger to them. The machines do not come back."
+ desc = "Stand up to eight free-standing machines in the room up to fight for you for two minutes."
radial_icon_state = "override_machine"
cooldown = 3 MINUTES
@@ -2797,7 +2789,7 @@ GLOBAL_LIST_EMPTY(machine_masshacks)
for(var/mob/living/second as anything in woken)
if(first != second)
first.befriend(second)
- to_chat(user, span_boldnotice("[length(woken)] of them get up. They know your face and each other's, and nobody else's."))
+ to_chat(user, span_boldnotice("[length(woken)] of them get up."))
return TRUE
/**
diff --git a/voidcrew/modules/cyberware/chrome_cradle.dm b/voidcrew/modules/cyberware/chrome_cradle.dm
index ef2dc109b0a..79d7d433ec9 100644
--- a/voidcrew/modules/cyberware/chrome_cradle.dm
+++ b/voidcrew/modules/cyberware/chrome_cradle.dm
@@ -94,8 +94,6 @@
/obj/machinery/chrome_cradle/examine(mob/user)
. = ..()
- . += span_notice("Drag yourself (or a patient) onto the slab to lie back on it. Whoever's on the slab runs their own install; the rig won't take orders from anyone else.")
- . += span_notice("Tune-ups run [CYBERWARE_TUNEUP_FEE] cr: EMP-scrambled and damaged chrome comes back to spec. Load cash into the slab or pay by ID.")
if(loaded_credits)
. += span_notice("The slab's cash slot holds [loaded_credits] cr.")
if(length(tray))
@@ -261,6 +259,8 @@
/// on the marked stage a spark shower plus Splice's mid-line.
/obj/machinery/chrome_cradle/proc/run_sequence_stage(mid_stage = FALSE)
playsound(src, 'sound/effects/servostep.ogg', 60, TRUE)
+ // The rig's arms move on the beat (cyberware_anim2.dm).
+ rig_beat(mid_stage)
var/mob/living/patient = occupant
if(istype(patient))
patient.do_jitter_animation(60)
@@ -317,6 +317,7 @@
SStgui.update_uis(src)
return
do_sparks(3, FALSE, src)
+ rig_boot_fx(patient)
patient.flash_act(visual = 1)
if(chrome.tier >= CYBERWARE_TIER_4)
visible_message(span_notice("The parlor's neon stutters as the rig pulls the current it needs."))
@@ -370,6 +371,7 @@
for(var/timer in stage_timers)
deltimer(timer)
stage_timers.Cut()
+ rig_stop()
busy = FALSE
busy_action = null
busy_ware = null
@@ -408,7 +410,7 @@
if(any_repairable)
return null
if(only_brownout && length(installed))
- return "That chrome is browned out, not broken. Shed some load instead."
+ return "That chrome is browned out, not broken."
return "Nothing needs a tune-up."
/obj/machinery/chrome_cradle/proc/try_tune_up(mob/living/carbon/patient)
@@ -807,6 +809,13 @@
return TRUE
+// ---- Ship saves ---------------------------------------------------------
+
+// A cradle belongs to a parlor. A saved hull must never rebuild one (an admin test kit can
+// drop one on a ship), or every load would hand that ship a free operating slab.
+/obj/machinery/chrome_cradle/checkpoint_type()
+ return null
+
// ---- Outpost aggression ------------------------------------------------
// Attacking outpost property is aggression, the cradle included.
diff --git a/voidcrew/modules/cyberware/cyberware_anim.dm b/voidcrew/modules/cyberware/cyberware_anim.dm
new file mode 100644
index 00000000000..24a6049bc42
--- /dev/null
+++ b/voidcrew/modules/cyberware/cyberware_anim.dm
@@ -0,0 +1,921 @@
+/**
+ * # Chrome animations
+ *
+ * Four pieces of motion that sit on top of chrome that already works. None of
+ * them changes what the chrome does or when: every proc here only draws, and
+ * the mechanics call into it after they have already happened.
+ *
+ * - Mantis blades swing out of the housing and fold back into it.
+ * - The Ghostskin field flickers in and out: hard steps of alpha with a
+ * pixel of jitter, and a sharper stutter when something knocks it down.
+ * - The Cascade's spine nodes ignite neck to hips, a ring rolls out across the
+ * floor, and the nodes die hips to neck when the crash hits.
+ * - An EMP fills every worn piece with static, arcs between them, kills them one
+ * after another, and they blink back on when they reboot.
+ *
+ * Two ways of drawing, chosen per effect:
+ * - One-shot frames ride a holder object in the bearer's vis_contents. A fresh
+ * object always plays its icon state from the first frame, which an overlay
+ * does not, so swings, arcs and sparks are holders that delete themselves.
+ * - Anything that must sit at the worn chrome's layer (under suits, gloves and
+ * hands) is a "look" on the worn overlay itself: the bodypart overlay asks
+ * the implant for its look when it draws, and the look is part of the limb's
+ * render key, so a look change is one update_body_parts() away.
+ *
+ * Nothing here loops on the server. Timers are one-shot and owned by the thing
+ * they animate, so they die with it.
+ */
+
+#define CYBERWARE_ANIM_ICON 'voidcrew/modules/cyberware/icons/cyberware_anim.dmi'
+#define CYBERWARE_ANIM_LARGE_ICON 'voidcrew/modules/cyberware/icons/cyberware_anim_large.dmi'
+/// Batch-2 art: breathing LEDs and the looks of cyberware_anim2.dm.
+#define CYBERWARE_ANIM2_ICON 'voidcrew/modules/cyberware/icons/cyberware_anim2.dmi'
+
+/// Worn looks. Null is the plain overlay.
+#define CHROME_LOOK_STATIC "static"
+#define CHROME_LOOK_DARK "dark"
+#define CHROME_LOOK_FLASH "flash"
+#define CHROME_LOOK_FOLD "fold"
+/// Brownout looks (cyberware_anim2.dm): browned out, and the warm stutter on the way down or up.
+#define CHROME_LOOK_BROWN "brown"
+#define CHROME_LOOK_WARM "warm"
+
+/// Layer for a blade swing: just over the held item it turns into.
+#define CHROME_ANIM_BLADE_LAYER (-(HANDS_LAYER - 0.5))
+/// Layer for arcs, sparks and crackle: over everything the bearer wears.
+#define CHROME_ANIM_TOP_LAYER (-(HIGHEST_LAYER - 0.5))
+
+// =========================================================================
+// THE HOLDER
+// =========================================================================
+
+/**
+ * One short animation drawn on a bearer. Created per use and deleted after
+ * its lifetime, so its icon state always starts on the first frame. Inherits
+ * the bearer's facing and plane; clicks pass through it.
+ */
+/obj/effect/abstract/cyberware_anim
+ name = "chrome"
+ icon = CYBERWARE_ANIM_LARGE_ICON
+ mouse_opacity = MOUSE_OPACITY_TRANSPARENT
+ vis_flags = VIS_INHERIT_DIR | VIS_INHERIT_PLANE
+ blocks_emissive = EMISSIVE_BLOCK_NONE
+ /// What we are drawn on.
+ var/atom/movable/bearer
+
+/obj/effect/abstract/cyberware_anim/Destroy()
+ detach()
+ return ..()
+
+/obj/effect/abstract/cyberware_anim/proc/detach()
+ if(!bearer)
+ return
+ UnregisterSignal(bearer, COMSIG_QDELETING)
+ bearer.vis_contents -= src
+ bearer = null
+
+/obj/effect/abstract/cyberware_anim/proc/on_bearer_deleted(datum/source)
+ SIGNAL_HANDLER
+ qdel(src)
+
+/**
+ * Plays [state] from [icon_file] on [bearer] for [lifetime], then deletes
+ * itself. Large-sheet states are 64x64 and get centred on the bearer's tile.
+ * [glow] adds an emissive twin, so the frames light up in the dark.
+ */
+/proc/cyberware_anim_play(atom/movable/bearer, icon_file, state, anim_layer, lifetime, glow = FALSE)
+ if(QDELETED(bearer) || !state)
+ return null
+ var/obj/effect/abstract/cyberware_anim/holder = new(null)
+ holder.bearer = bearer
+ holder.icon = icon_file
+ holder.icon_state = state
+ holder.layer = anim_layer
+ if(icon_file == CYBERWARE_ANIM_LARGE_ICON)
+ holder.pixel_x = -16
+ holder.pixel_y = -16
+ if(glow)
+ holder.add_overlay(emissive_appearance(icon_file, state, bearer))
+ holder.RegisterSignal(bearer, COMSIG_QDELETING, TYPE_PROC_REF(/obj/effect/abstract/cyberware_anim, on_bearer_deleted))
+ bearer.vis_contents += holder
+ QDEL_IN(holder, lifetime)
+ return holder
+
+// =========================================================================
+// WORN LOOKS
+// =========================================================================
+
+/// The EMP look the reboot show has put on this piece. Null means "whatever
+/// the reboot state says": dark while down, plain otherwise.
+/datum/component/cyberware/var/emp_look
+/// The brownout look the brownout show has put on this piece. Null means
+/// "whatever the brownout state says": browned out or plain.
+/datum/component/cyberware/var/brownout_look
+
+/**
+ * The look this implant's worn overlay draws with right now, or null for the
+ * plain overlay. Read by the bodypart overlay on every draw.
+ */
+/obj/item/organ/cyberimp/proc/cyberware_worn_look()
+ var/datum/component/cyberware/chrome = GetComponent(/datum/component/cyberware)
+ if(!chrome)
+ return null
+ if(chrome.emp_look)
+ return chrome.emp_look
+ if(chrome.emp_down)
+ return CHROME_LOOK_DARK
+ if(chrome.brownout_look)
+ return chrome.brownout_look
+ if(chrome.browned_out)
+ return CHROME_LOOK_BROWN
+ return null
+
+/// What this implant adds to its limb's render key, so a look change redraws.
+/obj/item/organ/cyberimp/proc/cyberware_worn_key()
+ return "[cyberware_worn_look()]"
+
+/**
+ * Dresses one implant's freshly built worn images in its current look.
+ * Called by /datum/bodypart_overlay/augment/cyberware before it adds
+ * emissive blockers, so a see-through image gets a see-through blocker.
+ */
+/obj/item/organ/cyberimp/proc/cyberware_dress_worn(list/imageset, image_layer, obj/item/bodypart/limb)
+ var/look = cyberware_worn_look()
+ if(!look)
+ return cyberware_dress_leds(imageset, image_layer, limb)
+ var/list/dressed = list()
+ for(var/image/part as anything in imageset)
+ var/glow = PLANE_TO_TRUE(part.plane) == EMISSIVE_PLANE
+ switch(look)
+ if(CHROME_LOOK_FOLD)
+ // The folded housing waits while the swing plays over it.
+ if(glow)
+ continue
+ part.alpha = 0
+ if(CHROME_LOOK_DARK)
+ if(glow)
+ continue
+ part.color = list(0.18, 0.18, 0.2, 0.32, 0.32, 0.34, 0.08, 0.08, 0.1, 0.02, 0.02, 0.03)
+ if(CHROME_LOOK_FLASH)
+ if(glow)
+ continue
+ part.color = list(0.55, 0, 0, 0, 0.55, 0, 0, 0, 0.55, 0.42, 0.5, 0.55)
+ dressed += part
+ dressed += emissive_appearance(part.icon, part.icon_state, limb?.owner || limb, part.layer)
+ continue
+ if(CHROME_LOOK_STATIC)
+ if(!glow)
+ // Static clipped to the piece's own pixels.
+ part.appearance_flags |= KEEP_TOGETHER
+ var/mutable_appearance/noise = mutable_appearance('icons/effects/effects.dmi', "static_base", alpha = 170)
+ noise.blend_mode = BLEND_INSET_OVERLAY
+ part.overlays += noise
+ if(CHROME_LOOK_BROWN)
+ if(glow)
+ continue
+ part.color = list(0.62, 0, 0, 0, 0.62, 0, 0, 0, 0.66, 0, 0, 0)
+ if(CHROME_LOOK_WARM)
+ if(glow)
+ // A sagging supply: the lights still burn, weaker.
+ dressed += emissive_appearance(part.icon, part.icon_state, limb?.owner || limb, part.layer, alpha = 110)
+ continue
+ part.color = list(0.9, 0, 0, 0, 0.74, 0, 0, 0, 0.58, 0.05, 0.02, 0)
+ dressed += part
+ return dressed
+
+/**
+ * The plain look: any worn state with breathing LEDs in the batch-2 sheet
+ * gets them, and the breathing glow replaces the piece's own still glow.
+ * The LED states loop on their own, so a lit piece costs the server nothing.
+ */
+/obj/item/organ/cyberimp/proc/cyberware_dress_leds(list/imageset, image_layer, obj/item/bodypart/limb)
+ var/list/leds
+ for(var/image/part as anything in imageset)
+ if(PLANE_TO_TRUE(part.plane) == EMISSIVE_PLANE)
+ continue
+ var/led_state = "[part.icon_state]_led"
+ if(icon_exists(CYBERWARE_ANIM2_ICON, led_state))
+ LAZYSET(leds, "[part.icon_state]", led_state)
+ if(!leds)
+ return imageset
+ var/list/dressed = list()
+ for(var/image/part as anything in imageset)
+ if(PLANE_TO_TRUE(part.plane) == EMISSIVE_PLANE)
+ var/glow_state = "[part.icon_state]"
+ if(length(glow_state) > 2 && copytext(glow_state, -2) == "_e" && leds[copytext(glow_state, 1, -2)])
+ continue
+ dressed += part
+ for(var/worn_state in leds)
+ dressed += image(icon = CYBERWARE_ANIM2_ICON, icon_state = leds[worn_state], layer = image_layer)
+ dressed += emissive_appearance(CYBERWARE_ANIM2_ICON, "[leds[worn_state]]_e", limb?.owner || limb, image_layer)
+ return dressed
+
+// =========================================================================
+// MANTIS BLADES: UNFOLD AND FOLD
+// =========================================================================
+
+/// How long the blade swings out before the held blade takes over.
+#define BLADE_UNFOLD_SWING (0.3 SECONDS)
+/// The whole unfold, last sparks included.
+#define BLADE_UNFOLD_TIME (0.4 SECONDS)
+/// How long the folded housing waits while the blade folds back in.
+#define BLADE_FOLD_SWING (0.3 SECONDS)
+/// The whole fold, last sparks included.
+#define BLADE_FOLD_TIME (0.5 SECONDS)
+
+/obj/item/organ/cyberimp/arm/toolkit/cyberware
+ /// The swing playing on the bearer right now, if any. Weak: it deletes itself.
+ var/datum/weakref/blade_anim_ref
+ /// Until this world.time the folded housing is drawn see-through.
+ var/fold_hide_until = 0
+ /// Timer that brings the folded housing back.
+ var/fold_timer
+ /// Colour of the flash at the hinge when the blade swings.
+ var/blade_flash_color = "#bfe6ff"
+ /// One hinge flash at a time, however fast the blade is toggled.
+ COOLDOWN_DECLARE(blade_flash_cooldown)
+
+/obj/item/organ/cyberimp/arm/toolkit/cyberware/mantis/street
+ blade_flash_color = "#e8e0c8"
+
+/obj/item/organ/cyberimp/arm/toolkit/cyberware/mantis/scorch
+ blade_flash_color = "#ffb070"
+
+/obj/item/organ/cyberimp/arm/toolkit/cyberware/cyberware_worn_look()
+ if(world.time < fold_hide_until)
+ return CHROME_LOOK_FOLD
+ return ..()
+
+/// The swing state for this housing, or null when the sheet has none.
+/obj/item/organ/cyberimp/arm/toolkit/cyberware/proc/blade_anim_state(kind)
+ var/state = "[aug_overlay]_[kind]_[zone == BODY_ZONE_L_ARM ? "left" : "right"]"
+ return icon_exists(CYBERWARE_ANIM_LARGE_ICON, state) ? state : null
+
+/// The swing playing on the bearer right now, if any.
+/obj/item/organ/cyberimp/arm/toolkit/cyberware/proc/blade_anim()
+ return blade_anim_ref?.resolve()
+
+/// Stops any swing and brings the folded housing back if it was waiting.
+/obj/item/organ/cyberimp/arm/toolkit/cyberware/proc/stop_blade_anim()
+ qdel(blade_anim())
+ blade_anim_ref = null
+ if(fold_timer)
+ deltimer(fold_timer)
+ fold_timer = null
+ fold_hide_until = 0
+
+/// The blade swings out of the housing. Called once the blade is in a hand.
+/obj/item/organ/cyberimp/arm/toolkit/cyberware/proc/play_blade_unfold(obj/item/blade)
+ var/state = blade_anim_state("unfold")
+ if(!state || !owner)
+ return
+ stop_blade_anim()
+ blade_anim_ref = WEAKREF(cyberware_anim_play(owner, CYBERWARE_ANIM_LARGE_ICON, state, CHROME_ANIM_BLADE_LAYER, BLADE_UNFOLD_TIME))
+ var/obj/item/melee/energy/blade/hardlight/cyberware_mantis/held_blade = blade
+ if(istype(held_blade))
+ held_blade.hide_inhand_for(BLADE_UNFOLD_SWING)
+ blade_flash(0.7, BLADE_UNFOLD_SWING)
+
+/**
+ * The blade folds back into the housing. Called once it is stowed; the
+ * folded housing stays see-through until the swing has played.
+ */
+/obj/item/organ/cyberimp/arm/toolkit/cyberware/proc/play_blade_fold()
+ var/state = blade_anim_state("fold")
+ if(!state || !owner)
+ return
+ stop_blade_anim()
+ blade_anim_ref = WEAKREF(cyberware_anim_play(owner, CYBERWARE_ANIM_LARGE_ICON, state, CHROME_ANIM_BLADE_LAYER, BLADE_FOLD_TIME))
+ fold_hide_until = world.time + BLADE_FOLD_SWING
+ fold_timer = addtimer(CALLBACK(src, PROC_REF(end_fold_hide)), BLADE_FOLD_SWING, TIMER_STOPPABLE)
+ blade_flash(0.5, BLADE_FOLD_SWING)
+
+/// A brief light at the hinge while the blade swings.
+/obj/item/organ/cyberimp/arm/toolkit/cyberware/proc/blade_flash(power, duration)
+ if(!COOLDOWN_FINISHED(src, blade_flash_cooldown))
+ return
+ COOLDOWN_START(src, blade_flash_cooldown, duration)
+ owner.mob_light(1.5, power, blade_flash_color, duration)
+
+/obj/item/organ/cyberimp/arm/toolkit/cyberware/proc/end_fold_hide()
+ fold_timer = null
+ fold_hide_until = 0
+ owner?.update_body_parts()
+
+/obj/item/melee/energy/blade/hardlight/cyberware_mantis
+ /// Until this world.time the blade is not drawn in the hand: the swing is.
+ var/inhand_hidden_until = 0
+
+/obj/item/melee/energy/blade/hardlight/cyberware_mantis/proc/hide_inhand_for(duration)
+ inhand_hidden_until = world.time + duration
+ var/mob/holder = loc
+ if(ismob(holder))
+ holder.update_held_items()
+ addtimer(CALLBACK(src, PROC_REF(show_inhand)), duration, TIMER_UNIQUE | TIMER_OVERRIDE)
+
+/obj/item/melee/energy/blade/hardlight/cyberware_mantis/proc/show_inhand()
+ if(!inhand_hidden_until)
+ return
+ inhand_hidden_until = 0
+ var/mob/holder = loc
+ if(ismob(holder))
+ holder.update_held_items()
+
+// The blade is in the hand from the first tick; only its drawing waits.
+/obj/item/melee/energy/blade/hardlight/cyberware_mantis/build_worn_icon(default_layer = 0, default_icon_file = null, isinhands = FALSE, female_uniform = NO_FEMALE_UNIFORM, override_state = null, override_file = null)
+ . = ..()
+ if(isinhands && world.time < inhand_hidden_until)
+ var/mutable_appearance/standing = .
+ standing.alpha = 0
+
+// =========================================================================
+// IMPACTS
+// =========================================================================
+
+/obj/item/melee/energy/blade/hardlight/cyberware_mantis
+ /// What a hit with this blade plays over its target, in place of tg's flying blade.
+ var/impact_state = "impact_mantis"
+
+/obj/item/melee/energy/blade/hardlight/cyberware_mantis/street
+ impact_state = "impact_shiv"
+
+/obj/item/melee/energy/blade/hardlight/cyberware_mantis/scorch
+ impact_state = "impact_scorch"
+
+/obj/item/melee/cyberware_monowire
+ /// What a hit with this wire plays over its target, in place of tg's flying spool.
+ var/impact_state = "impact_widowline"
+
+/obj/item/melee/cyberware_monowire/live
+ // A landed Arc hit already lashes, crackles and bursts (cyberware_anim2.dm), so no impact goes on top.
+ impact_state = null
+
+// The swinger's lunge stays; only the picture over the target changes.
+/obj/item/melee/energy/blade/hardlight/cyberware_mantis/animate_attack(atom/movable/attacker, atom/attacked_atom, animation_type)
+ if(!cyberware_play_impact(attacker, attacked_atom, impact_state))
+ return ..()
+
+/obj/item/melee/cyberware_monowire/animate_attack(atom/movable/attacker, atom/attacked_atom, animation_type)
+ if(!cyberware_play_impact(attacker, attacked_atom, impact_state))
+ return ..()
+
+// Nor tg's flying spool in its place: the Arc's shock is its picture. Walls and floors keep tg's own.
+/obj/item/melee/cyberware_monowire/live/animate_attack(atom/movable/attacker, atom/attacked_atom, animation_type)
+ if(!ismovable(attacked_atom))
+ return ..()
+
+/**
+ * A chrome weapon's hit drawn over what it hit: a short slash, flash or
+ * crackle, upright even on someone lying down, and turned to come from the
+ * attacker's side. Returns the holder, or null if there was nothing to draw on.
+ */
+/proc/cyberware_play_impact(atom/movable/attacker, atom/attacked_atom, impact_state)
+ if(!impact_state || !ismovable(attacked_atom))
+ return null
+ var/obj/effect/abstract/cyberware_anim/impact = cyberware_anim_play(attacked_atom, CYBERWARE_ANIM_ICON, impact_state, CHROME_ANIM_TOP_LAYER, 0.4 SECONDS, glow = impact_state != "impact_shiv")
+ if(!impact)
+ return null
+ impact.appearance_flags |= RESET_TRANSFORM
+ // The art swings in from the left; a blow from the right is mirrored, one from above or below either way.
+ var/direction = get_dir(attacker, attacked_atom)
+ if((direction & WEST) || (!(direction & EAST) && prob(50)))
+ impact.transform = matrix(-1, 0, 0, 0, 1, 0)
+ return impact
+
+#undef BLADE_UNFOLD_SWING
+#undef BLADE_UNFOLD_TIME
+#undef BLADE_FOLD_SWING
+#undef BLADE_FOLD_TIME
+
+// =========================================================================
+// GHOSTSKIN FIELD: THE SIGNAL FLICKER
+// =========================================================================
+
+/// How long the field takes to flicker in.
+#define CLOAK_ENTER_TIME (0.6 SECONDS)
+
+/obj/item/organ/cyberimp/cyberware/ghostskin
+ /// world.time the field finishes flickering in. Moving under the field waits for it.
+ var/cloak_enter_until = 0
+
+/**
+ * Hard 1 px jumps sideways alongside one of the alpha chains below. [steps]
+ * are (jump, hold) pairs; the jumps are relative and add up to nothing, so the
+ * bearer ends where it started however the chain is cut short.
+ */
+/proc/cyberware_cloak_jolt(mob/living/wearer, list/steps)
+ for(var/i in 1 to length(steps) step 2)
+ var/jump = steps[i]
+ var/hold = steps[i + 1]
+ if(i == 1)
+ animate(wearer, pixel_w = jump, time = 0, flags = ANIMATION_RELATIVE | ANIMATION_PARALLEL)
+ else
+ animate(pixel_w = jump, time = 0, flags = ANIMATION_RELATIVE)
+ if(hold)
+ animate(pixel_w = 0, time = hold, flags = ANIMATION_RELATIVE)
+
+/**
+ * The field comes up: the bearer's alpha stutters through hard steps and eases
+ * down to field alpha, jumping a pixel sideways on the way. While the field
+ * holds there is nothing on the bearer but that alpha.
+ */
+/obj/item/organ/cyberimp/cyberware/ghostskin/proc/cloak_flicker_in(mob/living/carbon/wearer)
+ cloak_enter_until = world.time + CLOAK_ENTER_TIME
+ var/faded = field_alpha
+ // The alpha chain first: it replaces whatever the bearer was animating.
+ animate(wearer, alpha = max(115, faded), time = 0)
+ animate(alpha = max(115, faded), time = 0.5)
+ animate(alpha = 230, time = 0)
+ animate(alpha = 230, time = 1)
+ animate(alpha = max(75, faded), time = 0)
+ animate(alpha = max(75, faded), time = 0.5)
+ animate(alpha = 180, time = 0)
+ animate(alpha = 180, time = 1)
+ animate(alpha = max(55, faded), time = 0)
+ animate(alpha = max(55, faded), time = 0.5)
+ animate(alpha = 125, time = 0)
+ animate(alpha = 125, time = 0.5)
+ animate(alpha = faded, time = 2, easing = SINE_EASING)
+ cyberware_cloak_jolt(wearer, list(1, 0.5, -1, 1, -1, 0.5, 1, 1, 1, 0.5, -1, 0.5))
+
+/// The field runs out or is switched off: the flicker in reverse, back to full view.
+/obj/item/organ/cyberimp/cyberware/ghostskin/proc/cloak_flicker_out(mob/living/carbon/wearer)
+ cloak_enter_until = 0
+ var/faded = field_alpha
+ animate(wearer, alpha = 110, time = 0)
+ animate(alpha = 110, time = 0.5)
+ animate(alpha = max(60, faded), time = 0)
+ animate(alpha = max(60, faded), time = 0.5)
+ animate(alpha = 175, time = 0)
+ animate(alpha = 175, time = 0.5)
+ animate(alpha = 105, time = 0)
+ animate(alpha = 105, time = 0.5)
+ animate(alpha = 235, time = 0)
+ animate(alpha = 235, time = 0.5)
+ animate(alpha = 255, time = 1, easing = SINE_EASING)
+ cyberware_cloak_jolt(wearer, list(-1, 0.5, 1, 0.5, 1, 0.5, -1, 0.5, -1, 0.5, 1, 1))
+
+/// The field is knocked down: full view, a dip, full view, with hard 2 px jolts.
+/obj/item/organ/cyberimp/cyberware/ghostskin/proc/cloak_flicker_break(mob/living/carbon/wearer)
+ cloak_enter_until = 0
+ animate(wearer, alpha = 255, time = 0)
+ animate(alpha = 255, time = 0.5)
+ animate(alpha = 140, time = 0)
+ animate(alpha = 140, time = 0.5)
+ animate(alpha = 255, time = 0)
+ animate(alpha = 255, time = 0.5)
+ cyberware_cloak_jolt(wearer, list(2, 0.5, -4, 0.5, 3, 0.5, -1, 0))
+
+/// A quiet drop (the weave pulled, or switched off while not worn): straight back to full view.
+/obj/item/organ/cyberimp/cyberware/ghostskin/proc/cloak_reset(mob/living/carbon/wearer)
+ cloak_enter_until = 0
+ if(!QDELETED(wearer))
+ animate(wearer, alpha = 255, time = 0)
+
+#undef CLOAK_ENTER_TIME
+
+// =========================================================================
+// CASCADE: SPINE NODES AND THE TIME RING
+// =========================================================================
+
+/// Time between node frames.
+#define CASCADE_NODE_STEP (0.1 SECONDS)
+/// When the ring rolls out: as the last node lights.
+#define CASCADE_RING_DELAY (0.45 SECONDS)
+
+/obj/item/organ/cyberimp/cyberware/cascade
+ /// The spine node frame drawn over the lattice, or null for the plain one.
+ var/node_look
+ /// Node frames still to play, in order.
+ var/list/node_queue
+ /// Timer for the next node frame.
+ var/node_timer
+ /// Timer for the floor ring.
+ var/ring_timer
+ /// How far the ring rolls out (transform scale of a two-tile ring).
+ var/ring_scale = 3.3
+ /// How bright the ring starts.
+ var/ring_alpha = 235
+ /// How long the ring takes to roll out and fade.
+ var/ring_time = 0.65 SECONDS
+
+/obj/item/organ/cyberimp/cyberware/cascade/milspec
+ ring_scale = 2.7
+ ring_alpha = 190
+ ring_time = 0.55 SECONDS
+
+/obj/item/organ/cyberimp/cyberware/cascade/street
+ ring_scale = 2.2
+ ring_alpha = 140
+ ring_time = 0.45 SECONDS
+
+/obj/item/organ/cyberimp/cyberware/cascade/cyberware_worn_key()
+ return "[..()]-[node_look]"
+
+/obj/item/organ/cyberimp/cyberware/cascade/cyberware_dress_worn(list/imageset, image_layer, obj/item/bodypart/limb)
+ if(cyberware_worn_look() || !node_look)
+ return ..()
+ var/state = "[aug_overlay]_[node_look]"
+ if(!icon_exists(CYBERWARE_ANIM_ICON, state))
+ return imageset
+ // The node frame replaces the lattice's own idle glow.
+ var/list/dressed = list()
+ for(var/image/part as anything in imageset)
+ if(PLANE_TO_TRUE(part.plane) == EMISSIVE_PLANE)
+ continue
+ dressed += part
+ dressed += cyberware_spine_node_images(CYBERWARE_ANIM_ICON, state, node_look != "dead", image_layer, limb?.owner || limb)
+ return dressed
+
+/**
+ * The images of one spine node frame. Lit nodes shine through whatever is worn on the back: they draw at
+ * CYBERWARE_SPINE_SHINE_LAYER, just over the backpack. Dark nodes stay with the housing, under the clothes. A
+ * frame with lit and dark nodes both is split in its sheet into "[state]_lit" and "[state]_dark".
+ */
+/proc/cyberware_spine_node_images(icon_file, state, lit, image_layer, atom/glow_owner)
+ var/list/images = list()
+ var/has_glow = icon_exists(icon_file, "[state]_e")
+ if(!lit)
+ images += image(icon = icon_file, icon_state = state, layer = image_layer)
+ if(has_glow)
+ images += emissive_appearance(icon_file, "[state]_e", glow_owner, image_layer)
+ return images
+ var/lit_state = state
+ if(icon_exists(icon_file, "[state]_lit"))
+ lit_state = "[state]_lit"
+ images += image(icon = icon_file, icon_state = "[state]_dark", layer = image_layer)
+ images += image(icon = icon_file, icon_state = lit_state, layer = -CYBERWARE_SPINE_SHINE_LAYER)
+ if(has_glow)
+ images += emissive_appearance(icon_file, "[state]_e", glow_owner, -CYBERWARE_SPINE_SHINE_LAYER)
+ return images
+
+/// Plays node frames one after another, then holds the last.
+/obj/item/organ/cyberimp/cyberware/cascade/proc/play_node_looks(list/looks)
+ if(node_timer)
+ deltimer(node_timer)
+ node_timer = null
+ node_queue = looks.Copy()
+ advance_node_look()
+
+/obj/item/organ/cyberimp/cyberware/cascade/proc/advance_node_look()
+ node_timer = null
+ if(!length(node_queue))
+ return
+ node_look = popleft(node_queue)
+ owner?.update_body_parts()
+ if(length(node_queue))
+ node_timer = addtimer(CALLBACK(src, PROC_REF(advance_node_look)), CASCADE_NODE_STEP, TIMER_STOPPABLE)
+
+/// Back to the plain lattice, no frames pending, no ring on the way.
+/obj/item/organ/cyberimp/cyberware/cascade/proc/clear_node_looks(mob/living/carbon/redraw)
+ if(node_timer)
+ deltimer(node_timer)
+ node_timer = null
+ if(ring_timer)
+ deltimer(ring_timer)
+ ring_timer = null
+ node_queue = null
+ if(isnull(node_look))
+ return
+ node_look = null
+ redraw?.update_body_parts()
+
+/// The window opens: nodes ignite neck to hips, then the ring rolls out.
+/obj/item/organ/cyberimp/cyberware/cascade/proc/play_window_open()
+ if(!owner)
+ return
+ play_node_looks(list("boot1", "boot2", "boot3", "boot4", "boot5", "lit"))
+ if(ring_timer)
+ deltimer(ring_timer)
+ ring_timer = addtimer(CALLBACK(src, PROC_REF(roll_ring)), CASCADE_RING_DELAY, TIMER_STOPPABLE)
+
+/obj/item/organ/cyberimp/cyberware/cascade/proc/roll_ring()
+ ring_timer = null
+ var/turf/here = get_turf(owner)
+ if(here)
+ new /obj/effect/temp_visual/cyberware_time_ring(here, ring_scale, ring_alpha, ring_time)
+
+/// The crash: nodes die hips to neck and stay dark.
+/obj/item/organ/cyberimp/cyberware/cascade/proc/play_crash()
+ if(!owner)
+ return
+ if(ring_timer)
+ deltimer(ring_timer)
+ ring_timer = null
+ play_node_looks(list("crash1", "crash2", "crash3", "crash4", "crash5", "dead"))
+
+/// The lattice in the bearer's OS slot, if it is a Cascade.
+/proc/cyberware_bearer_lattice(mob/living/bearer)
+ if(!iscarbon(bearer))
+ return null
+ var/mob/living/carbon/carbon_bearer = bearer
+ var/obj/item/organ/cyberimp/cyberware/cascade/lattice = carbon_bearer.get_organ_slot(ORGAN_SLOT_CYBERWARE_OS)
+ return istype(lattice) ? lattice : null
+
+/// Hook for the window's on_apply().
+/proc/cyberware_cascade_window_fx(mob/living/bearer)
+ cyberware_bearer_lattice(bearer)?.play_window_open()
+
+/// Hook for the window's on_remove(), after it has (or hasn't) applied the crash.
+/proc/cyberware_cascade_window_end_fx(mob/living/bearer)
+ var/obj/item/organ/cyberimp/cyberware/cascade/lattice = cyberware_bearer_lattice(bearer)
+ if(lattice && !bearer.has_status_effect(/datum/status_effect/cyberware_cascade_crash))
+ lattice.clear_node_looks(bearer)
+
+/// Hook for the crash's on_apply().
+/proc/cyberware_cascade_crash_fx(mob/living/bearer)
+ cyberware_bearer_lattice(bearer)?.play_crash()
+
+/// Hook for the crash's on_remove().
+/proc/cyberware_cascade_crash_end_fx(mob/living/bearer)
+ cyberware_bearer_lattice(bearer)?.clear_node_looks(bearer)
+
+/// The floor ring that rolls out when a Cascade window opens.
+/obj/effect/temp_visual/cyberware_time_ring
+ icon = CYBERWARE_ANIM_LARGE_ICON
+ icon_state = "time_ring"
+ pixel_x = -16
+ pixel_y = -16
+ layer = ABOVE_OPEN_TURF_LAYER
+ plane = FLOOR_PLANE
+ randomdir = FALSE
+ duration = 0.65 SECONDS
+
+/obj/effect/temp_visual/cyberware_time_ring/Initialize(mapload, max_scale = 3.3, peak_alpha = 235, ring_time = 0.65 SECONDS)
+ duration = ring_time
+ . = ..()
+ add_overlay(emissive_appearance(icon, icon_state, src))
+ transform = matrix().Scale(0.2)
+ alpha = peak_alpha
+ animate(src, transform = matrix().Scale(max_scale), time = duration, easing = SINE_EASING | EASE_OUT, flags = ANIMATION_PARALLEL)
+ animate(src, alpha = 0, time = duration, easing = QUAD_EASING | EASE_IN, flags = ANIMATION_PARALLEL)
+
+#undef CASCADE_NODE_STEP
+#undef CASCADE_RING_DELAY
+
+// =========================================================================
+// EMP ON CHROME
+// =========================================================================
+
+/// From the hit to the first piece going dark.
+#define EMP_SHOW_FIRST_DEATH (0.55 SECONDS)
+/// Between one piece going dark and the next.
+#define EMP_SHOW_DEATH_STAGGER (0.2 SECONDS)
+/// How long the arcs crackle.
+#define EMP_SHOW_ARC_TIME (0.8 SECONDS)
+/// Most arcs drawn at once.
+#define EMP_SHOW_MAX_ARCS 3
+
+/**
+ * The EMP picture for one bearer. Each worn piece hit in a burst fills with
+ * static, arcs jump between the pieces, and they go dark one after another;
+ * the mechanical reboot timing is untouched, only the picture staggers. When a
+ * piece comes back it blinks bright, dark, then on.
+ *
+ * Looks live on each piece's cyberware component (emp_look), and clearing
+ * them always falls back to the right picture for the reboot state, so
+ * deleting this at any point leaves the bearer drawn correctly.
+ */
+/datum/component/chrome_emp_show
+ dupe_mode = COMPONENT_DUPE_UNIQUE
+ /// Pieces in the burst that have not gone dark yet.
+ var/list/datum/weakref/crackling = list()
+ /// Pieces whose look this show has set, so it can take them back off.
+ var/list/datum/weakref/touched = list()
+ /// When the current burst started; a later hit starts a new one.
+ var/burst_started = -1
+ /// Pieces scheduled to go dark in the current burst.
+ var/burst_deaths = 0
+ /// Holders this show is playing.
+ var/list/obj/effect/abstract/cyberware_anim/holders = list()
+ /// Steps still to run. At zero the show deletes itself.
+ var/pending = 0
+ /// The current blink batch: pieces that rebooted on the same tick.
+ var/list/datum/weakref/blink_batch
+ /// When the current blink batch started.
+ var/blink_started = -1
+
+/datum/component/chrome_emp_show/Initialize()
+ if(!iscarbon(parent))
+ return COMPONENT_INCOMPATIBLE
+
+/datum/component/chrome_emp_show/RegisterWithParent()
+ RegisterSignal(parent, COMSIG_LIVING_DEATH, PROC_REF(on_death))
+
+/datum/component/chrome_emp_show/UnregisterFromParent()
+ UnregisterSignal(parent, COMSIG_LIVING_DEATH)
+
+/datum/component/chrome_emp_show/Destroy()
+ var/list/playing = holders.Copy()
+ holders.Cut()
+ QDEL_LIST(playing)
+ var/mob/living/carbon/bearer = parent
+ var/changed = FALSE
+ for(var/datum/weakref/piece_ref as anything in touched)
+ var/obj/item/organ/piece = piece_ref.resolve()
+ var/datum/component/cyberware/chrome = piece?.GetComponent(/datum/component/cyberware)
+ if(chrome?.emp_look)
+ chrome.emp_look = null
+ changed = TRUE
+ touched.Cut()
+ crackling.Cut()
+ if(changed && !QDELETED(bearer))
+ bearer.update_body_parts()
+ return ..()
+
+/datum/component/chrome_emp_show/proc/on_death(datum/source)
+ SIGNAL_HANDLER
+ qdel(src)
+
+/// The show for [bearer], made if there isn't one.
+/proc/chrome_emp_show_for(mob/living/carbon/bearer)
+ if(!iscarbon(bearer) || QDELETED(bearer) || bearer.stat == DEAD)
+ return null
+ return bearer.GetComponent(/datum/component/chrome_emp_show) || bearer.AddComponent(/datum/component/chrome_emp_show)
+
+/// Worn chrome only: the show draws on the worn overlay.
+/proc/chrome_emp_show_wants(obj/item/organ/piece)
+ var/obj/item/organ/cyberimp/implant = piece
+ return istype(implant) && implant.bodypart_aug && implant.owner
+
+/// Region name a piece arcs from, matching the arc sheet.
+/proc/chrome_emp_region(obj/item/organ/piece)
+ switch(piece.zone)
+ if(BODY_ZONE_R_ARM)
+ return "arm_r"
+ if(BODY_ZONE_L_ARM)
+ return "arm_l"
+ if(BODY_ZONE_R_LEG, BODY_ZONE_L_LEG)
+ return "legs"
+ return "chest"
+
+/// Hook for start_emp_reboot(): the piece was just knocked offline.
+/proc/cyberware_emp_hit_fx(obj/item/organ/piece)
+ if(!chrome_emp_show_wants(piece))
+ return
+ var/datum/component/chrome_emp_show/show = chrome_emp_show_for(piece.owner)
+ if(show)
+ show.hit(piece)
+ else
+ // No show on a corpse: just draw the piece dark.
+ piece.owner.update_body_parts()
+
+/// Hook for finish_emp_reboot(): the piece is back online.
+/proc/cyberware_emp_reboot_fx(obj/item/organ/piece)
+ if(!chrome_emp_show_wants(piece))
+ return
+ var/datum/component/chrome_emp_show/show = chrome_emp_show_for(piece.owner)
+ if(show)
+ show.blink(piece)
+ else
+ piece.owner.update_body_parts()
+
+/datum/component/chrome_emp_show/proc/set_look(obj/item/organ/piece, look)
+ var/datum/component/cyberware/chrome = piece.GetComponent(/datum/component/cyberware)
+ if(!chrome)
+ return
+ chrome.emp_look = look
+ touched |= WEAKREF(piece)
+
+/// A piece is hit: static now, dark on its turn.
+/datum/component/chrome_emp_show/proc/hit(obj/item/organ/piece)
+ var/datum/weakref/piece_ref = WEAKREF(piece)
+ if(burst_started != world.time && !length(crackling))
+ // A fresh burst. Everything hit this tick joins it; the crackle starts next tick.
+ burst_started = world.time
+ burst_deaths = 0
+ pending++
+ addtimer(CALLBACK(src, PROC_REF(start_burst)), 0)
+ set_look(piece, CHROME_LOOK_STATIC)
+ crackling |= piece_ref
+ var/dies_at = burst_started + EMP_SHOW_FIRST_DEATH + EMP_SHOW_DEATH_STAGGER * burst_deaths
+ burst_deaths++
+ pending++
+ addtimer(CALLBACK(src, PROC_REF(piece_dies), piece_ref), max(dies_at - world.time, 0.5))
+
+/// The tick after the hit: show the static, throw the arcs, shake the bearer.
+/datum/component/chrome_emp_show/proc/start_burst()
+ var/mob/living/carbon/bearer = parent
+ bearer.update_body_parts()
+ var/list/regions = list()
+ for(var/datum/weakref/piece_ref as anything in crackling)
+ var/obj/item/organ/piece = piece_ref.resolve()
+ if(piece?.owner == bearer)
+ regions |= chrome_emp_region(piece)
+ sortTim(regions, GLOBAL_PROC_REF(cmp_text_asc))
+ var/list/arcs = list()
+ if(length(regions) == 1)
+ arcs += "chrome_arc_[regions[1]]"
+ else
+ for(var/i in 1 to length(regions) - 1)
+ arcs += "chrome_arc_[regions[i]]_[regions[i + 1]]"
+ if(length(regions) >= 3)
+ arcs += "chrome_arc_[regions[1]]_[regions[length(regions)]]"
+ for(var/i in 1 to min(length(arcs), EMP_SHOW_MAX_ARCS))
+ add_holder(cyberware_anim_play(bearer, CYBERWARE_ANIM_LARGE_ICON, arcs[i], CHROME_ANIM_TOP_LAYER, EMP_SHOW_ARC_TIME, glow = TRUE))
+ bearer.do_jitter_animation(0)
+ var/turf/here = get_turf(bearer)
+ if(here)
+ new /obj/effect/temp_visual/emp(here)
+ step_done()
+
+/// One piece's turn to go dark, with a spark where it dies.
+/datum/component/chrome_emp_show/proc/piece_dies(datum/weakref/piece_ref)
+ crackling -= piece_ref
+ var/obj/item/organ/piece = piece_ref.resolve()
+ var/mob/living/carbon/bearer = parent
+ if(piece?.owner == bearer)
+ var/datum/component/cyberware/chrome = piece.GetComponent(/datum/component/cyberware)
+ if(chrome?.emp_look == CHROME_LOOK_STATIC)
+ chrome.emp_look = null
+ bearer.update_body_parts()
+ add_holder(cyberware_anim_play(bearer, CYBERWARE_ANIM_LARGE_ICON, "chrome_spark_[chrome_emp_region(piece)]", CHROME_ANIM_TOP_LAYER, 0.2 SECONDS, glow = TRUE))
+ step_done()
+
+/// A piece is back: bright, dark, bright, on. Pieces back on the same tick blink together.
+/datum/component/chrome_emp_show/proc/blink(obj/item/organ/piece)
+ crackling -= WEAKREF(piece)
+ if(blink_started != world.time)
+ blink_started = world.time
+ blink_batch = list()
+ var/list/batch = blink_batch
+ pending += 3
+ addtimer(CALLBACK(src, PROC_REF(blink_step), batch, CHROME_LOOK_DARK), 0.5)
+ addtimer(CALLBACK(src, PROC_REF(blink_step), batch, CHROME_LOOK_FLASH), 2)
+ addtimer(CALLBACK(src, PROC_REF(blink_step), batch, null), 2.5)
+ blink_batch |= WEAKREF(piece)
+ set_look(piece, CHROME_LOOK_FLASH)
+ var/mob/living/carbon/bearer = parent
+ bearer.update_body_parts()
+
+/datum/component/chrome_emp_show/proc/blink_step(list/batch, look)
+ var/mob/living/carbon/bearer = parent
+ for(var/datum/weakref/piece_ref as anything in batch)
+ var/obj/item/organ/piece = piece_ref.resolve()
+ var/datum/component/cyberware/chrome = piece?.GetComponent(/datum/component/cyberware)
+ // A piece hit again mid-blink belongs to the new burst now.
+ if(!chrome || piece.owner != bearer || chrome.emp_down)
+ continue
+ chrome.emp_look = look
+ bearer.update_body_parts()
+ step_done()
+
+/datum/component/chrome_emp_show/proc/add_holder(obj/effect/abstract/cyberware_anim/holder)
+ if(!holder)
+ return
+ holders += holder
+ RegisterSignal(holder, COMSIG_QDELETING, PROC_REF(on_holder_deleted))
+
+/datum/component/chrome_emp_show/proc/on_holder_deleted(datum/source)
+ SIGNAL_HANDLER
+ holders -= source
+
+/datum/component/chrome_emp_show/proc/step_done()
+ pending--
+ if(pending <= 0 && !length(crackling))
+ qdel(src)
+
+#undef EMP_SHOW_FIRST_DEATH
+#undef EMP_SHOW_DEATH_STAGGER
+#undef EMP_SHOW_ARC_TIME
+#undef EMP_SHOW_MAX_ARCS
+
+// =========================================================================
+// CLEANUP
+// =========================================================================
+
+/**
+ * Takes every animation this organ is running off [old_owner] and resets its
+ * looks. Called when the chrome leaves a body and when it is deleted.
+ */
+/obj/item/organ/proc/cyberware_anim_clear(mob/living/carbon/old_owner)
+ var/datum/component/cyberware/chrome = GetComponent(/datum/component/cyberware)
+ if(chrome)
+ chrome.emp_look = null
+ chrome.brownout_look = null
+
+/obj/item/organ/cyberimp/arm/toolkit/cyberware/cyberware_anim_clear(mob/living/carbon/old_owner)
+ . = ..()
+ stop_blade_anim()
+ for(var/obj/item/melee/energy/blade/hardlight/cyberware_mantis/blade in contents)
+ blade.inhand_hidden_until = 0
+
+/obj/item/organ/cyberimp/cyberware/ghostskin/cyberware_anim_clear(mob/living/carbon/old_owner)
+ . = ..()
+ cloak_enter_until = 0
+
+/obj/item/organ/cyberimp/cyberware/cascade/cyberware_anim_clear(mob/living/carbon/old_owner)
+ . = ..()
+ clear_node_looks()
+
+#undef CYBERWARE_ANIM_ICON
+#undef CYBERWARE_ANIM_LARGE_ICON
+#undef CYBERWARE_ANIM2_ICON
+#undef CHROME_LOOK_STATIC
+#undef CHROME_LOOK_DARK
+#undef CHROME_LOOK_FLASH
+#undef CHROME_LOOK_FOLD
+#undef CHROME_LOOK_BROWN
+#undef CHROME_LOOK_WARM
+#undef CHROME_ANIM_BLADE_LAYER
+#undef CHROME_ANIM_TOP_LAYER
diff --git a/voidcrew/modules/cyberware/cyberware_anim2.dm b/voidcrew/modules/cyberware/cyberware_anim2.dm
new file mode 100644
index 00000000000..0dd1adb2bbb
--- /dev/null
+++ b/voidcrew/modules/cyberware/cyberware_anim2.dm
@@ -0,0 +1,1023 @@
+/**
+ * # Chrome animations, second batch
+ *
+ * More motion on chrome that already works, built the same way as
+ * cyberware_anim.dm: every proc here only draws, and the mechanics call into
+ * it after they have already happened. Nothing here changes a number, a timer
+ * or who gets hit.
+ *
+ * - Redline Burn: nodes flash white and run red-hot, eyes flood red, a red
+ * halo breathes round the body and the roar rolls a ring across the floor.
+ * In the crash the outline gutters out, the spine runs white and the charge
+ * earths through the deck in arcs that fade; the nodes cool to grey and the
+ * body slumps a little.
+ * - Lazarus Node: a magenta charge crawls over the body through the windup,
+ * then a white jolt, a burst and a little spring as they come up.
+ * - Leaps: the Hopper crouches, kicks up dust and arcs over to where it lands,
+ * with a shadow running along the floor under it. The Piledriver glides to
+ * its mark and slams down with a ring and a cracked floor.
+ * - Weapon trails: a Scorch cut throws embers; the Widowline Arc's wire
+ * lashes out, a small crackle runs along it and sparks burst where it hit.
+ * - Brownout: worn chrome stutters, warms and dims together, and stutters
+ * back on when the load comes off. (The LEDs breathing at rest are part of
+ * the plain worn look in cyberware_anim.dm.)
+ * - Chrome cradle: the rig's arms come down on the servo beats, carry the ware
+ * in and sink it, and the patient glitches as it boots.
+ *
+ * Timers are one-shot and owned by the thing they animate, or global procs
+ * holding weak references, so nothing outlives what it draws on.
+ */
+
+#define CYBERWARE_ANIM2_ICON 'voidcrew/modules/cyberware/icons/cyberware_anim2.dmi'
+#define CYBERWARE_ANIM2_LARGE_ICON 'voidcrew/modules/cyberware/icons/cyberware_anim2_large.dmi'
+#define CHROME_CRADLE_RIG_ICON 'voidcrew/modules/cyberware/icons/chrome_cradle_rig.dmi'
+
+/// Layer for flashes, arcs and bursts: over everything the bearer wears.
+#define CHROME_ANIM2_TOP_LAYER (-(HIGHEST_LAYER - 0.5))
+
+/// Worn looks shared with cyberware_anim.dm.
+#define CHROME_LOOK_BROWN "brown"
+#define CHROME_LOOK_WARM "warm"
+
+// =========================================================================
+// SHARED HELPERS
+// =========================================================================
+
+/// Plays a 64x64 state from the batch-2 sheet centred on [bearer].
+/proc/cyberware_anim2_play_large(atom/movable/bearer, state, lifetime, glow = TRUE)
+ var/obj/effect/abstract/cyberware_anim/holder = cyberware_anim_play(bearer, CYBERWARE_ANIM2_LARGE_ICON, state, CHROME_ANIM2_TOP_LAYER, lifetime, glow)
+ if(holder)
+ holder.pixel_x = -16
+ holder.pixel_y = -16
+ return holder
+
+/**
+ * A particle emitter riding [bearer] for [lifetime]. It stops making new
+ * particles after [emit_time] so the last ones fade out before it goes.
+ */
+/proc/cyberware_anim_particles(atom/movable/bearer, particles_type, anim_layer, emit_time, lifetime)
+ if(QDELETED(bearer))
+ return null
+ var/obj/effect/abstract/cyberware_anim/holder = new(null)
+ holder.bearer = bearer
+ holder.icon = null
+ holder.layer = anim_layer
+ holder.particles = new particles_type
+ holder.RegisterSignal(bearer, COMSIG_QDELETING, TYPE_PROC_REF(/obj/effect/abstract/cyberware_anim, on_bearer_deleted))
+ bearer.vis_contents += holder
+ addtimer(CALLBACK(holder, TYPE_PROC_REF(/obj/effect/abstract/cyberware_anim, stop_particles)), emit_time)
+ QDEL_IN(holder, lifetime)
+ return holder
+
+/obj/effect/abstract/cyberware_anim/proc/stop_particles()
+ if(particles)
+ particles.spawning = 0
+
+/// Grey dust kicked up by a landing or a take-off.
+/proc/cyberware_grey_dust(turf/where)
+ if(isnull(where))
+ return null
+ var/obj/effect/temp_visual/mook_dust/dust = new(where)
+ dust.color = list(0.45, 0.45, 0.45, 0.45, 0.45, 0.45, 0.2, 0.2, 0.2, 0.33, 0.33, 0.35)
+ return dust
+
+#define CHROME_FLASH_FILTER "cyberware_flash"
+
+/// A white flash over [target] that fades back to its own colours.
+/proc/cyberware_flash_fx(atom/movable/target, fade_time = 0.25 SECONDS)
+ if(QDELETED(target))
+ return
+ var/static/list/flash = list(0.4, 0, 0, 0, 0, 0.4, 0, 0, 0, 0, 0.4, 0, 0, 0, 0, 1, 0.6, 0.6, 0.62, 0)
+ target.add_filter(CHROME_FLASH_FILTER, 43, color_matrix_filter(flash))
+ animate(target.get_filter(CHROME_FLASH_FILTER), color = COLOR_MATRIX_IDENTITY, time = fade_time)
+ // A rebuild of the target's filters lands on the faded end, not the flash.
+ target.filter_data[CHROME_FLASH_FILTER]["color"] = COLOR_MATRIX_IDENTITY
+ addtimer(CALLBACK(target, TYPE_PROC_REF(/datum, remove_filter), CHROME_FLASH_FILTER), fade_time + 0.5)
+
+#undef CHROME_FLASH_FILTER
+
+// =========================================================================
+// GLITCH (a patient booting new chrome)
+// =========================================================================
+
+#define CHROME_GLITCH_SLICES "cyberware_glitch_slices"
+#define CHROME_GLITCH_RED "cyberware_glitch_red"
+#define CHROME_GLITCH_CYAN "cyberware_glitch_cyan"
+
+/**
+ * Tears [target] into shifted slices with a red and cyan fringe and a burst
+ * of static over it, for [duration]. With [flash] it whites out first. With
+ * [inset] the static keeps to the target's own pixels, which needs a target
+ * drawn as one piece (KEEP_TOGETHER, as people are).
+ */
+/proc/cyberware_glitch_fx(atom/movable/target, duration = 0.25 SECONDS, flash = FALSE, inset = FALSE)
+ if(QDELETED(target))
+ return
+ target.add_filters(list(
+ list("name" = CHROME_GLITCH_SLICES, "priority" = 40, "params" = displacement_map_filter(icon(CYBERWARE_ANIM2_ICON, "glitch_slices"), size = 3)),
+ list("name" = CHROME_GLITCH_RED, "priority" = 41, "params" = drop_shadow_filter(x = -1, y = 0, size = 0, color = "#ff2020a0")),
+ list("name" = CHROME_GLITCH_CYAN, "priority" = 42, "params" = drop_shadow_filter(x = 1, y = 0, size = 0, color = "#20e0ffa0")),
+ ))
+ // The slices jump about, then settle.
+ var/slices = target.get_filter(CHROME_GLITCH_SLICES)
+ animate(slices, y = 7, time = 0.5)
+ animate(y = 13, size = 2, time = 0.5)
+ animate(y = 3, size = 0, time = max(duration - 1, 0.5))
+ target.filter_data[CHROME_GLITCH_SLICES]["size"] = 0
+ if(flash)
+ cyberware_flash_fx(target, duration * 0.5)
+ var/obj/effect/abstract/cyberware_anim/tear = cyberware_anim_play(target, CYBERWARE_ANIM2_ICON, "glitch_tear", CHROME_ANIM2_TOP_LAYER, duration)
+ if(tear && inset)
+ tear.blend_mode = BLEND_INSET_OVERLAY
+ addtimer(CALLBACK(GLOBAL_PROC, GLOBAL_PROC_REF(cyberware_glitch_end), WEAKREF(target)), duration)
+
+/proc/cyberware_glitch_end(datum/weakref/target_ref)
+ var/atom/movable/target = target_ref?.resolve()
+ if(QDELETED(target))
+ return
+ target.remove_filter(list(CHROME_GLITCH_SLICES, CHROME_GLITCH_RED, CHROME_GLITCH_CYAN))
+
+#undef CHROME_GLITCH_SLICES
+#undef CHROME_GLITCH_RED
+#undef CHROME_GLITCH_CYAN
+
+// =========================================================================
+// REDLINE BURN
+// =========================================================================
+
+#define REDLINE_LOOK_FLASH "flash"
+/// The crash's first instant: the whole core lit white down the spine.
+#define REDLINE_LOOK_SURGE "surge"
+#define REDLINE_LOOK_HOT "hot"
+#define REDLINE_LOOK_COOL1 "cool1"
+#define REDLINE_LOOK_COOL2 "cool2"
+#define REDLINE_SAG_FILTER "cyberware_redline_sag"
+/// How long the white kick-in flash holds before the nodes run red.
+#define REDLINE_FLASH_TIME (0.15 SECONDS)
+/// The crash: how long the spine runs white before the charge leaves it for the floor.
+#define REDLINE_SPINE_FLASH (0.1 SECONDS)
+/// From the discharge to the nodes going grey.
+#define REDLINE_COOL_STEP (0.35 SECONDS)
+/// The outline's last stutters, drawn by a filter of its own once the window has taken its outline away.
+#define REDLINE_GUTTER_FILTER "cyberware_redline_gutter"
+/// The window's outline colour (CYBERWARE_REDLINE_OUTLINE_COLOR, ware_legend.dm), lit and out.
+#define REDLINE_GUTTER_ON "#ff2a2a"
+#define REDLINE_GUTTER_OUT "#ff2a2a00"
+/// How long that outline stands at full strength before its first stutter.
+#define REDLINE_GUTTER_HOLD (0.1 SECONDS)
+/// How long the arcs stand on the deck, how often they change, and how long their tracks take to glow, cool and
+/// fade after them.
+#define REDLINE_ARC_TIME (0.15 SECONDS)
+#define REDLINE_ARC_FLICKER (0.05 SECONDS)
+#define REDLINE_GLOW_TIME (2.2 SECONDS)
+/// How long the body takes to straighten up out of the slump when the crash ends.
+#define REDLINE_STRAIGHTEN_TIME (0.3 SECONDS)
+/// The sheet of deck effects, 96 px and centred on the bearer's tile.
+#define CYBERWARE_GROUND_ICON 'voidcrew/modules/cyberware/icons/cyberware_ground.dmi'
+/// The eyes during the burn.
+#define REDLINE_EYE_COLOR "#ff2a1a"
+/// The eyes as the red drains out of them.
+#define REDLINE_EYE_DYING "#8a2420"
+
+/obj/item/organ/cyberimp/cyberware/redline
+ /// The node look drawn over the core, or null for the plain one.
+ var/burn_look
+ /// Timer for the next node look.
+ var/burn_look_timer
+ /// Who carries our filters and our death watch.
+ var/datum/weakref/burn_fx_ref
+ /// The red light the burn throws.
+ var/datum/weakref/burn_light_ref
+
+/obj/item/organ/cyberimp/cyberware/redline/cyberware_worn_key()
+ return "[..()]-[burn_look]"
+
+/obj/item/organ/cyberimp/cyberware/redline/cyberware_dress_worn(list/imageset, image_layer, obj/item/bodypart/limb)
+ if(cyberware_worn_look() || !burn_look)
+ return ..()
+ var/state = "[aug_overlay]_[burn_look]"
+ if(!icon_exists(CYBERWARE_ANIM2_ICON, state))
+ return ..()
+ // The node look replaces the core's own glow.
+ var/list/dressed = list()
+ for(var/image/part as anything in imageset)
+ if(PLANE_TO_TRUE(part.plane) == EMISSIVE_PLANE)
+ continue
+ dressed += part
+ // Nodes that still glow shine through whatever is worn on the back; cold ones stay under it.
+ dressed += cyberware_spine_node_images(CYBERWARE_ANIM2_ICON, state, burn_look != REDLINE_LOOK_COOL2, image_layer, limb?.owner || limb)
+ if(burn_look == REDLINE_LOOK_HOT || burn_look == REDLINE_LOOK_FLASH || burn_look == REDLINE_LOOK_SURGE)
+ dressed += redline_eyes(limb, image_layer)
+ else if(burn_look == REDLINE_LOOK_COOL1)
+ // The crash: the red drains out of them.
+ dressed += redline_eyes(limb, image_layer, REDLINE_EYE_DYING, FALSE)
+ return dressed
+
+/// Red eyes for the burn, drawn from the bearer's own eye sprites so they sit where their eyes are.
+/obj/item/organ/cyberimp/cyberware/redline/proc/redline_eyes(obj/item/bodypart/limb, image_layer, eye_color = REDLINE_EYE_COLOR, glow = TRUE)
+ var/mob/living/carbon/human/bearer = limb?.owner
+ if(!istype(bearer))
+ return list()
+ var/obj/item/organ/eyes/eyes = bearer.get_organ_slot(ORGAN_SLOT_EYES)
+ var/obj/item/bodypart/head/head = bearer.get_bodypart(BODY_ZONE_HEAD)
+ if(!istype(eyes) || isnull(eyes.eye_icon_state) || !head)
+ return list()
+ if(bearer.check_obscured_slots() & ITEM_SLOT_EYES)
+ return list()
+ var/list/eye_images = list()
+ for(var/side in list("_l", "_r"))
+ var/mutable_appearance/eye = mutable_appearance('icons/mob/human/human_face.dmi', "[eyes.eye_icon_state][side]", image_layer, bearer)
+ eye.color = eye_color
+ if(head.worn_face_offset)
+ head.worn_face_offset.apply_offset(eye)
+ eye_images += eye
+ if(!glow)
+ continue
+ var/mutable_appearance/eye_glow = emissive_appearance(eye.icon, eye.icon_state, bearer, image_layer)
+ if(head.worn_face_offset)
+ head.worn_face_offset.apply_offset(eye_glow)
+ eye_images += eye_glow
+ return eye_images
+
+/obj/item/organ/cyberimp/cyberware/redline/proc/set_burn_look(look)
+ burn_look_timer = null
+ if(burn_look == look)
+ return
+ burn_look = look
+ owner?.update_body_parts()
+
+/obj/item/organ/cyberimp/cyberware/redline/proc/queue_burn_look(look, delay)
+ if(burn_look_timer)
+ deltimer(burn_look_timer)
+ burn_look_timer = addtimer(CALLBACK(src, PROC_REF(set_burn_look), look), delay, TIMER_STOPPABLE)
+
+/// The window opens: white-hot nodes, then red, red eyes and a red light. The red outline around the
+/// body is the window's own (ware_legend.dm).
+/obj/item/organ/cyberimp/cyberware/redline/proc/play_burn_window(mob/living/carbon/bearer)
+ if(QDELETED(bearer) || bearer != owner)
+ return
+ clear_burn_fx()
+ watch_burn_bearer(bearer)
+ set_burn_look(REDLINE_LOOK_FLASH)
+ queue_burn_look(REDLINE_LOOK_HOT, REDLINE_FLASH_TIME)
+ burn_light_ref = WEAKREF(bearer.mob_light(2, 0.7, "#ff3b22", burn_window + 2 SECONDS))
+
+/// The roar: a red ring rolls out as far as it reaches.
+/obj/item/organ/cyberimp/cyberware/redline/proc/play_burn_roar(mob/living/carbon/bearer, reach)
+ var/turf/here = get_turf(bearer)
+ if(here && reach > 0)
+ new /obj/effect/temp_visual/circle_wave/cyberware_roar(here, reach)
+
+/**
+ * The crash. The governor slams shut and the charge it was holding has to go somewhere: the outline gutters out,
+ * the red drains from the eyes, the spine runs white from neck to hips, and then the charge earths through the
+ * deck (see [/obj/item/organ/cyberimp/cyberware/redline/proc/ground_burn]). The body slumps.
+ */
+/obj/item/organ/cyberimp/cyberware/redline/proc/play_burn_crash(mob/living/carbon/bearer)
+ if(QDELETED(bearer) || bearer != owner)
+ return
+ stop_burn_glow(bearer)
+ watch_burn_bearer(bearer)
+ if(burn_look_timer)
+ deltimer(burn_look_timer)
+ set_burn_look(REDLINE_LOOK_SURGE)
+ burn_look_timer = addtimer(CALLBACK(src, PROC_REF(ground_burn)), REDLINE_SPINE_FLASH, TIMER_STOPPABLE)
+ // The window took its outline with it. Ours holds for a beat, then stutters out (gutter_burn). Both filters go
+ // on before the slump starts to move: adding a filter rebuilds every filter on the body from its stored values
+ // and drops whatever was animating.
+ bearer.add_filter(REDLINE_GUTTER_FILTER, 2, outline_filter(1, REDLINE_GUTTER_ON))
+ bearer.add_filter(REDLINE_SAG_FILTER, 31, displacement_map_filter(icon(CYBERWARE_ANIM2_ICON, "sag_map"), size = 0))
+ animate(bearer.get_filter(REDLINE_SAG_FILTER), size = 2, time = 0.3 SECONDS, easing = QUAD_EASING | EASE_OUT)
+ bearer.filter_data[REDLINE_SAG_FILTER]["size"] = 2
+ addtimer(CALLBACK(src, PROC_REF(gutter_burn), WEAKREF(bearer), 1), REDLINE_GUTTER_HOLD)
+
+/**
+ * The outline's last stutters, one a call: out, back dimmer, out, back dimmer still, gone.
+ *
+ * Stepped on a timer and stored as it goes, not animated. A second filter animation started on a body in the same
+ * instant as the slump's does not play, and an outline left lit in its stored values comes back at full strength
+ * the next time anything rebuilds the body's filters.
+ */
+/obj/item/organ/cyberimp/cyberware/redline/proc/gutter_burn(datum/weakref/bearer_ref, step)
+ var/static/list/colours = list(REDLINE_GUTTER_OUT, "#ff2a2ab4", REDLINE_GUTTER_OUT, "#ff2a2a70")
+ var/static/list/holds = list(0.05 SECONDS, 0.1 SECONDS, 0.05 SECONDS, 0.05 SECONDS)
+ var/mob/living/carbon/bearer = bearer_ref?.resolve()
+ if(QDELETED(bearer) || !bearer.get_filter(REDLINE_GUTTER_FILTER))
+ return
+ if(step > length(colours))
+ bearer.remove_filter(REDLINE_GUTTER_FILTER)
+ return
+ bearer.modify_filter(REDLINE_GUTTER_FILTER, list("color" = colours[step]))
+ addtimer(CALLBACK(src, PROC_REF(gutter_burn), bearer_ref, step + 1), holds[step])
+
+/**
+ * The charge leaves the spine for the floor. The nodes cool behind it, arcs crawl out across the deck under
+ * everybody's feet, and on a bearer still standing it runs down the legs first: behind the body, and in front of
+ * it only when the back is to the camera.
+ */
+/obj/item/organ/cyberimp/cyberware/redline/proc/ground_burn()
+ burn_look_timer = null
+ var/mob/living/carbon/bearer = burn_fx_ref?.resolve()
+ if(QDELETED(bearer) || bearer != owner)
+ return
+ set_burn_look(REDLINE_LOOK_COOL1)
+ queue_burn_look(REDLINE_LOOK_COOL2, REDLINE_COOL_STEP)
+ var/turf/deck = get_turf(bearer)
+ if(!isturf(bearer.loc) || isgroundlessturf(deck))
+ return
+ var/lying = bearer.body_position == LYING_DOWN
+ new /obj/effect/temp_visual/cyberware_redline_ground(deck, lying)
+ playsound(deck, SFX_SPARKS, 40, TRUE, SHORT_RANGE_SOUND_EXTRARANGE)
+ if(lying)
+ return
+ var/obj/effect/abstract/cyberware_anim/leg = cyberware_anim_play(bearer, CYBERWARE_ANIM2_ICON, "redline_legarc", CHROME_ANIM2_TOP_LAYER, REDLINE_ARC_TIME, glow = TRUE)
+ if(leg && !(bearer.dir & NORTH))
+ leg.vis_flags |= VIS_UNDERLAY
+
+/// Takes the light off; the nodes and the slump stay.
+/obj/item/organ/cyberimp/cyberware/redline/proc/stop_burn_glow(mob/living/carbon/bearer)
+ qdel(burn_light_ref?.resolve())
+ burn_light_ref = null
+
+/obj/item/organ/cyberimp/cyberware/redline/proc/watch_burn_bearer(mob/living/carbon/bearer)
+ burn_fx_ref = WEAKREF(bearer)
+ RegisterSignal(bearer, COMSIG_LIVING_DEATH, PROC_REF(on_burn_bearer_death), override = TRUE)
+
+/obj/item/organ/cyberimp/cyberware/redline/proc/on_burn_bearer_death(datum/source)
+ SIGNAL_HANDLER
+ clear_burn_fx()
+
+/// Back to the plain core: no node look, no halo, light or slump. [straighten] eases a living body up out of the
+/// slump (the crash running its course); otherwise the slump goes at once.
+/obj/item/organ/cyberimp/cyberware/redline/proc/clear_burn_fx(straighten = FALSE)
+ if(burn_look_timer)
+ deltimer(burn_look_timer)
+ burn_look_timer = null
+ var/mob/living/carbon/bearer = burn_fx_ref?.resolve()
+ burn_fx_ref = null
+ stop_burn_glow(bearer)
+ if(!QDELETED(bearer))
+ UnregisterSignal(bearer, COMSIG_LIVING_DEATH)
+ bearer.remove_filter(REDLINE_GUTTER_FILTER)
+ var/sag = bearer.get_filter(REDLINE_SAG_FILTER)
+ if(sag && straighten && bearer.stat != DEAD)
+ animate(sag, size = 0, time = REDLINE_STRAIGHTEN_TIME, easing = QUAD_EASING | EASE_OUT)
+ bearer.filter_data[REDLINE_SAG_FILTER]["size"] = 0
+ addtimer(CALLBACK(GLOBAL_PROC, GLOBAL_PROC_REF(cyberware_redline_straightened), WEAKREF(bearer)), REDLINE_STRAIGHTEN_TIME)
+ else
+ bearer.remove_filter(REDLINE_SAG_FILTER)
+ if(isnull(burn_look))
+ return
+ burn_look = null
+ if(!QDELETED(bearer))
+ bearer.update_body_parts()
+
+/// The body is upright again: the slump's filter, flat by now, comes off. A slump put on since is left alone.
+/proc/cyberware_redline_straightened(datum/weakref/bearer_ref)
+ var/mob/living/carbon/bearer = bearer_ref?.resolve()
+ if(QDELETED(bearer) || bearer.filter_data?[REDLINE_SAG_FILTER]?["size"])
+ return
+ bearer.remove_filter(REDLINE_SAG_FILTER)
+
+/// The core in the bearer's OS slot, if it is a Redline model.
+/proc/cyberware_bearer_redline(mob/living/bearer)
+ if(!iscarbon(bearer))
+ return null
+ var/mob/living/carbon/carbon_bearer = bearer
+ var/obj/item/organ/cyberimp/cyberware/redline/core = carbon_bearer.get_organ_slot(ORGAN_SLOT_CYBERWARE_OS)
+ return istype(core) ? core : null
+
+/// Hook for the window's on_apply().
+/proc/cyberware_redline_window_fx(mob/living/bearer)
+ cyberware_bearer_redline(bearer)?.play_burn_window(bearer)
+
+/// Hook for the roar, with the reach it was given.
+/proc/cyberware_redline_roar_fx(mob/living/bearer, reach)
+ cyberware_bearer_redline(bearer)?.play_burn_roar(bearer, reach)
+
+/// Hook for the window's on_remove(), after it has (or hasn't) applied the crash.
+/proc/cyberware_redline_window_end_fx(mob/living/bearer)
+ var/obj/item/organ/cyberimp/cyberware/redline/core = cyberware_bearer_redline(bearer)
+ if(core && !bearer.has_status_effect(/datum/status_effect/cyberware_redline_crash))
+ core.clear_burn_fx()
+
+/// Hook for the crash's on_apply().
+/proc/cyberware_redline_crash_fx(mob/living/bearer)
+ cyberware_bearer_redline(bearer)?.play_burn_crash(bearer)
+
+/// Hook for the crash's on_remove().
+/proc/cyberware_redline_crash_end_fx(mob/living/bearer)
+ cyberware_bearer_redline(bearer)?.clear_burn_fx(straighten = TRUE)
+
+/obj/item/organ/cyberimp/cyberware/redline/cyberware_anim_clear(mob/living/carbon/old_owner)
+ . = ..()
+ clear_burn_fx()
+
+/// The roar's ring, out as far as the roar reaches. It rolls across the floor, so it is drawn on the floor: under
+/// everyone and everything standing in its way, whichever side of the bearer they are on.
+/obj/effect/temp_visual/circle_wave/cyberware_roar
+ color = "#ff4a2a"
+ max_alpha = 200
+ duration = 0.5 SECONDS
+ plane = FLOOR_PLANE
+ layer = ABOVE_OPEN_TURF_LAYER
+
+/obj/effect/temp_visual/circle_wave/cyberware_roar/Initialize(mapload, reach = 5)
+ // The 64 px ring, scaled so its edge lands [reach] tiles out.
+ amount_to_scale = reach + 0.5
+ return ..()
+
+/**
+ * The Redline's charge earthing through the deck. Arcs crawl out across the floor under everybody's feet and
+ * flicker; the tracks they leave glow, cool to a scorch and fade to nothing. Nothing of it outlasts its duration.
+ *
+ * It is floor: on the floor plane, and shifted with pixel_w and pixel_z so the 96 px picture stays on its own
+ * tile's row. Shifted with pixel_y it would sort a row forward, and its glow would light the bearer through.
+ */
+/obj/effect/temp_visual/cyberware_redline_ground
+ icon = CYBERWARE_GROUND_ICON
+ icon_state = "redline_arcs_standing_1"
+ plane = FLOOR_PLANE
+ layer = ABOVE_OPEN_TURF_LAYER
+ pixel_w = -32
+ pixel_z = -32
+ randomdir = FALSE
+ duration = REDLINE_ARC_TIME + REDLINE_GLOW_TIME
+ light_range = 2
+ light_power = 0.9
+ light_color = "#ff5a3a"
+ /// Where on the tile the charge reaches the deck: "standing" at the feet, "lying" along the length of the back.
+ var/shape = "standing"
+
+/obj/effect/temp_visual/cyberware_redline_ground/Initialize(mapload, lying = FALSE)
+ . = ..()
+ shape = lying ? "lying" : "standing"
+ show_arcs(1)
+ addtimer(CALLBACK(src, PROC_REF(show_arcs), 2), REDLINE_ARC_FLICKER)
+ addtimer(CALLBACK(src, PROC_REF(show_arcs), 1), REDLINE_ARC_FLICKER * 2)
+ addtimer(CALLBACK(src, PROC_REF(leave_glow)), REDLINE_ARC_TIME)
+
+/// One of the two arc pictures, and the same picture again as its glow, so the two are never out of step.
+/obj/effect/temp_visual/cyberware_redline_ground/proc/show_arcs(picture)
+ icon_state = "redline_arcs_[shape]_[picture]"
+ cut_overlays()
+ add_overlay(emissive_appearance(icon, icon_state, src))
+
+/// The arcs are gone: their tracks glow, cool and fade.
+/obj/effect/temp_visual/cyberware_redline_ground/proc/leave_glow()
+ icon_state = "redline_glow_[shape]"
+ cut_overlays()
+ add_overlay(emissive_appearance(icon, icon_state, src, alpha = 150))
+ set_light(0)
+ animate(src, alpha = 255, time = REDLINE_GLOW_TIME * 0.15)
+ animate(color = "#6a5350", time = REDLINE_GLOW_TIME * 0.3)
+ animate(alpha = 0, time = REDLINE_GLOW_TIME * 0.5)
+
+#undef REDLINE_LOOK_FLASH
+#undef REDLINE_LOOK_SURGE
+#undef REDLINE_LOOK_HOT
+#undef REDLINE_LOOK_COOL1
+#undef REDLINE_LOOK_COOL2
+#undef REDLINE_SAG_FILTER
+#undef REDLINE_FLASH_TIME
+#undef REDLINE_COOL_STEP
+#undef REDLINE_SPINE_FLASH
+#undef REDLINE_GUTTER_FILTER
+#undef REDLINE_GUTTER_ON
+#undef REDLINE_GUTTER_OUT
+#undef REDLINE_GUTTER_HOLD
+#undef REDLINE_ARC_TIME
+#undef REDLINE_ARC_FLICKER
+#undef REDLINE_STRAIGHTEN_TIME
+#undef REDLINE_GLOW_TIME
+#undef REDLINE_EYE_DYING
+#undef CYBERWARE_GROUND_ICON
+#undef REDLINE_EYE_COLOR
+
+// =========================================================================
+// LAZARUS NODE
+// =========================================================================
+
+#define LAZARUS_SPRING_OFFSET "cyberware_lazarus_spring"
+#define LAZARUS_CHARGE_FILTER "cyberware_lazarus_charge"
+
+/obj/item/organ/cyberimp/cyberware/lazarus
+ /// Who carries the charge's magenta halo.
+ var/datum/weakref/charge_fx_ref
+ /// The charge glow on the chest through the windup.
+ var/datum/weakref/charge_glow_ref
+ /// The arcs crawling over the body through the windup.
+ var/datum/weakref/charge_arcs_ref
+ /// The magenta light of the charge.
+ var/datum/weakref/charge_light_ref
+
+/// The windup: the node charges, magenta arcs crawl out over the body.
+/obj/item/organ/cyberimp/cyberware/lazarus/proc/play_charge_fx(mob/living/carbon/patient, windup)
+ clear_charge_fx()
+ if(QDELETED(patient))
+ return
+ charge_glow_ref = WEAKREF(cyberware_anim_play(patient, CYBERWARE_ANIM2_ICON, "lazarus_charge", CHROME_ANIM2_TOP_LAYER, windup, glow = TRUE))
+ charge_arcs_ref = WEAKREF(cyberware_anim2_play_large(patient, "lazarus_arcs", windup))
+ charge_light_ref = WEAKREF(patient.mob_light(1.5, 0.8, "#e700e3", windup))
+ // The whole body takes on the charge, brighter as it fills.
+ charge_fx_ref = WEAKREF(patient)
+ patient.add_filter(LAZARUS_CHARGE_FILTER, 33, drop_shadow_filter(x = 0, y = 0, size = 1, color = "#e700e340"))
+ animate(patient.get_filter(LAZARUS_CHARGE_FILTER), size = 2.5, color = "#e700e3b0", time = windup, easing = QUAD_EASING | EASE_IN)
+ patient.filter_data[LAZARUS_CHARGE_FILTER]["size"] = 2.5
+ patient.filter_data[LAZARUS_CHARGE_FILTER]["color"] = "#e700e3b0"
+
+/// Takes the charge off whoever it is on.
+/obj/item/organ/cyberimp/cyberware/lazarus/proc/clear_charge_fx()
+ qdel(charge_glow_ref?.resolve())
+ qdel(charge_arcs_ref?.resolve())
+ qdel(charge_light_ref?.resolve())
+ charge_glow_ref = null
+ charge_arcs_ref = null
+ charge_light_ref = null
+ var/mob/living/carbon/patient = charge_fx_ref?.resolve()
+ charge_fx_ref = null
+ if(!QDELETED(patient))
+ patient.remove_filter(LAZARUS_CHARGE_FILTER)
+
+/// The jolt: a white flash, a burst and a light, and a little spring off the floor.
+/obj/item/organ/cyberimp/cyberware/lazarus/proc/play_jolt_fx(mob/living/carbon/patient)
+ clear_charge_fx()
+ if(QDELETED(patient))
+ return
+ cyberware_anim2_play_large(patient, "lazarus_jolt", 0.5 SECONDS)
+ patient.mob_light(2.5, 1.4, "#ffe6ff", 0.3 SECONDS)
+ cyberware_flash_fx(patient, 0.25 SECONDS)
+ patient.add_offsets(LAZARUS_SPRING_OFFSET, z_add = 3, animate = FALSE)
+ addtimer(CALLBACK(patient, TYPE_PROC_REF(/mob/living, remove_offsets), LAZARUS_SPRING_OFFSET), 0.5)
+
+/obj/item/organ/cyberimp/cyberware/lazarus/cyberware_anim_clear(mob/living/carbon/old_owner)
+ . = ..()
+ clear_charge_fx()
+
+#undef LAZARUS_SPRING_OFFSET
+#undef LAZARUS_CHARGE_FILTER
+
+// =========================================================================
+// LEAPS
+// =========================================================================
+
+/// Set at take-off to when the leap should be down. A leap whose landing never
+/// runs is put back on the floor shortly after.
+/mob/living/var/cyberware_leap_until = 0
+/// How the body's steps were animated before a leap switched that off, to put back once it has landed.
+/mob/living/var/cyberware_leap_steps
+
+/// Where a leaping body draws among the things on its row: over anyone standing there, since it is above them.
+#define CYBERWARE_LEAP_LAYER (ABOVE_MOB_LAYER + 0.05)
+/// How long a leap that holds its height takes to come down at the end.
+#define CYBERWARE_LEAP_SLAM (0.1 SECONDS)
+
+/// Where the body sits at rest, before any leap offset.
+/proc/cyberware_leap_rest(mob/living/jumper, pixel)
+ var/base = jumper.base_pixel_z
+ switch(pixel)
+ if(PIXEL_W_OFFSET)
+ base = jumper.base_pixel_w
+ if(PIXEL_Y_OFFSET)
+ base = jumper.base_pixel_y
+ return base + jumper.has_offset(pixel = pixel)
+
+/**
+ * Take-off. The body arcs from [launch] over to [landing] and is down on the landing tile when [airtime] ends, so
+ * the landing's dust, ring and sound meet it there. With [height] under [peak] it rises to [peak] halfway and
+ * falls; with [height] at [peak] it climbs, holds that height over to its mark and drops in the last
+ * CYBERWARE_LEAP_SLAM of the flight. The body stays on its own tile until the landing moves it; only the drawing
+ * travels.
+ *
+ * The fall is started by a timer of its own, on the same clock as the landing: a server running slow holds the
+ * body up until its landing is nearly due, and never stands it on the tile ahead of its own impact.
+ *
+ * The run along the floor goes at an even pace and only the height eases, so the body never hangs at the top of
+ * its arc. The run up and down the screen is pixel_y, which carries the body's place in the front-to-back order
+ * along with it: it draws in front of what it has passed and behind what it hasn't. The height is pixel_z, which
+ * changes nothing but the drawing. On its row it draws over whoever stands there.
+ */
+/proc/cyberware_leap_takeoff_fx(mob/living/jumper, turf/launch, turf/landing, airtime, height, peak, obj/effect/afterimage)
+ if(QDELETED(jumper))
+ return
+ if(afterimage)
+ // The crouch the pistons fired out of.
+ var/matrix/squash = matrix(afterimage.transform)
+ squash.Scale(1.08, 0.86)
+ squash.Translate(0, -2)
+ afterimage.transform = squash
+ cyberware_grey_dust(launch)
+ var/dx = 0
+ var/dy = 0
+ if(launch && landing)
+ dx = (landing.x - launch.x) * ICON_SIZE_X
+ dy = (landing.y - launch.y) * ICON_SIZE_Y
+ var/rest_w = cyberware_leap_rest(jumper, PIXEL_W_OFFSET)
+ var/rest_y = cyberware_leap_rest(jumper, PIXEL_Y_OFFSET)
+ var/rest_z = cyberware_leap_rest(jumper, PIXEL_Z_OFFSET)
+ if(jumper.layer == initial(jumper.layer) || jumper.layer == LYING_MOB_LAYER)
+ jumper.layer = CYBERWARE_LEAP_LAYER
+ // The landing moves the body onto a tile its drawing has already reached, so that move must not glide. The
+ // client only honours this for moves that come after it has heard of it, so it is set here, not at the landing.
+ if(jumper.animate_movement != NO_STEPS)
+ jumper.cyberware_leap_steps = jumper.animate_movement
+ jumper.animate_movement = NO_STEPS
+ animate(jumper, pixel_w = rest_w + dx, pixel_y = rest_y + dy, time = airtime, flags = ANIMATION_PARALLEL)
+ var/fall = airtime * 0.5
+ var/rise = airtime * 0.5
+ if(height >= peak)
+ fall = min(CYBERWARE_LEAP_SLAM, airtime * 0.5)
+ rise = (airtime - fall) * 0.4
+ animate(jumper, pixel_z = rest_z + peak, time = rise, easing = QUAD_EASING | EASE_OUT, flags = ANIMATION_PARALLEL)
+ addtimer(CALLBACK(GLOBAL_PROC, GLOBAL_PROC_REF(cyberware_leap_fall_fx), WEAKREF(jumper), fall), airtime - fall)
+ if(dx || dy)
+ new /obj/effect/temp_visual/cyberware_leap_shadow(launch, dx, dy, airtime)
+ jumper.cyberware_leap_until = world.time + airtime
+ addtimer(CALLBACK(GLOBAL_PROC, GLOBAL_PROC_REF(cyberware_leap_failsafe), WEAKREF(jumper)), airtime + 0.5 SECONDS)
+
+/// The last of a leap: the body comes down over its landing tile, arriving as the landing is due.
+/proc/cyberware_leap_fall_fx(datum/weakref/jumper_ref, fall)
+ var/mob/living/jumper = jumper_ref?.resolve()
+ if(QDELETED(jumper) || !jumper.cyberware_leap_until)
+ return
+ animate(jumper, pixel_z = cyberware_leap_rest(jumper, PIXEL_Z_OFFSET), time = fall, easing = QUAD_EASING | EASE_IN, flags = ANIMATION_PARALLEL)
+
+/**
+ * Touchdown: the arc has brought the body down over its landing tile, and the drawing goes back to the body. The
+ * move onto that tile, which the caller makes right after this, must not glide: the drawing is already there.
+ */
+/proc/cyberware_leap_touchdown_fx(mob/living/jumper)
+ if(QDELETED(jumper))
+ return
+ jumper.cyberware_leap_until = 0
+ if(jumper.layer == CYBERWARE_LEAP_LAYER)
+ jumper.layer = jumper.body_position == LYING_DOWN ? LYING_MOB_LAYER : initial(jumper.layer)
+ // Ends every track of the arc where it stands.
+ animate(jumper, pixel_w = cyberware_leap_rest(jumper, PIXEL_W_OFFSET), pixel_y = cyberware_leap_rest(jumper, PIXEL_Y_OFFSET), pixel_z = cyberware_leap_rest(jumper, PIXEL_Z_OFFSET), time = 0, flags = ANIMATION_END_NOW)
+ // Steps glide again once the landing's own move has gone out.
+ if(!isnull(jumper.cyberware_leap_steps))
+ addtimer(CALLBACK(GLOBAL_PROC, GLOBAL_PROC_REF(cyberware_leap_steps_back), WEAKREF(jumper)), 0.2 SECONDS)
+
+/// Gives a landed body its step animation back, unless it is already in the air again.
+/proc/cyberware_leap_steps_back(datum/weakref/jumper_ref)
+ var/mob/living/jumper = jumper_ref?.resolve()
+ if(QDELETED(jumper) || jumper.cyberware_leap_until || isnull(jumper.cyberware_leap_steps))
+ return
+ jumper.animate_movement = jumper.cyberware_leap_steps
+ jumper.cyberware_leap_steps = null
+
+/// A leap whose landing never ran (the pistons were pulled mid-air) is put back down.
+/proc/cyberware_leap_failsafe(datum/weakref/jumper_ref)
+ var/mob/living/jumper = jumper_ref?.resolve()
+ if(QDELETED(jumper) || !jumper.cyberware_leap_until || world.time < jumper.cyberware_leap_until)
+ return
+ cyberware_leap_touchdown_fx(jumper)
+
+/// The Piledriver's impact: a ring rolls out over the shockwave and the floor cracks.
+/proc/cyberware_piledriver_impact_fx(turf/where, reach)
+ if(isnull(where))
+ return
+ new /obj/effect/temp_visual/circle_wave/cyberware_slam/floor(where, reach)
+ new /obj/effect/temp_visual/cyberware_impact_cracks(where, "damaged1", 255)
+ for(var/direction in GLOB.cardinals)
+ var/turf/next = get_step(where, direction)
+ if(next)
+ new /obj/effect/temp_visual/cyberware_impact_cracks(next, "damaged5", 140)
+
+/// The shadow that runs along the floor under a leap.
+/obj/effect/temp_visual/cyberware_leap_shadow
+ icon = CYBERWARE_ANIM2_ICON
+ icon_state = "leap_shadow"
+ layer = BELOW_MOB_LAYER
+ randomdir = FALSE
+ duration = 0.3 SECONDS
+
+/obj/effect/temp_visual/cyberware_leap_shadow/Initialize(mapload, dx = 0, dy = 0, airtime = 0.2 SECONDS)
+ duration = airtime + 0.1 SECONDS
+ . = ..()
+ animate(src, pixel_x = dx, pixel_y = dy, time = airtime)
+ animate(src, transform = matrix().Scale(0.7), time = airtime * 0.5, easing = SINE_EASING | EASE_OUT, flags = ANIMATION_PARALLEL)
+ animate(transform = matrix(), time = airtime * 0.5, easing = SINE_EASING | EASE_IN)
+
+/// The Piledriver's ring: grey, out over the shockwave.
+/obj/effect/temp_visual/circle_wave/cyberware_slam
+ color = "#d8d4cc"
+ max_alpha = 220
+ duration = 0.4 SECONDS
+ layer = BELOW_MOB_LAYER
+
+/obj/effect/temp_visual/circle_wave/cyberware_slam/Initialize(mapload, reach = 2)
+ amount_to_scale = reach + 0.5
+ return ..()
+
+/// The same ring drawn on the floor, under everyone and everything standing in its way, whichever side of the
+/// landing they are on. The Piledriver's own; the plain one is also what a Gorilla fist throws.
+/obj/effect/temp_visual/circle_wave/cyberware_slam/floor
+ plane = FLOOR_PLANE
+ layer = ABOVE_OPEN_TURF_LAYER
+
+/// Cracks the Piledriver leaves in the floor. They fade on their own.
+/obj/effect/temp_visual/cyberware_impact_cracks
+ icon = 'icons/turf/damaged.dmi'
+ icon_state = "damaged1"
+ plane = FLOOR_PLANE
+ layer = ABOVE_OPEN_TURF_LAYER
+ randomdir = FALSE
+ duration = 8 SECONDS
+
+/obj/effect/temp_visual/cyberware_impact_cracks/Initialize(mapload, state = "damaged1", peak_alpha = 255)
+ . = ..()
+ var/turf/here = loc
+ // Nothing to crack in space, open air or a chasm.
+ if(!isfloorturf(here))
+ return INITIALIZE_HINT_QDEL
+ icon_state = state
+ alpha = peak_alpha
+ animate(src, alpha = peak_alpha, time = duration - 2 SECONDS)
+ animate(alpha = 0, time = 2 SECONDS)
+
+// =========================================================================
+// WEAPON TRAILS
+// =========================================================================
+
+/// A landed Scorch cut: embers fly off whoever it cut. The burning slash itself
+/// is the blade's impact (cyberware_anim.dm), so nothing else is drawn on top.
+/proc/cyberware_scorch_trail_fx(mob/living/user, mob/living/target)
+ var/turf/here = get_turf(target)
+ if(isnull(here))
+ return
+ new /obj/effect/temp_visual/cyberware_scorch_embers(here)
+
+/// Only the embers: the picture is blank.
+/obj/effect/temp_visual/cyberware_scorch_embers
+ layer = ABOVE_MOB_LAYER
+ randomdir = FALSE
+ duration = 0.7 SECONDS
+
+/obj/effect/temp_visual/cyberware_scorch_embers/Initialize(mapload)
+ . = ..()
+ particles = new /particles/embers/spark/cyberware_scorch
+ addtimer(CALLBACK(src, PROC_REF(stop_embers)), 1)
+
+/obj/effect/temp_visual/cyberware_scorch_embers/proc/stop_embers()
+ if(particles)
+ particles.spawning = 0
+
+/// One burst of embers off a Scorch cut.
+/particles/embers/spark/cyberware_scorch
+ count = 8
+ spawning = 8
+ lifespan = 0.6 SECONDS
+ fade = 0.4 SECONDS
+ velocity = generator(GEN_CIRCLE, 2, 3, SQUARE_RAND)
+ gravity = list(0, -0.15)
+
+/// A landed Widowline Arc swing: the wire lashes out to whatever it hit, a
+/// blue-white line held as long as the shock's crackle runs along it.
+/proc/cyberware_monowire_lash_fx(mob/living/user, atom/target)
+ if(QDELETED(user) || QDELETED(target) || get_turf(user) == get_turf(target))
+ return
+ user.Beam(target, icon_state = "monowire_lash", icon = CYBERWARE_ANIM2_ICON, time = 0.5 SECONDS)
+
+/// The Arc's shock: a small crackle runs along the wire and sparks burst where
+/// it touched. It's a wire, so there is no bolt of its own.
+/proc/cyberware_arc_crackle_fx(mob/living/user, atom/target)
+ if(QDELETED(user) || QDELETED(target))
+ return
+ if(get_turf(user) != get_turf(target))
+ user.Beam(target, icon_state = "arc_crackle", icon = CYBERWARE_ANIM2_ICON, time = 0.5 SECONDS)
+ var/turf/there = get_turf(target)
+ if(there)
+ new /obj/effect/temp_visual/cyberware_arc_hit(there)
+
+/obj/effect/temp_visual/cyberware_arc_hit
+ icon = CYBERWARE_ANIM2_LARGE_ICON
+ icon_state = "arc_hit"
+ pixel_x = -16
+ pixel_y = -16
+ layer = ABOVE_MOB_LAYER
+ randomdir = FALSE
+ duration = 0.4 SECONDS
+
+/obj/effect/temp_visual/cyberware_arc_hit/Initialize(mapload)
+ . = ..()
+ add_overlay(emissive_appearance(icon, icon_state, src))
+
+// =========================================================================
+// BROWNOUT
+// =========================================================================
+
+/// Step between the frames of a brownout stutter.
+#define BROWNOUT_STEP (0.1 SECONDS)
+
+/**
+ * The brownout picture for one bearer: every worn piece stutters, warms and
+ * dims together on the way down, and stutters back on on the way up. The
+ * brownout itself has already happened; this only plays the picture, and
+ * clearing it at any point leaves each piece drawn as its state says.
+ */
+/datum/component/chrome_brownout_show
+ dupe_mode = COMPONENT_DUPE_UNIQUE
+ /// Looks still to play, in order.
+ var/list/steps
+ /// Timer for the next look.
+ var/step_timer
+ /// Pieces whose look this show has set.
+ var/list/datum/weakref/touched = list()
+
+/datum/component/chrome_brownout_show/Initialize()
+ if(!iscarbon(parent))
+ return COMPONENT_INCOMPATIBLE
+
+/datum/component/chrome_brownout_show/RegisterWithParent()
+ RegisterSignal(parent, COMSIG_LIVING_DEATH, PROC_REF(on_death))
+
+/datum/component/chrome_brownout_show/UnregisterFromParent()
+ UnregisterSignal(parent, COMSIG_LIVING_DEATH)
+
+/datum/component/chrome_brownout_show/Destroy()
+ if(step_timer)
+ deltimer(step_timer)
+ step_timer = null
+ var/changed = FALSE
+ for(var/datum/weakref/piece_ref as anything in touched)
+ var/obj/item/organ/piece = piece_ref.resolve()
+ var/datum/component/cyberware/chrome = piece?.GetComponent(/datum/component/cyberware)
+ if(chrome?.brownout_look)
+ chrome.brownout_look = null
+ changed = TRUE
+ touched.Cut()
+ var/mob/living/carbon/bearer = parent
+ if(changed && !QDELETED(bearer))
+ bearer.update_body_parts()
+ return ..()
+
+/datum/component/chrome_brownout_show/proc/on_death(datum/source)
+ SIGNAL_HANDLER
+ qdel(src)
+
+/// Starts the stutter: down when [tripped], back up otherwise.
+/datum/component/chrome_brownout_show/proc/play(tripped)
+ if(tripped)
+ steps = list(CHROME_LOOK_WARM, CHROME_LOOK_BROWN, CHROME_LOOK_WARM, CHROME_LOOK_BROWN, CHROME_LOOK_BROWN, CHROME_LOOK_WARM, CHROME_LOOK_BROWN)
+ else
+ steps = list(CHROME_LOOK_BROWN, CHROME_LOOK_WARM, CHROME_LOOK_BROWN, CHROME_LOOK_BROWN, CHROME_LOOK_WARM, CHROME_LOOK_BROWN)
+ if(step_timer)
+ deltimer(step_timer)
+ step_timer = null
+ advance()
+
+/datum/component/chrome_brownout_show/proc/advance()
+ step_timer = null
+ if(!length(steps))
+ qdel(src)
+ return
+ var/look = popleft(steps)
+ var/mob/living/carbon/bearer = parent
+ for(var/obj/item/organ/piece as anything in get_installed_cyberware(bearer))
+ var/obj/item/organ/cyberimp/implant = piece
+ if(!istype(implant) || !implant.bodypart_aug)
+ continue
+ var/datum/component/cyberware/chrome = piece.GetComponent(/datum/component/cyberware)
+ if(!chrome)
+ continue
+ chrome.brownout_look = look
+ touched |= WEAKREF(piece)
+ bearer.update_body_parts()
+ step_timer = addtimer(CALLBACK(src, PROC_REF(advance)), BROWNOUT_STEP, TIMER_STOPPABLE)
+
+/// Hook for the brownout monitor: [bearer]'s chrome just went down ([tripped]) or came back.
+/proc/cyberware_brownout_fx(mob/living/carbon/bearer, tripped)
+ if(!iscarbon(bearer) || QDELETED(bearer))
+ return
+ if(bearer.stat == DEAD)
+ // No show on a corpse: just draw it as it is.
+ bearer.update_body_parts()
+ return
+ var/datum/component/chrome_brownout_show/show = bearer.GetComponent(/datum/component/chrome_brownout_show) || bearer.AddComponent(/datum/component/chrome_brownout_show)
+ show?.play(tripped)
+
+#undef BROWNOUT_STEP
+
+// =========================================================================
+// CHROME CRADLE RIG
+// =========================================================================
+
+/// Layers on the cradle: the rig over the ware, both over the patient.
+#define RIG_LAYER (ABOVE_MOB_LAYER + 0.02)
+#define RIG_WARE_LAYER (ABOVE_MOB_LAYER + 0.01)
+/// The gripper's tip, as pixel offsets of the carried ware's centre on the cradle tile.
+#define RIG_WARE_X 4
+#define RIG_WARE_PARKED_Y 19
+#define RIG_WARE_WORK_Y 2
+/// How long each move of the rig takes, matching its art.
+#define RIG_GRIP_TIME (0.6 SECONDS)
+#define RIG_PRESS_TIME (0.4 SECONDS)
+#define RIG_RETRACT_TIME (0.3 SECONDS)
+
+/obj/machinery/chrome_cradle
+ /// The rig's current move, or null while it is parked.
+ var/rig_phase
+ /// The rig drawing that move.
+ var/datum/weakref/rig_ref
+ /// The ware in the gripper.
+ var/datum/weakref/rig_ware_ref
+ /// Timer that parks the rig once it has pulled back.
+ var/rig_park_timer
+
+/obj/machinery/chrome_cradle/update_overlays()
+ . = ..()
+ if(rig_phase)
+ return
+ // The parked rig, over whoever lies on the slab.
+ var/mutable_appearance/rig = mutable_appearance(CHROME_CRADLE_RIG_ICON, "rig", RIG_LAYER)
+ rig.pixel_x = -16
+ rig.pixel_y = -16
+ . += rig
+ var/mutable_appearance/rig_glow = emissive_appearance(CHROME_CRADLE_RIG_ICON, "rig_e", src, RIG_LAYER)
+ rig_glow.pixel_x = -16
+ rig_glow.pixel_y = -16
+ . += rig_glow
+
+/// Plays one move of the rig: [phase] is a state of the rig sheet without its "rig_".
+/obj/machinery/chrome_cradle/proc/play_rig(phase)
+ if(rig_park_timer)
+ deltimer(rig_park_timer)
+ rig_park_timer = null
+ qdel(rig_ref?.resolve())
+ var/was_parked = isnull(rig_phase)
+ rig_phase = phase
+ if(was_parked)
+ update_appearance(UPDATE_OVERLAYS)
+ var/state = "rig_[phase]"
+ var/obj/effect/abstract/cyberware_anim/rig = cyberware_anim_play(src, CHROME_CRADLE_RIG_ICON, state, RIG_LAYER, CYBERWARE_INSTALL_TIME + 1 SECONDS)
+ if(!rig)
+ return
+ rig.pixel_x = -16
+ rig.pixel_y = -16
+ rig.add_overlay(emissive_appearance(CHROME_CRADLE_RIG_ICON, "[state]_e", src))
+ rig_ref = WEAKREF(rig)
+
+/// A servo beat of the install: the arms come down, the gripper brings the ware, then presses it in.
+/obj/machinery/chrome_cradle/proc/rig_beat(mid_stage)
+ if(busy_action != "install")
+ return
+ if(mid_stage)
+ play_rig("press")
+ var/obj/effect/abstract/cyberware_anim/carried = rig_ware_ref?.resolve()
+ if(carried)
+ animate(carried, pixel_y = RIG_WARE_WORK_Y - 3, transform = matrix().Scale(0.2), alpha = 0, time = RIG_PRESS_TIME, easing = QUAD_EASING | EASE_IN)
+ return
+ if(isnull(rig_phase) || rig_phase == "retract")
+ play_rig("arms_down")
+ return
+ play_rig("grip_down")
+ qdel(rig_ware_ref?.resolve())
+ if(QDELETED(busy_ware))
+ return
+ var/obj/effect/abstract/cyberware_anim/carried = cyberware_anim_play(src, busy_ware.icon, busy_ware.icon_state, RIG_WARE_LAYER, CYBERWARE_INSTALL_TIME)
+ if(!carried)
+ return
+ carried.transform = matrix().Scale(0.45)
+ carried.pixel_x = RIG_WARE_X
+ carried.pixel_y = RIG_WARE_PARKED_Y
+ animate(carried, pixel_y = RIG_WARE_WORK_Y, time = RIG_GRIP_TIME, easing = CUBIC_EASING | EASE_OUT)
+ rig_ware_ref = WEAKREF(carried)
+
+/// The sequence is over, done or not: the rig pulls back and parks.
+/obj/machinery/chrome_cradle/proc/rig_stop()
+ qdel(rig_ware_ref?.resolve())
+ rig_ware_ref = null
+ if(isnull(rig_phase) || rig_phase == "retract")
+ return
+ play_rig("retract")
+ rig_park_timer = addtimer(CALLBACK(src, PROC_REF(park_rig)), RIG_RETRACT_TIME, TIMER_STOPPABLE)
+
+/obj/machinery/chrome_cradle/proc/park_rig()
+ rig_park_timer = null
+ qdel(rig_ref?.resolve())
+ rig_ref = null
+ rig_phase = null
+ update_appearance(UPDATE_OVERLAYS)
+
+/// The ware boots in its new owner: a glitch runs over them.
+/obj/machinery/chrome_cradle/proc/rig_boot_fx(mob/living/carbon/patient)
+ cyberware_glitch_fx(patient, 0.2 SECONDS, flash = TRUE, inset = TRUE)
+
+#undef RIG_LAYER
+#undef RIG_WARE_LAYER
+#undef RIG_WARE_X
+#undef RIG_WARE_PARKED_Y
+#undef RIG_WARE_WORK_Y
+#undef RIG_GRIP_TIME
+#undef RIG_PRESS_TIME
+#undef RIG_RETRACT_TIME
+
+#undef CYBERWARE_LEAP_LAYER
+#undef CYBERWARE_LEAP_SLAM
+#undef CYBERWARE_ANIM2_ICON
+#undef CYBERWARE_ANIM2_LARGE_ICON
+#undef CHROME_CRADLE_RIG_ICON
+#undef CHROME_ANIM2_TOP_LAYER
+#undef CHROME_LOOK_BROWN
+#undef CHROME_LOOK_WARM
diff --git a/voidcrew/modules/cyberware/cyberware_base.dm b/voidcrew/modules/cyberware/cyberware_base.dm
index 367f077f491..c3c034580bc 100644
--- a/voidcrew/modules/cyberware/cyberware_base.dm
+++ b/voidcrew/modules/cyberware/cyberware_base.dm
@@ -20,38 +20,88 @@
* (autosurgeon.dm's "insertion failed!" path).
*/
/**
- * The worn-chrome overlay: tg's augment overlay, drawn one notch higher.
- * Stock augments sit at BODY_ADJ_LAYER, which the character-setup underwear
- * layer paints over, a bra would cover a Cascade spine rig. Chrome instead
- * draws at CYBERWARE_WORN_LAYER: over underwear and undershirts, still under
- * eyes, damage, and every EQUIPPED clothing layer. One override covers the
- * images, the emissive twins and the emissive blockers alike, because they
- * all take their layer from bitflag_to_layer().
+ * The worn-chrome overlay: tg's augment overlay, drawn higher. Stock augments
+ * sit at BODY_ADJ_LAYER, under underwear and every piece of clothing. Chrome
+ * draws at CYBERWARE_WORN_LAYER instead: over the jumpsuit, still under hands,
+ * gloves, shoes and suits. One override covers the images, the emissive twins
+ * and the emissive blockers alike, because they all take their layer from
+ * bitflag_to_layer().
+ *
+ * Plating grown into the skin (worn_under_clothes) is skin: it stays where
+ * stock augments sit, under everything that is worn.
*/
/datum/bodypart_overlay/augment/cyberware
/datum/bodypart_overlay/augment/cyberware/bitflag_to_layer(layer)
if(layer == EXTERNAL_ADJACENT)
+ var/obj/item/organ/cyberimp/cyberware/ware = implant
+ if(istype(ware) && ware.worn_under_clothes)
+ return ..()
return -CYBERWARE_WORN_LAYER
return ..()
+// Arm hardware whose worn sprite draws the folded item (the Mantis line) is not
+// drawn while that item is out in a hand. Hiding here also drops the overlay from
+// the limb's icon key, so update_body_parts() redraws the arm on the flip.
+/datum/bodypart_overlay/augment/cyberware/can_draw_on_bodypart(obj/item/bodypart/bodypart_owner)
+ // A bearer being deleted can lose its chrome before its clothes, and taking
+ // the clothes off redraws the limbs while this overlay is still on them.
+ if(!implant)
+ return FALSE
+ var/obj/item/organ/cyberimp/arm/toolkit/cyberware/arm_ware = implant
+ if(istype(arm_ware) && arm_ware.worn_overlay_hidden())
+ return FALSE
+ return ..()
+
+/**
+ * The parent puts an emissive blocker over every image it draws, the glow
+ * included. Same layer, later in the list, so a Cascade or Redline would black
+ * out its own glow. Glows skip the blocker and go last, after every blocker of
+ * this overlay, the same order tg's worn clothing uses.
+ */
+/datum/bodypart_overlay/augment/cyberware/get_overlay(layer, obj/item/bodypart/limb)
+ layer = bitflag_to_layer(layer)
+ var/list/imageset = implant.get_overlay(layer, limb)
+ // EMP static, dark and blink looks, the folding housing, the spine nodes (cyberware_anim.dm).
+ imageset = implant.cyberware_dress_worn(imageset, layer, limb)
+ if(blocks_emissive == EMISSIVE_BLOCK_NONE || !limb)
+ return imageset
+
+ var/list/all_images = list()
+ var/list/glows = list()
+ for(var/image/overlay as anything in imageset)
+ if(PLANE_TO_TRUE(overlay.plane) == EMISSIVE_PLANE)
+ glows += overlay
+ continue
+ all_images += overlay
+ all_images += emissive_blocker(overlay.icon, overlay.icon_state, limb, layer = overlay.layer, alpha = overlay.alpha)
+ return all_images + glows
+
+/// The animation look is part of the limb's render key, so changing it redraws the limb.
+/datum/bodypart_overlay/augment/cyberware/generate_icon_cache()
+ . = ..()
+ if(implant)
+ . += implant.cyberware_worn_key()
+
/obj/item/organ/cyberimp/cyberware
name = "cyberware"
desc = "Aftermarket chrome. Someone sat in a parlor chair for this."
icon = 'voidcrew/modules/cyberware/icons/cyberware.dmi'
// Worn look: ware that reads from outside the body sets aug_overlay to a
// state in this sheet and tg's bodypart-overlay pipeline draws it ON the
- // bearer, over the character-setup underwear, under equipped clothing.
+ // bearer, over the jumpsuit, under suits and armour.
// Stack enough chrome and you stop looking human.
aug_icon = 'voidcrew/modules/cyberware/icons/cyberware_worn.dmi'
organ_flags = ORGAN_ROBOTIC
- failing_desc = "is dark and inert, browned out, EMP-scrambled, or plain broken."
+ failing_desc = "is dark and inert."
/// Neural load this ware puts on its bearer. 0-12; see the tier bands.
var/chrome_load = 1
/// CYBERWARE_TIER_*, drives accent colours and the parlor experience.
var/tier = CYBERWARE_TIER_1
/// Chrome capacity this ware grants while installed (the Governor hook).
var/chrome_capacity_bonus = 0
+ /// TRUE for ware that is part of the skin: its worn look draws under clothes, not over the jumpsuit.
+ var/worn_under_clothes = FALSE
/obj/item/organ/cyberimp/cyberware/Initialize(mapload)
. = ..()
@@ -126,6 +176,8 @@
name = "cyberware optics"
desc = "Aftermarket eyes. The irises catch the light in a way real ones don't."
icon = 'voidcrew/modules/cyberware/icons/cyberware.dmi'
+ // The base is never sold; it borrows the plainest optics' sprite so it has one.
+ icon_state = "nightshade"
actions_types = list(/datum/action/cooldown/cyberware/chrome_read)
/// Neural load this ware puts on its bearer.
var/chrome_load = 1
@@ -198,6 +250,8 @@
name = "arm cyberware"
desc = "Aftermarket arm hardware. Folds away until you want it."
icon = 'voidcrew/modules/cyberware/icons/cyberware.dmi'
+ // The base is never sold; it borrows a plain arm housing's sprite so it has one.
+ icon_state = "fixers"
// Worn look (see the cyberware base above): the arm pipeline derives
// "[aug_overlay]_left/_right" from the installed zone on its own. No
// separate hand states in our sheet, so the hand overlay stays off.
@@ -209,6 +263,9 @@
var/tier = CYBERWARE_TIER_1
/// Chrome capacity this ware grants while installed.
var/chrome_capacity_bonus = 0
+ /// TRUE when the worn sprite draws the deployable folded into its housing
+ /// (the Mantis line). The worn overlay hides while that item is out in a hand.
+ var/hide_worn_while_deployed = FALSE
/obj/item/organ/cyberimp/arm/toolkit/cyberware/Initialize(mapload)
. = ..()
@@ -241,6 +298,12 @@
if(!special)
cyberware_boot_splash(arm_owner, src)
+// tg's arm implants register these two on the bearer and never let go on removal, so a
+// housing sold on or reinstalled elsewhere kept answering to the body it was pulled from.
+/obj/item/organ/cyberimp/arm/toolkit/cyberware/on_mob_remove(mob/living/carbon/arm_owner, special = FALSE, movement_flags)
+ . = ..()
+ UnregisterSignal(arm_owner, list(COMSIG_CARBON_POST_ATTACH_LIMB, COMSIG_KB_MOB_DROPITEM_DOWN))
+
// Deploying and stowing arm hardware is the most visible thing a piece of
// chrome does, so it is also the ink's most common cue: every toolkit arm
// (Fixer's Fingers picking a tool off the radial, the Rockjaw drill, blades,
@@ -254,12 +317,39 @@
// (augments_arms.dm), so "did it deploy" is "did it leave us", not "is it set".
if(active_item && !(active_item in src))
cyberware_ink_pulse(owner, CYBERWARE_INK_HARD)
+ if(hide_worn_while_deployed)
+ // Any way out of the hand that isn't Retract() (a forced drop, a
+ // deleted blade) must put the folded sprite back as well.
+ RegisterSignal(active_item, COMSIG_ITEM_DROPPED, PROC_REF(on_deployed_item_dropped), override = TRUE)
+ play_blade_unfold(active_item)
+ owner.update_body_parts()
/obj/item/organ/cyberimp/arm/toolkit/cyberware/Retract()
var/mob/living/carbon/stowing_owner = owner
+ var/obj/item/stowing = active_item
+ // Only a blade coming out of the hand folds back in; one picked off the floor just stows.
+ var/was_held = stowing && stowing_owner?.is_holding(stowing)
. = ..()
if(.)
cyberware_ink_pulse(stowing_owner, CYBERWARE_INK_SOFT)
+ if(hide_worn_while_deployed)
+ UnregisterSignal(stowing, COMSIG_ITEM_DROPPED)
+ if(was_held && owner)
+ play_blade_fold()
+ stowing_owner?.update_body_parts()
+
+/// TRUE while the worn overlay should not draw: this hardware's worn sprite
+/// shows its item folded away, and that item is out in the bearer's hand.
+/// Stowed, dropped, deleted or with no bearer, the overlay draws.
+/obj/item/organ/cyberimp/arm/toolkit/cyberware/proc/worn_overlay_hidden()
+ return hide_worn_while_deployed && owner && active_item && owner.is_holding(active_item)
+
+/// Signal proc for [COMSIG_ITEM_DROPPED] on a deployed item whose folded sprite
+/// is part of the worn overlay. Redraws the arm so the housing shows again.
+/obj/item/organ/cyberimp/arm/toolkit/cyberware/proc/on_deployed_item_dropped(obj/item/source, mob/user)
+ SIGNAL_HANDLER
+ UnregisterSignal(source, COMSIG_ITEM_DROPPED)
+ owner?.update_body_parts()
/obj/item/organ/cyberimp/arm/toolkit/cyberware/emp_act(severity)
. = ..() // toolkit's own EMP retract fires first
@@ -296,12 +386,23 @@
/proc/cyberware_insert_check(obj/item/organ/ware, mob/living/carbon/target, silent = FALSE, mob/feedback_to)
if(!iscarbon(target))
return FALSE
+ if(!cyberware_has_limb(ware, target, silent))
+ return FALSE
if(installed_capacity_check(target, list(ware), ware.cyberware_get_incumbents(target), silent))
return TRUE
if(!silent && feedback_to && feedback_to != target)
feedback_to.balloon_alert(feedback_to, "no neural headroom!")
return FALSE
+/// Whether the body still has the limb this ware lives in. Chrome cannot go into a limb that
+/// is gone: the insert would seat it on a body with nothing to hold it.
+/proc/cyberware_has_limb(obj/item/organ/ware, mob/living/carbon/target, silent = FALSE)
+ if(target.get_bodypart(deprecise_zone(ware.zone)))
+ return TRUE
+ if(!silent)
+ target.balloon_alert(target, "no limb for it!")
+ return FALSE
+
/**
* Full gate for a live (non-special) Insert(): a legit install context must
* be open for this receiver, and the netted capacity must fit. The context
@@ -321,6 +422,9 @@
receiver.balloon_alert(receiver, "needs a real rig!")
to_chat(receiver, span_warning("The autosurgeon chokes. This needs a real rig."))
return FALSE
+ // Even a forced window cannot seat chrome in a limb that is not there.
+ if(!cyberware_has_limb(ware, receiver))
+ return FALSE
if(!chrome.install_context_forced && !cyberware_insert_check(ware, receiver))
return FALSE
chrome.clear_install_context()
@@ -450,6 +554,65 @@
return FALSE
return TRUE
+/**
+ * A click made with a chrome ability armed belongs to the chrome, refused or
+ * not. tg's version returns FALSE on a refusal, and ClickOn() then carries on
+ * as an ordinary click: a held gun fires at whoever was out of reach, an empty
+ * hand punches whoever the ability would not take. So an armed ability takes
+ * the one click it is handed, and only that one.
+ *
+ * Chrome abilities have no button of their own to click off (chrome_hud.dm),
+ * so the aim must never outlive the click. A refusal (wrong target, out of
+ * reach, no line of sight) disarms: the ability's own balloon says why, and
+ * the next click is an ordinary one. A right-click disarms without trying. A
+ * button that has gone dark since it was armed (EMP, cooldown started
+ * elsewhere, stun) disarms too. None of these touch the cooldown.
+ *
+ * Only for a real click on an armed ability. Trigger() with a target (AI and
+ * scripted callers) pass through unchanged.
+ */
+/datum/action/cooldown/cyberware/InterceptClickOn(mob/living/clicker, params, atom/target)
+ var/armed = !isnull(clicker) && clicker.click_intercept == src
+ if(!armed)
+ return ..()
+ // The click is the player acting, so the idle drop no longer applies (a channel can outlast it).
+ stop_timer()
+ if(params && LAZYACCESS(params2list(params), RIGHT_CLICK))
+ unset_click_ability(clicker, refund_cooldown = TRUE)
+ return TRUE
+ if(!IsAvailable(feedback = TRUE))
+ unset_click_ability(clicker, refund_cooldown = TRUE)
+ return TRUE
+ if(..())
+ return TRUE
+ // Refused. Only drop our own aim: a channel that slept may have let another ability arm meanwhile.
+ if(clicker.click_intercept == src)
+ unset_click_ability(clicker, refund_cooldown = TRUE)
+ return TRUE
+
+/// The timer that drops an aim left waiting. (Names reused on purpose: the CI build sits at DM's identifier limit.)
+/datum/action/cooldown/cyberware/var/timeout_timer
+
+/datum/action/cooldown/cyberware/set_click_ability(mob/on_who)
+ . = ..()
+ stop_timer()
+ timeout_timer = addtimer(CALLBACK(src, PROC_REF(on_timeout)), 10 SECONDS, TIMER_STOPPABLE|TIMER_DELETE_ME)
+
+/datum/action/cooldown/cyberware/unset_click_ability(mob/on_who, refund_cooldown = TRUE)
+ stop_timer()
+ return ..()
+
+/datum/action/cooldown/cyberware/proc/stop_timer()
+ if(timeout_timer)
+ deltimer(timeout_timer)
+ timeout_timer = null
+
+/// Armed and never clicked: the aim drops, cooldown untouched.
+/datum/action/cooldown/cyberware/proc/on_timeout()
+ timeout_timer = null
+ if(owner?.click_intercept == src)
+ unset_click_ability(owner, refund_cooldown = TRUE)
+
/**
* Is there a clear arc from [here] to [destination]? Shared by every leg
* ware that throws its owner through the air: Hopper Pistons, Meteor
diff --git a/voidcrew/modules/cyberware/cyberware_component.dm b/voidcrew/modules/cyberware/cyberware_component.dm
index ef1b1480118..e7f79a889ef 100644
--- a/voidcrew/modules/cyberware/cyberware_component.dm
+++ b/voidcrew/modules/cyberware/cyberware_component.dm
@@ -66,6 +66,8 @@
if(emp_timer)
deltimer(emp_timer)
emp_timer = null
+ var/obj/item/organ/ware = parent
+ ware?.cyberware_anim_clear()
install_context_ref = null
install_context_forced = FALSE
return ..()
@@ -101,6 +103,8 @@
settle_passives(old_owner)
set_browned_out(FALSE)
cyberware_reevaluate_brownout(old_owner)
+ var/obj/item/organ/ware = parent
+ ware.cyberware_anim_clear(old_owner)
/// Signal proc for [COMSIG_CARBON_GAIN_ORGAN] and [COMSIG_CARBON_LOSE_ORGAN]
/// on the bearer. Every installed ware listens with its own component, so a
@@ -131,6 +135,8 @@
if(emp_timer)
deltimer(emp_timer)
emp_timer = addtimer(CALLBACK(src, PROC_REF(finish_emp_reboot)), CYBERWARE_EMP_DOWNTIME / max(severity, 1), TIMER_STOPPABLE)
+ // Static, arcs, then dark (cyberware_anim.dm). Only the picture staggers.
+ cyberware_emp_hit_fx(parent)
/datum/component/cyberware/proc/finish_emp_reboot()
emp_timer = null
@@ -141,6 +147,9 @@
var/obj/item/organ/ware = parent
if(ware.owner && !(ware.organ_flags & ORGAN_FAILING))
ware.owner.balloon_alert(ware.owner, "[ware.name] back online")
+ cyberware_emp_reboot_fx(ware)
+ else
+ ware.owner?.update_body_parts()
/// Cradle tune-up: cancels any pending EMP reboot and repairs the organ
/// outright. Cannot fix a brownout, that is a load problem, not damage.
@@ -149,9 +158,11 @@
deltimer(emp_timer)
emp_timer = null
emp_down = FALSE
+ emp_look = null
var/obj/item/organ/ware = parent
ware.set_organ_damage(0)
update_failing()
+ ware.owner?.update_body_parts()
/// Settles ORGAN_FAILING from our two failure sources. Careful not to clear
/// a failure earned through organ damage: only lift the flag while the organ
@@ -415,6 +426,9 @@ GLOBAL_LIST_INIT(installed_capacity_costs, list(
newly_tripped = TRUE
else
any_recovered = TRUE
+ if(newly_tripped || any_recovered)
+ // Worn chrome stutters down or back up (cyberware_anim2.dm).
+ cyberware_brownout_fx(target, newly_tripped)
if(newly_tripped)
target.balloon_alert(target, "chrome brownout!")
to_chat(target, span_boldwarning("Your chrome goes dark."))
diff --git a/voidcrew/modules/cyberware/cyberware_stealth.dm b/voidcrew/modules/cyberware/cyberware_stealth.dm
index a56766082b9..9e1aee21738 100644
--- a/voidcrew/modules/cyberware/cyberware_stealth.dm
+++ b/voidcrew/modules/cyberware/cyberware_stealth.dm
@@ -4,14 +4,39 @@
* The Ghostskin Weave (ware_military.dm) fades its bearer to an alpha shimmer,
* which fools humans but means nothing to NPC AI, basic mobs target by
* reference, not by pixels. This file is the AI half of the camo: a trait the
- * weave holds while active, and a chained override of the basic-mob targeting
- * strategy that refuses camo'd targets beyond point-blank range.
+ * weave holds while active, one shared question (cyberware_camo_hides()), and
+ * the hooks that ask it for everything that hunts the bearer by sight.
*
- * The override lives HERE, in a cyberware-owned file, rather than in the
+ * Everything that grants TRAIT_CYBER_CAMO is hidden from:
+ * - basic mobs and human NPCs (the targeting strategy below, which every
+ * strategy subtype inherits through its own `..()` calls: the human NPC
+ * strategy, pirate crews and boarders, bounty criminals and their crews,
+ * ruin troopers and hermits, patrols, the club's people),
+ * - simple_animal hostiles (hermits, ice demons, polar bears, ...),
+ * - every porta_turret subtype: ruin and Syndicate turrets, hull defense
+ * turrets, player-built turrets, trader and player outpost turrets, including
+ * a player an outpost has marked,
+ * and, through one-line calls in the files that own them, the scripted target
+ * picks that never go through a /basic strategy: the club's people
+ * (mafia_target_ok()), the lich's thralls and the outpost experiment forms
+ * (their form's can_target()).
+ *
+ * What camo does NOT hide from: anything within CYBERWARE_CAMO_SPOT_RANGE
+ * tiles, the mobs in GLOB.cyberware_camo_piercing_types (megafauna, elites
+ * and the bosses that are still basic mobs), and every human NPC of boss rank
+ * (npc_rank HUMAN_NPC_RANK_BOSS: faction pirate bosses, the NT patrol's
+ * director, bounty bosses, the kingpin, the club's don). Ship weapons that
+ * target ships, not people, are not covered here. The street Flickerskin
+ * never grants the trait at all.
+ *
+ * The overrides live HERE, in a cyberware-owned file, rather than in the
* shared AI files: defining the same proc a second time is this fork's blessed
* way to patch upstream behavior (the later .dme include wraps the earlier
- * definition, and `..()` calls straight into it). Nothing outside this module
- * changes on disk.
+ * definition, and `..()` calls straight into it). That only works for a proc
+ * whose first definition is included BEFORE this file, so the hooks for the
+ * voidcrew files that include after it (the lich, the club, the experiment
+ * forms) are a single call to cyberware_camo_hides() in the proc that picks
+ * the target.
*
* TRAIT_CYBER_CAMO itself lives in voidcrew/_DEFINES/cyberware.dm, because
* the chrome read (cyberware_scan.dm) is included ahead of this file and also
@@ -23,6 +48,49 @@
/// fauna pack point-blank is still a bad idea. The PvP/PvE counterplay floor.
#define CYBERWARE_CAMO_SPOT_RANGE 2
+/// Mobs that see straight through optical camo, whatever it is: megafauna,
+/// mining elites and the bosses and mini bosses of the ruins, lairs, outposts
+/// and vestiges that are still basic mobs. A typecache, so subtypes count.
+/// Bosses that are people (human NPCs) see through it by rank instead, in
+/// cyberware_camo_hides().
+GLOBAL_LIST_INIT(cyberware_camo_piercing_types, typecacheof(list(
+ /mob/living/simple_animal/hostile/megafauna,
+ /mob/living/basic/trooper/pirate/faction/boss,
+ /mob/living/simple_animal/hostile/asteroid/elite,
+ /mob/living/basic/boss,
+ /mob/living/basic/lich,
+ /mob/living/basic/hoarfrost_matriarch,
+ /mob/living/basic/bounty_lair_boss,
+ /mob/living/basic/outpost_experiment/horror,
+ /mob/living/basic/alien/queen/large/derelict,
+ /mob/living/basic/vestige_oracle,
+ /mob/living/basic/vestige_mutant,
+ /mob/living/basic/vestige_warframe,
+)))
+
+/**
+ * Whether optical camo hides `target` from `viewer` right now: the target holds
+ * TRAIT_CYBER_CAMO, the viewer is further off than CYBERWARE_CAMO_SPOT_RANGE and
+ * the viewer is not one of the mobs that sees through it (a piercing type, or a
+ * human NPC of boss rank). `viewer` is whatever
+ * is doing the looking (a mob, a turret, a creature picking its next victim).
+ * Anything that is not a living mob is never hidden.
+ */
+/proc/cyberware_camo_hides(mob/living/target, atom/viewer)
+ if(!isliving(target) || !HAS_TRAIT(target, TRAIT_CYBER_CAMO))
+ return FALSE
+ if(!viewer)
+ return TRUE
+ if(get_dist(viewer, target) <= CYBERWARE_CAMO_SPOT_RANGE)
+ return FALSE
+ if(is_type_in_typecache(viewer, GLOB.cyberware_camo_piercing_types))
+ return FALSE
+ if(ishumannpc(viewer))
+ var/mob/living/carbon/human/npc/person = viewer
+ if(person.npc_rank >= HUMAN_NPC_RANK_BOSS)
+ return FALSE
+ return TRUE
+
/**
* Chained override of the stock basic targeting strategy (base definition:
* code/datums/ai/basic_mobs/targeting_strategies/basic_targeting_strategy.dm).
@@ -35,10 +103,49 @@
. = ..()
if(!.)
return
- if(!isliving(the_target))
- return .
- if(!HAS_TRAIT(the_target, TRAIT_CYBER_CAMO))
- return .
- if(get_dist(living_mob, the_target) <= CYBERWARE_CAMO_SPOT_RANGE)
- return .
- return FALSE
+ if(cyberware_camo_hides(the_target, living_mob))
+ return FALSE
+ return .
+
+/**
+ * The same for simple_animal hostiles, whose single gate is CanAttack() (base
+ * definition: code/modules/mob/living/simple_animal/hostile/hostile.dm). They
+ * ask it when they pick a target and again every tick they chase one, so a
+ * camo field that goes up mid-chase makes them lose the target.
+ */
+/mob/living/simple_animal/hostile/CanAttack(atom/the_target)
+ . = ..()
+ if(!.)
+ return
+ if(cyberware_camo_hides(the_target, src))
+ return FALSE
+ return .
+
+/**
+ * Every porta_turret, however it finds its targets (the stock scan, the hull
+ * defense turret's, the outpost's), hands the list it wants to shoot at to
+ * tryToShootAt(). Anyone camo'd and out of spot range is dropped from it. A
+ * turret left with nothing behaves as one that found nothing (the cover goes
+ * back down) instead of standing up for a target it cannot see.
+ */
+/obj/machinery/porta_turret/tryToShootAt(list/atom/movable/targets)
+ var/hid_someone = FALSE
+ for(var/mob/living/candidate in targets.Copy())
+ if(cyberware_camo_hides(candidate, src))
+ targets -= candidate
+ hid_someone = TRUE
+ if(hid_someone && !length(targets))
+ if(!always_up)
+ popDown()
+ return FALSE
+ return ..()
+
+/**
+ * Drops the bearer's camo field, if it is up. For the abilities that hurt someone without going
+ * through an attack the field listens for: a lunge, a landing. Same collapse as any other
+ * contact.
+ */
+/proc/cyberware_camo_drop(mob/living/carbon/bearer, reason = "field contact")
+ var/obj/item/organ/cyberimp/cyberware/ghostskin/weave = bearer?.get_organ_slot(ORGAN_SLOT_CYBERWARE_SKIN)
+ if(istype(weave))
+ weave.break_camo(bearer, reason = reason)
diff --git a/voidcrew/modules/cyberware/icons/chrome_cradle_rig.dmi b/voidcrew/modules/cyberware/icons/chrome_cradle_rig.dmi
new file mode 100644
index 0000000000000000000000000000000000000000..8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rp9@#yUG45XQW8DZwQ>6~Rf#NE9WlsZp`p2~g_e7&1yShk
z$4^AEJrEm*^3@NNmO8IDic~Us`>PUTflu=H_mBS+u-d&?cBq*|$`t_jM{ooH$W{;$
y1*#SQ{)294R9PsykCZ99PxRjvb^z!&0d3nc`+-E+dXTc#tGS7#am8u3TmJzfwK~=S
literal 0
HcmV?d00001
diff --git a/voidcrew/modules/cyberware/icons/cyberware.dmi b/voidcrew/modules/cyberware/icons/cyberware.dmi
index 81028cb0dab1d475ebb5c21158b05ce3b37cbbb7..4b1b0b628165b3056a0ee3e1e14f8763409e4fb4 100644
GIT binary patch
literal 63256
zcmbSyQ*>lq)NO^`>6jg>W81dvbZpyp$F^7iHfWHXJ-?olN>E&lT!)oO>emO=bx#hYN>~w9}{^e*Qq$k+6V+T9HTt6&kGpC4k
zYxk=JgYMd}4INYE>)EhHfMeFp(aT$AP7167Pk+CMSKHD@%DY2TUatQ~iD(<`p-}&8
zX{2ZX;ii*BI>ci)J}b<~njD>na5gT>8?htvANiIvL7J)ge5Wn<>8DsM>FfAzMVv3w
z9A7qgylriX#^14yet+g@mlfzh&k(%Ngsr;C2?~-Xase+9Q(`q%$Bbk06L0=?3
zJ4?AZ?>~;1P!1jyyLsgiqT#9ov4o28Az}bbW(+;!Uf+$ml4bt78A*JNkDGziV}zk1NJXKXs}ozxI6I`W5!DOqouS
z4N2tofhVCRE#t8=5_wDV7ro%b{itoSvz;?+7$!4%M6ifSTnLn
zF1RSoGOEd{Qu`6XlmT!Hw)48lJwmxE+)BZ&&Vqz1QdD>sx)LuwBo{8?8;{9p(`Cu)Wx@c!y@I5Opo;tYdA6H7+RECaUtx{SX*X&t_OrnBq)zYh{vg2N%G|7lxAi-?S*pvi*ppP7@7Z3)@Bx-jmuy-Um^_*x#DphN@6
z!mEDvd?Jg^p?N4*b(->qgg8-*&6*1OK9{*nf?gc_`nYx2!*_n;4kh?XmXMl8DnB{N
zs^)O$e;}Q-%R8TAYr3HQJl++K@Gp>Fn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