Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- gong_nodebox = { -- {x1, y1, z1, x2, y2, z2} {left, bottom, back, right, top, front}
- {-13/32, -3/32, -8/32, 13/32, 5/32, -7/32}, --Gong W1 Lv1
- {-12/32, -5/32, -8/32, 12/32, 7/32, -7/32}, --Gong W2 Lv1
- {-11/32, -7/32, -8/32, 11/32, 9/32, -7/32}, --Gong W3 Lv1
- {-10/32, -8/32, -8/32, 10/32, 10/32, -7/32}, --Gong W4 Lv1
- {-4/32, -12/32, -8/32, 4/32, 14/32, -7/32}, --Gong H1 Lv1
- {-6/32, -11/32, -8/32, 6/32, 13/32, -7/32}, --Gong H2 Lv1
- {-8/32, -10/32, -8/32, 8/32, 12/32, -7/32}, --Gong H3 Lv1
- {-9/32, -9/32, -8/32, 9/32, 11/32, -7/32}, --Gong H4 Lv1
- {-11/32, -3/32, -9/32, 11/32, 5/32, -8/32}, --Gong W1 Lv2
- {-10/32, -5/32, -9/32, 10/32, 7/32, -8/32}, --Gong W2 Lv2
- {-9/32, -7/32, -9/32, 9/32, 9/32, -8/32}, --Gong W3 Lv2
- {-8/32, -8/32, -9/32, 8/32, 10/32, -8/32}, --Gong W4 Lv2
- {-4/32, -10/32, -9/32, 4/32, 10/32, -8/32}, --Gong H1 Lv2
- {-6/32, -9/32, -9/32, 6/32, 9/32, -8/32}, --Gong H2 Lv2
- {-8/32, -8/32, -9/32, 8/32, 8/32, -8/32}, --Gong H3 Lv2
- {-9/32, -7/32, -9/32, 9/32, 7/32, -8/32}, --Gong H4 Lv2
- }
- minetest.register_node("shenyun:gong", {
- description = "Shen Yun Gong",
- tiles = {
- "default_wood.png", --top
- "default_wood.png", --bottom
- "default_wood.png", --
- "default_wood.png", --
- "default_wood.png", --
- "shenyun_gong_front.png" -- front shenyun_gong_front
- },
- groups = {crumbly=3},
- drawtype = "nodebox",
- paramtype = "light",
- paramtype2 = "wallmounted",
- node_box = {
- type = "wallmounted",
- wall_top = {
- gong_nodebox,
- { Top stand Here},
- },
- wall_bottom = {
- gong_nodebox,
- { Floor Stand Here },
- },
- wall_side = {
- gong_nodebox,
- { Wall Stand Here },
- }
- },
- })
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement