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:
Ron
2017-05-21 12:07:57 +03:00
committed by skull132
parent fe396373c6
commit 790480c8da
226 changed files with 1027 additions and 1027 deletions
+14 -14
View File
@@ -46,56 +46,56 @@
/obj/machinery/apiary/attackby(var/obj/item/O as obj, var/mob/user as mob)
if(istype(O, /obj/item/queen_bee))
if(health > 0)
user << "\red There is already a queen in there."
user << "<span class='warning'>There is already a queen in there.</span>"
else
health = 10
nutrilevel += 10
user.drop_item()
qdel(O)
user << "\blue You carefully insert the queen into [src], she gets busy making a hive."
user << "<span class='notice'>You carefully insert the queen into [src], she gets busy making a hive.</span>"
bees_in_hive = 0
else if(istype(O, /obj/item/beezeez))
beezeez += 100
nutrilevel += 10
user.drop_item()
if(health > 0)
user << "\blue You insert [O] into [src]. A relaxed humming appears to pick up."
user << "<span class='notice'>You insert [O] into [src]. A relaxed humming appears to pick up.</span>"
else
user << "\blue You insert [O] into [src]. Now it just needs some bees."
user << "<span class='notice'>You insert [O] into [src]. Now it just needs some bees.</span>"
qdel(O)
else if(istype(O, /obj/item/weapon/material/minihoe))
if(health > 0)
user << "\red <b>You begin to dislodge the apiary from the tray, the bees don't like that.</b>"
user << "<span class='danger'>You begin to dislodge the apiary from the tray, the bees don't like that.</span>"
angry_swarm(user)
else
user << "\blue You begin to dislodge the dead apiary from the tray."
user << "<span class='notice'>You begin to dislodge the dead apiary from the tray.</span>"
if(do_after(user, 50))
new hydrotray_type(src.loc)
new /obj/item/apiary(src.loc)
user << "\red You dislodge the apiary from the tray."
user << "<span class='warning'>You dislodge the apiary from the tray.</span>"
qdel(src)
else if(istype(O, /obj/item/weapon/bee_net))
var/obj/item/weapon/bee_net/N = O
if(N.caught_bees > 0)
user << "\blue You empty the bees into the apiary."
user << "<span class='notice'>You empty the bees into the apiary.</span>"
bees_in_hive += N.caught_bees
N.caught_bees = 0
else
user << "\blue There are no more bees in the net."
user << "<span class='notice'>There are no more bees in the net.</span>"
else if(istype(O, /obj/item/weapon/reagent_containers/glass))
var/obj/item/weapon/reagent_containers/glass/G = O
if(harvestable_honey > 0)
if(health > 0)
user << "\red You begin to harvest the honey. The bees don't seem to like it."
user << "<span class='warning'>You begin to harvest the honey. The bees don't seem to like it.</span>"
angry_swarm(user)
else
user << "\blue You begin to harvest the honey."
user << "<span class='notice'>You begin to harvest the honey.</span>"
if(do_after(user,50))
G.reagents.add_reagent("honey",harvestable_honey)
harvestable_honey = 0
user << "\blue You successfully harvest the honey."
user << "<span class='notice'>You successfully harvest the honey.</span>"
else
user << "\blue There is no honey left to harvest."
user << "<span class='notice'>There is no honey left to harvest.</span>"
else
angry_swarm(user)
..()
@@ -236,5 +236,5 @@
if(toxic > 0)
H.reagents.add_reagent("toxin", toxic)
usr << "\blue You harvest the honeycomb from the hive. There is a wild buzzing!"
usr << "<span class='notice'>You harvest the honeycomb from the hive. There is a wild buzzing!</span>"
angry_swarm(usr)