Made some object lists less terrible to read
This commit is contained in:
@@ -203,7 +203,7 @@
|
||||
else
|
||||
if(!is_pipe()) // Disposal or outlet
|
||||
if(CP) // There's something there
|
||||
if(!istype(CP,/obj/structure/disposalpipe/trunk))
|
||||
if(!istype(CP, /obj/structure/disposalpipe/trunk))
|
||||
to_chat(user, "<span class='warning'>The [nicetype] requires a trunk underneath it in order to work!</span>")
|
||||
return
|
||||
else // Nothing under, fuck.
|
||||
|
||||
@@ -700,7 +700,7 @@
|
||||
playsound(src.loc, I.usesound, 50, 1)
|
||||
to_chat(user, "<span class='notice'>You attach the screws around the power connection.</span>")
|
||||
|
||||
else if(istype(I,/obj/item/weapon/weldingtool) && mode==1)
|
||||
else if(istype(I, /obj/item/weapon/weldingtool) && mode==1)
|
||||
var/obj/item/weapon/weldingtool/W = I
|
||||
if(W.remove_fuel(0,user))
|
||||
playsound(src.loc, 'sound/items/welder2.ogg', 100, 1)
|
||||
|
||||
@@ -82,7 +82,7 @@
|
||||
playsound(get_turf(src), I.usesound, 50, 1)
|
||||
to_chat(user, "<span class='notice'>You [panel_open ? "remove":"attach"] the screws around the power connection.</span>")
|
||||
return
|
||||
else if(istype(I,/obj/item/weapon/weldingtool) && panel_open)
|
||||
else if(istype(I, /obj/item/weapon/weldingtool) && panel_open)
|
||||
var/obj/item/weapon/weldingtool/W = I
|
||||
if(W.remove_fuel(0,user))
|
||||
playsound(src.loc, 'sound/items/welder2.ogg', 100, 1)
|
||||
|
||||
Reference in New Issue
Block a user