Advertisement
Guest User

Untitled

a guest
Aug 30th, 2014
355
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.65 KB | None | 0 0
  1. gong_nodebox = { -- {x1,    y1, z1, x2, y2, z2} {left,  bottom, back,   right,  top,    front}
  2.     {-13/32,    -3/32,  -8/32,  13/32,  5/32,   -7/32}, --Gong W1 Lv1
  3.     {-12/32,    -5/32,  -8/32,  12/32,  7/32,   -7/32}, --Gong W2 Lv1
  4.     {-11/32,    -7/32,  -8/32,  11/32,  9/32,   -7/32}, --Gong W3 Lv1
  5.     {-10/32,    -8/32,  -8/32,  10/32,  10/32,  -7/32}, --Gong W4 Lv1
  6.     {-4/32,     -12/32, -8/32,  4/32,   14/32,  -7/32}, --Gong H1 Lv1
  7.     {-6/32,     -11/32, -8/32,  6/32,   13/32,  -7/32}, --Gong H2 Lv1
  8.     {-8/32,     -10/32, -8/32,  8/32,   12/32,  -7/32}, --Gong H3 Lv1
  9.     {-9/32,     -9/32,  -8/32,  9/32,   11/32,  -7/32}, --Gong H4 Lv1
  10.            
  11.     {-11/32,    -3/32,  -9/32,  11/32,  5/32,   -8/32}, --Gong W1 Lv2
  12.     {-10/32,    -5/32,  -9/32,  10/32,  7/32,   -8/32}, --Gong W2 Lv2
  13.     {-9/32,     -7/32,  -9/32,  9/32,   9/32,   -8/32}, --Gong W3 Lv2
  14.     {-8/32,     -8/32,  -9/32,  8/32,   10/32,  -8/32}, --Gong W4 Lv2
  15.     {-4/32,     -10/32, -9/32,  4/32,   10/32,  -8/32}, --Gong H1 Lv2
  16.     {-6/32,     -9/32,  -9/32,  6/32,   9/32,   -8/32}, --Gong H2 Lv2
  17.     {-8/32,     -8/32,  -9/32,  8/32,   8/32,   -8/32}, --Gong H3 Lv2
  18.     {-9/32,     -7/32,  -9/32,  9/32,   7/32,   -8/32}, --Gong H4 Lv2
  19. }
  20.  
  21. minetest.register_node("shenyun:gong",  {
  22.     description = "Shen Yun Gong",
  23.     tiles = {
  24.         "default_wood.png", --top
  25.         "default_wood.png", --bottom
  26.         "default_wood.png", --
  27.         "default_wood.png", --
  28.         "default_wood.png", --
  29.         "shenyun_gong_front.png" -- front shenyun_gong_front
  30.     },
  31.     groups = {crumbly=3},
  32.     drawtype = "nodebox",
  33.     paramtype = "light",
  34.     paramtype2 = "wallmounted",
  35.     node_box = {
  36.         type = "wallmounted",
  37.         wall_top = {
  38.             gong_nodebox,
  39.             { Top stand Here},
  40.         },
  41.         wall_bottom = {
  42.             gong_nodebox,
  43.             { Floor Stand Here },
  44.         },
  45.         wall_side = {
  46.             gong_nodebox,
  47.             { Wall Stand Here },
  48.         }
  49.     },
  50. })
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement