Yogstation 13 - Modules - TypesVar Details - Proc Details

/datum/round_event/stray_cargo

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

Vars

possible_pack_typesRandomly picked area
stray_spawnable_supply_packsList of possible supply packs dropped in the pod, if empty picks from the cargo list

Procs

announceList of default spawnable supply packs, filtered from the cargo list
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

possible_pack_types

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

announce

List of default spawnable supply packs, filtered from the cargo list

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