biome
Vars | |
feature_spawn_chance | Base percentage chance that an open turf will attempt a feature spawn. |
---|---|
feature_spawn_list | WEIGHTED list of features that this biome can spawn. Features will not spawn within 7 tiles of other features of the same type. |
feature_spawn_list_expanded | EXPANDED (no values) list of features that this biome can spawn. |
flora_spawn_chance | Percentage chance that an open turf will attempt a flora spawn. |
flora_spawn_list | WEIGHTED list of flora that this biome can spawn. Flora do not have any local keep-away logic; all spawns are independent. |
flora_spawn_list_expanded | EXPANDED (no values) list of flora that this biome can spawn. |
mob_spawn_chance | Base percentage chance that an open turf will attempt a flora spawn. |
mob_spawn_list | WEIGHTED list of mobs that this biome can spawn. Mobs have multi-layered logic for determining if they can be spawned on a given tile. Necropolis spawners etc. should go HERE, not in features, despite them not being mobs. |
mob_spawn_list_expanded | EXPANDED (no values) list of mobs that this biome can spawn. |
open_turf_types | WEIGHTED list of open turfs that this biome can place |
open_turf_types_expanded | EXPANDED (no values) list of open turfs that this biome can place |
Procs | |
generate_turf | Changes the passed turf according to the biome's internal logic, optionally using string_gen, and adds it to the passed area. The call to ChangeTurf respects changeturf_flags. |
populate_turf | Fills a turf with flora, features, and creatures based on the biome's variables. The features and creatures compare against and add to the lists passed to determine if they can spawn at the tested turf. This method of checking reduces the amount of time spent populating a planet. |
Var Details
feature_spawn_chance
Base percentage chance that an open turf will attempt a feature spawn.
feature_spawn_list
WEIGHTED list of features that this biome can spawn. Features will not spawn within 7 tiles of other features of the same type.
feature_spawn_list_expanded
EXPANDED (no values) list of features that this biome can spawn.
flora_spawn_chance
Percentage chance that an open turf will attempt a flora spawn.
flora_spawn_list
WEIGHTED list of flora that this biome can spawn. Flora do not have any local keep-away logic; all spawns are independent.
flora_spawn_list_expanded
EXPANDED (no values) list of flora that this biome can spawn.
mob_spawn_chance
Base percentage chance that an open turf will attempt a flora spawn.
mob_spawn_list
WEIGHTED list of mobs that this biome can spawn. Mobs have multi-layered logic for determining if they can be spawned on a given tile. Necropolis spawners etc. should go HERE, not in features, despite them not being mobs.
mob_spawn_list_expanded
EXPANDED (no values) list of mobs that this biome can spawn.
open_turf_types
WEIGHTED list of open turfs that this biome can place
open_turf_types_expanded
EXPANDED (no values) list of open turfs that this biome can place
Proc Details
generate_turf
Changes the passed turf according to the biome's internal logic, optionally using string_gen, and adds it to the passed area. The call to ChangeTurf respects changeturf_flags.
populate_turf
Fills a turf with flora, features, and creatures based on the biome's variables. The features and creatures compare against and add to the lists passed to determine if they can spawn at the tested turf. This method of checking reduces the amount of time spent populating a planet.