[MIRROR] refactors most spans (#9139)

Co-authored-by: Heroman3003 <31296024+Heroman3003@users.noreply.github.com>
Co-authored-by: Kashargul <KashL@t-online.de>
This commit is contained in:
CHOMPStation2
2024-10-04 06:00:17 -07:00
committed by GitHub
parent 43ee646816
commit ab154b48b2
1511 changed files with 12497 additions and 12357 deletions

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"
..()
..()