mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-10 18:32:03 +00:00
24 lines
496 B
Plaintext
24 lines
496 B
Plaintext
// the underfloor wiring terminal for the APC
|
|
// autogenerated when an APC is placed
|
|
// all conduit connects go to this object instead of the APC
|
|
// using this solves the problem of having the APC in a wall yet also inside an area
|
|
|
|
/obj/machinery/power/terminal/New()
|
|
|
|
..()
|
|
|
|
var/turf/T = src.loc
|
|
|
|
if(level==1) hide(T.intact)
|
|
|
|
|
|
/obj/machinery/power/terminal/hide(var/i)
|
|
|
|
if(i)
|
|
invisibility = 101
|
|
icon_state = "term-f"
|
|
else
|
|
invisibility = 0
|
|
icon_state = "term"
|
|
|