mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-22 20:48:56 +01:00
[MIRROR] Refactors speech impeding effects (drunken slurring / suttering) into status effects. Adds heretic slurring in addition to the existing cult slurring. Removes 4 vars from /living in return, which slightly optimizes Life() (wink) [MDB IGNORE] (#12770)
* Refactors speech impeding effects (drunken slurring / suttering) into status effects. Adds heretic slurring in addition to the existing cult slurring. Removes 4 vars from /living in return, which slightly optimizes Life() (wink) * fex Co-authored-by: MrMelbert <51863163+MrMelbert@users.noreply.github.com> Co-authored-by: Gandalf <9026500+Gandalf2k15@users.noreply.github.com>
This commit is contained in:
co-authored by
MrMelbert
Gandalf
parent
245d35c82f
commit
62ddd77870
@@ -23,7 +23,7 @@
|
||||
|
||||
user.do_attack_animation(M)
|
||||
M.Paralyze(100)
|
||||
M.apply_effect(EFFECT_STUTTER, 5)
|
||||
M.adjust_timed_status_effect(10 SECONDS, /datum/status_effect/speech/stutter)
|
||||
|
||||
M.visible_message(span_danger("[user] prods [M] with [src]!"), \
|
||||
span_userdanger("[user] prods you with [src]!"))
|
||||
@@ -327,12 +327,12 @@
|
||||
switch(bang_effect)
|
||||
if(1)
|
||||
C.add_confusion(5)
|
||||
C.stuttering += 10
|
||||
C.adjust_timed_status_effect(20 SECONDS, /datum/status_effect/speech/stutter)
|
||||
C.Jitter(10)
|
||||
if(2)
|
||||
C.Paralyze(40)
|
||||
C.add_confusion(10)
|
||||
C.stuttering += 15
|
||||
C.adjust_timed_status_effect(30 SECONDS, /datum/status_effect/speech/stutter)
|
||||
C.Jitter(25)
|
||||
playsound(get_turf(src), 'sound/machines/warning-buzzer.ogg', 130, 3)
|
||||
cooldown = world.time + 600
|
||||
|
||||
Reference in New Issue
Block a user