From 97b0272e80b855f2e67558d4cf0db5345dfdb50d Mon Sep 17 00:00:00 2001 From: Zuhayr Date: Sat, 24 Aug 2013 21:24:41 -0700 Subject: [PATCH] Added stealth engines to the Vox ship to allow the Exodus to hear that they are coming. --- code/game/area/Space Station 13 areas.dm | 6 ++++ code/game/machinery/computer/vox_shuttle.dm | 37 ++++++++++++++++++++- 2 files changed, 42 insertions(+), 1 deletion(-) diff --git a/code/game/area/Space Station 13 areas.dm b/code/game/area/Space Station 13 areas.dm index 2ff200ae88..9133753e4e 100755 --- a/code/game/area/Space Station 13 areas.dm +++ b/code/game/area/Space Station 13 areas.dm @@ -497,26 +497,32 @@ proc/process_ghost_teleport_locs() /area/vox_station/transit name = "\improper hyperspace" icon_state = "shuttle" + requires_power = 0 /area/vox_station/southwest_solars name = "\improper aft port solars" icon_state = "southwest" + requires_power = 0 /area/vox_station/northwest_solars name = "\improper fore port solars" icon_state = "northwest" + requires_power = 0 /area/vox_station/northeast_solars name = "\improper fore starboard solars" icon_state = "northeast" + requires_power = 0 /area/vox_station/southeast_solars name = "\improper aft starboard solars" icon_state = "southeast" + requires_power = 0 /area/vox_station/mining name = "\improper nearby mining asteroid" icon_state = "north" + requires_power = 0 //PRISON /area/prison diff --git a/code/game/machinery/computer/vox_shuttle.dm b/code/game/machinery/computer/vox_shuttle.dm index 31fb26b436..0912cfc358 100644 --- a/code/game/machinery/computer/vox_shuttle.dm +++ b/code/game/machinery/computer/vox_shuttle.dm @@ -1,8 +1,37 @@ -#define VOX_SHUTTLE_MOVE_TIME 260 +#define VOX_SHUTTLE_MOVE_TIME 400 #define VOX_SHUTTLE_COOLDOWN 1200 //Copied from Syndicate shuttle. var/global/vox_shuttle_location +var/global/announce_vox_departure = 1 //Stealth systems - give an announcement or not. + +/obj/machinery/computer/vox_stealth + name = "skipjack cloaking field terminal" + icon = 'icons/obj/computer.dmi' + icon_state = "syndishuttle" + req_access = list(access_syndicate) + +/obj/machinery/computer/vox_stealth/attackby(obj/item/I as obj, mob/user as mob) + return attack_hand(user) + +/obj/machinery/computer/vox_stealth/attack_ai(mob/user as mob) + return attack_hand(user) + +/obj/machinery/computer/vox_stealth/attack_paw(mob/user as mob) + return attack_hand(user) + +/obj/machinery/computer/vox_stealth/attack_hand(mob/user as mob) + if(!allowed(user)) + user << "\red Access Denied" + return + + if(announce_vox_departure) + user << "\red Shuttle stealth systems have been deactivated. The Exodus will be warned of our arrival." + announce_vox_departure = 0 + else + user << "\red Shuttle stealth systems have been activated. The Exodus will not be warned of our arrival." + announce_vox_departure = 1 + /obj/machinery/computer/vox_station name = "vox skipjack terminal" @@ -24,6 +53,12 @@ var/global/vox_shuttle_location var/area/dest_location = locate(destination) if(curr_location == dest_location) return + if(announce_vox_departure) + if(curr_location == locate(/area/shuttle/vox/station)) + command_alert("Attention, Exodus, we just tracked a small target bypassing our defensive perimeter. Can't fire on it without hitting the station - you've got incoming visitors, like it or not.", "NSV Icarus") + else if(dest_location == locate(/area/shuttle/vox/station)) + command_alert("Your guests are pulling away, Exodus - moving too fast for us to draw a bead on them. Looks like they're heading out of Tau Ceti at a rapid clip.", "NSV Icarus") + moving = 1 lastMove = world.time