From 429981e7979fb119299296486191ba2419ec32b6 Mon Sep 17 00:00:00 2001
From: DGamerL <108773801+DGamerL@users.noreply.github.com>
Date: Fri, 24 Nov 2023 16:32:07 +0100
Subject: [PATCH] Nerfs baton throwing (#23241)
* Ezpz
* Removes unnecessary text
* Adds the sound back
* Baton now stuns the hit person
* Present tense
---
code/game/objects/items/weapons/stunbaton.dm | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/code/game/objects/items/weapons/stunbaton.dm b/code/game/objects/items/weapons/stunbaton.dm
index 23742229ad1..ecb122f30eb 100644
--- a/code/game/objects/items/weapons/stunbaton.dm
+++ b/code/game/objects/items/weapons/stunbaton.dm
@@ -251,15 +251,13 @@
L.SetStuttering(4 SECONDS)
ADD_TRAIT(L, TRAIT_WAS_BATONNED, user_UID) // so one person cannot hit the same person with two separate batons
- L.apply_status_effect(STATUS_EFFECT_DELAYED, 2 SECONDS, CALLBACK(L, TYPE_PROC_REF(/mob/living, KnockDown), knockdown_duration), COMSIG_LIVING_CLEAR_STUNS)
addtimer(CALLBACK(src, PROC_REF(baton_delay), L, user_UID), 2 SECONDS)
SEND_SIGNAL(L, COMSIG_LIVING_MINOR_SHOCK, 33)
L.lastattacker = user.real_name
L.lastattackerckey = user.ckey
- L.visible_message("[user] has stunned [L] with [src]!",
- "[L == user ? "You stun yourself" : "[user] has stunned you"] with [src]!")
+ L.visible_message("[src] stuns [L]!")
add_attack_logs(user, L, "stunned")
playsound(src, 'sound/weapons/egloves.ogg', 50, TRUE, -1)
deductcharge(hitcost)