LuaWorldGenerator

LuaWorldGenerator

class

World 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

NameTypeDescription
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)
Inherited from Object (1)