mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-01-09 00:52:09 +00:00
[Ready] Refactors stuns and status effects. (#17579)
* Fixes reviver runtime * Confusion status effect * Dizzy status effect * Drowsiness status effect * decaying -> transient * Drunkenness status effect * why use timer when SSfastprocessing work good * stuns (mostly) * weaken and immobalise * stun/weaken times * update_flags redundancies. * Slowed() * Silence + fixes transient decay * Jittery * sleeping * Paralyze -> weaken * Cult sluring * paralyse * Stammer * slurring + projectile cleanups * losebreath * Hallucination * forgor this * eyeblurry * eye blind * Druggy * affected didn't like my spacing * review pass * second review pass * some cleanups * documentation and signal framework * confusion fix * Fixes spec_stun * rejuv fix * removes a TODO * conflicted myself * fixes * self review * review * removes TODOs * adminfreeze * TM fixes * hallucination fix + others * tones down alchol and runtime fixes * confusion overlay suggestion * more fixes * runtime fix * losebreath fix * clamp => directional bounded sum * steel review * oops Co-authored-by: SteelSlayer <42044220+SteelSlayer@users.noreply.github.com> * reduces the dizziness cycle rate * borg hotfix * sanctified decursening Co-authored-by: mochi <1496804+dearmochi@users.noreply.github.com> Co-authored-by: SteelSlayer <42044220+SteelSlayer@users.noreply.github.com>
This commit is contained in:
@@ -32,9 +32,9 @@
|
||||
return ..()
|
||||
|
||||
/obj/item/paperplane/suicide_act(mob/living/user)
|
||||
user.Stun(10)
|
||||
user.Stun(20 SECONDS)
|
||||
user.visible_message("<span class='suicide'>[user] jams [name] in [user.p_their()] nose. It looks like [user.p_theyre()] trying to commit suicide!</span>")
|
||||
user.EyeBlurry(6)
|
||||
user.EyeBlurry(12 SECONDS)
|
||||
var/obj/item/organ/internal/eyes/E = user.get_int_organ(/obj/item/organ/internal/eyes)
|
||||
if(E)
|
||||
E.take_damage(8, 1)
|
||||
@@ -102,8 +102,8 @@
|
||||
if(H.glasses && H.glasses.flags_cover & GLASSESCOVERSEYES)
|
||||
return
|
||||
visible_message("<span class='danger'>[src] hits [H] in the eye!</span>")
|
||||
H.EyeBlurry(6)
|
||||
H.Weaken(2)
|
||||
H.EyeBlurry(12 SECONDS)
|
||||
H.Weaken(4 SECONDS)
|
||||
var/obj/item/organ/internal/eyes/E = H.get_int_organ(/obj/item/organ/internal/eyes)
|
||||
if(E)
|
||||
E.take_damage(8, 1)
|
||||
|
||||
@@ -494,7 +494,7 @@
|
||||
new /obj/effect/decal/cleanable/blood/oil(get_turf(src))
|
||||
toner = 0
|
||||
|
||||
/obj/machinery/photocopier/MouseDrop_T(mob/target, mob/user)
|
||||
/obj/machinery/photocopier/MouseDrop_T(mob/target, mob/living/user)
|
||||
if(!istype(target) || target.buckled || get_dist(user, src) > 1 || get_dist(user, target) > 1 || user.stat || istype(user, /mob/living/silicon/ai))
|
||||
return
|
||||
if(check_mob()) //is target mob or another mob on this photocopier already?
|
||||
@@ -502,7 +502,7 @@
|
||||
src.add_fingerprint(user)
|
||||
if(target == user && !user.incapacitated())
|
||||
visible_message("<span class='warning'>[usr] jumps onto [src]!</span>")
|
||||
else if(target != user && !user.restrained() && !user.stat && !user.IsWeakened() && !user.stunned && !user.paralysis)
|
||||
else if(target != user && !user.restrained() && !user.stat && !user.IsWeakened() && !user.IsStunned() && !user.IsParalyzed())
|
||||
if(target.anchored) return
|
||||
if(!ishuman(user)) return
|
||||
visible_message("<span class='warning'>[usr] drags [target.name] onto [src]!</span>")
|
||||
|
||||
Reference in New Issue
Block a user