Skip to content

Commit

Permalink
Removing now-unneeded status decrementing.
Browse files Browse the repository at this point in the history
  • Loading branch information
MistakeNot4892 authored and comma committed Aug 14, 2023
1 parent d58c5aa commit d58d69b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 15 deletions.
5 changes: 0 additions & 5 deletions code/modules/mob/living/carbon/alien/life.dm
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,6 @@

if(HAS_STATUS(src, STAT_ASLEEP))
adjustHalLoss(-3)
if (mind)
if(mind.active && client != null)
ADJ_STATUS(src, STAT_ASLEEP, -1)
SET_STATUS_MAX(src, STAT_BLIND, 2)
set_stat(UNCONSCIOUS)
else if(resting)
Expand All @@ -59,8 +56,6 @@
if(!check_has_eyes())
SET_STATUS_MAX(src, STAT_BLIND, 2)
SET_STATUS_MAX(src, STAT_BLURRY, 1)
else if(GET_STATUS(src, STAT_BLIND))
ADJ_STATUS(src, STAT_BLIND, -1)

update_icon()

Expand Down
11 changes: 1 addition & 10 deletions code/modules/mob/living/silicon/robot/life.dm
Original file line number Diff line number Diff line change
Expand Up @@ -82,13 +82,7 @@
if (src.stat != DEAD) //Alive.
if (incapacitated(INCAPACITATION_DISRUPTED) || !has_power)
src.set_stat(UNCONSCIOUS)
if (HAS_STATUS(src, STAT_STUN))
ADJ_STATUS(src, STAT_STUN, -1)
if(HAS_STATUS(src, STAT_WEAK))
ADJ_STATUS(src, STAT_WEAK, -1)
if (HAS_STATUS(src, STAT_PARA) > 0)
ADJ_STATUS(src, STAT_PARA, -1)
SET_STATUS_MAX(src, STAT_BLIND, 2)
SET_STATUS_MAX(src, STAT_BLIND, 2)
else //Not stunned.
src.set_stat(CONSCIOUS)

Expand All @@ -97,9 +91,6 @@
SET_STATUS_MAX(src, STAT_BLIND, 2)
src.set_stat(DEAD)

if(HAS_STATUS(src, STAT_BLIND))
ADJ_STATUS(src, STAT_BLIND, -1)

src.set_density(!src.lying)
if(src.sdisabilities & BLINDED)
SET_STATUS_MAX(src, STAT_BLIND, 2)
Expand Down

0 comments on commit d58d69b

Please sign in to comment.