Advertisement
Guest User

Untitled

a guest
Aug 30th, 2014
44
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.83 KB | None | 0 0
  1. function insert_stand(gong, stand)
  2.     local out = {
  3.         {-13/32,    -3/32,  -8/32,  13/32,  5/32,   -7/32}, --Gong W1 Lv1
  4.         {-12/32,    -5/32,  -8/32,  12/32,  7/32,   -7/32}, --Gong W2 Lv1
  5.         {-11/32,    -7/32,  -8/32,  11/32,  9/32,   -7/32}, --Gong W3 Lv1
  6.         {-10/32,    -8/32,  -8/32,  10/32,  10/32,  -7/32}, --Gong W4 Lv1
  7.         {-4/32,     -12/32, -8/32,  4/32,   14/32,  -7/32}, --Gong H1 Lv1
  8.         {-6/32,     -11/32, -8/32,  6/32,   13/32,  -7/32}, --Gong H2 Lv1
  9.         {-8/32,     -10/32, -8/32,  8/32,   12/32,  -7/32}, --Gong H3 Lv1
  10.         {-9/32,     -9/32,  -8/32,  9/32,   11/32,  -7/32}, --Gong H4 Lv1
  11.                
  12.         {-11/32,    -3/32,  -9/32,  11/32,  5/32,   -8/32}, --Gong W1 Lv2
  13.         {-10/32,    -5/32,  -9/32,  10/32,  7/32,   -8/32}, --Gong W2 Lv2
  14.         {-9/32,     -7/32,  -9/32,  9/32,   9/32,   -8/32}, --Gong W3 Lv2
  15.         {-8/32,     -8/32,  -9/32,  8/32,   10/32,  -8/32}, --Gong W4 Lv2
  16.         {-4/32,     -10/32, -9/32,  4/32,   12/32,  -8/32}, --Gong H1 Lv2
  17.         {-6/32,     -9/32,  -9/32,  6/32,   11/32,  -8/32}, --Gong H2 Lv2
  18.         {-8/32,     -8/32,  -9/32,  8/32,   10/32,  -8/32}, --Gong H3 Lv2
  19.         {-9/32,     -7/32,  -9/32,  9/32,   9/32,   -8/32}, --Gong H4 Lv2
  20.                
  21.         {-9/32,     -3/32,  -9/32,  9/32,   5/32,   -8/32}, --Gong W1 Lv3
  22.         {-8/32,     -5/32,  -9/32,  8/32,   7/32,   -8/32}, --Gong W2 Lv3
  23.         {-7/32,     -7/32,  -9/32,  7/32,   9/32,   -8/32}, --Gong W3 Lv3
  24.         {-6/32,     -8/32,  -9/32,  6/32,   10/32,  -8/32}, --Gong W4 Lv3
  25.         {-4/32,     -8/32,  -9/32,  4/32,   10/32,  -8/32}, --Gong H1 Lv3
  26.         {-6/32,     -7/32,  -9/32,  6/32,   9/32,   -8/32}, --Gong H2 Lv3
  27.         {-8/32,     -6/32,  -9/32,  8/32,   8/32,   -8/32}, --Gong H3 Lv3
  28.         {-9/32,     -5/32,  -9/32,  9/32,   7/32,   -8/32}, --Gong H4 Lv3
  29.     }
  30.     for _, line in ipairs(stand) do
  31.         table.insert(out, line)
  32.     end
  33.     return out
  34. end
  35.  
  36. gong_nodebox = {
  37.     type = "wallmounted",
  38.     wall_top = {
  39.         insert_stand(gong,
  40.         {
  41.             {stand},
  42.             {},
  43.         }
  44.         ),
  45.     },
  46.     wall_bottom = {
  47.         insert_stand(gong,
  48.         {{stand},{}}
  49.         ),
  50.     },
  51.     wall_side = {
  52.         insert_stand(gong,
  53.         {{stand},{}}
  54.         ),
  55.     },
  56. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement