-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinit.lua
More file actions
28 lines (26 loc) · 829 Bytes
/
init.lua
File metadata and controls
28 lines (26 loc) · 829 Bytes
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
minetest.register_node("quartz_geodes:quartz_block", {
description = "Quartz Block",
tiles = {"quartz_block.png"},
groups = {cracky = 3},
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("quartz_geodes:quartz_crystal", {
description = "Quartz Crystal",
tiles = {"quartz_crystal.png"},
inventory_image = "quartz_crystal.png",
drawtype = "plantlike",
paramtype = "light",
sunlight_propagates = true,
paramtype2 = "wallmounted",
groups = {cracky = 3},
sounds = default.node_sound_stone_defaults(),
node_box = {
type = "fixed",
fixed = {-5/16, -0.5, -5/16, 5/16, 5/16, 5/16}
},
selection_box = {
type = "fixed",
fixed = {-5/16, -0.5, -5/16, 5/16, 5/16, 5/16}
},
})
geodes.register_geode("geodes:basalt", "geodes:calcite", "quartz_geodes:quartz_block", "quartz_geodes:quartz_crystal")