mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2025-12-19 23:01:35 +00:00
* Adds the check components * Adds in trailing newlines * Converts all CRLF to LF * Post merge EOF * Post merge line endings * Final commit
28 lines
1019 B
Plaintext
28 lines
1019 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/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/labor_shuttle/one_way
|
|
req_access = list( )
|
|
|
|
/obj/machinery/computer/shuttle/labor/one_way/Topic(href, href_list)
|
|
if(href_list["move"])
|
|
var/obj/docking_port/mobile/M = SSshuttle.getShuttle("laborcamp")
|
|
if(!M)
|
|
to_chat(usr, "<span class='warning'>Cannot locate shuttle!</span>")
|
|
return 0
|
|
var/obj/docking_port/stationary/S = M.get_docked()
|
|
if(S && S.name == "laborcamp_away")
|
|
to_chat(usr, "<span class='warning'>Shuttle is already at the outpost!</span>")
|
|
return 0
|
|
..()
|