Advertisement
TumeniNodes

stupid walls

Jul 11th, 2018
156
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.92 KB | None | 0 0
  1.     minetest.register_node(wall_name .. "_filler", {
  2.         description = wall_desc,
  3.         paramtype = "light",
  4.         --paramtype2 = "facedir",
  5.         is_ground_content = false,
  6.         tiles = { wall_texture, },
  7.         walkable = true,
  8.         groups = { cracky = 3, wall = 1, stone = 2 },
  9.         sounds = wall_sounds,
  10.         drawtype = "nodebox",
  11.         node_box = {
  12.             type = "connected",
  13.             fixed = {{-3/16, -1/2, -3/16, 3/16, 3/8, 3/16}},
  14.             connect_top = {{-1/2, -1/2, -3/16, 1/2, 1/2, 3/16}},
  15.             connect_front = {{-1/2, -1/2, -3/16, 1/2, 3/8, 3/16}},
  16.                 --{-3/16, -1/2, -1/2, 3/16, 3/8, 1/2}},
  17.             connect_left = {{-1/2, -1/2, -3/16, 1/2, 3/8, 3/16}},
  18.                 --{-3/16, -1/2, -1/2, 3/16, 3/8, 1/2}},
  19.             connect_back = {{-1/2, -1/2, -3/16, 1/2, 3/8, 3/16}},
  20.                 --{-3/16, -1/2, -1/2, 3/16, 3/8, 1/2}},
  21.             connect_right = {{-1/2, -1/2, -3/16, 1/2, 3/8, 3/16}},
  22.                 --{-3/16, -1/2, -1/2, 3/16, 3/8, 1/2}},
  23.         },
  24.         connects_to = {"group:wall", "group:stone", "group:fence"},
  25.     })
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement