- slight change to arrival hallway

ADMIN COMMANDS:
- Added 3 commands to 'secrets': Move mining shuttle, move administration shuttle and move ferry. Each of these moves their respective shuttle. This is only intended for admin events. The mining shuttle still takes the 15-ish seconds to arrive, the other two are instantanious. All generate admin logs and admin-log-spam to prevent abuse.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1124 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
baloh.matevz
2011-02-24 23:57:14 +00:00
parent 69a9c63d4c
commit 2c788fb2e4
6 changed files with 6440 additions and 6369 deletions
+41 -1
View File
@@ -439,9 +439,49 @@ proc/check_craftlathe_recipe(var/list/param_recipe)
new /obj/item/weapon/pickaxe(src)
/**********************Administration Shuttle**************************/
var/admin_shuttle_location = 0 // 0 = centcom 13, 1 = station
proc/move_admin_shuttle()
var/area/fromArea
var/area/toArea
if (admin_shuttle_location == 1)
fromArea = locate(/area/shuttle/administration/station)
toArea = locate(/area/shuttle/administration/centcom)
else
fromArea = locate(/area/shuttle/administration/centcom)
toArea = locate(/area/shuttle/administration/station)
fromArea.move_contents_to(toArea)
if (admin_shuttle_location)
admin_shuttle_location = 0
else
admin_shuttle_location = 1
return
/**********************Centcom Ferry**************************/
var/ferry_location = 0 // 0 = centcom , 1 = station
proc/move_ferry()
var/area/fromArea
var/area/toArea
if (ferry_location == 1)
fromArea = locate(/area/shuttle/transport1/station)
toArea = locate(/area/shuttle/transport1/centcom)
else
fromArea = locate(/area/shuttle/transport1/centcom)
toArea = locate(/area/shuttle/transport1/station)
fromArea.move_contents_to(toArea)
if (ferry_location)
ferry_location = 0
else
ferry_location = 1
return
/**********************Shuttle Computer**************************/
var/mining_shuttle_tickstomove = 15
var/mining_shuttle_tickstomove = 10
var/mining_shuttle_moving = 0
var/mining_shuttle_location = 0 // 0 = station 13, 1 = mining station