revert throw notifs (#16169)

This commit is contained in:
Killian
2024-08-11 20:18:28 +01:00
committed by GitHub
parent 816b8364f9
commit 4406e228fa
4 changed files with 0 additions and 28 deletions
-9
View File
@@ -1196,20 +1196,11 @@
/mob/proc/throw_mode_off()
src.in_throw_mode = 0
if(client)
if(a_intent == I_HELP || client.prefs.throwmode_loud)
src.visible_message("<span class='notice'>[src] relaxes from their ready stance.</span>","<span class='notice'>You relax from your ready stance.</span>")
if(src.throw_icon && !issilicon(src)) //in case we don't have the HUD and we use the hotkey. Silicon use this for something else. Do not overwrite their HUD icon
src.throw_icon.icon_state = "act_throw_off"
/mob/proc/throw_mode_on()
src.in_throw_mode = 1
if(client)
if(a_intent == I_HELP || client.prefs.throwmode_loud)
if(src.get_active_hand())
src.visible_message("<span class='warning'>[src] winds up to throw [get_active_hand()]!</span>","<span class='notice'>You wind up to throw [get_active_hand()].</span>")
else
src.visible_message("<span class='warning'>[src] looks ready to catch anything thrown at them!</span>","<span class='notice'>You get ready to catch anything thrown at you.</span>")
if(src.throw_icon && !issilicon(src)) // Silicon use this for something else. Do not overwrite their HUD icon
src.throw_icon.icon_state = "act_throw_on"