1
0
mirror of https://github.com/minetest/minetest_game.git synced 2024-12-22 23:10:17 +01:00

Make straw stairs usable as fuel (#2627)

This commit is contained in:
Paul Ouellette 2020-04-13 05:34:10 -04:00 committed by GitHub
parent 36b2bcb5f3
commit ea4ce80f7c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 6 deletions

View File

@ -115,12 +115,6 @@ minetest.register_craft({
-- Fuels -- Fuels
minetest.register_craft({
type = "fuel",
recipe = "farming:straw",
burntime = 3,
})
minetest.register_craft({ minetest.register_craft({
type = "fuel", type = "fuel",
recipe = "farming:wheat", recipe = "farming:wheat",

View File

@ -153,6 +153,13 @@ minetest.register_node("farming:straw", {
sounds = default.node_sound_leaves_defaults(), sounds = default.node_sound_leaves_defaults(),
}) })
-- Registered before the stairs so the stairs get fuel recipes.
minetest.register_craft({
type = "fuel",
recipe = "farming:straw",
burntime = 3,
})
do do
local recipe = "farming:straw" local recipe = "farming:straw"
local groups = {snappy = 3, flammable = 4} local groups = {snappy = 3, flammable = 4}