fences.lua 2.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. local S = ethereal.intllib
  2. default.register_fence("ethereal:fence_scorched", {
  3. description = S("Scorched Fence"),
  4. texture = "scorched_tree.png",
  5. material = "ethereal:scorched_tree",
  6. groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 2},
  7. sounds = default.node_sound_wood_defaults()
  8. })
  9. default.register_fence("ethereal:fence_frostwood", {
  10. description = S("Frost Fence"),
  11. texture = "frost_wood.png",
  12. material = "ethereal:frost_wood",
  13. groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 2},
  14. sounds = default.node_sound_wood_defaults()
  15. })
  16. default.register_fence("ethereal:fence_redwood", {
  17. description = S("Redwood Fence"),
  18. texture = "redwood_wood.png",
  19. material = "ethereal:redwood_wood",
  20. groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 2},
  21. sounds = default.node_sound_wood_defaults()
  22. })
  23. default.register_fence("ethereal:fence_willow", {
  24. description = S("Willow Fence"),
  25. texture = "willow_wood.png",
  26. material = "ethereal:willow_wood",
  27. groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 2},
  28. sounds = default.node_sound_wood_defaults()
  29. })
  30. default.register_fence("ethereal:fence_yellowwood", {
  31. description = S("Healing Wood Fence"),
  32. texture = "yellow_wood.png",
  33. material = "ethereal:yellow_wood",
  34. groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 2},
  35. sounds = default.node_sound_wood_defaults()
  36. })
  37. default.register_fence("ethereal:fence_palm", {
  38. description = S("Palm Fence"),
  39. texture = "moretrees_palm_wood.png",
  40. material = "ethereal:palm_wood",
  41. groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 2},
  42. sounds = default.node_sound_wood_defaults()
  43. })
  44. default.register_fence("ethereal:fence_banana", {
  45. description = S("Banana Wood Fence"),
  46. texture = "banana_wood.png",
  47. material = "ethereal:banana_wood",
  48. groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 2},
  49. sounds = default.node_sound_wood_defaults()
  50. })
  51. default.register_fence("ethereal:fence_mushroom", {
  52. description = S("Mushroom Fence"),
  53. texture = "mushroom_trunk.png",
  54. material = "ethereal:mushroom_trunk",
  55. groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 2},
  56. sounds = default.node_sound_wood_defaults()
  57. })
  58. default.register_fence("ethereal:fence_birch", {
  59. description = S("Birch Fence"),
  60. texture = "moretrees_birch_wood.png",
  61. material = "ethereal:birch_wood",
  62. groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 2},
  63. sounds = default.node_sound_wood_defaults()
  64. })
  65. default.register_fence("ethereal:fence_sakura", {
  66. description = S("Sakura Fence"),
  67. texture = "ethereal_sakura_wood.png",
  68. material = "ethereal:sakura_wood",
  69. groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 2},
  70. sounds = default.node_sound_wood_defaults()
  71. })