mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-07-18 11:30:35 +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:
@@ -33,6 +33,15 @@
|
||||
*/
|
||||
var/wires = WIRE_RECEIVE_ASSEMBLY | WIRE_PULSE_ASSEMBLY
|
||||
|
||||
/obj/item/device/assembly/Destroy()
|
||||
STOP_PROCESSING(SSprocessing, src)
|
||||
|
||||
holder = null
|
||||
cut_overlays()
|
||||
attached_overlays = null
|
||||
|
||||
. = ..()
|
||||
|
||||
/obj/item/device/assembly/proc/holder_movement()
|
||||
return
|
||||
|
||||
|
||||
@@ -64,8 +64,11 @@
|
||||
|
||||
/obj/item/device/onetankbomb/receive_signal() //This is mainly called by the sensor through sense() to the holder, and from the holder to here.
|
||||
visible_message("[icon2html(src, viewers(get_turf(src)))] *beep* *beep*", "*beep* *beep*")
|
||||
sleep(10)
|
||||
if(!src)
|
||||
addtimer(CALLBACK(src, PROC_REF(delayed_explosion)), 10 SECONDS)
|
||||
|
||||
|
||||
/obj/item/device/onetankbomb/proc/delayed_explosion()
|
||||
if(QDELETED(src))
|
||||
return
|
||||
if(status)
|
||||
bombtank.ignite() //if its not a dud, boom (or not boom if you made shitty mix) the ignite proc is below, in this file
|
||||
|
||||
@@ -15,6 +15,19 @@
|
||||
var/obj/item/device/assembly/a_right = null
|
||||
var/obj/special_assembly = null
|
||||
|
||||
/obj/item/device/assembly_holder/Initialize(mapload, ...)
|
||||
. = ..()
|
||||
become_hearing_sensitive()
|
||||
|
||||
/obj/item/device/assembly_holder/Destroy()
|
||||
lose_hearing_sensitivity()
|
||||
|
||||
QDEL_NULL(a_left)
|
||||
QDEL_NULL(a_right)
|
||||
QDEL_NULL(special_assembly)
|
||||
|
||||
. = ..()
|
||||
|
||||
/obj/item/device/assembly_holder/proc/detached()
|
||||
if(a_left)
|
||||
a_left.holder_movement()
|
||||
@@ -174,17 +187,6 @@
|
||||
master.receive_signal()
|
||||
return TRUE
|
||||
|
||||
/obj/item/device/assembly_holder/Initialize(mapload, ...)
|
||||
. = ..()
|
||||
become_hearing_sensitive()
|
||||
|
||||
/obj/item/device/assembly_holder/Destroy()
|
||||
if(a_left)
|
||||
a_left.holder = null
|
||||
if(a_right)
|
||||
a_right.holder = null
|
||||
return ..()
|
||||
|
||||
/obj/item/device/assembly_holder/hear_talk(mob/living/M, msg, verb, datum/language/speaking)
|
||||
if(a_right)
|
||||
a_right.hear_talk(M, msg, verb, speaking)
|
||||
|
||||
Reference in New Issue
Block a user