mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2026-01-05 15:03:48 +00:00
Also fix a few things to be on the correct plane. Basically the under-floor stuff is supposed to be on PLATING_PLANE. Portable atmospherics go on object layer so they are above stationary machinery, given that they move around. Fixed wires to be on top of pipes like they used to be, otherwise they'd be obscured too often.
30 lines
857 B
Plaintext
30 lines
857 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."
|
|
plane = PLATING_PLANE
|
|
layer = PIPES_LAYER - 0.05 //Just below pipes
|
|
color = null
|
|
|
|
/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 |