Those two things!

This commit is contained in:
ariaworld
2024-09-08 01:10:40 +02:00
parent 2e33b3850f
commit 16ee47f109
2 changed files with 9 additions and 14 deletions
+1 -1
View File
@@ -2,7 +2,7 @@
name = "Untied Shoes"
typepath = /datum/round_event/untied_shoes
weight = 50
max_occurrences = 10
max_occurrences = 5
alert_observers = FALSE
category = EVENT_CATEGORY_HEALTH
description = "Unties people's shoes, with a chance to knot them as well."
@@ -647,18 +647,13 @@
var/list/dat = list()
if(stat == DEAD)
dat += "<span class='deadsay'>[p_they(TRUE)] appears to be dead.</span>"
if(getBruteLoss())
if(getBruteLoss() < (maxHealth / 10))
dat += span_warning("[p_they(TRUE)] looks bruised.")
else if(getBruteLoss() < (maxHealth / 2))
dat += span_warning("<B>[p_they(TRUE)] looks severely bruised.</B>")
else if(getBruteLoss())
if(health < (maxHealth * 0.15))
dat += span_warning("[p_they(TRUE)] looks critically injured.")
else if(health < (maxHealth * 0.5))
dat += span_warning("[p_they(TRUE)] looks severely injured.")
else if(health < (maxHealth * 0.85))
dat += span_warning("[p_they(TRUE)] looks injured.")
else
dat += span_warning("<B>[p_they(TRUE)] looks critically bruised and damaged.</B>")
if(getFireLoss())
if(getFireLoss() < (maxHealth / 10))
dat += span_warning("[p_they(TRUE)] looks burned.")
else if(getFireLoss() < (maxHealth / 2))
dat += span_warning("<B>[p_they(TRUE)] looks severely burned.</B>")
else
dat += span_warning("<B>[p_they(TRUE)] looks critically burned and blistered.</B>")
dat += span_warning("[p_they(TRUE)] looks slightly injured.")
return dat