LuaWorldGenerator
classWorld generator assembled from Lua defined biomes and heights
- 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 | |
|---|---|---|---|
| biome_family | BiomeFamily | Biome family selecting the surface biome | |
| height | HeightGenerator | Height generator for the terrain surface | |
Standard members (5)
Every class of this kind carries these.
| LuaWorldGenerator.cast(object) | Trying to cast Object into LuaWorldGenerator |
| LuaWorldGenerator.get_class() | Return LuaWorldGenerator class object |
| LuaWorldGenerator.find(name) | Looks LuaWorldGenerator up in db, nil when there is none |
| LuaWorldGenerator.get(name) | Takes LuaWorldGenerator from db, reports a miss to the log |
| LuaWorldGenerator.reg(name) load-only | Register a new LuaWorldGenerator 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