BiomeFamily
classBiome that picks one of its sub-biomes per position
- load-only Usable only while mods load. The game seals these members once loading finishes, so a call or a write from a running world raises an error.
Fields
| Name | Type | Description | |
|---|---|---|---|
| sub_biomes | Biome[] | Sub-biomes this family selects from | |
| sub_frequency | number | Frequency of the sub-biome selection noise | |
| perturb_amp | number | Amplitude of the coarse domain warp | |
| perturb_frequency | number | Frequency of the coarse domain warp | |
| perturb_octaves | integer | Octave count of the coarse domain warp | |
| perturb_fine_amp | number | Amplitude of the fine domain warp | |
| perturb_fine_frequency | number | Frequency of the fine domain warp | |
Standard members (5)
Every class of this kind carries these.
| BiomeFamily.cast(object) | Trying to cast Object into BiomeFamily |
| BiomeFamily.get_class() | Return BiomeFamily class object |
| BiomeFamily.find(name) | Looks BiomeFamily up in db, nil when there is none |
| BiomeFamily.get(name) | Takes BiomeFamily from db, reports a miss to the log |
| BiomeFamily.reg(name) load-only | Register a new BiomeFamily static object |
Inherited from Prototype (2)
- name read-only Object name
- Prototype:is_valid() Returns false once the underlying engine object has been destroyed
Inherited from Object (1)
- Object:get_class() Class of this object