mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-11 17:51:04 +00:00
Biome API: Add 'get_biome_name(biome_id)' API
Change name of default biome to a more suitable lowercase 'default'.
This commit is contained in:
parent
a09a994417
commit
7ad6cdd09b
4 changed files with 29 additions and 3 deletions
|
@ -28,6 +28,10 @@ private:
|
|||
// returns the biome id as used in biomemap and returned by 'get_biome_data()'
|
||||
static int l_get_biome_id(lua_State *L);
|
||||
|
||||
// get_biome_name(biome_id)
|
||||
// returns the biome name string
|
||||
static int l_get_biome_name(lua_State *L);
|
||||
|
||||
// get_heat(pos)
|
||||
// returns the heat at the position
|
||||
static int l_get_heat(lua_State *L);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue