init.lua 956 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. --GLUE
  2. minetest.register_craftitem("mesecons_materials:glue", {
  3. image = "jeija_glue.png",
  4. on_place_on_ground = minetest.craftitem_place_item,
  5. description="Glue",
  6. })
  7. minetest.register_craftitem("mesecons_materials:fiber", {
  8. image = "jeija_fiber.png",
  9. on_place_on_ground = minetest.craftitem_place_item,
  10. description="Fiber",
  11. })
  12. minetest.register_craft({
  13. output = "mesecons_materials:glue 2",
  14. type = "cooking",
  15. recipe = "group:sapling",
  16. cooktime = 2
  17. })
  18. minetest.register_craft({
  19. output = "mesecons_materials:fiber 6",
  20. type = "cooking",
  21. recipe = "mesecons_materials:glue",
  22. cooktime = 4
  23. })
  24. -- Silicon
  25. minetest.register_craftitem("mesecons_materials:silicon", {
  26. image = "jeija_silicon.png",
  27. on_place_on_ground = minetest.craftitem_place_item,
  28. description="Silicon",
  29. })
  30. minetest.register_craft({
  31. output = "mesecons_materials:silicon 4",
  32. recipe = {
  33. {"group:sand", "group:sand"},
  34. {"group:sand", "default:steel_ingot"},
  35. }
  36. })