Refactors some signal misuse with the stationloving component (#70496)

* Refactors secluded locs

* Tweak

* Use traits instead of signals

* Review

* Type error
This commit is contained in:
MrMelbert
2022-10-25 15:00:26 -04:00
committed by GitHub
parent cf7df2f3c4
commit bfcfa1e3bb
10 changed files with 139 additions and 58 deletions
+1 -4
View File
@@ -106,16 +106,13 @@
/obj/structure/holosign/barrier/atmos/Initialize(mapload)
. = ..()
var/turf/local = get_turf(loc)
ADD_TRAIT(local, TRAIT_FIREDOOR_STOP, TRAIT_GENERIC)
air_update_turf(TRUE, TRUE)
AddElement(/datum/element/trait_loc, TRAIT_FIREDOOR_STOP)
/obj/structure/holosign/barrier/atmos/block_superconductivity() //Didn't used to do this, but it's "normal", and will help ease heat flow transitions with the players.
return TRUE
/obj/structure/holosign/barrier/atmos/Destroy()
var/turf/local = get_turf(loc)
REMOVE_TRAIT(local, TRAIT_FIREDOOR_STOP, TRAIT_GENERIC)
air_update_turf(TRUE, FALSE)
return ..()