refactors most spans

This commit is contained in:
Kashargul
2024-10-02 21:10:31 +02:00
parent 5417c7772c
commit a2c673ab7a
1517 changed files with 12436 additions and 12347 deletions
+4 -4
View File
@@ -27,11 +27,11 @@
if(inflamed == 1)
if(prob(5))
to_chat(owner, "<span class='warning'>You feel a stinging pain in your abdomen!</span>")
to_chat(owner, span_warning("You feel a stinging pain in your abdomen!"))
owner.custom_emote(VISIBLE_MESSAGE, "winces slightly.")
if(inflamed > 1)
if(prob(3))
to_chat(owner, "<span class='warning'>You feel a stabbing pain in your abdomen!</span>")
to_chat(owner, span_warning("You feel a stabbing pain in your abdomen!"))
owner.custom_emote(VISIBLE_MESSAGE, "winces painfully.")
owner.adjustToxLoss(1)
if(inflamed > 2)
@@ -39,7 +39,7 @@
owner.vomit()
if(inflamed > 3)
if(prob(1))
to_chat(owner, "<span class='danger'>Your abdomen is a world of pain!</span>")
to_chat(owner, span_danger("Your abdomen is a world of pain!"))
owner.Weaken(10)
var/obj/item/organ/external/groin = owner.get_organ(BP_GROIN)
@@ -52,4 +52,4 @@
if(inflamed)
icon_state = "[initial(icon_state)]inflamed"
name = "inflamed appendix"
..()
..()