byond - Modules - TypesVar Details - Proc Details

shuttle_docker

Vars

designate_timeDelay of the place_action
designating_target_locTurf that was selected for landing
jammedThe console is unusable when jammed
jumpto_portsHashset of ports to jump to and ignore for collision purposes
last_valid_ground_portThe previous custom docking port that was safely landed at, for emergency landings
locked_traitsTraits forbided for custom docking
my_portThe custom docking port placed by this console
nvg_vision_modeIf the user wants to see with night vision on
place_actionAction of placing the shuttle custom landing zone
rotate_actionAction of rotating the shuttle around its center
see_hiddenAre we able to see hidden ports when using the console
shuttleIdThe id of the shuttle linked to this console
shuttlePortIdThe id of the custom docking port placed by this console
shuttlePortNameThe name of the custom docking port placed by this console
shuttle_portThe mobile docking port of the connected shuttle
view_rangeDimensions of the viewport when using this console
whitelist_turfsTurfs that can be landed on
x_offsetHorizontal offset from the console of the origin tile when using it
y_offsetVertical offset from the console of the origin tile when using it

Procs

canDesignateTargetCreate 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
checkLandingSpotChecks if the currently hovered area is a valid landing spot
checkLandingTurfChecks if the turf is valid for landing
check_hovering_spotChecks if the currently hovered area is accessible by the shuttle
placeLandingSpotHandles the creation of the custom landing spot
rotateLandingSpotHandles the rotation of the shuttle
shuttle_arrivedChange 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