Files
Polaris/code/modules/power/cable_heavyduty.dm
T
Cameron653andAnewbe 97957fcaee Replaces more macros. (#3647)
* MORE MACRO CHANGES

AHHHHHHHHHHHHHHHHHHHH

* Fixes a few typos

* Fixes compile error

* Fixes for real

* 4 macros left that I can't find
2017-07-27 21:12:21 -05:00

28 lines
824 B
Plaintext

/obj/item/stack/cable_coil/heavyduty
name = "heavy cable coil"
icon = 'icons/obj/power.dmi'
icon_state = "wire"
/obj/structure/cable/heavyduty
icon = 'icons/obj/power_cond_heavy.dmi'
name = "large power cable"
desc = "This cable is tough. It cannot be cut with simple hand tools."
layer = 2.39 //Just below pipes, which are at 2.4
/obj/structure/cable/heavyduty/attackby(obj/item/W, mob/user)
var/turf/T = src.loc
if(!T.is_plating())
return
if(istype(W, /obj/item/weapon/wirecutters))
usr << "<font color='blue'>These cables are too tough to be cut with those [W.name].</font>"
return
else if(istype(W, /obj/item/stack/cable_coil))
usr << "<font color='blue'>You will need heavier cables to connect to these.</font>"
return
else
..()
/obj/structure/cable/heavyduty/cableColor(var/colorC)
return