mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2025-12-11 10:11:09 +00:00
## About The Pull Request Further continous organizing and cleaning the Icons folder. There are still some minior nitpicks left to do, but I reached my daily sanity expenses limit again, and the faster these get in the less issues for both me and others later. Also cleans some mess I caused by my blindness last PR. ## Why It's Good For The Game Saner spriters = better sprites
19 lines
983 B
Plaintext
19 lines
983 B
Plaintext
/obj/structure/cable/multilayer/multiz //This bridges powernets betwen Z levels
|
|
name = "multi z layer cable hub"
|
|
desc = "A flexible, superconducting insulated multi Z layer hub for heavy-duty multi Z power transfer."
|
|
icon = 'icons/obj/pipes_n_cables/structures.dmi'
|
|
icon_state = "cablerelay-on"
|
|
cable_layer = CABLE_LAYER_1|CABLE_LAYER_2|CABLE_LAYER_3
|
|
|
|
/obj/structure/cable/multilayer/multiz/get_cable_connections(powernetless_only)
|
|
. = ..()
|
|
var/turf/T = get_turf(src)
|
|
. += locate(/obj/structure/cable/multilayer/multiz) in (GET_TURF_BELOW(T))
|
|
. += locate(/obj/structure/cable/multilayer/multiz) in (GET_TURF_ABOVE(T))
|
|
|
|
/obj/structure/cable/multilayer/multiz/examine(mob/user)
|
|
. = ..()
|
|
var/turf/T = get_turf(src)
|
|
. += span_notice("[locate(/obj/structure/cable/multilayer/multiz) in (GET_TURF_BELOW(T)) ? "Detected" : "Undetected"] hub UP.")
|
|
. += span_notice("[locate(/obj/structure/cable/multilayer/multiz) in (GET_TURF_ABOVE(T)) ? "Detected" : "Undetected"] hub DOWN.")
|