items.lua 713 B

12345678910111213141516171819202122232425
  1. local S = dlxtrains_cargo.S
  2. if dlxtrains.crafting_enabled() then
  3. minetest.register_craftitem("dlxtrains_cargo:corrugated_fiberboard", {
  4. description = S("Corrugated Fiberboard"),
  5. inventory_image = "dlxtrains_cargo_corrugated_fiberboard.png",
  6. groups = {flammable = 3},
  7. })
  8. minetest.register_craft({
  9. output = "dlxtrains_cargo:corrugated_fiberboard",
  10. recipe = {
  11. {dlxtrains.materials.paper, dlxtrains.materials.paper, dlxtrains.materials.paper},
  12. {"", dlxtrains.materials.paper, ""},
  13. {dlxtrains.materials.paper, dlxtrains.materials.paper, dlxtrains.materials.paper},
  14. }
  15. })
  16. minetest.register_craft({
  17. type = "fuel",
  18. recipe = "dlxtrains_cargo:corrugated_fiberboard",
  19. burntime = 4,
  20. })
  21. end