redefinitions.lua 842 B

1234567891011121314151617181920212223242526272829303132333435
  1. --[[
  2. More Blocks: redefinitions of default stuff
  3. Copyright © 2011-2020 Hugo Locurcio and contributors.
  4. Licensed under the zlib license. See LICENSE.md for more information.
  5. --]]
  6. -- Redefinitions of some default crafting recipes:
  7. minetest.clear_craft({
  8. recipe = {
  9. {"default:papyrus", "default:papyrus", "default:papyrus"}
  10. }
  11. })
  12. minetest.register_craft({
  13. output = "default:paper 4",
  14. recipe = {
  15. {"default:papyrus", "default:papyrus", "default:papyrus"},
  16. }
  17. })
  18. minetest.register_craft({
  19. output = "default:rail 24",
  20. recipe = {
  21. {"default:steel_ingot", "", "default:steel_ingot"},
  22. {"default:steel_ingot", "default:stick", "default:steel_ingot"},
  23. {"default:steel_ingot", "", "default:steel_ingot"},
  24. }
  25. })
  26. minetest.register_craft({
  27. type = "toolrepair",
  28. additional_wear = -0.10, -- Tool repair buff (10% bonus instead of 2%).
  29. })