Spawn level: Add 'get_spawn_level(x, z)' API
authorparamat <paramat@users.noreply.github.com>
Wed, 7 Mar 2018 03:40:35 +0000 (03:40 +0000)
committerparamat <mat.gregory@virginmedia.com>
Sat, 10 Mar 2018 03:38:27 +0000 (03:38 +0000)
commit644d0ab2bb44df8a3aefb387736930150b7d0aed
tree8201d4809b043615c26aaabb91b79d482ee7aac1
parent473d81f2e2ad4b8077c9cfe241032c67d6a795c3
Spawn level: Add 'get_spawn_level(x, z)' API

Returns a suitable player spawn y co-ordinate for unmodified terrain.
doc/lua_api.txt
src/script/lua_api/l_mapgen.cpp
src/script/lua_api/l_mapgen.h