diff options
author | kwolekr <kwolekr@minetest.net> | 2015-03-31 23:27:19 -0400 |
---|---|---|
committer | kwolekr <kwolekr@minetest.net> | 2015-03-31 23:27:58 -0400 |
commit | 337e79c656a12bcf0dac4b25d5f0e021188e383a (patch) | |
tree | a8c15908fd5c2fe6e96cbe0324b664e201c58989 /doc | |
parent | d1d5618bb829127d8e138f354bf5a4f23852df59 (diff) | |
download | minetest-337e79c656a12bcf0dac4b25d5f0e021188e383a.tar.gz minetest-337e79c656a12bcf0dac4b25d5f0e021188e383a.tar.bz2 minetest-337e79c656a12bcf0dac4b25d5f0e021188e383a.zip |
ObjDefManager, Mapgen SAPI: Huge refactoring
- General code cleanup
- Unified object creation and loading
- Specifying objects in APIs is now orthogonal (i.e. anything can take an ID,
name string, or the raw table definition (and automatically registers if present
Diffstat (limited to 'doc')
-rw-r--r-- | doc/lua_api.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/lua_api.txt b/doc/lua_api.txt index 19d4f1672..5daaaa91d 100644 --- a/doc/lua_api.txt +++ b/doc/lua_api.txt @@ -3195,6 +3195,7 @@ Definition tables biomes = {"Oceanside", "Hills", "Plains"}, -- ^ List of biomes in which this decoration occurs. Occurs in all biomes if this is omitted, -- ^ and ignored if the Mapgen being used does not support biomes. + -- ^ Can be a list of (or a single) biome names, IDs, or definitions. y_min = -31000 y_max = 31000 -- ^ Minimum and maximum `y` positions these decorations can be generated at. @@ -3221,6 +3222,7 @@ Definition tables schematic = "foobar.mts", -- ^ If schematic is a string, it is the filepath relative to the current working directory of the -- ^ specified Minetest schematic file. + -- ^ - OR -, could be the ID of a previously registered schematic -- ^ - OR -, could instead be a table containing two mandatory fields, size and data, -- ^ and an optional table yslice_prob: schematic = { |