BandaStation - Modules - TypesVar Details - Proc Details

stray_cargo

Spawns a cargo pod containing a random cargo supply pack on a random area of the station

Vars

admin_override_contentsAdmin setable override to spawn a specific cargo pack type
admin_override_turfList of default spawnable supply packs, filtered from the cargo list Admin setable override that is used instead of selecting a random location
announce_chanceRandomly picked area
crate_typeSet to use a crate of a specific type irregardless of supply pack.
emag_crateSet to TRUE to emag the launched crate rather than just unlocking it.
lower_bound_wait_timeLower bound of how many random seconds to wait before dropping the pod (replaces start_when)
stray_spawnable_supply_packsList of possible supply packs dropped in the pod, if empty picks from the cargo list
upper_bound_wait_timeUpper bound of how many random seconds to wait before dropping the pod (replaces start_when)

Procs

find_event_areaPicks an area that wouldn't risk critical damage if hit by a pod explosion
get_contentsGenerates the contents of the pod
get_landing_zoneSelects a place for the pod to land in
send_podSends the pod to the given location, containing the container
setupTries to find a valid area, throws an error if none are found Also randomizes the start timer
startSpawns a random supply pack, puts it in a pod, and spawns it on a random tile of the selected area

Var Details

admin_override_contents

Admin setable override to spawn a specific cargo pack type

admin_override_turf

List of default spawnable supply packs, filtered from the cargo list Admin setable override that is used instead of selecting a random location

announce_chance

Randomly picked area

crate_type

Set to use a crate of a specific type irregardless of supply pack.

emag_crate

Set to TRUE to emag the launched crate rather than just unlocking it.

lower_bound_wait_time

Lower bound of how many random seconds to wait before dropping the pod (replaces start_when)

stray_spawnable_supply_packs

List of possible supply packs dropped in the pod, if empty picks from the cargo list

upper_bound_wait_time

Upper bound of how many random seconds to wait before dropping the pod (replaces start_when)

Proc Details

find_event_area

Picks an area that wouldn't risk critical damage if hit by a pod explosion

get_contents

Generates the contents of the pod

get_landing_zone

Selects a place for the pod to land in

send_pod

Sends the pod to the given location, containing the container

setup

Tries to find a valid area, throws an error if none are found Also randomizes the start timer

start

Spawns a random supply pack, puts it in a pod, and spawns it on a random tile of the selected area