init.lua 478 B

1234567891011121314151617181920212223
  1. -- Base mese burntime.
  2. -- Warning: this affects how much energy machines produce from mese.
  3. local bmb = 60 -- Coal lumps burn for 40.
  4. minetest.register_craft({
  5. type = "mesefuel",
  6. recipe = 'default:mese_crystal_fragment',
  7. burntime = math.floor(bmb/12),
  8. })
  9. minetest.register_craft({
  10. type = "mesefuel",
  11. recipe = 'default:mese_crystal',
  12. burntime = bmb,
  13. })
  14. minetest.register_craft({
  15. type = "mesefuel",
  16. recipe = 'default:mese',
  17. burntime = math.floor(bmb*12),
  18. })