Add damage description to simple mobs, nerf imps a bit

This commit is contained in:
ariaworld
2024-09-07 21:28:16 +02:00
parent c57d30a859
commit 2c17a32098
2 changed files with 23 additions and 2 deletions
@@ -641,3 +641,24 @@
if (AIStatus == AI_Z_OFF)
SSidlenpcpool.idle_mobs_by_zlevel[old_z] -= src
toggle_ai(initial(AIStatus))
/mob/living/simple_animal/examine(mob/user)
. = ..()
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
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>")
return dat
@@ -17,7 +17,7 @@
ranged_cooldown_time = 70
throw_message = "does nothing against the hardened skin of"
vision_range = 5
speed = 1
speed = 1.3
maxHealth = 150
health = 150
harm_intent_damage = 15
@@ -72,7 +72,7 @@
damage_type = BURN
nodamage = 0
armour_penetration = 20
var/firestacks = 5
var/firestacks = 3
/obj/item/projectile/magic/impfireball/on_hit(target)
. = ..()