1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

Add blockseed to on_generated

This commit is contained in:
Perttu Ahola 2012-03-28 20:46:05 +03:00
parent 81b9cfdfa4
commit 9a1df7bf38
6 changed files with 25 additions and 7 deletions

View file

@ -51,7 +51,8 @@ bool scriptapi_on_chat_message(lua_State *L, const std::string &name,
// On environment step
void scriptapi_environment_step(lua_State *L, float dtime);
// After generating a piece of map
void scriptapi_environment_on_generated(lua_State *L, v3s16 minp, v3s16 maxp);
void scriptapi_environment_on_generated(lua_State *L, v3s16 minp, v3s16 maxp,
u32 blockseed);
/* misc */
void scriptapi_on_newplayer(lua_State *L, ServerActiveObject *player);