mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2025-12-14 11:42:27 +00:00
* Refactors most spans into span procs * AA * a * AAAAAAAAAAAAAAAAAAAAAA * Update species.dm Co-authored-by: Watermelon914 <37270891+Watermelon914@users.noreply.github.com> Co-authored-by: Gandalf <jzo123@hotmail.com>
29 lines
1021 B
Plaintext
29 lines
1021 B
Plaintext
/obj/machinery/computer/shuttle/labor
|
|
name = "labor shuttle console"
|
|
desc = "Used to call and send the labor camp shuttle."
|
|
circuit = /obj/item/circuitboard/computer/labor_shuttle
|
|
shuttleId = "laborcamp"
|
|
possible_destinations = "laborcamp_home;laborcamp_away"
|
|
req_access = list(ACCESS_BRIG)
|
|
|
|
/obj/machinery/computer/shuttle/labor/one_way
|
|
name = "prisoner shuttle console"
|
|
desc = "A one-way shuttle console, used to summon the shuttle to the labor camp."
|
|
possible_destinations = "laborcamp_away"
|
|
circuit = /obj/item/circuitboard/computer/labor_shuttle/one_way
|
|
req_access = list( )
|
|
|
|
/obj/machinery/computer/shuttle/labor/one_way/launch_check(mob/user)
|
|
. = ..()
|
|
if(!.)
|
|
return FALSE
|
|
var/obj/docking_port/mobile/M = SSshuttle.getShuttle("laborcamp")
|
|
if(!M)
|
|
to_chat(user, span_warning("Cannot locate shuttle!"))
|
|
return FALSE
|
|
var/obj/docking_port/stationary/S = M.get_docked()
|
|
if(S?.name == "laborcamp_away")
|
|
to_chat(user, span_warning("Shuttle is already at the outpost!"))
|
|
return FALSE
|
|
return TRUE
|