init.lua 918 B

123456789101112131415161718192021222324252627282930313233
  1. minetest.register_node("tiled:tiled", {
  2. description = "Tiled Node (world-aligned)",
  3. tiles = {{
  4. name = "tiled_tiled.png",
  5. align_style = "world",
  6. scale = 8,
  7. }},
  8. groups = {cracky=3},
  9. })
  10. minetest.register_node("tiled:tiled_n", {
  11. description = "Tiled Node (node-aligned)",
  12. tiles = {{
  13. name = "tiled_tiled.png",
  14. align_style = "node",
  15. scale = 8,
  16. }},
  17. groups = {cracky=3},
  18. })
  19. stairs.register_stair_and_slab("tiled_n", "tiled:tiled",
  20. {cracky=3},
  21. {{name="tiled_tiled.png", align_style="node", scale=8}},
  22. "Tiled Stair (node-aligned)",
  23. "Tiled Slab (node-aligned)")
  24. stairs.register_stair_and_slab("tiled", "tiled:tiled",
  25. {cracky=3},
  26. {{name="tiled_tiled.png", align_style="world", scale=8}},
  27. "Tiled Stair (world-aligned)",
  28. "Tiled Slab (world-aligned)")