Skip to content

Commit c2f3c99

Browse files
EzhhSmallJoker
authored andcommittedJul 22, 2017
Correct farming/stairs dependency (#1838)
1 parent 48baf1a commit c2f3c99

File tree

4 files changed

+11
-11
lines changed

4 files changed

+11
-11
lines changed
 

‎mods/farming/depends.txt

+1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
default
22
wool
3+
stairs

‎mods/farming/nodes.lua

+10
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,16 @@ minetest.register_node("farming:straw", {
9898
sounds = default.node_sound_leaves_defaults(),
9999
})
100100

101+
stairs.register_stair_and_slab(
102+
"straw",
103+
"farming:straw",
104+
{snappy = 3, flammable = 4},
105+
{"farming_straw.png"},
106+
"Straw Stair",
107+
"Straw Slab",
108+
default.node_sound_leaves_defaults()
109+
)
110+
101111
minetest.register_abm({
102112
label = "Farming soil",
103113
nodenames = {"group:field"},

‎mods/stairs/depends.txt

-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
11
default
2-
farming

‎mods/stairs/init.lua

-10
Original file line numberDiff line numberDiff line change
@@ -712,16 +712,6 @@ stairs.register_stair_and_slab(
712712
default.node_sound_stone_defaults()
713713
)
714714

715-
stairs.register_stair_and_slab(
716-
"straw",
717-
"farming:straw",
718-
{snappy = 3, flammable = 4},
719-
{"farming_straw.png"},
720-
"Straw Stair",
721-
"Straw Slab",
722-
default.node_sound_leaves_defaults()
723-
)
724-
725715
stairs.register_stair_and_slab(
726716
"steelblock",
727717
"default:steelblock",

0 commit comments

Comments
 (0)
Please sign in to comment.