mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-23 13:05:44 +01:00
Fixes paincrit (or incapacitation in general) not making people drop what they're holding. (#22004)
title I was lied to by the incapacitation proc (it does not actually check incapacitation necessarily) --------- Co-authored-by: Matt Atlas <liermattia@gmail.com>
This commit is contained in:
@@ -896,10 +896,9 @@
|
||||
lying_is_intentional = FALSE
|
||||
canmove = !MOB_IS_INCAPACITATED(INCAPACITATION_KNOCKOUT) && !weakened
|
||||
else
|
||||
var/incapacitated = (stat == DEAD) || MOB_IS_INCAPACITATED(INCAPACITATION_KNOCKDOWN)
|
||||
var/incapacitated = (stat == DEAD) || MOB_IS_INCAPACITATED(INCAPACITATION_KNOCKOUT) && !weakened
|
||||
lying = incapacitated || resting && !recently_slept
|
||||
if(!incapacitated)
|
||||
lying_is_intentional = TRUE
|
||||
lying_is_intentional = !incapacitated
|
||||
canmove = !MOB_IS_INCAPACITATED(INCAPACITATION_KNOCKOUT) && !weakened
|
||||
|
||||
if(lying)
|
||||
|
||||
Reference in New Issue
Block a user