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(