[MIRROR] ATC Refactor (#10422)

Co-authored-by: Cameron Lennox <killer65311@gmail.com>
Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
CHOMPStation2StaffMirrorBot
2025-03-16 01:03:17 +01:00
committed by GitHub
co-authored by Cameron Lennox Kashargul
parent 1ad7827d9d
commit f543fd71e2
30 changed files with 1044 additions and 3241 deletions
+5 -1
View File
@@ -49,7 +49,9 @@
var/unique_identifier //Define this for objs that we want to be able to rename. Needed to avoid compiler errors if not included.
/obj/effect/overmap/visitable/Initialize(mapload, dyn_poi) // CHOMPEdit
var/mob_announce_cooldown = 0 //Define this to make it so when visited, the ATC will announce their arrival. Only used if you have a Crossed/Uncrossed that calls announce_atc w/ announce_atc being redefined.
/obj/effect/overmap/visitable/Initialize(mapload, dyn_poi) //CHOMPEdit - dyn_poi
. = ..()
if(. == INITIALIZE_HINT_QDEL)
return
@@ -249,6 +251,8 @@
icon_state = "sector"
anchored = TRUE
/obj/effect/overmap/visitable/sector/proc/announce_atc(var/atom/movable/AM, var/going = FALSE) //Base proc. Used for virgo3b at this time.
return
// Because of the way these are spawned, they will potentially have their invisibility adjusted by the turfs they are mapped on
// prior to being moved to the overmap. This blocks that. Use set_invisibility to adjust invisibility as needed instead.
/obj/effect/overmap/visitable/sector/hide()