/tg/ Station 13 - 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
stray_spawnable_supply_packsList of possible supply packs dropped in the pod, if empty picks from the cargo list

Procs

find_event_areaPicks an area that wouldn't risk critical damage if hit by a pod explosion
make_podHandles the creation of the pod, in case it needs to be modified beforehand
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

stray_spawnable_supply_packs

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

Proc Details

find_event_area

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

make_pod

Handles the creation of the pod, in case it needs to be modified beforehand

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