Fixes <span class='class>, makes Travis check it

This commit is contained in:
GinjaNinja32
2015-07-18 21:13:32 +01:00
parent ae47726450
commit 0c1aee8074
15 changed files with 27 additions and 26 deletions
+10 -10
View File
@@ -149,7 +149,7 @@
user.visible_message("[user] welds the [glass] plating off the airlock assembly.", "You start to weld the [glass] plating off the airlock assembly.")
if(do_after(user, 40))
if(!src || !WT.isOn()) return
user << "<span class='notice>You welded the [glass] plating off!</span>"
user << "<span class='notice'>You welded the [glass] plating off!</span>"
var/M = text2path("/obj/item/stack/material/[glass]")
new M(src.loc, 2)
glass = 0
@@ -157,18 +157,18 @@
user.visible_message("[user] welds the glass panel out of the airlock assembly.", "You start to weld the glass panel out of the airlock assembly.")
if(do_after(user, 40))
if(!src || !WT.isOn()) return
user << "<span class='notice>You welded the glass panel out!</span>"
user << "<span class='notice'>You welded the glass panel out!</span>"
new /obj/item/stack/material/glass/reinforced(src.loc)
glass = 0
else if(!anchored)
user.visible_message("[user] dissassembles the airlock assembly.", "You start to dissassemble the airlock assembly.")
if(do_after(user, 40))
if(!src || !WT.isOn()) return
user << "<span class='notice>You dissasembled the airlock assembly!</span>"
user << "<span class='notice'>You dissasembled the airlock assembly!</span>"
new /obj/item/stack/material/steel(src.loc, 4)
qdel (src)
else
user << "<span class='notice>You need more welding fuel.</span>"
user << "<span class='notice'>You need more welding fuel.</span>"
return
else if(istype(W, /obj/item/weapon/wrench) && state == 0)
@@ -180,7 +180,7 @@
if(do_after(user, 40))
if(!src) return
user << "<span class='notice>You [anchored? "un" : ""]secured the airlock assembly!</span>"
user << "<span class='notice'>You [anchored? "un" : ""]secured the airlock assembly!</span>"
anchored = !anchored
else if(istype(W, /obj/item/stack/cable_coil) && state == 0 && anchored)
@@ -200,7 +200,7 @@
if(do_after(user, 40))
if(!src) return
user << "<span class='notice>You cut the airlock wires.!</span>"
user << "<span class='notice'>You cut the airlock wires.!</span>"
new/obj/item/stack/cable_coil(src.loc, 1)
src.state = 0
@@ -212,7 +212,7 @@
if(!src) return
user.drop_item()
W.loc = src
user << "<span class='notice>You installed the airlock electronics!</span>"
user << "<span class='notice'>You installed the airlock electronics!</span>"
src.state = 2
src.name = "Near finished Airlock Assembly"
src.electronics = W
@@ -229,7 +229,7 @@
if(do_after(user, 40))
if(!src) return
user << "<span class='notice>You removed the airlock electronics!</span>"
user << "<span class='notice'>You removed the airlock electronics!</span>"
src.state = 1
src.name = "Wired Airlock Assembly"
electronics.loc = src.loc
@@ -262,11 +262,11 @@
else if(istype(W, /obj/item/weapon/screwdriver) && state == 2 )
playsound(src.loc, 'sound/items/Screwdriver.ogg', 100, 1)
user << "<span class='notice>Now finishing the airlock.</span>"
user << "<span class='notice'>Now finishing the airlock.</span>"
if(do_after(user, 40))
if(!src) return
user << "<span class='notice>You finish the airlock!</span>"
user << "<span class='notice'>You finish the airlock!</span>"
var/path
if(istext(glass))
path = text2path("/obj/machinery/door/airlock/[glass]")