panes.lua 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. --[[
  2. More Blocks: (x)pane definitions
  3. Copyright (c) 2018 Och Noe
  4. Licensed under the zlib license. See LICENSE.md for more information.
  5. --]]
  6. xpanes.register_pane("coal_glass_pane", {
  7. description = "Coal Glass Pane",
  8. textures = {"moreblocks_coal_glass.png","xpanes_pane_half.png","moreblocks_xpanes_coal.png"},
  9. inventory_image = "moreblocks_coal_glass.png",
  10. wield_image = "moreblocks_coal_glass.png",
  11. sounds = default.node_sound_glass_defaults(),
  12. groups = {snappy=2, cracky=3, oddly_breakable_by_hand=3},
  13. recipe = {
  14. { "moreblocks:coal_glass", "moreblocks:coal_glass", "moreblocks:coal_glass"},
  15. { "moreblocks:coal_glass", "moreblocks:coal_glass", "moreblocks:coal_glass"}
  16. }
  17. })
  18. xpanes.register_pane("iron_glass_pane", {
  19. description = "Iron Glass Pane",
  20. textures = {"moreblocks_iron_glass.png","xpanes_pane_half.png","moreblocks_xpanes_iron.png"},
  21. inventory_image = "moreblocks_iron_glass.png",
  22. wield_image = "moreblocks_iron_glass.png",
  23. sounds = default.node_sound_glass_defaults(),
  24. groups = {snappy=2, cracky=3, oddly_breakable_by_hand=3},
  25. recipe = {
  26. { "moreblocks:iron_glass", "moreblocks:iron_glass", "moreblocks:iron_glass"},
  27. { "moreblocks:iron_glass", "moreblocks:iron_glass", "moreblocks:iron_glass"}
  28. }
  29. })
  30. xpanes.register_pane("clean_glass_pane", {
  31. description = "Clean Glass Pane",
  32. textures = {"moreblocks_clean_glass.png","xpanes_pane_half.png","moreblocks_xpanes_white.png"},
  33. inventory_image = "moreblocks_clean_glass.png",
  34. wield_image = "moreblocks_clean_glass.png",
  35. sounds = default.node_sound_glass_defaults(),
  36. groups = {snappy=2, cracky=3, oddly_breakable_by_hand=3},
  37. recipe = {
  38. { "moreblocks:clean_glass", "moreblocks:clean_glass", "moreblocks:clean_glass"},
  39. { "moreblocks:clean_glass", "moreblocks:clean_glass", "moreblocks:clean_glass"}
  40. }
  41. })
  42. -- ["iron_glass"] = {
  43. -- ["coal_glass"] = {
  44. -- ["clean_glass"] = {