mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-28 07:20:09 +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:
@@ -97,7 +97,7 @@
|
||||
|
||||
if(istype(I, /obj/item/weapon/storage/bag/trash))
|
||||
var/obj/item/weapon/storage/bag/trash/T = I
|
||||
user << "\blue You empty the bag."
|
||||
user << "<span class='notice'>You empty the bag.</span>"
|
||||
for(var/obj/item/O in T.contents)
|
||||
T.remove_from_storage(O,src)
|
||||
T.update_icon()
|
||||
@@ -113,9 +113,9 @@
|
||||
L.forceMove(src)
|
||||
|
||||
if (count)
|
||||
user << "\blue You empty [count] broken bulbs into the disposal."
|
||||
user << "<span class='notice'>You empty [count] broken bulbs into the disposal.</span>"
|
||||
else
|
||||
user << "\blue There are no broken bulbs to empty out."
|
||||
user << "<span class='notice'>There are no broken bulbs to empty out.</span>"
|
||||
update()
|
||||
return
|
||||
|
||||
@@ -131,7 +131,7 @@
|
||||
GM.client.eye = src
|
||||
GM.forceMove(src)
|
||||
for (var/mob/C in viewers(src))
|
||||
C.show_message("\red [GM.name] has been placed in the [src] by [user].", 3)
|
||||
C.show_message("<span class='warning'>[GM.name] has been placed in the [src] by [user].</span>", 3)
|
||||
qdel(G)
|
||||
usr.attack_log += text("\[[time_stamp()]\] <font color='red'>Has placed [GM.name] ([GM.ckey]) in disposals.</font>")
|
||||
GM.attack_log += text("\[[time_stamp()]\] <font color='orange'>Has been placed in disposals by [usr.name] ([usr.ckey])</font>")
|
||||
@@ -236,7 +236,7 @@
|
||||
return
|
||||
|
||||
if(user && user.loc == src)
|
||||
usr << "\red You cannot reach the controls from inside."
|
||||
usr << "<span class='warning'>You cannot reach the controls from inside.</span>"
|
||||
return
|
||||
|
||||
// Clumsy folks can only flush it.
|
||||
@@ -285,11 +285,11 @@
|
||||
|
||||
/obj/machinery/disposal/Topic(href, href_list)
|
||||
if(usr.loc == src)
|
||||
usr << "\red You cannot reach the controls from inside."
|
||||
usr << "<span class='warning'>You cannot reach the controls from inside.</span>"
|
||||
return
|
||||
|
||||
if(mode==-1 && !href_list["eject"]) // only allow ejecting if mode is -1
|
||||
usr << "\red The disposal units power is disabled."
|
||||
usr << "<span class='warning'>The disposal units power is disabled.</span>"
|
||||
return
|
||||
if(..())
|
||||
return
|
||||
@@ -1144,7 +1144,7 @@
|
||||
if(O.currTag)// Tag set
|
||||
sort_tag = O.currTag
|
||||
playsound(src.loc, 'sound/machines/twobeep.ogg', 100, 1)
|
||||
user << "\blue Changed tag to '[sort_tag]'."
|
||||
user << "<span class='notice'>Changed tag to '[sort_tag]'.</span>"
|
||||
updatename()
|
||||
updatedesc()
|
||||
|
||||
@@ -1213,7 +1213,7 @@
|
||||
if(O.currTag)// Tag set
|
||||
sortType = O.currTag
|
||||
playsound(src.loc, 'sound/machines/twobeep.ogg', 100, 1)
|
||||
user << "\blue Changed filter to '[sortType]'."
|
||||
user << "<span class='notice'>Changed filter to '[sortType]'.</span>"
|
||||
updatename()
|
||||
updatedesc()
|
||||
|
||||
|
||||
@@ -47,7 +47,7 @@
|
||||
if("Title")
|
||||
var/str = sanitizeSafe(input(usr,"Label text?","Set label",""), MAX_NAME_LEN)
|
||||
if(!str || !length(str))
|
||||
usr << "<span class='warning'> Invalid text.</span>"
|
||||
usr << "<span class='warning'>Invalid text.</span>"
|
||||
return
|
||||
user.visible_message("\The [user] titles \the [src] with \a [W], marking down: \"[str]\"",\
|
||||
"<span class='notice'>You title \the [src]: \"[str]\"</span>",\
|
||||
@@ -61,7 +61,7 @@
|
||||
if("Description")
|
||||
var/str = sanitize(input(usr,"Label text?","Set label",""))
|
||||
if(!str || !length(str))
|
||||
usr << "\red Invalid text."
|
||||
usr << "<span class='warning'>Invalid text.</span>"
|
||||
return
|
||||
if(!examtext && !nameset)
|
||||
examtext = str
|
||||
@@ -154,7 +154,7 @@
|
||||
if("Title")
|
||||
var/str = sanitizeSafe(input(usr,"Label text?","Set label",""), MAX_NAME_LEN)
|
||||
if(!str || !length(str))
|
||||
usr << "<span class='warning'> Invalid text.</span>"
|
||||
usr << "<span class='warning'>Invalid text.</span>"
|
||||
return
|
||||
user.visible_message("\The [user] titles \the [src] with \a [W], marking down: \"[str]\"",\
|
||||
"<span class='notice'>You title \the [src]: \"[str]\"</span>",\
|
||||
@@ -169,7 +169,7 @@
|
||||
if("Description")
|
||||
var/str = sanitize(input(usr,"Label text?","Set label",""))
|
||||
if(!str || !length(str))
|
||||
usr << "\red Invalid text."
|
||||
usr << "<span class='warning'>Invalid text.</span>"
|
||||
return
|
||||
if(!examtext && !nameset)
|
||||
examtext = str
|
||||
@@ -297,7 +297,7 @@
|
||||
else if(src.amount < 3)
|
||||
user << "<span class='warning'>You need more paper.</span>"
|
||||
else
|
||||
user << "\blue The object you are trying to wrap is unsuitable for the sorting machinery!"
|
||||
user << "<span class='notice'>The object you are trying to wrap is unsuitable for the sorting machinery!</span>"
|
||||
if (src.amount <= 0)
|
||||
new /obj/item/weapon/c_tube( src.loc )
|
||||
qdel(src)
|
||||
@@ -306,7 +306,7 @@
|
||||
|
||||
/obj/item/weapon/packageWrap/examine(mob/user)
|
||||
if(..(user, 0))
|
||||
user << "\blue There are [amount] units of package wrap left!"
|
||||
user << "<span class='notice'>There are [amount] units of package wrap left!</span>"
|
||||
|
||||
return
|
||||
|
||||
|
||||
Reference in New Issue
Block a user