Initial cable changes.

This commit is contained in:
ComicIronic
2015-02-17 13:27:59 +00:00
parent 95de02d783
commit b44a0430a8
67 changed files with 218 additions and 278 deletions

View File

@@ -526,7 +526,7 @@
/mob/living/silicon/robot/proc/show_cable_lengths()
var/obj/item/weapon/cable_coil/coil = installed_module(/obj/item/weapon/cable_coil)
var/obj/item/stack/cable_coil/coil = installed_module(/obj/item/stack/cable_coil)
if(coil)
stat(null, text("Cable Lengths: [coil.amount]/[coil.max_amount]"))
@@ -747,11 +747,11 @@
user << "Need more welding fuel!"
return
else if(istype(W, /obj/item/weapon/cable_coil) && wiresexposed)
else if(istype(W, /obj/item/stack/cable_coil) && wiresexposed)
if (!getFireLoss())
user << "Nothing to fix here!"
return
var/obj/item/weapon/cable_coil/coil = W
var/obj/item/stack/cable_coil/coil = W
adjustFireLoss(-30)
updatehealth()
coil.use(1)