mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-22 04:24:20 +01:00
Per Couls advice, removed the CanSuccumb verb and now borgs are considered InCritical when in low power mode
This commit is contained in:
@@ -244,7 +244,7 @@
|
||||
|
||||
/mob/living/verb/succumb()
|
||||
set hidden = 1
|
||||
if(CanSuccumb())
|
||||
if(InCritical())
|
||||
create_attack_log("[src] has ["succumbed to death"] with [round(health, 0.1)] points of health!")
|
||||
adjustOxyLoss(health - HEALTH_THRESHOLD_DEAD)
|
||||
// super check for weird mobs, including ones that adjust hp
|
||||
@@ -256,8 +256,6 @@
|
||||
death()
|
||||
to_chat(src, "<span class='notice'>You have given up life and succumbed to death.</span>")
|
||||
|
||||
/mob/living/proc/CanSuccumb()
|
||||
return InCritical()
|
||||
|
||||
/mob/living/proc/InCritical()
|
||||
return (health < HEALTH_THRESHOLD_CRIT && health > HEALTH_THRESHOLD_DEAD && stat == UNCONSCIOUS)
|
||||
|
||||
@@ -576,7 +576,7 @@ var/list/robot_verbs_default = list(
|
||||
/mob/living/silicon/robot/restrained()
|
||||
return 0
|
||||
|
||||
/mob/living/silicon/robot/CanSuccumb()
|
||||
/mob/living/silicon/robot/InCritical()
|
||||
return low_power_mode
|
||||
|
||||
/mob/living/silicon/robot/ex_act(severity)
|
||||
|
||||
Reference in New Issue
Block a user