recipes.lua 1.2 KB

123456789101112131415161718192021222324252627282930313233
  1. minetest.register_craft({
  2. output = 'mylandscaping:machine',
  3. recipe = {
  4. {'default:shovel_steel', 'bucket:bucket_water', ''},
  5. {'default:steel_ingot', 'mylandscaping:concrete_bag', 'default:steel_ingot'},
  6. {'default:steel_ingot', 'default:steel_ingot', 'default:steel_ingot'},
  7. }
  8. })
  9. minetest.register_craft({
  10. output = 'mylandscaping:mixer',
  11. recipe = {
  12. {'default:pick_steel', 'default:paper', 'default:chest'},
  13. {'group:stick', 'default:paper', 'group:stick'},
  14. {'default:steel_ingot', 'default:steel_ingot', 'default:steel_ingot'},
  15. }
  16. })
  17. minetest.register_craft({
  18. output = 'mylandscaping:concrete 8',
  19. recipe = {
  20. {'mylandscaping:concrete_bag', 'mylandscaping:concrete_bag', 'mylandscaping:concrete_bag',},
  21. {'mylandscaping:concrete_bag', 'bucket:bucket_water', 'mylandscaping:concrete_bag'},
  22. {'mylandscaping:concrete_bag', 'mylandscaping:concrete_bag', 'mylandscaping:concrete_bag',}
  23. },
  24. replacements = {{'bucket:bucket_water', 'bucket:bucket_empty'}},
  25. })
  26. minetest.register_craftitem('mylandscaping:concrete_bag', {
  27. description = 'Bag of Concrete Mix',
  28. inventory_image = 'mylandscaping_cement_bag.png',
  29. })