mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-29 23:17:28 +01:00
SC Map Changes 972017
- Added files, cable ender and technically 'southern_cross-8.dmm' - Adjustment of areas dm to give color to centcomm beach area icons - Fixed SC centcomm dmm file, 'southern_cross-6.dmm' - Overhaul of xenobio/xenoflora on 'southern_cross-3.dmm' - addition of heavy duty cables to SC-3.dmm and SC-4.dmm - Adjustments of southern cross files. - Changelog?
This commit is contained in:
@@ -0,0 +1,38 @@
|
||||
//
|
||||
// Super Duper Ender Cable - Luckily these are not constructable!
|
||||
//
|
||||
|
||||
//if powernetless_only = 1, will only get connections without powernet
|
||||
/obj/structure/cable/ender
|
||||
// Pretend to be heavy duty power cable
|
||||
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
|
||||
color = null
|
||||
unacidable = 1
|
||||
var/id = null
|
||||
|
||||
/obj/structure/cable/ender/get_connections(var/powernetless_only = 0)
|
||||
. = ..() // Do the normal stuff
|
||||
if(id)
|
||||
for(var/obj/structure/cable/ender/target in cable_list)
|
||||
if(target.id == id)
|
||||
if (!powernetless_only || !target.powernet)
|
||||
. |= target
|
||||
|
||||
/obj/structure/cable/ender/attackby(obj/item/W, mob/user)
|
||||
src.add_fingerprint(user)
|
||||
if(istype(W, /obj/item/weapon/wirecutters))
|
||||
to_chat(user, "<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(user, "<span class='notice'> You will need heavier cables to connect to these.</span>")
|
||||
return
|
||||
else
|
||||
..()
|
||||
|
||||
// Because they cannot be rebuilt, they are hard to destroy
|
||||
/obj/structure/cable/ender/ex_act(severity)
|
||||
return
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
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
|
||||
color = null //VOREStation Edit
|
||||
|
||||
/obj/structure/cable/heavyduty/attackby(obj/item/W, mob/user)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user