diff options
author | zeuner <github@quidecco.de> | 2017-08-27 16:39:47 +0000 |
---|---|---|
committer | SmallJoker <SmallJoker@users.noreply.github.com> | 2017-08-27 18:39:47 +0200 |
commit | 1f207a3ddbb5fbe903996a924443d9f9522b48a8 (patch) | |
tree | 3b7899b6757780ba3c9f7e22e93c455c98eedcc3 /doc/lua_api.txt | |
parent | e09c7fceaa93ad3d7d85f657df0663f6efc70281 (diff) | |
download | minetest-1f207a3ddbb5fbe903996a924443d9f9522b48a8.tar.gz minetest-1f207a3ddbb5fbe903996a924443d9f9522b48a8.tar.bz2 minetest-1f207a3ddbb5fbe903996a924443d9f9522b48a8.zip |
Lua API: Add function to deregister single biomes (#5445)
Diffstat (limited to 'doc/lua_api.txt')
-rw-r--r-- | doc/lua_api.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/lua_api.txt b/doc/lua_api.txt index d8e58f2a8..b62fac67d 100644 --- a/doc/lua_api.txt +++ b/doc/lua_api.txt @@ -715,6 +715,10 @@ the global `minetest.registered_*` tables. * added to `minetest.registered_biome` with the key of `biome.name` * if `biome.name` is nil, the key is the returned ID +* `minetest.unregister_biome(name)` + * Unregisters the biome name from engine, and deletes the entry with key + * `name` from `minetest.registered_biome` + * `minetest.register_ore(ore definition)` * returns an integer uniquely identifying the registered ore * added to `minetest.registered_ores` with the key of `ore.name` |