-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathinit.lua
More file actions
61 lines (53 loc) · 1.23 KB
/
init.lua
File metadata and controls
61 lines (53 loc) · 1.23 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
53
54
55
56
57
58
59
60
61
magma = {}
modpath = minetest.get_modpath("magma")
minetest.register_node("magma:magma", {
description = "Magma",
drawtype = "normal",
tiles = {"magma_magma.png"},
paramtype = "light",
light_source = 7,
groups = {cracky=3},
})
minetest.register_node("magma:basalt", {
description = "Basalt",
drawtype = "normal",
tiles = {"magma_basalt.png"},
paramtype = "light",
groups = {cracky=2},
})
minetest.register_node("magma:basalt_stone", {
description = "Basalt Stone",
drawtype = "normal",
tiles = {"magma_basalt_stone.png"},
paramtype = "light",
groups = {cracky=2},
})
minetest.register_node("magma:obsidian", {
description = "Obsidian",
drawtype = "normal",
tiles = {"magma_obsidian.png"},
paramtype = "light",
light_source = 7,
groups = {cracky=1},
})
minetest.register_node("magma:ash", {
description = "Ash",
drawtype = "nodebox",
tiles = {"magma_ash.png"},
paramtype = "light",
node_box = {
type = "fixed",
fixed = {
{-0.5, -0.5, -0.5, 0.5, -0.25, 0.5},
},
},
groups = {crumbly=3, falling_node=1},
})
minetest.register_node("magma:pumice", {
description = "Pumice",
drawtype = "normal",
tiles = {"magma_pumice.png"},
paramtype = "light",
groups = {cracky=3},
})
dofile(modpath.."/volcano_schematic.lua")