]> git.lizzy.rs Git - dragonfireclient.git/blob - builtin/game/constants.lua
Add callback parameter for core.emerge_area()
[dragonfireclient.git] / builtin / game / constants.lua
1 -- Minetest: builtin/constants.lua
2
3 --
4 -- Constants values for use with the Lua API
5 --
6
7 -- Block emerge status constants (for use with core.emerge_area)
8 core.EMERGE_CANCELLED   = 0
9 core.EMERGE_ERRORED     = 1
10 core.EMERGE_FROM_MEMORY = 2
11 core.EMERGE_FROM_DISK   = 3
12 core.EMERGE_GENERATED   = 4