/tg/ Station 13 - Modules - TypesVar Details - Proc Details

resource_pods

Vars

impact_areaThe area the pods are landing in
num_podsThe number of pods
picked_cratesThe list of crates we're spawning
pod_styleThe style the pod uses
possible_cratesThe list of possible crates to draw from
priority_cratesCrates guaranteed to spawn with the pods
sourceThe source of the resources (a short descriptive string)

Procs

find_event_areaFinds a valid area for our event to fire. We avoid places that pod explosions can cause critical infrastructre damage.
get_company_sourcesPicks a random, neutral "source" of the pods and returns it.
get_nanotrasen_sourcesPicks a Nanotrasen-related "source" of the pods based on the number of pods that are being sent and returns it.
get_num_pod_identifierPicks a adjective describing the number of pods being sent and returns it.
get_syndicate_sourcesPicks a Syndicate-related "source" of the pods based on the number of pods that are being sent and returns it.
get_valid_turfsReturns a list of all turfs in the area [found_area] that have no dense objects within the tile.
launch_podLaunch the supplied crate path [crate] via pod to the target turf [landing_turf].

Var Details

impact_area

The area the pods are landing in

num_pods

The number of pods

picked_crates

The list of crates we're spawning

pod_style

The style the pod uses

possible_crates

The list of possible crates to draw from

priority_crates

Crates guaranteed to spawn with the pods

source

The source of the resources (a short descriptive string)

Proc Details

find_event_area

Finds a valid area for our event to fire. We avoid places that pod explosions can cause critical infrastructre damage.

returns the area our event will fire in.

get_company_sources

Picks a random, neutral "source" of the pods and returns it.

get_nanotrasen_sources

Picks a Nanotrasen-related "source" of the pods based on the number of pods that are being sent and returns it.

get_num_pod_identifier

Picks a adjective describing the number of pods being sent and returns it.

get_syndicate_sources

Picks a Syndicate-related "source" of the pods based on the number of pods that are being sent and returns it.

get_valid_turfs

Returns a list of all turfs in the area [found_area] that have no dense objects within the tile.

launch_pod

Launch the supplied crate path [crate] via pod to the target turf [landing_turf].

landing_turf - reference to a turf that we're targeting with our pod crate - a path of something, normally a crate, that gets instantiated and launched via pod