-
Notifications
You must be signed in to change notification settings - Fork 1
/
init.lua
34 lines (32 loc) · 879 Bytes
/
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
minetest.register_node('grossdecor:cash_register', {
description = 'Cash register',
tiles = {'grossdecor_cash_register.png'},
drawtype = 'mesh',
mesh = 'grossdecor_cash_register.obj',
groups = {oddly_breakable_by_hand = 1},
paramtype = 'light',
paramtype2 = 'facedir',
is_ground_content = false,
selection_box = {
type = "fixed",
fixed = {{-.5, -.5, -.5, .5, -.125, .5}},
},
collision_box = {
type = "fixed",
fixed = {{-.5, -.5, -.5, .5, -.125, .5}},
}
})
minetest.register_node('grossdecor:vintage_computer', {
description = 'Vintage computer',
drawtype = 'mesh',
mesh = 'grossdecor_vintage_computer.obj',
tiles = {'grossdecor_vintage_computer.png'},
groups = {oddly_breakable_by_hand = 1},
paramtype = 'light',
paramtype2 = 'facedir',
is_ground_content = false,
selection_box = {
type = 'fixed',
fixed = {{-.5, -.5, -.5, .5, 1.5, .5}},
}
})