mirror of
https://github.com/luanti-org/minetest_game.git
synced 2025-03-15 04:11:24 +00:00
Make straw stairs usable as fuel (#2627)
This commit is contained in:
parent
36b2bcb5f3
commit
ea4ce80f7c
2 changed files with 7 additions and 6 deletions
|
@ -115,12 +115,6 @@ minetest.register_craft({
|
|||
|
||||
-- Fuels
|
||||
|
||||
minetest.register_craft({
|
||||
type = "fuel",
|
||||
recipe = "farming:straw",
|
||||
burntime = 3,
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
type = "fuel",
|
||||
recipe = "farming:wheat",
|
||||
|
|
|
@ -153,6 +153,13 @@ minetest.register_node("farming:straw", {
|
|||
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
|
||||
local recipe = "farming:straw"
|
||||
local groups = {snappy = 3, flammable = 4}
|
||||
|
|
Loading…
Add table
Reference in a new issue