init.lua 759 B

12345678910111213141516171819202122232425262728293031
  1. minetest.register_node("mud_adobe:first", {
  2. description = "Mud",
  3. tiles = {"mud.png"},
  4. groups = {crumbly = 3, soil = 1},
  5. sounds = default.node_sound_dirt_defaults(),
  6. })
  7. minetest.register_craft({
  8. output = "mud_adobe:first 2",
  9. recipe = {
  10. {"group:water_bucket"},
  11. {"default:dirt"},
  12. {"default:dirt"}
  13. }
  14. })
  15. minetest.register_node("mud_adobe:adobe", {
  16. description = "adobe",
  17. tiles = {"clay.png"},
  18. groups = {oddly_breakable_by_hand = 2, choppy = 3},
  19. })
  20. minetest.register_craft({
  21. output = "mud_adobe:adobe 9",
  22. recipe = {
  23. {"mud_adobe:first", "mud_adobe:first", "mud_adobe:first"},
  24. {"group:wood", "mud_adobe:first", "group:wood"},
  25. {"group:wood", "mud_adobe:first", "group:wood"}
  26. }
  27. })