From ea4ce80f7c7c213d5e92545b2a6e53272040f186 Mon Sep 17 00:00:00 2001 From: Paul Ouellette Date: Mon, 13 Apr 2020 05:34:10 -0400 Subject: [PATCH] Make straw stairs usable as fuel (#2627) --- mods/farming/init.lua | 6 ------ mods/farming/nodes.lua | 7 +++++++ 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/mods/farming/init.lua b/mods/farming/init.lua index 96672fa1..b583b8bd 100644 --- a/mods/farming/init.lua +++ b/mods/farming/init.lua @@ -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", diff --git a/mods/farming/nodes.lua b/mods/farming/nodes.lua index 051f4ef9..0e584f03 100644 --- a/mods/farming/nodes.lua +++ b/mods/farming/nodes.lua @@ -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} -- 2.25.1