-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathconst.lua
More file actions
52 lines (32 loc) · 1.39 KB
/
const.lua
File metadata and controls
52 lines (32 loc) · 1.39 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
---@meta
-- Builtin constants
---Built-in Content ID of uknown node (for use with VoxelManip API)
minetest.CONTENT_UNKNOWN = 125
---Built-in Content ID of air node (for use with VoxelManip API)
minetest.CONTENT_AIR = 126
---Built-in Content ID of ignore node (for use with VoxelManip API)
minetest.CONTENT_IGNORE = 127
---Size of mapblocks in nodes
minetest.MAP_BLOCKSIZE = 16
---Default maximal HP of a player
minetest.PLAYER_MAX_HP_DEFAULT = 20
---Default maximal breath of a player
minetest.PLAYER_MAX_BREATH_DEFAULT = 10
---Maximum value for node `"light_source"` parameter
minetest.LIGHT_MAX = 14
---Block emerge status constants (for use with `minetest.emerge_area`)
minetest.EMERGE_CANCELLED = 0
---Block emerge status constants (for use with `minetest.emerge_area`)
minetest.EMERGE_ERRORED = 1
---Block emerge status constants (for use with `minetest.emerge_area`)
minetest.EMERGE_FROM_MEMORY = 2
---Block emerge status constants (for use with `minetest.emerge_area`)
minetest.EMERGE_FROM_DISK = 3
---Block emerge status constants (for use with `minetest.emerge_area`)
minetest.EMERGE_GENERATED = 4
---Directory separator in use on the system.
---@type '"/"'|'"\\\\"'
DIR_DELIM = nil
---Platform Minetest was build for.
---@type '"Android"'|'"Linux"'|'"Windows"'|'"BSD"'|'"OSX"'|'"iOS"'|'"Apple"'|'"AIX"'|'"HP-UX"'|'"Solaris"'|'"SunOS"'|'"Haiku"'|'"Cygwin"'|'"Posix"'|'"Unix"'|'"?"'
PLATFORM = nil