From e4d642584670044b3f6b52ee78d9959ef4735ac1 Mon Sep 17 00:00:00 2001 From: Ezhh Date: Sat, 22 Jul 2017 15:11:40 +0100 Subject: [PATCH] Correct farming/stairs dependency (#1838) --- mods/farming/depends.txt | 1 + mods/farming/nodes.lua | 10 ++++++++++ mods/stairs/depends.txt | 1 - mods/stairs/init.lua | 10 ---------- 4 files changed, 11 insertions(+), 11 deletions(-) diff --git a/mods/farming/depends.txt b/mods/farming/depends.txt index 470ec30b..301d9719 100644 --- a/mods/farming/depends.txt +++ b/mods/farming/depends.txt @@ -1,2 +1,3 @@ default wool +stairs diff --git a/mods/farming/nodes.lua b/mods/farming/nodes.lua index c969d31b..1e746ecd 100644 --- a/mods/farming/nodes.lua +++ b/mods/farming/nodes.lua @@ -98,6 +98,16 @@ minetest.register_node("farming:straw", { sounds = default.node_sound_leaves_defaults(), }) +stairs.register_stair_and_slab( + "straw", + "farming:straw", + {snappy = 3, flammable = 4}, + {"farming_straw.png"}, + "Straw Stair", + "Straw Slab", + default.node_sound_leaves_defaults() +) + minetest.register_abm({ label = "Farming soil", nodenames = {"group:field"}, diff --git a/mods/stairs/depends.txt b/mods/stairs/depends.txt index d77ba253..4ad96d51 100644 --- a/mods/stairs/depends.txt +++ b/mods/stairs/depends.txt @@ -1,2 +1 @@ default -farming diff --git a/mods/stairs/init.lua b/mods/stairs/init.lua index e7e40c6b..b88e6a84 100644 --- a/mods/stairs/init.lua +++ b/mods/stairs/init.lua @@ -541,16 +541,6 @@ stairs.register_stair_and_slab( default.node_sound_stone_defaults() ) -stairs.register_stair_and_slab( - "straw", - "farming:straw", - {snappy = 3, flammable = 4}, - {"farming_straw.png"}, - "Straw Stair", - "Straw Slab", - default.node_sound_leaves_defaults() -) - stairs.register_stair_and_slab( "steelblock", "default:steelblock", -- 2.25.1