mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-10 10:21:11 +00:00
Initial cable changes.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user