mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-27 22:18:27 +01:00
rid of old span macros
This commit is contained in:
@@ -92,5 +92,5 @@
|
||||
|
||||
/datum/event2/event/raise_funds/proc/send_command_report(title, message)
|
||||
post_comm_message(title, message)
|
||||
to_world(span("danger", "New [using_map.company_name] Update available at all communication consoles."))
|
||||
to_world(span_danger("New [using_map.company_name] Update available at all communication consoles."))
|
||||
SEND_SOUND(world, 'sound/AI/commandreport.ogg')
|
||||
|
||||
@@ -71,7 +71,7 @@
|
||||
for(var/obj/machinery/door/airlock/door in area.contents)
|
||||
if(can_break_door(door))
|
||||
addtimer(CALLBACK(src, PROC_REF(break_door), door), 1) // Emagging proc is actually a blocking proc and that's bad for the ticker.
|
||||
door.visible_message(span("danger", "\The [door]'s panel sparks!"))
|
||||
door.visible_message(span_danger("\The [door]'s panel sparks!"))
|
||||
playsound(door, "sparks", 50, 1)
|
||||
log_debug("Airlock Failure event has broken \the [door] airlock in [area].")
|
||||
affected_areas |= area
|
||||
|
||||
@@ -70,7 +70,7 @@
|
||||
return
|
||||
// Otherwise Vender Zero was taken out in some form.
|
||||
if(vender_zero)
|
||||
vender_zero.visible_message(span("notice", "\The [vender_zero]'s network activity light flickers wildly \
|
||||
vender_zero.visible_message(span_notice("\The [vender_zero]'s network activity light flickers wildly \
|
||||
for a few seconds as a small screen reads: 'Rolling out firmware reset to networked machines'."))
|
||||
for(var/obj/machinery/vending/vender in infected_vending_machines)
|
||||
cure_vender(vender)
|
||||
|
||||
@@ -78,7 +78,7 @@
|
||||
|
||||
chosen_window.take_damage(chosen_window.maxhealth * 0.8)
|
||||
playsound(chosen_window, 'sound/effects/Glasshit.ogg', 100, 1)
|
||||
chosen_window.visible_message(span("danger", "\The [chosen_window] suddenly begins to crack!"))
|
||||
chosen_window.visible_message(span_danger("\The [chosen_window] suddenly begins to crack!"))
|
||||
|
||||
/datum/event2/event/window_break/should_end()
|
||||
. = ..()
|
||||
|
||||
@@ -201,7 +201,7 @@
|
||||
global_announcer.autosay(message, my_department, DEPARTMENT_ENGINEERING)
|
||||
|
||||
for(var/mob/living/silicon/ai/A in player_list)
|
||||
to_chat(A, span("danger", "Malicious program detected in the [area_display_name] lighting and airlock control systems by [my_department]. \
|
||||
to_chat(A, span_danger("Malicious program detected in the [area_display_name] lighting and airlock control systems by [my_department]. \
|
||||
Disabling the main breaker in the APCs will protect the APC's room from being compromised."))
|
||||
|
||||
var/time_to_flicker = start_delay - 10 SECONDS
|
||||
|
||||
@@ -53,7 +53,7 @@
|
||||
pod.make_antag = antag_type
|
||||
pod.occupant_type = "[pod.make_antag] [pod.occupant_type]"
|
||||
|
||||
say_dead_object("[span("notice", pod.occupant_type)] pod is now available in \the [get_area(pod)].", pod)
|
||||
say_dead_object("[span_notice(pod.occupant_type)] pod is now available in \the [get_area(pod)].", pod)
|
||||
|
||||
/datum/event2/event/ghost_pod_spawner/stowaway/announce()
|
||||
if(prob(announce_odds))
|
||||
|
||||
Reference in New Issue
Block a user