mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-07-21 03:56:47 +01:00
Removes more sleeps from init (#17332)
* splits emotes into original (custom_emote) and automatic (automatic_custom_emote) * no copy paste * immunosuprizine touchup * srcining
This commit is contained in:
@@ -39,16 +39,16 @@
|
||||
// Glass present
|
||||
else if(glass)
|
||||
if(user.a_intent == I_HURT)
|
||||
user.custom_emote(VISIBLE_MESSAGE, "smashes the glass on [src]!")
|
||||
user.automatic_custom_emote(VISIBLE_MESSAGE, "smashes the glass on [src]!")
|
||||
glass = FALSE
|
||||
playsound(src, 'sound/effects/hit_on_shattered_glass.ogg')
|
||||
update_icon()
|
||||
else
|
||||
user.custom_emote(VISIBLE_MESSAGE, "pats [src] in a friendly manner.")
|
||||
user.automatic_custom_emote(VISIBLE_MESSAGE, "pats [src] in a friendly manner.")
|
||||
to_chat(user, span_warning("If you're trying to break the glass, you'll have to hit it harder than that..."))
|
||||
// Must be !glass and !launched
|
||||
else
|
||||
user.custom_emote(VISIBLE_MESSAGE, "pushes the button on [src]!")
|
||||
user.automatic_custom_emote(VISIBLE_MESSAGE, "pushes the button on [src]!")
|
||||
launch(user)
|
||||
playsound(src, get_sfx("button"))
|
||||
update_icon()
|
||||
|
||||
Reference in New Issue
Block a user