Goonstation 13 - Modules - TypesDefine Details

_std/defines/worldgen.dm

AST_MINSIZEMin range before rng kicks in
AST_REDUCTIONprob reduction per 1 tile over min size
AST_SIZERANGE+- mod on asteroid size, i.e. 4 = 4 tiles smaller to 4 tiles larger.
AST_TILERNG+- range of flat rng applied to tile placement
AST_SEEDSBase amount of asteroid seeds. Actual amount of asteroids works out to be significantly less.
AST_RNGWALKCNTAmount of asteroid tiles to dig out during random walk.
AST_RNGWALKINSTHow many random walks should we do per asteroid.
AST_NUMPREFABSHow many prefabs to place. It'll try it's hardest to place this many at the very least. You're basically guaranteed this amount of prefabs.
AST_NUMPREFABSEXTRAUp to how many extra prefabs to place randomly. You might or might not get these extra ones.
AST_MAPSEEDBORDERMin distance from map edge for seeds.
AST_MAPBORDERAbsolute map border around generated content
AST_ZLEVELZlevel for generation.
PREFAB_ANYWHEREPrefabs that spawn anywhere
PREFAB_SPACEPrefabs that spawn in space
PREFAB_PLANETPrefabs that spawn on planets
PREFAB_NADIR_SAFEPrefabs that spawn on nadir and other water maps
PREFAB_NADIR_UNSAFEPrefabs that spawn on water maps barring nadir
PREFAB_NADIRPrefabs that only spawn on Nadir
PREFAB_OSHANPrefabs that only spawn on Oshan
PREFAB_MANTAPrefabs that only spawn on Manta

Define Details

AST_MAPBORDER

Absolute map border around generated content

AST_MAPSEEDBORDER

Min distance from map edge for seeds.

AST_MINSIZE

Min range before rng kicks in

AST_NUMPREFABS

How many prefabs to place. It'll try it's hardest to place this many at the very least. You're basically guaranteed this amount of prefabs.

AST_NUMPREFABSEXTRA

Up to how many extra prefabs to place randomly. You might or might not get these extra ones.

AST_REDUCTION

prob reduction per 1 tile over min size

AST_RNGWALKCNT

Amount of asteroid tiles to dig out during random walk.

AST_RNGWALKINST

How many random walks should we do per asteroid.

AST_SEEDS

Base amount of asteroid seeds. Actual amount of asteroids works out to be significantly less.

AST_SIZERANGE

+- mod on asteroid size, i.e. 4 = 4 tiles smaller to 4 tiles larger.

AST_TILERNG

+- range of flat rng applied to tile placement

AST_ZLEVEL

Zlevel for generation.

PREFAB_ANYWHERE

Prefabs that spawn anywhere

PREFAB_MANTA

Prefabs that only spawn on Manta

PREFAB_NADIR

Prefabs that only spawn on Nadir

PREFAB_NADIR_SAFE

Prefabs that spawn on nadir and other water maps

PREFAB_NADIR_UNSAFE

Prefabs that spawn on water maps barring nadir

PREFAB_OSHAN

Prefabs that only spawn on Oshan

PREFAB_PLANET

Prefabs that spawn on planets

PREFAB_SPACE

Prefabs that spawn in space