mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2025-12-30 04:02:33 +00:00
28 lines
848 B
Plaintext
28 lines
848 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/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, params)
|
|
|
|
var/turf/T = src.loc
|
|
if(T.intact)
|
|
return
|
|
|
|
if(istype(W, /obj/item/wirecutters))
|
|
to_chat(usr, "<span class='notice'>These cables are too tough to be cut with those [W.name].</span>")
|
|
return
|
|
else if(istype(W, /obj/item/stack/cable_coil))
|
|
to_chat(usr, "<span class='notice'>You will need heavier cables to connect to these.</span>")
|
|
return
|
|
else
|
|
..()
|
|
|
|
/obj/structure/cable/heavyduty/cable_color(var/colorC)
|
|
return |