mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-08-29 08:11:11 +01:00
[MIRROR] Removes some simple sleeps (#11527)
Co-authored-by: Cameron Lennox <killer65311@gmail.com>
This commit is contained in:
co-authored by
Cameron Lennox
parent
794f2649b6
commit
8d29707485
@@ -222,8 +222,7 @@
|
||||
animation.icon = 'icons/mob/mob.dmi'
|
||||
animation.master = user
|
||||
flick("blspell", animation)
|
||||
sleep(5)
|
||||
qdel(animation)
|
||||
QDEL_IN(animation, 5)
|
||||
|
||||
if(!flashfail)
|
||||
flick("flash2", src)
|
||||
@@ -267,8 +266,7 @@
|
||||
animation.icon = 'icons/mob/mob.dmi'
|
||||
animation.master = user
|
||||
flick("blspell", animation)
|
||||
sleep(5)
|
||||
qdel(animation)
|
||||
QDEL_IN(animation, 5)
|
||||
|
||||
for(var/mob/living/carbon/C in oviewers(3, null))
|
||||
var/safety = C.eyecheck()
|
||||
|
||||
@@ -346,9 +346,8 @@
|
||||
t1 += "[printedmessage]<BR>"
|
||||
P.info = t1
|
||||
P.name = "Transcript"
|
||||
canprint = 0
|
||||
sleep(300)
|
||||
canprint = 1
|
||||
canprint = FALSE
|
||||
VARSET_IN(src, canprint, TRUE, 30 SECONDS)
|
||||
|
||||
|
||||
/obj/item/taperecorder/attack_self(mob/user)
|
||||
|
||||
@@ -617,10 +617,8 @@
|
||||
spawn(5) //gia said so
|
||||
icon_state = "nuketoy"
|
||||
playsound(src, 'sound/machines/alarm.ogg', 10, 0, 0)
|
||||
sleep(135)
|
||||
icon_state = "nuketoycool"
|
||||
sleep(cooldown - world.time)
|
||||
icon_state = "nuketoyidle"
|
||||
VARSET_IN(src, icon_state, "nuketoycool", 135)
|
||||
VARSET_IN(src, icon_state, "nuketoyidle", (135 + (cooldown - world.time)))
|
||||
else
|
||||
var/timeleft = (cooldown - world.time)
|
||||
to_chat(user, span_warning("Nothing happens, and") + " '[round(timeleft/10)]' " + span_warning("appears on a small display."))
|
||||
@@ -796,8 +794,7 @@
|
||||
s.set_up(5, 1, src)
|
||||
s.start()
|
||||
icon_state = "shoot"
|
||||
sleep(5)
|
||||
icon_state = "[initial(icon_state)]"
|
||||
VARSET_IN(src, icon_state, "[initial(icon_state)]", 5)
|
||||
|
||||
/*
|
||||
* Toy chainsaw
|
||||
|
||||
@@ -68,7 +68,6 @@
|
||||
for(var/mob/living/L as anything in buckled_mobs)
|
||||
L.burn_skin(85)
|
||||
to_chat(L, span_danger("You feel a deep shock course through your body!"))
|
||||
sleep(1)
|
||||
L.burn_skin(85)
|
||||
L.Stun(600)
|
||||
visible_message(span_danger("The electric chair went off!"), span_danger("You hear a deep sharp shock!"))
|
||||
|
||||
@@ -112,10 +112,8 @@
|
||||
/obj/machinery/porta_turret/stumble_into(mob/living/M)
|
||||
..()
|
||||
if(!attacked && !emagged)
|
||||
attacked = 1
|
||||
spawn()
|
||||
sleep(60)
|
||||
attacked = 0
|
||||
attacked = TRUE
|
||||
VARSET_IN(src, attacked, FALSE, 6 SECONDS)
|
||||
|
||||
/obj/machinery/space_heater/stumble_into(mob/living/M)
|
||||
..()
|
||||
|
||||
Reference in New Issue
Block a user