mirror of
https://github.com/luanti-org/minetest_game.git
synced 2025-05-21 06:43:17 -04:00
farming: Update to use stairs.register_stair_type().
This commit is contained in:
parent
3c3b450863
commit
5c2bcd1809
1 changed files with 5 additions and 5 deletions
|
@ -159,12 +159,12 @@ do
|
|||
local images = {"farming_straw.png"}
|
||||
local sounds = default.node_sound_leaves_defaults()
|
||||
|
||||
stairs.register_stair("straw", recipe, groups, images, S("Straw Stair"),
|
||||
stairs.register_stair_type("straw", recipe, groups, images, S("Straw Stair"),
|
||||
sounds, true)
|
||||
stairs.register_stair_inner("straw", recipe, groups, images, "",
|
||||
sounds, true, S("Inner Straw Stair"))
|
||||
stairs.register_stair_outer("straw", recipe, groups, images, "",
|
||||
sounds, true, S("Outer Straw Stair"))
|
||||
stairs.register_stair_type("straw", recipe, groups, images, "",
|
||||
sounds, true, S("Inner Straw Stair"), "inner")
|
||||
stairs.register_stair_type("straw", recipe, groups, images, "",
|
||||
sounds, true, S("Outer Straw Stair"), "outer")
|
||||
stairs.register_slab("straw", recipe, groups, images, S("Straw Slab"),
|
||||
sounds, true)
|
||||
end
|
||||
|
|
Loading…
Add table
Reference in a new issue