mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-29 16:18:01 +01:00
Adds back the span class tags that I removed on previous commits while updating the branch.
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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
|
||||
..()
|
||||
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user