1
0
mirror of https://github.com/minetest/minetest_game.git synced 2024-12-23 07:10:19 +01:00

Correct farming/stairs dependency (#1838)

This commit is contained in:
Ezhh 2017-07-22 15:11:40 +01:00 committed by SmallJoker
parent 48baf1acb5
commit c2f3c99cad
4 changed files with 11 additions and 11 deletions

View File

@ -1,2 +1,3 @@
default default
wool wool
stairs

View File

@ -98,6 +98,16 @@ minetest.register_node("farming:straw", {
sounds = default.node_sound_leaves_defaults(), 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({ minetest.register_abm({
label = "Farming soil", label = "Farming soil",
nodenames = {"group:field"}, nodenames = {"group:field"},

View File

@ -1,2 +1 @@
default default
farming

View File

@ -712,16 +712,6 @@ stairs.register_stair_and_slab(
default.node_sound_stone_defaults() 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( stairs.register_stair_and_slab(
"steelblock", "steelblock",
"default:steelblock", "default:steelblock",