mirror of
https://github.com/Sandstorm-Station/Sandstorm-Station-13.git
synced 2026-07-22 05:35:21 +01:00
25 lines
969 B
Plaintext
25 lines
969 B
Plaintext
/obj/item/pipe/bluespace
|
|
pipe_type = /obj/machinery/atmospherics/pipe/bluespace
|
|
var/bluespace_network_name = "default"
|
|
icon_state = "bluespace"
|
|
desc = "Transmits gas across large distances of space. Developed using bluespace technology. Use a multitool on it to set its network."
|
|
|
|
/obj/item/pipe/bluespace/attackby(obj/item/W, mob/user, params)
|
|
if(istype(W, /obj/item/multitool))
|
|
var/new_name = input(user, "Enter identifier for bluespace pipe network", "bluespace pipe", bluespace_network_name) as text|null
|
|
if(!isnull(new_name))
|
|
bluespace_network_name = new_name
|
|
else
|
|
return
|
|
|
|
/obj/item/pipe/bluespace/make_from_existing(obj/machinery/atmospherics/pipe/bluespace/make_from)
|
|
bluespace_network_name = make_from.bluespace_network_name
|
|
return ..()
|
|
|
|
/obj/item/pipe/bluespace/build_pipe(obj/machinery/atmospherics/pipe/bluespace/A)
|
|
A.bluespace_network_name = bluespace_network_name
|
|
return ..()
|
|
|
|
/obj/item/pipe/bluespace/directional
|
|
RPD_type = PIPE_UNARY
|