mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-11 07:03:30 +01:00
515 Compatibility (#19636)
* 515 compat * double spaces * Callback documentation, aa review * spacing * NAMEOF_STATIC * big beta
This commit is contained in:
@@ -309,7 +309,7 @@ field_generator power level display
|
||||
//This is here to help fight the "hurr durr, release singulo cos nobody will notice before the
|
||||
//singulo eats the evidence". It's not fool-proof but better than nothing.
|
||||
//I want to avoid using global variables.
|
||||
INVOKE_ASYNC(src, .proc/admin_alert)
|
||||
INVOKE_ASYNC(src, PROC_REF(admin_alert))
|
||||
|
||||
/obj/machinery/field/generator/proc/admin_alert()
|
||||
var/temp = TRUE //stops spam
|
||||
|
||||
@@ -48,8 +48,8 @@
|
||||
var/image/alert_overlay = image('icons/effects/cult_effects.dmi', "ghostalertsie")
|
||||
notify_ghosts("[name] has risen in \the [A.name]. Reach out to the Geometer to be given a new shell for your soul.", source = src, alert_overlay = alert_overlay, action = NOTIFY_ATTACK)
|
||||
|
||||
INVOKE_ASYNC(src, .proc/narsie_spawn_animation)
|
||||
addtimer(CALLBACK(src, .proc/call_shuttle), 7 SECONDS)
|
||||
INVOKE_ASYNC(src, PROC_REF(narsie_spawn_animation))
|
||||
addtimer(CALLBACK(src, PROC_REF(call_shuttle)), 7 SECONDS)
|
||||
|
||||
/obj/singularity/narsie/large/proc/call_shuttle()
|
||||
SSshuttle.emergency.request(null, 0.3)
|
||||
|
||||
@@ -23,9 +23,9 @@
|
||||
|
||||
/obj/effect/accelerated_particle/Initialize(loc)
|
||||
. = ..()
|
||||
addtimer(CALLBACK(src, .proc/propagate), 1)
|
||||
RegisterSignal(src, COMSIG_CROSSED_MOVABLE, .proc/try_irradiate)
|
||||
RegisterSignal(src, COMSIG_MOVABLE_CROSSED, .proc/try_irradiate)
|
||||
addtimer(CALLBACK(src, PROC_REF(propagate)), 1)
|
||||
RegisterSignal(src, COMSIG_CROSSED_MOVABLE, PROC_REF(try_irradiate))
|
||||
RegisterSignal(src, COMSIG_MOVABLE_CROSSED, PROC_REF(try_irradiate))
|
||||
QDEL_IN(src, movement_range)
|
||||
|
||||
/obj/effect/accelerated_particle/proc/try_irradiate(src, atom/A)
|
||||
@@ -53,6 +53,6 @@
|
||||
return
|
||||
|
||||
/obj/effect/accelerated_particle/proc/propagate()
|
||||
addtimer(CALLBACK(src, .proc/propagate), 1)
|
||||
addtimer(CALLBACK(src, PROC_REF(propagate)), 1)
|
||||
if(!step(src,dir))
|
||||
forceMove(get_step(src, dir))
|
||||
|
||||
Reference in New Issue
Block a user