you're too exhausted to be lifted up - makes it much harder to force someone to stand if they're in hard stamcrit (#7683)
This commit is contained in:
@@ -82,7 +82,7 @@
|
|||||||
else
|
else
|
||||||
user.visible_message("<span class='notice'>[user] hugs [M] to make [M.p_them()] feel better!</span>", \
|
user.visible_message("<span class='notice'>[user] hugs [M] to make [M.p_them()] feel better!</span>", \
|
||||||
"<span class='notice'>You hug [M] to make [M.p_them()] feel better!</span>")
|
"<span class='notice'>You hug [M] to make [M.p_them()] feel better!</span>")
|
||||||
if(M.resting)
|
if(M.resting && !M.recoveringstam)
|
||||||
M.resting = FALSE
|
M.resting = FALSE
|
||||||
M.update_canmove()
|
M.update_canmove()
|
||||||
else
|
else
|
||||||
@@ -102,7 +102,7 @@
|
|||||||
else
|
else
|
||||||
user.visible_message("<span class='warning'>[user] hugs [M] in a firm bear-hug! [M] looks uncomfortable...</span>", \
|
user.visible_message("<span class='warning'>[user] hugs [M] in a firm bear-hug! [M] looks uncomfortable...</span>", \
|
||||||
"<span class='warning'>You hug [M] firmly to make [M.p_them()] feel better! [M] looks uncomfortable...</span>")
|
"<span class='warning'>You hug [M] firmly to make [M.p_them()] feel better! [M] looks uncomfortable...</span>")
|
||||||
if(M.resting)
|
if(M.resting && !M.recoveringstam)
|
||||||
M.resting = FALSE
|
M.resting = FALSE
|
||||||
M.update_canmove()
|
M.update_canmove()
|
||||||
else
|
else
|
||||||
|
|||||||
@@ -21,7 +21,8 @@ In all, this is a lot like the monkey code. /N
|
|||||||
switch(M.a_intent)
|
switch(M.a_intent)
|
||||||
|
|
||||||
if ("help")
|
if ("help")
|
||||||
resting = 0
|
if(!recoveringstam)
|
||||||
|
resting = 0
|
||||||
AdjustStun(-60)
|
AdjustStun(-60)
|
||||||
AdjustKnockdown(-60)
|
AdjustKnockdown(-60)
|
||||||
AdjustUnconscious(-60)
|
AdjustUnconscious(-60)
|
||||||
|
|||||||
@@ -26,7 +26,8 @@
|
|||||||
else
|
else
|
||||||
if(stat == UNCONSCIOUS)
|
if(stat == UNCONSCIOUS)
|
||||||
stat = CONSCIOUS
|
stat = CONSCIOUS
|
||||||
resting = 0
|
if(!recoveringstam)
|
||||||
|
resting = 0
|
||||||
adjust_blindness(-1)
|
adjust_blindness(-1)
|
||||||
update_canmove()
|
update_canmove()
|
||||||
update_damage_hud()
|
update_damage_hud()
|
||||||
|
|||||||
@@ -311,7 +311,7 @@
|
|||||||
AdjustKnockdown(-60)
|
AdjustKnockdown(-60)
|
||||||
AdjustUnconscious(-60)
|
AdjustUnconscious(-60)
|
||||||
AdjustSleeping(-100)
|
AdjustSleeping(-100)
|
||||||
if(resting)
|
if(resting && !recoveringstam)
|
||||||
resting = 0
|
resting = 0
|
||||||
update_canmove()
|
update_canmove()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user