Make dice furnace burnable

master
Wuzzy 2016-10-31 00:07:58 +01:00
parent f9c304cca9
commit 5cbd1caef1
1 changed files with 7 additions and 1 deletions

View File

@ -36,7 +36,7 @@ end
for i=1,#dice2.colors do
local c = dice2.colors[i]
minetest.register_node("dice2:dice_"..c,
minetest.register_node("dice2:dice_"..c,
{
description = dice2.descriptions[i],
tiles = {
@ -54,6 +54,12 @@ for i=1,#dice2.colors do
on_construct = dice2.construct
}
)
minetest.register_craft({
type = "fuel",
recipe = "dice2:dice_"..c,
burntime = 5,
})
end
minetest.register_craft({