Update mob.dm

This commit is contained in:
Killian
2023-09-20 00:37:01 +01:00
parent 65c736f262
commit 9744cd0f74
+5
View File
@@ -1149,11 +1149,16 @@
/mob/proc/throw_mode_off()
src.in_throw_mode = 0
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) //in case we don't have the HUD and we use the hotkey
src.throw_icon.icon_state = "act_throw_off"
/mob/proc/throw_mode_on()
src.in_throw_mode = 1
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)
src.throw_icon.icon_state = "act_throw_on"