mirror of
https://github.com/KabKebab/GS13.git
synced 2026-08-22 04:26:21 +01:00
it compiles, that's better than it not compiling, right?
This commit is contained in:
@@ -25,7 +25,7 @@
|
||||
synthesizing = TRUE
|
||||
to_chat(owner, message)
|
||||
owner.nutrition += nutrition_amount
|
||||
addtimer(CALLBACK(src, .proc/synth_cool), 50)
|
||||
addtimer(CALLBACK(src,PROC_REF(synth_cool)), 50)
|
||||
|
||||
/obj/item/organ/cyberimp/chest/nutriment/proc/synth_cool()
|
||||
synthesizing = FALSE
|
||||
@@ -59,7 +59,7 @@
|
||||
/obj/item/organ/cyberimp/chest/reviver/on_life()
|
||||
if(reviving)
|
||||
if(owner.stat == UNCONSCIOUS)
|
||||
addtimer(CALLBACK(src, .proc/heal), 30)
|
||||
addtimer(CALLBACK(src,PROC_REF(heal)), 30)
|
||||
else
|
||||
cooldown = revive_cost + world.time
|
||||
reviving = FALSE
|
||||
@@ -108,7 +108,7 @@
|
||||
if(H.stat != DEAD && prob(50 / severity) && H.can_heartattack())
|
||||
H.set_heartattack(TRUE)
|
||||
to_chat(H, "<span class='userdanger'>You feel a horrible agony in your chest!</span>")
|
||||
addtimer(CALLBACK(src, .proc/undo_heart_attack), 600 / severity)
|
||||
addtimer(CALLBACK(src,PROC_REF(undo_heart_attack)), 600 / severity)
|
||||
|
||||
/obj/item/organ/cyberimp/chest/reviver/proc/undo_heart_attack()
|
||||
var/mob/living/carbon/human/H = owner
|
||||
|
||||
Reference in New Issue
Block a user