mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-10 06:34:45 +01:00
MAPPING:
- 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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user