mirror of
https://github.com/KabKebab/GS13.git
synced 2026-07-11 16:08:32 +01:00
it compiles, that's better than it not compiling, right?
This commit is contained in:
@@ -191,7 +191,7 @@
|
||||
update_icon()
|
||||
var/turf/source_turf = get_turf(src)
|
||||
log_virus("A culture bottle was printed for the virus [A.admin_details()] at [loc_name(source_turf)] by [key_name(usr)]")
|
||||
addtimer(CALLBACK(src, .proc/reset_replicator_cooldown), 50)
|
||||
addtimer(CALLBACK(src,PROC_REF(reset_replicator_cooldown)), 50)
|
||||
. = TRUE
|
||||
if("create_vaccine_bottle")
|
||||
var/id = params["index"]
|
||||
@@ -201,7 +201,7 @@
|
||||
B.reagents.add_reagent(/datum/reagent/vaccine, 15, list(id))
|
||||
wait = TRUE
|
||||
update_icon()
|
||||
addtimer(CALLBACK(src, .proc/reset_replicator_cooldown), 200)
|
||||
addtimer(CALLBACK(src,PROC_REF(reset_replicator_cooldown)), 200)
|
||||
. = TRUE
|
||||
|
||||
/obj/machinery/computer/pandemic/attackby(obj/item/I, mob/user, params)
|
||||
|
||||
@@ -229,7 +229,7 @@
|
||||
var/offset = prob(50) ? -2 : 2
|
||||
var/old_pixel_x = pixel_x
|
||||
animate(src, pixel_x = pixel_x + offset, time = 0.2, loop = -1) //start shaking
|
||||
addtimer(CALLBACK(src, .proc/stop_shaking, old_pixel_x), duration)
|
||||
addtimer(CALLBACK(src,PROC_REF(stop_shaking), old_pixel_x), duration)
|
||||
|
||||
/obj/machinery/reagentgrinder/proc/stop_shaking(old_px)
|
||||
animate(src)
|
||||
@@ -243,7 +243,7 @@
|
||||
playsound(src, 'sound/machines/blender.ogg', 50, 1)
|
||||
else
|
||||
playsound(src, 'sound/machines/juicer.ogg', 20, 1)
|
||||
addtimer(CALLBACK(src, .proc/stop_operating), time / speed)
|
||||
addtimer(CALLBACK(src,PROC_REF(stop_operating)), time / speed)
|
||||
|
||||
/obj/machinery/reagentgrinder/proc/stop_operating()
|
||||
operating = FALSE
|
||||
|
||||
@@ -638,7 +638,7 @@
|
||||
to_chat(H, "<span class='warning'><b>You crumple in agony as your flesh wildly morphs into new forms!</b></span>")
|
||||
H.visible_message("<b>[H]</b> falls to the ground and screams as [H.p_their()] skin bubbles and froths!") //'froths' sounds painful when used with SKIN.
|
||||
H.Knockdown(60)
|
||||
addtimer(CALLBACK(src, .proc/mutate, H), 30)
|
||||
addtimer(CALLBACK(src,PROC_REF(mutate), H), 30)
|
||||
return
|
||||
|
||||
/datum/reagent/mutationtoxin/proc/mutate(mob/living/carbon/human/H)
|
||||
|
||||
@@ -105,7 +105,7 @@
|
||||
reagents.maximum_volume = 0 //Makes them useless afterwards
|
||||
reagent_flags = NONE
|
||||
update_icon()
|
||||
addtimer(CALLBACK(src, .proc/cyborg_recharge, user), 80)
|
||||
addtimer(CALLBACK(src,PROC_REF(cyborg_recharge), user), 80)
|
||||
|
||||
/obj/item/reagent_containers/hypospray/medipen/proc/cyborg_recharge(mob/living/silicon/robot/user)
|
||||
if(!reagents.total_volume && iscyborg(user))
|
||||
|
||||
@@ -48,7 +48,7 @@
|
||||
|
||||
var/makes_me_think = pick(strings("redpill.json", "redpill_questions"))
|
||||
if(icon_state == "pill4" && prob(10)) //you take the red pill - you stay in Wonderland, and I show you how deep the rabbit hole goes
|
||||
addtimer(CALLBACK(GLOBAL_PROC, /proc/to_chat, M, "<span class='notice'>[makes_me_think]</span>"), 50)
|
||||
addtimer(CALLBACK(GLOBAL_PROC_REF(to_chat), M, "<span class='notice'>[makes_me_think]</span>"), 50)
|
||||
|
||||
log_combat(user, M, "fed", reagents.log_list())
|
||||
if(reagents.total_volume)
|
||||
|
||||
Reference in New Issue
Block a user