-
Notifications
You must be signed in to change notification settings - Fork 1
/
decor.lua
52 lines (42 loc) · 1.39 KB
/
decor.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
-- Licenses of media (3D Meshes and textures)
-- ---------------------------------------
-- Attribution-ShareAlike 4.0 International (CC BY-SA 4.0)
-- Copyright (C) 2019 - 2020 Steamed_Punk steamedpunk.mt at gmail.com
-- NODES
-- TOTEM
minetest.register_node("nativeamericanvillage:totem", {
description = "Totem",
drawtype = "mesh",
mesh = "indianvillage_totem.obj",
tiles = {"indianvillage_totem.png"},
inventory_image = "indianvillage_totem.png",
wield_image = "indianvillage_totem.png",
buildable_to = false,
paramtype = "light",
paramtype2 = "facedir",
groups = {choppy=2, oddly_breakable_by_hand=2, flammable=3},
on_place = minetest.rotate_node,
})
-- TOTEM_CRAFT
minetest.register_craft({
output = "nativeamericanvillage:totem",
recipe = {
{'group:tree', 'group:tree', 'group:tree'},
{'group:dye','group:tree', 'group:dye'},
{'', 'group:tree', ''},
}
})
-- SKULL
minetest.register_node("nativeamericanvillage:buffaloskull", {
description = "Skull",
drawtype = "mesh",
mesh = "indianvillage_buffaloskull.obj",
tiles = {"indianvillage_decor_buffaloskull.png"},
inventory_image = "item_buffaloskull.png",
wield_image = "item_buffaloskull.png",
buildable_to = false,
paramtype = "light",
paramtype2 = "facedir",
groups = {choppy=2, flammable=3},
on_place = minetest.rotate_node,
})