wind_mill.lua 919 B

123456789101112131415161718192021222324252627282930313233
  1. local S = minetest.get_translator("default")
  2. --
  3. -- Node definitions
  4. --
  5. minetest.register_node(":technic_farming:mp_wind_mill", {
  6. description = S("MP wind mill"),
  7. tiles = {
  8. "technic_farming_wind_mill_top.png^[transformR180]",
  9. "technic_farming_wind_mill_bottom.png^[transformR180",
  10. "technic_farming_wind_mill_front.png",
  11. "technic_farming_wind_mill_back.png",
  12. "technic_farming_wind_mill_side.png",
  13. "technic_farming_wind_mill_side.png^[transformFX]"
  14. },
  15. paramtype2 = "facedir",
  16. groups = {cracky=2},
  17. legacy_facedir_simple = true,
  18. is_ground_content = false,
  19. sounds = default.node_sound_stone_defaults(),
  20. })
  21. minetest.register_craft({
  22. output = 'technic_farming:mp_wind_mill',
  23. recipe = {
  24. {'group:wool', 'group:wood', 'group:wool'},
  25. {'group:wood', 'technic_farming:wooden_plate', 'group:wood'},
  26. {'technic_farming:wooden_screw', 'group:wood', 'technic_farming:wooden_screw'},
  27. }
  28. })