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:
Cameron Lennox
2025-03-16 13:11:04 -04:00
committed by GitHub
parent 8878a8ef49
commit 17ec1d700b
31 changed files with 154 additions and 145 deletions
+3 -3
View File
@@ -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()