Page 1 of 1

How do you get the furnace result of an item?

PostPosted: Sun Apr 22, 2012 20:12
by lkjoel
I'm porting the C++ furnace to LUA, and I'm trying to figure out what happens when you smelt an item. I'm also trying to figure out how to know if an item is a fuel.
Can anyone help me?

Thanks in advance!

PostPosted: Sun Apr 22, 2012 20:26
by Nemo08
lkjoel wrote:.. figure out how to know if an item is a fuel...

flammble group?

PostPosted: Sun Apr 22, 2012 23:12
by lkjoel
uh no, like these types of fuels:
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
minetest.register_craft({
    type = "fuel",
    recipe = "default:nyancat",
    burntime = 1,
})