summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorkwolekr <kwolekr@minetest.net>2015-04-20 20:25:33 -0400
committerkwolekr <kwolekr@minetest.net>2015-04-20 20:25:33 -0400
commit46a2c1f167f76b1ceb0164e9028b67eb6bf76e79 (patch)
treeb9706af6c1d9631e2914128f8218ad6f6a6ee39b /doc
parenta443a13a9d77d3826947a55dd3bdc684d7bb7ed8 (diff)
downloadminetest-46a2c1f167f76b1ceb0164e9028b67eb6bf76e79.tar.gz
minetest-46a2c1f167f76b1ceb0164e9028b67eb6bf76e79.tar.bz2
minetest-46a2c1f167f76b1ceb0164e9028b67eb6bf76e79.zip
Ore: Add biomes parameter
Diffstat (limited to 'doc')
-rw-r--r--doc/lua_api.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/lua_api.txt b/doc/lua_api.txt
index a7fcaeab1..d9ab6a459 100644
--- a/doc/lua_api.txt
+++ b/doc/lua_api.txt
@@ -3195,6 +3195,10 @@ Definition tables
-- ^ Multiplier of the randomness contribution to the noise value at any
-- given point to decide if ore should be placed. Set to 0 for solid veins.
-- ^ This parameter is only valid for ore_type == "vein".
+ biomes = {"desert", "rainforest"}
+ -- ^ 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.
}
### Decoration definition (`register_decoration`)