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

area_spawn

Area spawn datums

Use these to spawn atoms in areas instead of placing them on a map. It will select any available open and entering turf.

Vars

amount_to_spawnThe amount we want to spawn
blacklisted_stationsMap blacklist, this is used to determine what maps we should not spawn on.
desired_atomThe atom that we want to spawn
modeSee code/__DEFINES/~skyrat_defines/automapper.dm
optionalIf failing to find a suitable area is OK, then this should be TRUE or CI will fail. Should probably be true if the target_areas are random, such as ruins.
target_areasThe target area for us to spawn the desired atom, the list is formatted, highest priority first.

Procs

try_spawnAttempts to find a location using an algorithm to spawn the desired atom.

Var Details

amount_to_spawn

The amount we want to spawn

blacklisted_stations

Map blacklist, this is used to determine what maps we should not spawn on.

desired_atom

The atom that we want to spawn

mode

See code/__DEFINES/~skyrat_defines/automapper.dm

optional

If failing to find a suitable area is OK, then this should be TRUE or CI will fail. Should probably be true if the target_areas are random, such as ruins.

target_areas

The target area for us to spawn the desired atom, the list is formatted, highest priority first.

Proc Details

try_spawn

Attempts to find a location using an algorithm to spawn the desired atom.