more_fire/craftitems.lua

24 lines
686 B
Lua
Raw Normal View History

2019-01-08 09:26:09 -08:00
-- check if charcoal already defined by mod ethereal
if minetest.get_modpath("ethereal") then
minetest.override_item("ethereal:charcoal_lump",{groups={coal = 1}})
minetest.register_alias("more_fire:charcoal", "ethereal:charcoal_lump")
else
minetest.register_craftitem('more_fire:charcoal', {
description = 'Charcoal',
inventory_image = 'more_fire_charcoal_lump.png',
groups = {coal = 1}
})
end
2015-05-11 16:33:28 -07:00
minetest.register_craftitem('more_fire:oil', {
description = 'lantern oil',
inventory_image = 'more_fire_oil.png',
})
2015-08-26 18:35:44 -07:00
minetest.register_craftitem('more_fire:dried_grass', {
description = 'dried grass',
inventory_image = 'more_fire_grass_dried.png',
groups = {kindling=1}
})