Checkpoint

This commit is contained in:
Zandario
2020-08-19 19:02:19 -05:00
parent e5e3e92915
commit 45e9ab6513
58 changed files with 2184 additions and 1524 deletions
@@ -11,14 +11,14 @@
return
var/list/valid_shuttles = list()
for (var/shuttle_tag in SSshuttle.shuttles)
if (istype(SSshuttle.shuttles[shuttle_tag], /datum/shuttle/ferry))
if (istype(SSshuttle.shuttles[shuttle_tag], /datum/shuttle/autodock))
valid_shuttles += shuttle_tag
var/shuttle_tag = input(user, "Which shuttle do you want to launch?") as null|anything in valid_shuttles
if (!shuttle_tag)
return
var/datum/shuttle/ferry/S = SSshuttle.shuttles[shuttle_tag]
var/datum/shuttle/autodock/S = SSshuttle.shuttles[shuttle_tag]
if (S.can_launch())
S.launch(user)
log_and_message_admins("launched the [shuttle_tag] shuttle", user)
@@ -11,14 +11,14 @@
return
var/list/valid_shuttles = list()
for (var/shuttle_tag in SSshuttle.shuttles)
if (istype(SSshuttle.shuttles[shuttle_tag], /datum/shuttle/ferry))
if (istype(SSshuttle.shuttles[shuttle_tag], /datum/shuttle/autodock))
valid_shuttles += shuttle_tag
var/shuttle_tag = input(user, "Which shuttle's launch do you want to force?") as null|anything in valid_shuttles
if (!shuttle_tag)
return
var/datum/shuttle/ferry/S = SSshuttle.shuttles[shuttle_tag]
var/datum/shuttle/autodock/S = SSshuttle.shuttles[shuttle_tag]
if (S.can_force())
S.force_launch(user)
log_and_message_admins("forced the [shuttle_tag] shuttle", user)
@@ -18,11 +18,11 @@
var/datum/shuttle/S = SSshuttle.shuttles[shuttle_tag]
var/origin_area = input(user, "Which area is the shuttle at now? (MAKE SURE THIS IS CORRECT OR THINGS WILL BREAK)") as null|area in world
if (!origin_area) return
var/destination_tag = input(user, "Which landmark do you want to jump to? (IF YOU GET THIS WRONG THINGS WILL BREAK)") as null|anything in SSshuttle.registered_shuttle_landmarks
if (!destination_tag) return
var/destination_area = input(user, "Which area is the shuttle at now? (MAKE SURE THIS IS CORRECT OR THINGS WILL BREAK)") as null|area in world
if (!destination_area) return
var/destination_location = SSshuttle.get_landmark(destination_tag)
if (!destination_location) return
S.move(origin_area, destination_area)
S.attempt_move(destination_location)
log_and_message_admins("moved the [shuttle_tag] shuttle", user)