mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-07-21 12:56:10 +01:00
Updated SSgarbage (#18173)
* pain * sadfas * sdfa * sdfasf * sfa * sdf * might the lord have mercy on our soul * i cri everidai * adeste fideles * sdf * where will this lead, what's coming next, from your inventions * dear lord * gjvhk * i cri everidai * fsgf * sdfa * sdaf * hiuhi
This commit is contained in:
@@ -109,5 +109,5 @@
|
||||
marker = null
|
||||
radar = null
|
||||
|
||||
QDEL_NULL_LIST(images)
|
||||
QDEL_LIST(images)
|
||||
. = ..()
|
||||
|
||||
@@ -49,6 +49,7 @@
|
||||
destroy_dummies()
|
||||
ammunition.Cut()
|
||||
barrel = null
|
||||
LAZYREMOVE(linked?.ship_weapons, src)
|
||||
return ..()
|
||||
|
||||
/obj/machinery/ship_weapon/ex_act(severity)
|
||||
|
||||
@@ -288,6 +288,27 @@
|
||||
..()
|
||||
return INITIALIZE_HINT_LATELOAD
|
||||
|
||||
/obj/machinery/leviathan_safeguard/LateInitialize()
|
||||
if(current_map.use_overmap && !linked)
|
||||
var/my_sector = GLOB.map_sectors["[z]"]
|
||||
if (istype(my_sector, /obj/effect/overmap/visitable))
|
||||
attempt_hook_up(my_sector)
|
||||
if(linked)
|
||||
ASSERT(isnull(linked.levi_safeguard)) //There should only ever be one
|
||||
linked.levi_safeguard = src
|
||||
for(var/obj/machinery/leviathan_button/LB in range(3, src))
|
||||
if(istype(LB))
|
||||
button = LB
|
||||
|
||||
/obj/machinery/leviathan_safeguard/Destroy()
|
||||
if(linked)
|
||||
linked.levi_safeguard = null
|
||||
|
||||
QDEL_NULL(key)
|
||||
button = null
|
||||
|
||||
. = ..()
|
||||
|
||||
/obj/machinery/leviathan_safeguard/ex_act(severity)
|
||||
return
|
||||
|
||||
@@ -296,22 +317,6 @@
|
||||
|
||||
return
|
||||
|
||||
/obj/machinery/leviathan_safeguard/Destroy()
|
||||
QDEL_NULL(key)
|
||||
button = null
|
||||
return ..()
|
||||
|
||||
/obj/machinery/leviathan_safeguard/LateInitialize()
|
||||
if(current_map.use_overmap && !linked)
|
||||
var/my_sector = GLOB.map_sectors["[z]"]
|
||||
if (istype(my_sector, /obj/effect/overmap/visitable))
|
||||
attempt_hook_up(my_sector)
|
||||
if(linked)
|
||||
linked.levi_safeguard = src
|
||||
for(var/obj/machinery/leviathan_button/LB in range(3, src))
|
||||
if(istype(LB))
|
||||
button = LB
|
||||
|
||||
/obj/machinery/leviathan_safeguard/proc/open()
|
||||
opened = TRUE
|
||||
flick("safeguard_opening", src)
|
||||
|
||||
Reference in New Issue
Block a user