mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-22 12:29:46 +01:00
Removes all \red and \blue's (#2309)
Removes all \red's and \blues in favor of span classes. \red things that were bold were replaced with danger because it's warning but bold.
This commit is contained in:
@@ -49,7 +49,7 @@ var/global/list/rad_collectors = list()
|
||||
investigate_log("turned [active?"<font color='green'>on</font>":"<font color='red'>off</font>"] by [user.key]. [P?"Fuel: [round(P.air_contents.gas["phoron"]/0.29)]%":"<font color='red'>It is empty</font>"].","singulo")
|
||||
return
|
||||
else
|
||||
user << "\red The controls are locked!"
|
||||
user << "<span class='warning'>The controls are locked!</span>"
|
||||
return
|
||||
..()
|
||||
|
||||
@@ -57,10 +57,10 @@ var/global/list/rad_collectors = list()
|
||||
/obj/machinery/power/rad_collector/attackby(obj/item/W, mob/user)
|
||||
if(istype(W, /obj/item/weapon/tank/phoron))
|
||||
if(!src.anchored)
|
||||
user << "\red The [src] needs to be secured to the floor first."
|
||||
user << "<span class='warning'>The [src] needs to be secured to the floor first.</span>"
|
||||
return 1
|
||||
if(src.P)
|
||||
user << "\red There's already a phoron tank loaded."
|
||||
user << "<span class='warning'>There's already a phoron tank loaded.</span>"
|
||||
return 1
|
||||
user.drop_item()
|
||||
src.P = W
|
||||
@@ -73,7 +73,7 @@ var/global/list/rad_collectors = list()
|
||||
return 1
|
||||
else if(istype(W, /obj/item/weapon/wrench))
|
||||
if(P)
|
||||
user << "\blue Remove the phoron tank first."
|
||||
user << "<span class='notice'>Remove the phoron tank first.</span>"
|
||||
return 1
|
||||
playsound(src.loc, 'sound/items/Ratchet.ogg', 75, 1)
|
||||
src.anchored = !src.anchored
|
||||
@@ -92,9 +92,9 @@ var/global/list/rad_collectors = list()
|
||||
user << "The controls are now [src.locked ? "locked." : "unlocked."]"
|
||||
else
|
||||
src.locked = 0 //just in case it somehow gets locked
|
||||
user << "\red The controls can only be locked when the [src] is active"
|
||||
user << "<span class='warning'>The controls can only be locked when the [src] is active.</span>"
|
||||
else
|
||||
user << "\red Access denied!"
|
||||
user << "<span class='warning'>Access denied!</span>"
|
||||
return 1
|
||||
return ..()
|
||||
|
||||
|
||||
@@ -116,13 +116,13 @@ field_generator power level display
|
||||
"You hear ratchet")
|
||||
src.anchored = 0
|
||||
if(2)
|
||||
user << "\red The [src.name] needs to be unwelded from the floor."
|
||||
user << "<span class='warning'>The [src.name] needs to be unwelded from the floor.</span>"
|
||||
return
|
||||
else if(istype(W, /obj/item/weapon/weldingtool))
|
||||
var/obj/item/weapon/weldingtool/WT = W
|
||||
switch(state)
|
||||
if(0)
|
||||
user << "\red The [src.name] needs to be wrenched to the floor."
|
||||
user << "<span class='warning'>The [src.name] needs to be wrenched to the floor.</span>"
|
||||
return
|
||||
if(1)
|
||||
if (WT.remove_fuel(0,user))
|
||||
|
||||
Reference in New Issue
Block a user