mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-12 03:02:54 +00:00
[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:
@@ -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"
|
||||
..()
|
||||
..()
|
||||
|
||||
Reference in New Issue
Block a user