Files
Bubberstation/code/modules/shuttle/white_ship.dm
Tim 995dce77a1 Emergency shuttle information display improvements (#77457)
## About The Pull Request
Emergency shuttles now:

- Display occupancy limits and prerequisites  
- Has their own folder that is split into several subfiles
- Have documentation for a few variables

## Why It's Good For The Game

![4cUSVwSNl8](https://github.com/tgstation/tgstation/assets/5195984/01cd7e10-27f6-4a7d-a9a9-88477cc93310)


## Changelog
🆑
qol: Emergency shuttle now gracefully display occupancy limits and
prerequisites in the communication console.
/🆑
2023-08-11 20:39:28 +02:00

37 lines
1.4 KiB
Plaintext

/obj/machinery/computer/shuttle/white_ship
name = "White Ship Console"
desc = "Used to control the White Ship."
circuit = /obj/item/circuitboard/computer/white_ship
shuttleId = "whiteship"
possible_destinations = "whiteship_away;whiteship_home;whiteship_z4;whiteship_waystation;whiteship_lavaland;whiteship_custom"
/// Console used on the whiteship bridge. Comes with GPS pre-baked.
/obj/machinery/computer/shuttle/white_ship/bridge
name = "White Ship Bridge Console"
desc = "Used to control the White Ship from the bridge. Emits a faint GPS signal."
circuit = /obj/item/circuitboard/computer/white_ship/bridge
/obj/machinery/computer/shuttle/white_ship/bridge/Initialize(mapload, obj/item/circuitboard/C)
. = ..()
AddComponent(/datum/component/gps, SPACE_SIGNAL_GPSTAG)
/obj/machinery/computer/camera_advanced/shuttle_docker/whiteship
name = "White Ship Navigation Computer"
desc = "Used to designate a precise transit location for the White Ship."
shuttleId = "whiteship"
lock_override = NONE
shuttlePortId = "whiteship_custom"
jump_to_ports = list("whiteship_away" = 1, "whiteship_home" = 1, "whiteship_z4" = 1, "whiteship_waystation" = 1)
view_range = 10
x_offset = -6
y_offset = -10
designate_time = 100
/obj/machinery/computer/camera_advanced/shuttle_docker/whiteship/Initialize(mapload)
. = ..()
GLOB.jam_on_wardec += src
/obj/machinery/computer/camera_advanced/shuttle_docker/whiteship/Destroy()
GLOB.jam_on_wardec -= src
return ..()