]> git.lizzy.rs Git - minetest.git/blob - builtin/game/constants.lua
Set acceleration only once in falling node
[minetest.git] / builtin / game / constants.lua
1 -- Minetest: builtin/constants.lua
2
3 --
4 -- Constants values for use with the Lua API
5 --
6
7 -- Built-in Content IDs (for use with VoxelManip API)
8 core.CONTENT_UNKNOWN = 125
9 core.CONTENT_AIR     = 126
10 core.CONTENT_IGNORE  = 127
11
12 -- Block emerge status constants (for use with core.emerge_area)
13 core.EMERGE_CANCELLED   = 0
14 core.EMERGE_ERRORED     = 1
15 core.EMERGE_FROM_MEMORY = 2
16 core.EMERGE_FROM_DISK   = 3
17 core.EMERGE_GENERATED   = 4