From 1f207a3ddbb5fbe903996a924443d9f9522b48a8 Mon Sep 17 00:00:00 2001 From: zeuner Date: Sun, 27 Aug 2017 16:39:47 +0000 Subject: Lua API: Add function to deregister single biomes (#5445) --- doc/lua_api.txt | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'doc') 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` -- cgit v1.2.3