Skip to content

Commit ea4ce80

Browse files
authoredApr 13, 2020
Make straw stairs usable as fuel (#2627)
1 parent 36b2bcb commit ea4ce80

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed
 

Diff for: ‎mods/farming/init.lua

-6
Original file line numberDiff line numberDiff line change
@@ -115,12 +115,6 @@ minetest.register_craft({
115115

116116
-- Fuels
117117

118-
minetest.register_craft({
119-
type = "fuel",
120-
recipe = "farming:straw",
121-
burntime = 3,
122-
})
123-
124118
minetest.register_craft({
125119
type = "fuel",
126120
recipe = "farming:wheat",

Diff for: ‎mods/farming/nodes.lua

+7
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,13 @@ minetest.register_node("farming:straw", {
153153
sounds = default.node_sound_leaves_defaults(),
154154
})
155155

156+
-- Registered before the stairs so the stairs get fuel recipes.
157+
minetest.register_craft({
158+
type = "fuel",
159+
recipe = "farming:straw",
160+
burntime = 3,
161+
})
162+
156163
do
157164
local recipe = "farming:straw"
158165
local groups = {snappy = 3, flammable = 4}

0 commit comments

Comments
 (0)