mirror of
https://github.com/KabKebab/GS13.git
synced 2026-07-20 12:29:32 +01:00
it compiles, that's better than it not compiling, right?
This commit is contained in:
@@ -138,12 +138,12 @@
|
||||
user.Stun(INFINITY)
|
||||
|
||||
animate(user, color = "#00ccee", time = 3)
|
||||
phase_timer_id = addtimer(CALLBACK(src, .proc/phase_2, user, to_turf, phase_in_ds), 3, TIMER_STOPPABLE)
|
||||
phase_timer_id = addtimer(CALLBACK(src,PROC_REF(phase_2), user, to_turf, phase_in_ds), 3, TIMER_STOPPABLE)
|
||||
|
||||
/obj/item/clothing/suit/space/chronos/proc/phase_2(mob/living/carbon/human/user, turf/to_turf, phase_in_ds)
|
||||
if(teleporting && activated && user)
|
||||
animate(user, alpha = 0, time = 2)
|
||||
phase_timer_id = addtimer(CALLBACK(src, .proc/phase_3, user, to_turf, phase_in_ds), 2, TIMER_STOPPABLE)
|
||||
phase_timer_id = addtimer(CALLBACK(src,PROC_REF(phase_3), user, to_turf, phase_in_ds), 2, TIMER_STOPPABLE)
|
||||
else
|
||||
finish_chronowalk(user, to_turf)
|
||||
|
||||
@@ -151,14 +151,14 @@
|
||||
if(teleporting && activated && user)
|
||||
user.forceMove(to_turf)
|
||||
animate(user, alpha = 255, time = phase_in_ds)
|
||||
phase_timer_id = addtimer(CALLBACK(src, .proc/phase_4, user, to_turf), phase_in_ds, TIMER_STOPPABLE)
|
||||
phase_timer_id = addtimer(CALLBACK(src,PROC_REF(phase_4), user, to_turf), phase_in_ds, TIMER_STOPPABLE)
|
||||
else
|
||||
finish_chronowalk(user, to_turf)
|
||||
|
||||
/obj/item/clothing/suit/space/chronos/proc/phase_4(mob/living/carbon/human/user, turf/to_turf)
|
||||
if(teleporting && activated && user)
|
||||
animate(user, color = "#ffffff", time = 3)
|
||||
phase_timer_id = addtimer(CALLBACK(src, .proc/finish_chronowalk, user, to_turf), 3, TIMER_STOPPABLE)
|
||||
phase_timer_id = addtimer(CALLBACK(src,PROC_REF(finish_chronowalk), user, to_turf), 3, TIMER_STOPPABLE)
|
||||
else
|
||||
finish_chronowalk(user, to_turf)
|
||||
|
||||
|
||||
@@ -110,7 +110,7 @@
|
||||
wearer = changeto
|
||||
LAZYADD(wearer.user_movement_hooks, src)
|
||||
cached_pull = changeto.pulling
|
||||
mobhook = changeto.AddComponent(/datum/component/redirect, list(COMSIG_MOVABLE_MOVED), CALLBACK(src, .proc/on_mob_move, changeto))
|
||||
mobhook = changeto.AddComponent(/datum/component/redirect, list(COMSIG_MOVABLE_MOVED), CALLBACK(src,PROC_REF(on_mob_move), changeto))
|
||||
|
||||
/obj/item/flightpack/Initialize()
|
||||
ion_trail = new
|
||||
@@ -425,7 +425,7 @@
|
||||
crashing = FALSE
|
||||
|
||||
/obj/item/flightpack/proc/door_pass(obj/structure/mineral_door/door)
|
||||
INVOKE_ASYNC(door, /obj/structure/mineral_door.proc/Open)
|
||||
INVOKE_ASYNC(door, TYPE_PROC_REF(/obj/structure/mineral_door,Open))
|
||||
var/turf/T = get_turf(door)
|
||||
wearer.forceMove(T)
|
||||
wearer.visible_message("<span class='boldnotice'>[wearer] rolls to [wearer.p_their()] sides and slips past [door]!</span>")
|
||||
@@ -445,7 +445,7 @@
|
||||
if((!A.allowed(wearer)) && !A.emergency)
|
||||
nopass = TRUE
|
||||
if(!nopass)
|
||||
INVOKE_ASYNC(A, /obj/machinery/door.proc/open)
|
||||
INVOKE_ASYNC(A, TYPE_PROC_REF(/obj/machinery/door,open))
|
||||
wearer.visible_message("<span class='warning'>[wearer] rolls sideways and slips past [A]</span>")
|
||||
var/turf/target = get_turf(A)
|
||||
if(istype(A, /obj/machinery/door/window) && (get_turf(wearer) == get_turf(A)))
|
||||
@@ -536,7 +536,7 @@
|
||||
return TRUE
|
||||
usermessage("Warning: Velocity too high to safely disengage. Retry to confirm emergency shutoff.", "boldwarning")
|
||||
override_safe = TRUE
|
||||
addtimer(CALLBACK(src, .proc/enable_safe), 50)
|
||||
addtimer(CALLBACK(src,PROC_REF(enable_safe)), 50)
|
||||
return FALSE
|
||||
|
||||
/obj/item/flightpack/proc/enable_safe()
|
||||
|
||||
@@ -680,7 +680,7 @@
|
||||
return
|
||||
if(listeningTo)
|
||||
UnregisterSignal(listeningTo, COMSIG_MOVABLE_MOVED)
|
||||
RegisterSignal(user, COMSIG_MOVABLE_MOVED, .proc/on_mob_move)
|
||||
RegisterSignal(user, COMSIG_MOVABLE_MOVED,PROC_REF(on_mob_move))
|
||||
listeningTo = user
|
||||
|
||||
/obj/item/clothing/suit/space/hardsuit/ancient/dropped()
|
||||
|
||||
@@ -119,7 +119,7 @@
|
||||
|
||||
/obj/item/clothing/head/helmet/space/plasmaman/ComponentInitialize()
|
||||
. = ..()
|
||||
RegisterSignal(src, COMSIG_COMPONENT_CLEAN_ACT, .proc/wipe_that_smile_off_your_face)
|
||||
RegisterSignal(src, COMSIG_COMPONENT_CLEAN_ACT,PROC_REF(wipe_that_smile_off_your_face))
|
||||
|
||||
///gets called when receiving the CLEAN_ACT signal from something, i.e soap or a shower. exists to remove any smiley faces drawn on the helmet.
|
||||
/obj/item/clothing/head/helmet/space/plasmaman/proc/wipe_that_smile_off_your_face()
|
||||
|
||||
Reference in New Issue
Block a user