From 8bc224d453e47f2325308e4e30809143a4b2fd56 Mon Sep 17 00:00:00 2001 From: Casper3667 <8396443+Casper3667@users.noreply.github.com> Date: Wed, 8 Apr 2026 17:55:26 +0200 Subject: [PATCH] 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. --- code/modules/clothing/spacesuits/rig/suits/alien.dm | 10 +++++++++- html/changelogs/TeslaSpineRestrictions.yml | 7 +++++++ maps/away/ships/golden_deep/golden_deep_submaps.dmm | 3 ++- 3 files changed, 18 insertions(+), 2 deletions(-) create mode 100644 html/changelogs/TeslaSpineRestrictions.yml diff --git a/code/modules/clothing/spacesuits/rig/suits/alien.dm b/code/modules/clothing/spacesuits/rig/suits/alien.dm index 6d5a880b923..30625850c99 100644 --- a/code/modules/clothing/spacesuits/rig/suits/alien.dm +++ b/code/modules/clothing/spacesuits/rig/suits/alien.dm @@ -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( diff --git a/html/changelogs/TeslaSpineRestrictions.yml b/html/changelogs/TeslaSpineRestrictions.yml new file mode 100644 index 00000000000..a4a5bb4e2b7 --- /dev/null +++ b/html/changelogs/TeslaSpineRestrictions.yml @@ -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." diff --git a/maps/away/ships/golden_deep/golden_deep_submaps.dmm b/maps/away/ships/golden_deep/golden_deep_submaps.dmm index 259d28371ad..d76a2ac5af9 100644 --- a/maps/away/ships/golden_deep/golden_deep_submaps.dmm +++ b/maps/away/ships/golden_deep/golden_deep_submaps.dmm @@ -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" = (