refactors most spans

This commit is contained in:
Kashargul
2024-10-02 21:10:31 +02:00
parent 5417c7772c
commit a2c673ab7a
1517 changed files with 12436 additions and 12347 deletions
+8 -8
View File
@@ -4,7 +4,7 @@
req_access = list(access_cent_specops)
/obj/machinery/computer/shuttle_control/specops/attack_ai(user as mob)
to_chat(user, "<span class='warning'>Access Denied.</span>")
to_chat(user, span_warning("Access Denied."))
return 1
// Formerly /datum/shuttle/ferry/multidock/specops
@@ -36,14 +36,14 @@
var/obj/machinery/computer/C = user
if(world.time <= reset_time)
C.visible_message("<span class='notice'>[global.using_map.boss_name] will not allow the Special Operations shuttle to launch yet.</span>")
C.visible_message(span_notice("[global.using_map.boss_name] will not allow the Special Operations shuttle to launch yet."))
if (((world.time - reset_time)/10) > 60)
C.visible_message("<span class='notice'>[-((world.time - reset_time)/10)/60] minutes remain!</span>")
C.visible_message(span_notice("[-((world.time - reset_time)/10)/60] minutes remain!"))
else
C.visible_message("<span class='notice'>[-(world.time - reset_time)/10] seconds remain!</span>")
C.visible_message(span_notice("[-(world.time - reset_time)/10] seconds remain!"))
return
C.visible_message("<span class='notice'>The Special Operations shuttle will depart in [(specops_countdown_time/10)] seconds.</span>")
C.visible_message(span_notice("The Special Operations shuttle will depart in [(specops_countdown_time/10)] seconds."))
if (location) //returning
radio_announce("THE SPECIAL OPERATIONS SHUTTLE IS PREPARING TO RETURN")
@@ -67,12 +67,12 @@
if (!location) //just arrived home
for(var/turf/T in get_area_turfs(shuttle_area))
var/mob/M = locate(/mob) in T
to_chat(M, "<span class='danger'>You have arrived at [using_map.boss_name]. Operation has ended!</span>")
to_chat(M, span_danger("You have arrived at [using_map.boss_name]. Operation has ended!"))
else //just left for the station
launch_mauraders()
for(var/turf/T in get_area_turfs(shuttle_area))
var/mob/M = locate(/mob) in T
to_chat(M, "<span class='danger'>You have arrived at [station_name()]. Commence operation!</span>")
to_chat(M, span_danger("You have arrived at [station_name()]. Commence operation!"))
var/obj/machinery/light/small/readylight/light = locate() in T
if(light) light.set_state(1)
@@ -85,7 +85,7 @@
radio_announce("ALERT: LAUNCH SEQUENCE ABORTED")
if (istype(in_use, /obj/machinery/computer))
var/obj/machinery/computer/C = in_use
C.visible_message("<span class='warning'>Launch sequence aborted.</span>")
C.visible_message(span_warning("Launch sequence aborted."))
..()