[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

@@ -28,7 +28,7 @@
priority_mode = TRUE
cancel_pending_floors()
update_ext_panel_icons()
control_panel_interior.audible_message("<span class='info'>This turbolift is responding to a priority call. Please exit the lift when it stops and make way.</span>", runemessage = "BUZZ")
control_panel_interior.audible_message(span_info("This turbolift is responding to a priority call. Please exit the lift when it stops and make way."), runemessage = "BUZZ")
spawn(time)
priority_mode = FALSE
update_ext_panel_icons()

View File

@@ -24,7 +24,7 @@
/obj/structure/lift/proc/pressed(var/mob/user)
if(!istype(user, /mob/living/silicon))
if(user.a_intent == I_HURT)
user.visible_message("<span class='danger'>\The [user] hammers on the lift button!</span>")
user.visible_message(span_danger("\The [user] hammers on the lift button!"))
else
user.visible_message("<b>\The [user]</b> presses the lift button.")
@@ -130,10 +130,10 @@
return
lift.update_fire_mode(!lift.fire_mode)
if(lift.fire_mode)
audible_message("<span class='danger'>Firefighter Mode Activated. Door safeties disabled. Manual control engaged.</span>", runemessage = "SCREECH")
audible_message(span_danger("Firefighter Mode Activated. Door safeties disabled. Manual control engaged."), runemessage = "SCREECH")
playsound(src, 'sound/machines/airalarm.ogg', 25, 0, 4, volume_channel = VOLUME_CHANNEL_ALARMS)
else
audible_message("<span class='warning'>Firefighter Mode Deactivated. Door safeties enabled. Automatic control engaged.</span>", runemessage = "ding")
audible_message(span_warning("Firefighter Mode Deactivated. Door safeties enabled. Automatic control engaged."), runemessage = "ding")
return
. = ..()
@@ -143,7 +143,7 @@
/obj/structure/lift/panel/interact(var/mob/user)
if(!..())
return
tgui_interact(user)
/obj/structure/lift/panel/tgui_interact(mob/user, datum/tgui/ui)
@@ -171,7 +171,7 @@
"name" = floor.name,
)))
data["floors"] = floors
return data
/obj/structure/lift/panel/tgui_act(action, params)
@@ -201,4 +201,4 @@
else
icon_state = initial(icon_state)
// End panel.
// End panel.

View File

@@ -1,5 +1,5 @@
// Vore specific code for /obj/machinery/door/airlock/lift
/obj/machinery/door/airlock/lift/emag_act(var/uses_left, var/mob/user)
to_chat(user, "<span class='danger'>This door is internally controlled.</span>")
to_chat(user, span_danger("This door is internally controlled."))
return 0 // Prevents the cryptographic sequencer from using a charge fruitlessly