more_fire/crafts.lua

168 lines
3.7 KiB
Lua
Raw Normal View History

minetest.register_craft({ --recycle old torches.
2020-06-04 20:04:36 -07:00
type = 'shapeless',
output = 'default:stick',
recipe = {'more_fire:torch_stub', 'more_fire:torch_stub', 'more_fire:torch_stub', 'more_fire:torch_stub'},
2018-12-02 09:24:36 -08:00
})
minetest.register_craft({
2020-06-04 20:04:36 -07:00
output = 'more_fire:charcoal_block',
recipe = {
{'more_fire:charcoal', 'more_fire:charcoal', 'more_fire:charcoal'},
{'more_fire:charcoal', 'more_fire:charcoal', 'more_fire:charcoal'},
{'more_fire:charcoal', 'more_fire:charcoal', 'more_fire:charcoal'},
}
})
minetest.register_craft({
2020-06-04 20:04:36 -07:00
output = 'more_fire:charcoal 9',
recipe = {
{'more_fire:charcoal_block'}
}
})
minetest.register_craft({
2020-06-04 20:04:36 -07:00
output = 'more_fire:embers',
recipe = {
{'more_fire:kindling'},
{'default:torch'},
}
})
minetest.register_craft({
2020-06-04 20:04:36 -07:00
output = 'more_fire:embers',
recipe = {
{'group:kindling', 'default:torch', 'group:kindling'},
{'group:wood', 'group:wood', 'group:wood'},
}
})
minetest.register_craft({
2020-06-04 20:04:36 -07:00
output = 'more_fire:embers',
recipe = {
{'group:flammable', 'default:torch', 'group:flammable'},
{'group:wood', 'group:wood', 'group:wood'},
}
})
minetest.register_craft({
2020-06-04 20:04:36 -07:00
output = 'more_fire:embers_contained',
recipe = {
{'', 'more_fire:embers', ''},
{'default:cobble', 'default:cobble', 'default:cobble'},
}
})
minetest.register_craft({
2020-06-04 20:04:36 -07:00
output = 'more_fire:embers_contained',
recipe = {
{'more_fire:kindling_contained'},
{'default:torch'},
}
})
minetest.register_craft({
2020-06-04 20:04:36 -07:00
output = 'more_fire:torch_weak 4',
recipe = {
{'group:kindling', 'group:kindling', 'group:kindling'},
{'group:kindling', 'group:stick', 'group:kindling'},
{'', 'group:stick', ''}
}
})
2015-08-26 18:35:44 -07:00
minetest.register_craft({
2020-06-04 20:04:36 -07:00
type = 'shapeless',
output = 'default:torch',
recipe = {'more_fire:torch_weak', 'group:coal'},
2015-08-26 18:35:44 -07:00
})
minetest.register_craft({
2020-06-04 20:04:36 -07:00
output = 'more_fire:kindling',
recipe = {
2017-07-06 06:02:51 -07:00
{'group:kindling', '', 'group:kindling'},
{'group:kindling', 'group:wood', 'group:kindling'},
}
})
minetest.register_craft({
2020-06-04 20:04:36 -07:00
output = 'more_fire:kindling_contained',
recipe = {
{'','more_fire:kindling', ''},
{'default:cobble','default:cobble','default:cobble'},
}
})
2015-05-11 16:33:28 -07:00
minetest.register_craft({
2020-06-04 20:04:36 -07:00
output = 'more_fire:oil_lamp_off',
recipe = {
{'default:glass'},
{'farming:cotton'},
{'default:iron_lump'},
}
2015-05-11 16:33:28 -07:00
})
minetest.register_craft({
2020-06-04 20:04:36 -07:00
output = 'more_fire:oil',
recipe = {
{'group:leaves', 'group:leaves', 'group:leaves'},
{'group:leaves', 'group:leaves', 'group:leaves'},
{'', 'vessels:glass_bottle', ''},
}
2015-05-11 16:33:28 -07:00
})
2015-05-13 18:05:34 -07:00
minetest.register_craft({
2020-06-04 20:04:36 -07:00
output = 'more_fire:oil_lamp_off',
recipe = {
{'more_fire:oil_lamp_table_off'}
}
2015-05-13 18:05:34 -07:00
})
minetest.register_craft({
2020-06-04 20:04:36 -07:00
output = 'more_fire:oil_lamp_table_off',
recipe = {
{'more_fire:oil_lamp_off'}
}
2015-05-13 18:05:34 -07:00
})
-- cooking recipes
2019-01-08 09:26:09 -08:00
if not minetest.get_modpath("ethereal") then
2020-06-04 20:04:36 -07:00
minetest.register_craft({
type = 'cooking',
recipe = 'group:tree',
output = 'more_fire:charcoal',
})
2019-01-08 09:26:09 -08:00
end
2015-05-29 13:00:59 -07:00
minetest.register_craft({
2020-06-04 20:04:36 -07:00
type = 'cooking',
recipe = 'default:grass_1',
output = 'more_fire:dried_grass',
cooktime = 1,
2015-05-29 13:00:59 -07:00
})
-- fuel recipes
2019-01-08 09:26:09 -08:00
if not minetest.get_modpath("ethereal") then
2020-06-04 20:04:36 -07:00
minetest.register_craft({
type = 'fuel',
recipe = 'more_fire:charcoal',
burntime = 35,
})
2019-01-08 09:26:09 -08:00
end
minetest.register_craft({
2020-06-04 20:04:36 -07:00
type = 'fuel',
recipe = 'more_fire:oil',
burntime = 10,
})
minetest.register_craft({
2020-06-04 20:04:36 -07:00
type = 'fuel',
recipe = 'more_fire:charcoal_block',
burntime = 315,
})
minetest.register_craft({
2020-06-04 20:04:36 -07:00
type = 'fuel',
recipe = 'more_fire:torch_stub',
burntime = 2,
})