mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-08-27 23:29:10 +01:00
converts our spans (#9185)
This commit is contained in:
@@ -28,11 +28,11 @@
|
||||
|
||||
/* DON'T CARE, DIDN'T ASK. YOU WILL PERFORM THE MACGUFFIN HEAT EXCHANGE AND NOT POWER DOWN UNTIL YOU ARE TOLD TO!
|
||||
if(draw_power(idle_power_usage) < idle_power_usage)
|
||||
visible_message("<b>\The [src]</b> shuts down.")
|
||||
turn_off()
|
||||
visible_message(span_infoplain(span_bold("\The [src]") + " shuts down."))
|
||||
turn_off()
|
||||
return
|
||||
*/
|
||||
|
||||
|
||||
var/datum/gas_mixture/env = loc.return_air()
|
||||
if(!env || abs(env.temperature - target_temp) < 1)
|
||||
change_mode(MODE_IDLE)
|
||||
@@ -71,4 +71,4 @@
|
||||
|
||||
#undef MODE_IDLE
|
||||
#undef MODE_HEATING
|
||||
#undef MODE_COOLING
|
||||
#undef MODE_COOLING
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
/obj/machinery/button/remote/blast_door/single_use/attack_hand(mob/user as mob)
|
||||
if(has_been_pressed)
|
||||
to_chat(user,"<span class='notice'>Nothing happens.</span>")
|
||||
to_chat(user,span_notice("Nothing happens."))
|
||||
return
|
||||
. = ..()
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
|
||||
/obj/machinery/button/remote/blast_door/single_use/slab/attack_hand(mob/user as mob)
|
||||
. = ..()
|
||||
to_chat(user,"<span class='notice'>You hear a heavy mechanism open somewhere in the distance.</span>")
|
||||
to_chat(user,span_notice("You hear a heavy mechanism open somewhere in the distance."))
|
||||
icon_state = "slab1"
|
||||
|
||||
/obj/machinery/button/remote/blast_door/single_use/slab/update_icon()
|
||||
|
||||
@@ -68,7 +68,7 @@
|
||||
if (notice)
|
||||
message = "A notice pops up on the interface: \"[message]\""
|
||||
if (target)
|
||||
to_chat(usr, "<span class='notice'>[message]</span>")
|
||||
to_chat(usr, span_notice("[message]"))
|
||||
|
||||
/obj/machinery/petrification/proc/petrify(var/obj/item/petrifier/petrifier = null)
|
||||
. = FALSE
|
||||
@@ -135,7 +135,7 @@
|
||||
comp?.cooldown = INFINITY
|
||||
|
||||
if (!petrifier)
|
||||
visible_message("<span class='notice'>A ray of purple light streams out of \the [src], aimed directly at [statue]. Everywhere the light touches on them quickly [adj] into [mat].</span>")
|
||||
visible_message(span_notice("A ray of purple light streams out of \the [src], aimed directly at [statue]. Everywhere the light touches on them quickly [adj] into [mat]."))
|
||||
SStgui.update_uis(src)
|
||||
return TRUE
|
||||
|
||||
@@ -234,7 +234,7 @@
|
||||
if (is_valid_target(target) && istext(material) && istext(identifier) && istext(adjective) && istext(tint))
|
||||
var/obj/item/petrifier/PE = remotes[target]
|
||||
if (!QDELETED(PE))
|
||||
PE.visible_message("<span class='warning'>\The [PE] disappears!</span>")
|
||||
PE.visible_message(span_warning("\The [PE] disappears!"))
|
||||
qdel(PE)
|
||||
var/obj/item/petrifier/P = new(loc, src)
|
||||
P.material = material
|
||||
@@ -251,4 +251,4 @@
|
||||
|
||||
/obj/item/paper/petrification_notes
|
||||
name = "written notes"
|
||||
info = "<font face=\"Times New Roman\"><i>Found this buried in the machine over there after digging through it a bit- I hooked it up to one of our displays so it was a bit more usable- seems to be a spare part, it was right next to another one that actually <b>was</b> hooked up. Turns things into other materials, probably one of the components that makes that machine work.</i></font>"
|
||||
info = "<font face=\"Times New Roman\">" + span_italics("Found this buried in the machine over there after digging through it a bit- I hooked it up to one of our displays so it was a bit more usable- seems to be a spare part, it was right next to another one that actually " + span_bold("was") + " hooked up. Turns things into other materials, probably one of the components that makes that machine work.") + "</font>"
|
||||
|
||||
@@ -42,10 +42,10 @@
|
||||
if(stat & (NOPOWER|BROKEN))
|
||||
if(occupant)
|
||||
go_out()
|
||||
visible_message("<b>\The [src]</b> emits a low droning sound, before the pod door clicks open.")
|
||||
visible_message(span_infoplain(span_bold("\The [src]") + " emits a low droning sound, before the pod door clicks open."))
|
||||
return
|
||||
else if(eject_dead && occupant && occupant.stat == DEAD) // If someone dies somehow while inside, spit them out.
|
||||
visible_message("<span class='warning'>\The [src] sounds an alarm, swinging its hatch open.</span>")
|
||||
visible_message(span_warning("\The [src] sounds an alarm, swinging its hatch open."))
|
||||
go_out()
|
||||
|
||||
/obj/machinery/vr_sleeper/update_icon()
|
||||
@@ -55,14 +55,14 @@
|
||||
/obj/machinery/vr_sleeper/examine(mob/user)
|
||||
. = ..()
|
||||
if(occupant)
|
||||
. += "<span class='notice'>[occupant] is inside.</span>"
|
||||
. += span_notice("[occupant] is inside.")
|
||||
|
||||
/obj/machinery/vr_sleeper/Topic(href, href_list)
|
||||
if(..())
|
||||
return 1
|
||||
|
||||
if(usr == occupant)
|
||||
to_chat(usr, "<span class='warning'>You can't reach the controls from the inside.</span>")
|
||||
to_chat(usr, span_warning("You can't reach the controls from the inside."))
|
||||
return
|
||||
|
||||
add_fingerprint(usr)
|
||||
@@ -115,7 +115,7 @@
|
||||
if(prob(15 / ( severity / 4 )) && occupant.species.has_organ[O_BRAIN] && occupant.internal_organs_by_name[O_BRAIN])
|
||||
var/obj/item/organ/O = occupant.internal_organs_by_name[O_BRAIN]
|
||||
O.take_damage(severity * 2)
|
||||
visible_message("<span class='danger'>\The [src]'s internal lighting flashes rapidly, before the hatch swings open with a cloud of smoke.</span>")
|
||||
visible_message(span_danger("\The [src]'s internal lighting flashes rapidly, before the hatch swings open with a cloud of smoke."))
|
||||
smoke.set_up(severity, 0, src)
|
||||
smoke.start("#202020")
|
||||
go_out()
|
||||
@@ -159,9 +159,9 @@
|
||||
if(stat & (BROKEN|NOPOWER))
|
||||
return
|
||||
if(!ishuman(M))
|
||||
to_chat(user, "<span class='warning'>\The [src] rejects [M] with a sharp beep.</span>")
|
||||
to_chat(user, span_warning("\The [src] rejects [M] with a sharp beep."))
|
||||
if(occupant)
|
||||
to_chat(user, "<span class='warning'>\The [src] is already occupied.</span>")
|
||||
to_chat(user, span_warning("\The [src] is already occupied."))
|
||||
return
|
||||
|
||||
if(M == user)
|
||||
@@ -171,7 +171,7 @@
|
||||
|
||||
if(do_after(user, 20))
|
||||
if(occupant)
|
||||
to_chat(user, "<span class='warning'>\The [src] is already occupied.</span>")
|
||||
to_chat(user, span_warning("\The [src] is already occupied."))
|
||||
return
|
||||
M.stop_pulling()
|
||||
if(M.client)
|
||||
@@ -188,7 +188,7 @@
|
||||
update_use_power(USE_POWER_ACTIVE)
|
||||
enter_vr()
|
||||
else
|
||||
to_chat(user, "<span class='warning'>\The [src] rejects [M] with a sharp beep.</span>")
|
||||
to_chat(user, span_warning("\The [src] rejects [M] with a sharp beep."))
|
||||
//VOREstation edit end
|
||||
return
|
||||
|
||||
|
||||
Reference in New Issue
Block a user