mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-22 03:27:46 +01:00
refactors most spans
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
else // AIs will always know if there's a comm blackout, rogue AIs could then lie about comm blackouts in the future while they shutdown comms
|
||||
for(var/mob/living/silicon/ai/A in player_list)
|
||||
to_chat(A, "<br>")
|
||||
to_chat(A, "<span class='warning'><b>Ionospheric anomalies detected. Temporary telecommunication failure imminent. Please contact you-BZZT</b></span>")
|
||||
to_chat(A, span_warning("<b>Ionospheric anomalies detected. Temporary telecommunication failure imminent. Please contact you-BZZT</b>"))
|
||||
to_chat(A, "<br>")
|
||||
for(var/obj/machinery/telecomms/T in telecomms_list)
|
||||
T.emp_act(1)
|
||||
|
||||
@@ -1,14 +1,14 @@
|
||||
/datum/event/communications_blackout/announce()
|
||||
var/alert = pick( "Ionospheric anomalies detected. Temporary telecommunication failure imminent. Please contact you*%fj00)`5vc-BZZT", \
|
||||
"Ionospheric anomalies detected. Temporary telecommunication failu*3mga;b4;'1v¬-BZZZT", \
|
||||
"Ionospheric anomalies detected. Temporary telecommunication failu*3mga;b4;'1v�-BZZZT", \
|
||||
"Ionospheric anomalies detected. Temporary telec#MCi46:5.;@63-BZZZZT", \
|
||||
"Ionospheric anomalies dete'fZ\\kg5_0-BZZZZZT", \
|
||||
"Ionospheri:%£ MCayj^j<.3-BZZZZZZT", \
|
||||
"#4nd%;f4y6,>£%-BZZZZZZZT")
|
||||
"Ionospheri:%� MCayj^j<.3-BZZZZZZT", \
|
||||
"#4nd%;f4y6,>�%-BZZZZZZZT")
|
||||
|
||||
for(var/mob/living/silicon/ai/A in player_list) //AIs are always aware of communication blackouts.
|
||||
to_chat(A, "<br>")
|
||||
to_chat(A, "<span class='warning'><b>[alert]</b></span>")
|
||||
to_chat(A, span_warning("<b>[alert]</b>"))
|
||||
to_chat(A, "<br>")
|
||||
|
||||
if(prob(30)) //most of the time, we don't want an announcement, so as to allow AIs to fake blackouts.
|
||||
|
||||
@@ -39,7 +39,7 @@
|
||||
var/area/A = get_area(S)
|
||||
if(!A || A.flags & RAD_SHIELDED) // Rad shielding will protect from ions too
|
||||
continue
|
||||
to_chat(S, "<span class='warning'>Your integrated sensors detect an ionospheric anomaly. Your systems will be impacted as you begin a partial restart.</span>")
|
||||
to_chat(S, span_warning("Your integrated sensors detect an ionospheric anomaly. Your systems will be impacted as you begin a partial restart."))
|
||||
var/ionbug = rand(3, 9)
|
||||
S.confused += ionbug
|
||||
S.eye_blurry += (ionbug - 1)
|
||||
@@ -49,7 +49,7 @@
|
||||
if(!(target.z in affecting_z))
|
||||
continue
|
||||
var/law = target.generate_ion_law()
|
||||
to_chat(target, "<span class='danger'>You have detected a change in your laws information:</span>")
|
||||
to_chat(target, span_danger("You have detected a change in your laws information:"))
|
||||
to_chat(target, law)
|
||||
target.add_ion_law(law)
|
||||
target.show_laws()
|
||||
|
||||
@@ -62,7 +62,7 @@
|
||||
if(!mob_turf || !(mob_turf.z in impacted.expected_z_levels))
|
||||
continue
|
||||
if(L.client)
|
||||
to_chat(L, "<span class='danger'>The ground lurches beneath you!</span>")
|
||||
to_chat(L, span_danger("The ground lurches beneath you!"))
|
||||
shake_camera(L, 6, 1)
|
||||
if(!L.ear_deaf)
|
||||
L << 'sound/effects/explosionfar.ogg'
|
||||
@@ -98,7 +98,7 @@
|
||||
/obj/structure/meteorite/attackby(var/obj/item/I, var/mob/M)
|
||||
if(istype(I, /obj/item/pickaxe))
|
||||
var/obj/item/pickaxe/P = I
|
||||
M.visible_message("<span class='warning'>[M] starts [P.drill_verb] \the [src].</span>", "<span class='warning'>You start [P.drill_verb] \the [src].</span>")
|
||||
M.visible_message(span_warning("[M] starts [P.drill_verb] \the [src]."), span_warning("You start [P.drill_verb] \the [src]."))
|
||||
|
||||
if(!do_after(M, P.digspeed*3))
|
||||
return
|
||||
@@ -107,4 +107,4 @@
|
||||
for(var/obj/O in src)
|
||||
O.forceMove(get_turf(src))
|
||||
qdel(src)
|
||||
return
|
||||
return
|
||||
|
||||
@@ -51,7 +51,7 @@
|
||||
for(var/obj/machinery/message_server/MS in machines)
|
||||
MS.send_rc_message("Engineering", my_department, rc_message, "", "", 2)
|
||||
for(var/mob/living/silicon/ai/A in player_list)
|
||||
to_chat(A, "<span class='danger'>Malicious program detected in the [english_list(areaName)] lighting and airlock control systems by [my_department].</span>")
|
||||
to_chat(A, span_danger("Malicious program detected in the [english_list(areaName)] lighting and airlock control systems by [my_department]."))
|
||||
|
||||
else
|
||||
to_world_log("ERROR: Could not initate grey-tide. Unable to find suitable containment area.")
|
||||
|
||||
Reference in New Issue
Block a user