shuttle_docker

Vars | |
designate_time | Delay of the place_action |
---|---|
designating_target_loc | Turf that was selected for landing |
jammed | The console is unusable when jammed |
jumpto_ports | Hashset of ports to jump to and ignore for collision purposes |
last_valid_ground_port | The previous custom docking port that was safely landed at, for emergency landings |
locked_traits | Traits forbided for custom docking |
my_port | The custom docking port placed by this console |
nvg_vision_mode | If the user wants to see with night vision on |
place_action | Action of placing the shuttle custom landing zone |
rotate_action | Action of rotating the shuttle around its center |
see_hidden | Are we able to see hidden ports when using the console |
shuttleId | The id of the shuttle linked to this console |
shuttlePortId | The id of the custom docking port placed by this console |
shuttlePortName | The name of the custom docking port placed by this console |
shuttle_port | The mobile docking port of the connected shuttle |
view_range | Dimensions of the viewport when using this console |
whitelist_turfs | Turfs that can be landed on |
x_offset | Horizontal offset from the console of the origin tile when using it |
y_offset | Vertical offset from the console of the origin tile when using it |
Procs | |
canDesignateTarget | Create one use port that deleted after fly off, to not lose information that is needed to properly fly off. Checks if we are able to designate the target location |
checkLandingSpot | Checks if the currently hovered area is a valid landing spot |
checkLandingTurf | Checks if the turf is valid for landing |
check_hovering_spot | Checks if the currently hovered area is accessible by the shuttle |
placeLandingSpot | Handles the creation of the custom landing spot |
rotateLandingSpot | Handles the rotation of the shuttle |
shuttle_arrived | Change the fly state of the shuttle, called when a new shuttle port is reached |
Var Details
designate_time

Delay of the place_action
designating_target_loc

Turf that was selected for landing
jammed

The console is unusable when jammed
jumpto_ports

Hashset of ports to jump to and ignore for collision purposes
last_valid_ground_port

The previous custom docking port that was safely landed at, for emergency landings
locked_traits

Traits forbided for custom docking
my_port

The custom docking port placed by this console
nvg_vision_mode

If the user wants to see with night vision on
place_action

Action of placing the shuttle custom landing zone
rotate_action

Action of rotating the shuttle around its center
see_hidden

Are we able to see hidden ports when using the console
shuttleId

The id of the shuttle linked to this console
shuttlePortId

The id of the custom docking port placed by this console
shuttlePortName

The name of the custom docking port placed by this console
shuttle_port

The mobile docking port of the connected shuttle
view_range

Dimensions of the viewport when using this console
whitelist_turfs

Turfs that can be landed on
x_offset

Horizontal offset from the console of the origin tile when using it
y_offset

Vertical offset from the console of the origin tile when using it
Proc Details
canDesignateTarget
Create one use port that deleted after fly off, to not lose information that is needed to properly fly off. Checks if we are able to designate the target location
checkLandingSpot
Checks if the currently hovered area is a valid landing spot
checkLandingTurf
Checks if the turf is valid for landing
check_hovering_spot
Checks if the currently hovered area is accessible by the shuttle
placeLandingSpot
Handles the creation of the custom landing spot
rotateLandingSpot
Handles the rotation of the shuttle
shuttle_arrived
Change the fly state of the shuttle, called when a new shuttle port is reached