mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-22 04:22:39 +01:00
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:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user