SPANCLASSES!!!!!

This commit is contained in:
Firecage
2014-08-26 09:52:13 +02:00
parent a64217bafb
commit 6c7af5eb32
244 changed files with 1337 additions and 1336 deletions
@@ -137,7 +137,7 @@
return
src.add_fingerprint(usr)
if(!src.allowed(user))
user << "\red Access denied."
user << "<span class='danger'>Access denied.</span>"
return
usr.set_machine(src)
interact(user)
@@ -165,6 +165,6 @@
if (!istype(W, /obj/item/weapon/wrench))
return ..()
if (on)
user << "\red You cannot unwrench this [src], turn it off first."
user << "<span class='danger'>You cannot unwrench this [src], turn it off first.</span>"
return 1
return ..()
@@ -151,7 +151,7 @@ Thus, the two variables affect pump operation are set in New():
return
src.add_fingerprint(usr)
if(!src.allowed(user))
user << "\red Access denied."
user << "<span class='danger'>Access denied.</span>"
return
usr.set_machine(src)
interact(user)
@@ -177,7 +177,7 @@ Thus, the two variables affect pump operation are set in New():
if (!istype(W, /obj/item/weapon/wrench))
return ..()
if (!(stat & NOPOWER) && on)
user << "\red You cannot unwrench this [src], turn it off first."
user << "<span class='danger'>You cannot unwrench this [src], turn it off first.</span>"
return 1
return ..()
@@ -148,7 +148,7 @@ Thus, the two variables affect pump operation are set in New():
return
src.add_fingerprint(usr)
if(!src.allowed(user))
user << "\red Access denied."
user << "<span class='danger'>Access denied.</span>"
return
usr.set_machine(src)
interact(user)
@@ -176,6 +176,6 @@ Thus, the two variables affect pump operation are set in New():
if (!istype(W, /obj/item/weapon/wrench))
return ..()
if (!(stat & NOPOWER) && on)
user << "\red You cannot unwrench this [src], turn it off first."
user << "<span class='danger'>You cannot unwrench this [src], turn it off first.</span>"
return 1
return ..()