Make dice furnace burnable
parent
f9c304cca9
commit
5cbd1caef1
8
init.lua
8
init.lua
|
@ -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({
|
||||
|
|
Loading…
Reference in New Issue