procs
This commit is contained in:
@@ -474,7 +474,7 @@
|
||||
|
||||
/obj/item/reagent_containers/food/snacks/lollipop/cyborg/Initialize(mapload)
|
||||
. = ..()
|
||||
addtimer(CALLBACK(src, .proc/spamcheck), 1200)
|
||||
addtimer(CALLBACK(src, PROC_REF(spamcheck)), 1200)
|
||||
|
||||
/obj/item/reagent_containers/food/snacks/lollipop/cyborg/equipped(mob/living/user, slot)
|
||||
. = ..(user, slot)
|
||||
@@ -502,7 +502,7 @@
|
||||
|
||||
/obj/item/reagent_containers/food/snacks/gumball/cyborg/Initialize(mapload)
|
||||
. = ..()
|
||||
addtimer(CALLBACK(src, .proc/spamcheck), 1200)
|
||||
addtimer(CALLBACK(src, PROC_REF(spamcheck)), 1200)
|
||||
|
||||
/obj/item/reagent_containers/food/snacks/gumball/cyborg/equipped(mob/living/user, slot)
|
||||
. = ..(user, slot)
|
||||
|
||||
@@ -501,7 +501,7 @@
|
||||
for(var/R in S.bonus_reagents)
|
||||
LAZYSET(S.cached_reagents_amount, R, S.reagents.get_reagent_amount(R))
|
||||
S.previous_typepath = type
|
||||
addtimer(CALLBACK(S, .proc/cool_down), 7 MINUTES) //canonically they reverted back to normal after 7 minutes.
|
||||
addtimer(CALLBACK(S, PROC_REF(cool_down)), 7 MINUTES) //canonically they reverted back to normal after 7 minutes.
|
||||
|
||||
/obj/item/reagent_containers/food/snacks/donkpocket/proc/cool_down()
|
||||
if(!previous_typepath) //This shouldn't happen.
|
||||
|
||||
@@ -197,7 +197,7 @@
|
||||
mob_occupant.death(1)
|
||||
mob_occupant.ghostize()
|
||||
qdel(src.occupant)
|
||||
addtimer(CALLBACK(src, .proc/make_meat, skin, allmeat, meat_produced, gibtype, diseases), gibtime)
|
||||
addtimer(CALLBACK(src, PROC_REF(make_meat), skin, allmeat, meat_produced, gibtype, diseases), gibtime)
|
||||
|
||||
/obj/machinery/gibber/proc/make_meat(obj/item/stack/sheet/animalhide/skin, list/obj/item/reagent_containers/food/snacks/meat/slab/allmeat, meat_produced, gibtype, list/datum/disease/diseases)
|
||||
playsound(src.loc, 'sound/effects/splat.ogg', 50, 1)
|
||||
|
||||
@@ -312,7 +312,7 @@
|
||||
return
|
||||
time--
|
||||
use_power(500)
|
||||
addtimer(CALLBACK(src, .proc/loop, type, time, wait, user), wait)
|
||||
addtimer(CALLBACK(src, PROC_REF(loop), type, time, wait, user), wait)
|
||||
|
||||
/obj/machinery/microwave/proc/loop_finish(mob/user)
|
||||
operating = FALSE
|
||||
|
||||
@@ -70,7 +70,7 @@
|
||||
use_power(500)
|
||||
grinded++
|
||||
addtimer(VARSET_CALLBACK(src, pixel_x, initial(pixel_x)))
|
||||
addtimer(CALLBACK(GLOBAL_PROC, /proc/to_chat, user, "<span class='notice'>The machine now has [grinded] monkey\s worth of material stored.</span>"))
|
||||
addtimer(CALLBACK(GLOBAL_PROC, GLOBAL_PROC_REF(to_chat), user, "<span class='notice'>The machine now has [grinded] monkey\s worth of material stored.</span>"))
|
||||
|
||||
/obj/machinery/monkey_recycler/interact(mob/user)
|
||||
if(grinded >= required_grind)
|
||||
|
||||
Reference in New Issue
Block a user