From 05752136663a2aaec702d210d153e7fc338875a1 Mon Sep 17 00:00:00 2001 From: GunHog Date: Fri, 2 Sep 2016 14:36:28 -0500 Subject: [PATCH] Tweaks Aux Base Stat Logging Aux Mining Base stat logging actually works now, and includes the coordinates where the base lands. --- code/modules/mining/mine_items.dm | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/code/modules/mining/mine_items.dm b/code/modules/mining/mine_items.dm index ecb2988d2fb..5392b410a6f 100644 --- a/code/modules/mining/mine_items.dm +++ b/code/modules/mining/mine_items.dm @@ -535,9 +535,15 @@ interface with the mining shuttle at the landing site if a mobile beacon is also say("Launch sequence activated! Prepare for drop!") playsound(loc, 'sound/machines/warning-buzzer.ogg', 70, 0) launch_warning = FALSE - feedback_add_details("colonies_dropped") //Number of times a base has been dropped! ..() + + +/obj/machinery/computer/shuttle/auxillary_base/onShuttleMove(turf/T1, rotation) + ..() + if(z == ZLEVEL_MINING) //Avoids double logging and landing on other Z-levels due to badminnery + feedback_add_details("colonies_dropped", "[x]|[y]|[z]") //Number of times a base has been dropped! + /obj/machinery/computer/shuttle/auxillary_base/proc/set_mining_mode() if(z == ZLEVEL_MINING) //The console switches to controlling the mining shuttle once landed. req_access = list()