Enforces that the tesla rig requires a military tesla spine to work (#22154)

Done after talks with Catsin/taj lore.

The tesla rig has been removed from the golden deep submap and replaced
with more available rigs, and the rig now requires a military grade
tesla spine to function.
This commit is contained in:
Casper3667
2026-04-08 15:55:26 +00:00
committed by GitHub
parent 7c4cd46fa3
commit 8bc224d453
3 changed files with 18 additions and 2 deletions
@@ -209,10 +209,18 @@
..()
if(wearer)
var/obj/item/organ/internal/augment/tesla/T = wearer.internal_organs_by_name[BP_AUG_TESLA]
if(T && !T.is_broken())
if(istype(T, /obj/item/organ/internal/augment/tesla/advanced) && !T.is_broken())
if(cell)
cell.give(T.max_charges)
/obj/item/rig/tesla/toggle_seals(mob/initiator, instant)
var/obj/item/organ/internal/augment/tesla/T = wearer.internal_organs_by_name[BP_AUG_TESLA]
if(istype(T, /obj/item/organ/internal/augment/tesla/advanced) && !T.is_broken())
. = ..()
else
to_chat(initiator, SPAN_DANGER("Cannot toggle suit: A functional, military grade tesla spine is required to use the suit."))
return FALSE
/obj/item/rig/tesla/ninja
initial_modules = list(
@@ -0,0 +1,7 @@
author: TheGreyWolf
delete-after: True
changes:
- rscadd: "The tesla hardsuit now requires an advanced military grade tesla spine to use."
- rscdel: "The tesla hardsuit has been removed from the golden deep submap and replaced with a hazard and AMI rig instead."
@@ -808,8 +808,9 @@
name = "secure crate";
req_one_access = list(229, 217)
},
/obj/item/rig/tesla,
/obj/random/dirt_75,
/obj/item/rig/hazard,
/obj/item/rig/hazmat,
/turf/template_noop,
/area/template_noop)
"ZZ" = (