- Added basic heavy-duty cables, they cannot be destroyed with wirecutters, unfortunately they currently cannot be created either. Not present anywhere on the map yet.

- Fixed a bug with masks, which did not follow the equipment rules of the SLOT_MASK flag.
- Fixed a problem where monkeys could not equip a backpack.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3774 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
baloh.matevz
2012-06-09 13:57:10 +00:00
parent d8047dfefa
commit 2781da8d5b
6 changed files with 45 additions and 4 deletions
+27
View File
@@ -0,0 +1,27 @@
/obj/item/weapon/cable_coil/heavyduty
name = "heavy cable coil"
icon = 'power.dmi'
icon_state = "wire"
/obj/structure/cable/heavyduty
icon = 'power_local.dmi'
name = "large power cable"
desc = "This cable is tough. It cannot be cut with simple hand tools."
/obj/structure/cable/heavyduty/attackby(obj/item/W, mob/user)
var/turf/T = src.loc
if(T.intact)
return
if(istype(W, /obj/item/weapon/wirecutters))
usr << "\blue These cables are too tough to be cut with those [W.name]."
return
else if(istype(W, /obj/item/weapon/cable_coil))
usr << "\blue You will need heavier cables to connect to these."
return
else
..()
/obj/structure/cable/heavyduty/cableColor(var/colorC)
return