mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-11 23:23:28 +01:00
Tweaks how splints work on healthy limbs (#22080)
* It's not painful when my legs are not broken * Changes to_chat to owner.visible_message Co-authored-by: Luc <89928798+lewcc@users.noreply.github.com> * Spaces and right shifting be gone --------- Co-authored-by: Luc <89928798+lewcc@users.noreply.github.com>
This commit is contained in:
@@ -492,12 +492,14 @@ Note that amputating the affected organ does in fact remove the infection from t
|
||||
owner.splinted_limbs -= src
|
||||
return
|
||||
if(owner.step_count >= splinted_count + SPLINT_LIFE)
|
||||
status &= ~ORGAN_SPLINTED //oh no, we actually need surgery now!
|
||||
owner.visible_message("<span class='danger'>[owner] screams in pain as [owner.p_their()] splint pops off their [name]!</span>","<span class='userdanger'>You scream in pain as your splint pops off your [name]!</span>")
|
||||
owner.emote("scream")
|
||||
owner.Stun(4 SECONDS)
|
||||
status &= ~ORGAN_SPLINTED // Oh no, we actually need surgery now!
|
||||
owner.handle_splints()
|
||||
|
||||
if(!(status & ORGAN_BROKEN))
|
||||
to_chat(owner, "<span class='notice'>Your splint harmlessly pops off your [name].</span>") // If we fixed our bones, a splint popping off shouldn't be painful and stun us.
|
||||
return
|
||||
owner.visible_message("<span class='danger'>[owner] screams in pain as [owner.p_their()] splint pops off [owner.p_their()] [name]!</span>","<span class='userdanger'>You scream in pain as your splint pops off your [name]!</span>")
|
||||
owner.emote("scream")
|
||||
owner.Weaken(4 SECONDS) // Better feedback compared to stun() - We won't be just standing there menancingly
|
||||
|
||||
/****************************************************
|
||||
DISMEMBERMENT
|
||||
|
||||
Reference in New Issue
Block a user