1 -- Minetest: builtin/constants.lua
4 -- Constants values for use with the Lua API
8 -- Built-in Content IDs (for use with VoxelManip API)
9 core.CONTENT_UNKNOWN = 125
10 core.CONTENT_AIR = 126
11 core.CONTENT_IGNORE = 127
14 -- Block emerge status constants (for use with core.emerge_area)
15 core.EMERGE_CANCELLED = 0
16 core.EMERGE_ERRORED = 1
17 core.EMERGE_FROM_MEMORY = 2
18 core.EMERGE_FROM_DISK = 3
19 core.EMERGE_GENERATED = 4
22 -- Size of mapblocks in nodes
23 core.MAP_BLOCKSIZE = 16
24 -- Default maximal HP of a player
25 core.PLAYER_MAX_HP_DEFAULT = 20
26 -- Maximal breath of a player
27 core.PLAYER_MAX_BREATH = 11
30 -- Maximum value for node 'light_source' parameter