converts our spans (#9185)

This commit is contained in:
Kashargul
2024-10-07 20:47:23 +02:00
committed by GitHub
parent f4155aa973
commit a92a42b85b
162 changed files with 1360 additions and 1269 deletions
+12 -12
View File
@@ -37,7 +37,7 @@
impact_type = /obj/effect/projectile/impact/laser_omni
/obj/item/projectile/beam/crippling_beam/proc/bang(var/mob/living/carbon/M)
to_chat(M, "<span class='danger'>You hear a loud roar.</span>")
to_chat(M, span_danger("You hear a loud roar."))
playsound(src, 'sound/effects/bang.ogg', 50, 1)
var/ear_safety = 0
ear_safety = M.get_ear_protection()
@@ -52,14 +52,14 @@
M.ear_deaf = max(M.ear_deaf,15)
M.deaf_loop.start()
if (M.ear_damage >= 15)
to_chat(M, "<span class='danger'>Your ears start to ring badly!</span>")
to_chat(M, span_danger("Your ears start to ring badly!"))
if (prob(M.ear_damage - 5))
to_chat(M, "<span class='danger'>You can't hear anything!</span>")
to_chat(M, span_danger("You can't hear anything!"))
M.sdisabilities |= DEAF
M.deaf_loop.start()
else
if (M.ear_damage >= 5)
to_chat(M, "<span class='danger'>Your ears start to ring!</span>")
to_chat(M, span_danger("Your ears start to ring!"))
M.update_icons()
/obj/item/projectile/beam/crippling_beam/on_hit(var/atom/target)
@@ -208,8 +208,8 @@
name = "soothe"
desc = "Your body is soothed of pain."
on_created_text = "<span class='notice'>A blue lightning quickly covers your body. Pain quickly fading.</span>"
on_expired_text = "<span class='notice'>The lightning fades, and so too does the ongoing soothing of pain.</span>"
on_created_text = span_notice("A blue lightning quickly covers your body. Pain quickly fading.")
on_expired_text = span_notice("The lightning fades, and so too does the ongoing soothing of pain.")
stacks = MODIFIER_STACK_EXTEND
@@ -221,7 +221,7 @@
var/mob/living/carbon/human/H = holder
H.apply_effect(-20, AGONY)
if(prob(10))
to_chat(H, "<span class='warning'>It feels so comforting!</span>")
to_chat(H, span_warning("It feels so comforting!"))
////////////////////////////
// Purity Construct - Priest - Spells
@@ -256,8 +256,8 @@
name = "holy mending"
desc = "Your body is mending, rejoice!"
on_created_text = "<span class='notice'>A holy light envelops your body as it begins to mend.</span>"
on_expired_text = "<span class='notice'>The cloak of unease dissipates.</span>"
on_created_text = span_notice("A holy light envelops your body as it begins to mend.")
on_expired_text = span_notice("The cloak of unease dissipates.")
stacks = MODIFIER_STACK_EXTEND
@@ -300,7 +300,7 @@
if(iscultist(H))
H.apply_effect(100, AGONY)//it will heal cultists but purity really doesn't like them so causes much pain
if(prob(10))
to_chat(H, "<span class='danger'>It feels as though your body is being torn apart!</span>")
to_chat(H, span_danger("It feels as though your body is being torn apart!"))
L.updatehealth()
/spell/targeted/purity_repair_aura
@@ -329,8 +329,8 @@
name = "aura of repair (purity)"
desc = "You are emitting a field of strange energy, capable of repairing constructs."
on_created_text = "<span class='notice'>You begin emitting an purity repair aura.</span>"
on_expired_text = "<span class='notice'>The purity repair aura fades.</span>"
on_created_text = span_notice("You begin emitting an purity repair aura.")
on_expired_text = span_notice("The purity repair aura fades.")
stacks = MODIFIER_STACK_EXTEND
/datum/modifier/repair_aura_purity/tick()