Adds back the span class tags that I removed on previous commits while updating the branch.

This commit is contained in:
Aranclanos
2014-09-02 20:26:33 -03:00
parent 86387a2218
commit 8cb30cf950
4 changed files with 10 additions and 10 deletions
+4 -4
View File
@@ -61,21 +61,21 @@ Pipelines + Other Objects -> Pipe network
if(can_unwrench && istype(W, /obj/item/weapon/wrench))
var/turf/T = src.loc
if (level==1 && isturf(T) && T.intact)
user << "\red You must remove the plating first."
user << "<span class='danger'>You must remove the plating first.</span>"
return 1
var/datum/gas_mixture/int_air = return_air()
var/datum/gas_mixture/env_air = loc.return_air()
if ((int_air.return_pressure()-env_air.return_pressure()) > 2*ONE_ATMOSPHERE)
user << "\red You cannot unwrench this [src], it is too exerted due to internal pressure."
user << "<span class='danger'>You cannot unwrench this [src], it is too exerted due to internal pressure.</span>"
add_fingerprint(user)
return 1
playsound(src.loc, 'sound/items/Ratchet.ogg', 50, 1)
user << "\blue You begin to unfasten \the [src]..."
user << "<span class='notice'>You begin to unfasten \the [src]...</span>"
add_fingerprint(user)
if (do_after(user, 40))
user.visible_message( \
"[user] unfastens \the [src].", \
"\blue You have unfastened \the [src].", \
"<span class='notice'>You have unfastened \the [src].</span>", \
"You hear ratchet.")
var/obj/item/pipe/newpipe = new(loc, make_from=src)
transfer_fingerprints_to(newpipe)
+1 -1
View File
@@ -268,7 +268,7 @@ obj/machinery/atmospherics/valve/attack_hand(mob/user as mob)
/obj/machinery/atmospherics/valve/digital/attack_hand(mob/user as mob)
if(!src.allowed(user))
user << "\red Access denied."
user << "<span class='danger'>Access denied</span>"
return
..()
+1 -1
View File
@@ -138,7 +138,7 @@
else return 1
/obj/machinery/atmospherics/pipe/simple/proc/burst()
src.visible_message("\red \bold [src] bursts!");
src.visible_message("<span class='userdanger'>[src] bursts!</span>");
playsound(src.loc, 'sound/effects/bang.ogg', 25, 1)
var/datum/effect/effect/system/harmless_smoke_spread/smoke = new
smoke.set_up(1,0, src.loc, 0)
+4 -4
View File
@@ -250,7 +250,7 @@ Buildable meters
for(var/obj/machinery/atmospherics/M in src.loc)
if(M.initialize_directions & pipe_dir) // matches at least one direction on either type of pipe
user << "\red There is already a pipe at that location."
user << "<span class='danger'>There is already a pipe at that location.</span>"
return 1
// no conflicts found
@@ -523,7 +523,7 @@ Buildable meters
playsound(src.loc, 'sound/items/Ratchet.ogg', 50, 1)
user.visible_message( \
"[user] fastens the [src].", \
"\blue You have fastened the [src].", \
"<span class='notice'>You have fastened the [src].</span>", \
"You hear ratchet.")
qdel(src) // remove the pipe item
@@ -548,11 +548,11 @@ Buildable meters
if (!istype(W, /obj/item/weapon/wrench))
return ..()
if(!locate(/obj/machinery/atmospherics/pipe, src.loc))
user << "\red You need to fasten it to a pipe"
user << "<span class='danger'>You need to fasten it to a pipe</span>"
return 1
new/obj/machinery/meter( src.loc )
playsound(src.loc, 'sound/items/Ratchet.ogg', 50, 1)
user << "\blue You have fastened the meter to the pipe"
user << "<span class='notice'>You have fastened the meter to the pipe</span>"
qdel(src)
#undef PIPE_SIMPLE_STRAIGHT