byond - Modules - TypesVar Details - Proc Details

droppod

base marine drop pod. can be controlled by an attached /obj/structure/droppod/leader or /obj/machinery/computer/droppod_control

Vars

drop_stateCurrent drop pod status: shipside = ready, active = mid-drop, landed = planetside
falltimeafter the pod finishes it's travelhow long it spends falling
interaction_actionsAction to actually launch the drop pod
launch_allowedWhether launch is allowed. for things like disabling during hijack phase
operation_startedIf true, you can launch the droppod before drop pod delay
target_xX target coordinate
target_yY target coordinate
target_zThe Z-level that the pod launches to

Procs

allow_dropAllow this droppod to ignore dropdelay or otherwise reenable its use
change_targeted_zUpdates the z-level this pod drops to
checklandingreturns boolean if the currently set target/optionally passed turf are valid to drop to
completedropcompletes landing a little delayed for a dramatic effect
disable_launchingDisables launching
dodropDo the stuff when it "hits the ground"
find_new_targetFind a new suitable target turf around the pods initial target
finish_dropMoves the droppod into its target turf, which it updates if needed
launch_podactually launches the pod
set_targetsets target of this drop pod and notifies the user if it's a valid target
start_launch_podattempts to launch the drop pod at it's currently set coordinates. commanded_drop is TRUE when the drop is being requested by a command drop pod

Var Details

drop_state

Current drop pod status: shipside = ready, active = mid-drop, landed = planetside

falltime

after the pod finishes it's travelhow long it spends falling

interaction_actions

Action to actually launch the drop pod

launch_allowed

Whether launch is allowed. for things like disabling during hijack phase

operation_started

If true, you can launch the droppod before drop pod delay

target_x

X target coordinate

target_y

Y target coordinate

target_z

The Z-level that the pod launches to

Proc Details

allow_drop

Allow this droppod to ignore dropdelay or otherwise reenable its use

change_targeted_z

Updates the z-level this pod drops to

checklanding

returns boolean if the currently set target/optionally passed turf are valid to drop to

completedrop

completes landing a little delayed for a dramatic effect

disable_launching

Disables launching

dodrop

Do the stuff when it "hits the ground"

find_new_target

Find a new suitable target turf around the pods initial target

finish_drop

Moves the droppod into its target turf, which it updates if needed

launch_pod

actually launches the pod

set_target

sets target of this drop pod and notifies the user if it's a valid target

start_launch_pod

attempts to launch the drop pod at it's currently set coordinates. commanded_drop is TRUE when the drop is being requested by a command drop pod