mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-24 04:27:35 +01:00
Convert most spans to defines (#31080)
* spanish? * aaaagain * keep maptext * Update robot_items.dm * Update span_defines.dm * compiles * Update silicon_mob.dm * compile
This commit is contained in:
@@ -291,10 +291,10 @@
|
||||
user.changeNext_move(CLICK_CD_MELEE)
|
||||
user.do_attack_animation(src, ATTACK_EFFECT_PUNCH)
|
||||
if(prob(75 - metal * 25))
|
||||
user.visible_message("<span class='warning'>[user] smashes through [src].</span>", "<span class='notice'>You smash through [src].</span>")
|
||||
user.visible_message(SPAN_WARNING("[user] smashes through [src]."), SPAN_NOTICE("You smash through [src]."))
|
||||
qdel(src)
|
||||
else
|
||||
to_chat(user, "<span class='notice'>You hit the metal foam but bounce off it.</span>")
|
||||
to_chat(user, SPAN_NOTICE("You hit the metal foam but bounce off it."))
|
||||
playsound(loc, 'sound/weapons/tap.ogg', 100, 1)
|
||||
|
||||
/obj/structure/foamedmetal/CanPass(atom/movable/mover, border_dir)
|
||||
|
||||
@@ -92,10 +92,10 @@
|
||||
do_sparks(2, 1, location)
|
||||
|
||||
for(var/mob/M in viewers(5, location))
|
||||
to_chat(M, "<span class='warning'>The solution violently explodes.</span>")
|
||||
to_chat(M, SPAN_WARNING("The solution violently explodes."))
|
||||
for(var/mob/living/L in viewers(1, location))
|
||||
if(prob(50 * amount))
|
||||
to_chat(L, "<span class='warning'>The explosion knocks you down.</span>")
|
||||
to_chat(L, SPAN_WARNING("The explosion knocks you down."))
|
||||
L.Weaken(rand(2 SECONDS, 10 SECONDS))
|
||||
return
|
||||
else
|
||||
@@ -118,7 +118,7 @@
|
||||
flash += (round(amount/4) * flashing_factor)
|
||||
|
||||
for(var/mob/M in viewers(8, location))
|
||||
to_chat(M, "<span class='warning'>The solution violently explodes.</span>")
|
||||
to_chat(M, SPAN_WARNING("The solution violently explodes."))
|
||||
|
||||
explosion(location, devastation, heavy, light, flash, cause = "Reagents Explosion")
|
||||
|
||||
|
||||
@@ -156,7 +156,7 @@
|
||||
|
||||
breather.adjust_bodytemperature(80) // Enough to immediately take a small amount of damage, but people cool down quickly.
|
||||
if(prob(20))
|
||||
to_chat(breather, "<span class='warning'>You are being scalded by the hot steam!</span>")
|
||||
to_chat(breather, SPAN_WARNING("You are being scalded by the hot steam!"))
|
||||
|
||||
/////////////////////////////////////////////
|
||||
// Nanofrost smoke
|
||||
@@ -182,12 +182,12 @@
|
||||
if(!isnull(V.welded) && !V.welded) //must be an unwelded vent pump.
|
||||
V.welded = TRUE
|
||||
V.update_icon()
|
||||
V.visible_message("<span class='danger'>[V] was frozen shut!</span>")
|
||||
V.visible_message(SPAN_DANGER("[V] was frozen shut!"))
|
||||
for(var/obj/machinery/atmospherics/unary/vent_scrubber/U in T)
|
||||
if(!isnull(U.welded) && !U.welded) //must be an unwelded vent scrubber.
|
||||
U.welded = TRUE
|
||||
U.update_icon()
|
||||
U.visible_message("<span class='danger'>[U] was frozen shut!</span>")
|
||||
U.visible_message(SPAN_DANGER("[U] was frozen shut!"))
|
||||
for(var/mob/living/L in T)
|
||||
L.ExtinguishMob()
|
||||
for(var/obj/item/Item in T)
|
||||
|
||||
Reference in New Issue
Block a user