From 495632eac25ec90a2b5bc5a6e6cb2642441bb74b Mon Sep 17 00:00:00 2001 From: AnturK Date: Mon, 6 Nov 2017 00:34:39 +0100 Subject: [PATCH 1/2] Adds admin away gateway. (#32425) * Adds admin gateway away * I choose third option. --- code/modules/awaymissions/gateway.dm | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/code/modules/awaymissions/gateway.dm b/code/modules/awaymissions/gateway.dm index a46b32f853..15c5deb4cb 100644 --- a/code/modules/awaymissions/gateway.dm +++ b/code/modules/awaymissions/gateway.dm @@ -170,7 +170,7 @@ GLOBAL_DATUM(the_gateway, /obj/machinery/gateway/centerstation) density = TRUE icon_state = "offcenter" use_power = NO_POWER_USE - var/obj/machinery/gateway/centeraway/stationgate = null + var/obj/machinery/gateway/centerstation/stationgate = null can_link = TRUE @@ -233,6 +233,18 @@ GLOBAL_DATUM(the_gateway, /obj/machinery/gateway/centerstation) M.client.move_delay = max(world.time + 5, M.client.move_delay) +/obj/machinery/gateway/centeraway/admin + desc = "A mysterious gateway built by unknown hands, this one seems more compact." + +/obj/machinery/gateway/centeraway/admin/Initialize() + . = ..() + if(stationgate && !stationgate.awaygate) + stationgate.awaygate = src + +/obj/machinery/gateway/centeraway/admin/detect() + return TRUE + + /obj/item/paper/fluff/gateway info = "Congratulations,

Your station has been selected to carry out the Gateway Project.

The equipment will be shipped to you at the start of the next quarter.
You are to prepare a secure location to house the equipment as outlined in the attached documents.

--Nanotrasen Blue Space Research" name = "Confidential Correspondence, Pg 1" \ No newline at end of file