permafrost.lua 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. -- Renew mod for Minetest
  2. -- Copyright © 2020 Alex Yst <https://y.st./>
  3. -- This program is free software; you can redistribute it and/or
  4. -- modify it under the terms of the GNU Lesser General Public
  5. -- License as published by the Free Software Foundation; either
  6. -- version 2.1 of the License, or (at your option) any later version.
  7. -- This software is distributed in the hope that it will be useful,
  8. -- but WITHOUT ANY WARRANTY; without even the implied warranty of
  9. -- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  10. -- Lesser General Public License for more details.
  11. -- You should have received a copy of the GNU Lesser General Public
  12. -- License along with this program. If not, see
  13. -- <https://www.gnu.org./licenses/>.
  14. minetest.register_craft({
  15. output = "default:permafrost 9",
  16. recipe = {
  17. {"default:dirt", "default:ice", "default:dirt"},
  18. {"default:ice", "default:dirt", "default:ice" },
  19. {"default:dirt", "default:ice", "default:dirt"},
  20. }
  21. })
  22. minetest.register_craft({
  23. output = "default:permafrost_with_moss 9",
  24. recipe = {
  25. {"default:dirt", "default:ice", "default:dirt"},
  26. {"default:ice", "default:mossycobble", "default:ice" },
  27. {"default:dirt", "default:ice", "default:dirt"},
  28. }
  29. })
  30. minetest.register_craft({
  31. output = "default:permafrost_with_stones 9",
  32. recipe = {
  33. {"default:dirt", "default:ice" , "default:dirt"},
  34. {"default:ice", "default:cobble", "default:ice" },
  35. {"default:dirt", "default:ice" , "default:dirt"},
  36. }
  37. })