Cables are now stacks

This commit is contained in:
Kelenius
2014-08-25 18:54:35 +04:00
parent 23576ffdb6
commit a1348faa8c
70 changed files with 287 additions and 270 deletions

View File

@@ -228,8 +228,8 @@
buildstate++
update_icon()
return
else if(istype(W,/obj/item/weapon/cable_coil))
var/obj/item/weapon/cable_coil/C = W
else if(istype(W,/obj/item/stack/cable_coil))
var/obj/item/stack/cable_coil/C = W
if(buildstate == 2)
if(C.amount >= 5)
C.use(5)