mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-11 23:23:28 +01:00
515 Compatibility (#19636)
* 515 compat * double spaces * Callback documentation, aa review * spacing * NAMEOF_STATIC * big beta
This commit is contained in:
@@ -40,7 +40,7 @@
|
||||
to_chat(user, "<span class='notice'>The water feels warm and soothing as you touch it. The fountain immediately dries up shortly afterwards.</span>")
|
||||
user.reagents.add_reagent("godblood", 20)
|
||||
update_icon(UPDATE_ICON_STATE)
|
||||
addtimer(CALLBACK(src, /atom/.proc/update_icon), time_between_uses)
|
||||
addtimer(CALLBACK(src, TYPE_PROC_REF(/atom, update_icon)), time_between_uses)
|
||||
|
||||
/obj/structure/healingfountain/update_icon_state()
|
||||
if(last_process + time_between_uses > world.time)
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
know it'll be worth it.</span>")
|
||||
icon_state = "slots-on"
|
||||
playsound(src, 'sound/lavaland/cursed_slot_machine.ogg', 50, 0)
|
||||
addtimer(CALLBACK(src, .proc/determine_victor, user), 50)
|
||||
addtimer(CALLBACK(src, PROC_REF(determine_victor), user), 50)
|
||||
|
||||
/obj/structure/cursed_slot_machine/proc/determine_victor(mob/living/user)
|
||||
icon_state = "slots-off"
|
||||
@@ -55,7 +55,7 @@
|
||||
|
||||
/obj/structure/cursed_money/Initialize()
|
||||
. = ..()
|
||||
addtimer(CALLBACK(src, .proc/collapse), 600)
|
||||
addtimer(CALLBACK(src, PROC_REF(collapse)), 600)
|
||||
|
||||
/obj/structure/cursed_money/proc/collapse()
|
||||
visible_message("<span class='warning'>[src] falls in on itself, \
|
||||
|
||||
Reference in New Issue
Block a user