Advertisement
Guest User

Untitled

a guest
Aug 28th, 2013
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 3.54 KB | None | 0 0
  1. minetest.register_node('aldo:yournode', {
  2.   description = ('yournode'),
  3.   drawtype = 'nodebox',
  4.   tiles = {
  5.     'aldo_texturetop',
  6.     'aldo_texturebottom',
  7.     'aldo_textureleft',
  8.     'aldo_textureright',
  9.     'aldo_texturefront',
  10.     'aldo_textureback',
  11.   },
  12.   selection_box = {
  13.     type = 'fixed',
  14.     fixed = { -1/3, -1/3, -1/3, 1/3, 1/3, 1/3 }
  15.   },
  16.   node_box = {
  17.     type = 'fixed',
  18.     fixed = {
  19.         {-0.5, -0.5, 0.375, -0.375, -0.375, 0.5},
  20.         {-0.5, -0.375, 0.375, -0.375, -0.25, 0.5},
  21.         {-0.5, -0.25, 0.375, -0.375, -0.125, 0.5},
  22.         {-0.5, -0.125, 0.375, -0.375, 0.0, 0.5},
  23.         {-0.5, 0.0, 0.375, -0.375, 0.125, 0.5},
  24.         {-0.5, 0.125, 0.375, -0.375, 0.25, 0.5},
  25.         {-0.5, 0.25, 0.375, -0.375, 0.375, 0.5},
  26.         {-0.5, 0.375, 0.375, -0.375, 0.5, 0.5},
  27.         {-0.375, -0.5, 0.375, -0.25, -0.375, 0.5},
  28.         {-0.375, -0.375, 0.375, -0.25, -0.25, 0.5},
  29.         {-0.375, -0.25, 0.375, -0.25, -0.125, 0.5},
  30.         {-0.375, -0.125, 0.375, -0.25, 0.0, 0.5},
  31.         {-0.375, 0.0, 0.375, -0.25, 0.125, 0.5},
  32.         {-0.375, 0.125, 0.375, -0.25, 0.25, 0.5},
  33.         {-0.375, 0.25, 0.375, -0.25, 0.375, 0.5},
  34.         {-0.375, 0.375, 0.375, -0.25, 0.5, 0.5},
  35.         {-0.25, -0.5, 0.375, -0.125, -0.375, 0.5},
  36.         {-0.25, -0.375, 0.375, -0.125, -0.25, 0.5},
  37.         {-0.25, -0.25, 0.375, -0.125, -0.125, 0.5},
  38.         {-0.25, -0.125, 0.375, -0.125, 0.0, 0.5},
  39.         {-0.25, 0.0, 0.375, -0.125, 0.125, 0.5},
  40.         {-0.25, 0.125, 0.375, -0.125, 0.25, 0.5},
  41.         {-0.25, 0.25, 0.375, -0.125, 0.375, 0.5},
  42.         {-0.25, 0.375, 0.375, -0.125, 0.5, 0.5},
  43.         {-0.125, -0.5, 0.375, 0.0, -0.375, 0.5},
  44.         {-0.125, -0.375, 0.375, 0.0, -0.25, 0.5},
  45.         {-0.125, -0.25, 0.375, 0.0, -0.125, 0.5},
  46.         {-0.125, -0.125, 0.375, 0.0, 0.0, 0.5},
  47.         {-0.125, 0.0, 0.375, 0.0, 0.125, 0.5},
  48.         {-0.125, 0.125, 0.375, 0.0, 0.25, 0.5},
  49.         {-0.125, 0.25, 0.375, 0.0, 0.375, 0.5},
  50.         {-0.125, 0.375, 0.375, 0.0, 0.5, 0.5},
  51.         {0.0, -0.5, 0.375, 0.125, -0.375, 0.5},
  52.         {0.0, -0.375, 0.375, 0.125, -0.25, 0.5},
  53.         {0.0, -0.25, 0.375, 0.125, -0.125, 0.5},
  54.         {0.0, -0.125, 0.375, 0.125, 0.0, 0.5},
  55.         {0.0, 0.0, 0.375, 0.125, 0.125, 0.5},
  56.         {0.0, 0.125, 0.375, 0.125, 0.25, 0.5},
  57.         {0.0, 0.25, 0.375, 0.125, 0.375, 0.5},
  58.         {0.0, 0.375, 0.375, 0.125, 0.5, 0.5},
  59.         {0.125, -0.5, 0.375, 0.25, -0.375, 0.5},
  60.         {0.125, -0.375, 0.375, 0.25, -0.25, 0.5},
  61.         {0.125, -0.25, 0.375, 0.25, -0.125, 0.5},
  62.         {0.125, -0.125, 0.375, 0.25, 0.0, 0.5},
  63.         {0.125, 0.0, 0.375, 0.25, 0.125, 0.5},
  64.         {0.125, 0.125, 0.375, 0.25, 0.25, 0.5},
  65.         {0.125, 0.25, 0.375, 0.25, 0.375, 0.5},
  66.         {0.125, 0.375, 0.375, 0.25, 0.5, 0.5},
  67.         {0.25, -0.5, 0.375, 0.375, -0.375, 0.5},
  68.         {0.25, -0.375, 0.375, 0.375, -0.25, 0.5},
  69.         {0.25, -0.25, 0.375, 0.375, -0.125, 0.5},
  70.         {0.25, -0.125, 0.375, 0.375, 0.0, 0.5},
  71.         {0.25, 0.0, 0.375, 0.375, 0.125, 0.5},
  72.         {0.25, 0.125, 0.375, 0.375, 0.25, 0.5},
  73.         {0.25, 0.25, 0.375, 0.375, 0.375, 0.5},
  74.         {0.25, 0.375, 0.375, 0.375, 0.5, 0.5},
  75.         {0.375, -0.5, 0.375, 0.5, -0.375, 0.5},
  76.         {0.375, -0.375, 0.375, 0.5, -0.25, 0.5},
  77.         {0.375, -0.25, 0.375, 0.5, -0.125, 0.5},
  78.         {0.375, -0.125, 0.375, 0.5, 0.0, 0.5},
  79.         {0.375, 0.0, 0.375, 0.5, 0.125, 0.5},
  80.         {0.375, 0.125, 0.375, 0.5, 0.25, 0.5},
  81.         {0.375, 0.25, 0.375, 0.5, 0.375, 0.5},
  82.         {0.375, 0.375, 0.375, 0.5, 0.5, 0.5},
  83.       },
  84.     },
  85. })
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement