-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinit.lua
77 lines (74 loc) · 2.16 KB
/
init.lua
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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
minetest.register_node("bridgesx:wood", {
description = "Wood Bridge",
tiles = {"bridgea.png","bridgea2.png","bridgea1.png","bridgea1.png","bridgea1.png","bridgea1.png"},
wield_image = "bridgea.png",
paramtype = "light",
paramtype2 = "facedir",
sunlight_propagates = true,
walkable = true,
drawtype = "nodebox",
node_box = {
type = "fixed",
fixed = {
{-0.5, 0.4375, 0.3125, 0.5, 0.5, 0.5},
{-0.5, 0.4375, -0.5, 0.5, 0.5, -0.3125},
{-0.5, 0.4375, -0.1875, 0.5, 0.5, 0.1875},
{-0.375, 0.375, -0.5, -0.1875, 0.4375, 0.5},
{0.1875, 0.375, -0.5, 0.375, 0.4375, 0.5},
}
},
is_ground_content = false,
selection_box = {
type = "fixed",
fixed = {
{-0.5, 0, -0.5, 0.5, 0.5, 0.5}, -- NodeBox3
}
},
groups = {choppy = 2, oddly_breakable_by_hand = 3, flammable = 2},
sounds = default.node_sound_wood_defaults(),
})
minetest.register_craft({
output = 'bridgesx:wood 3',
recipe = {
{'default:wood', 'default:stick', 'default:wood'},
{'default:wood', 'default:stick', 'default:wood'},
{'default:wood', 'default:stick', 'default:wood'},
}
})
minetest.register_node("bridgesx:junglewood", {
description = "Jungle Bridge",
tiles = {"bridgeb.png","bridgeb2.png","bridgeb1.png","bridgeb1.png","bridgeb1.png","bridgeb1.png"},
wield_image = "bridgeb.png",
paramtype = "light",
paramtype2 = "facedir",
sunlight_propagates = true,
walkable = true,
drawtype = "nodebox",
node_box = {
type = "fixed",
fixed = {
{-0.5, 0.4375, 0.3125, 0.5, 0.5, 0.5},
{-0.5, 0.4375, -0.5, 0.5, 0.5, -0.3125},
{-0.5, 0.4375, -0.1875, 0.5, 0.5, 0.1875},
{-0.375, 0.375, -0.5, -0.1875, 0.4375, 0.5},
{0.1875, 0.375, -0.5, 0.375, 0.4375, 0.5},
}
},
is_ground_content = false,
selection_box = {
type = "fixed",
fixed = {
{-0.5, 0, -0.5, 0.5, 0.5, 0.5}, -- NodeBox3
}
},
groups = {choppy = 2, oddly_breakable_by_hand = 3, flammable = 2},
sounds = default.node_sound_wood_defaults(),
})
minetest.register_craft({
output = 'bridgesx:junglewood 3',
recipe = {
{'default:junglewood', 'default:stick', 'default:junglewood'},
{'default:junglewood', 'default:stick', 'default:junglewood'},
{'default:junglewood', 'default:stick', 'default:junglewood'},
}
})