mirror of
https://github.com/luanti-org/minetest_game.git
synced 2025-05-20 22:33:16 -04:00
Reverse the order of 'outer, inner' -> 'inner, outer'
This commit is contained in:
parent
027cc8aed5
commit
fc9dad5195
2 changed files with 4 additions and 4 deletions
|
@ -754,16 +754,16 @@ delivered with Minetest Game, to keep them compatible with other mods.
|
|||
|
||||
```
|
||||
stairs.register_stair_and_slab(subname, recipeitem, groups, images, desc_stair, desc_slab,
|
||||
sounds, worldaligntex, desc_stair_outer, desc_stair_inner)
|
||||
sounds, worldaligntex, desc_stair_inner, desc_stair_outer)
|
||||
```
|
||||
|
||||
* A wrapper for stairs.register_stair, stairs.register_slab, stairs.register_stair_inner, stairs.register_stair_outer
|
||||
* Uses almost the same arguments as stairs.register_stair
|
||||
* `desc_stair`: Description for stair nodes. For corner stairs 'Inner' or 'Outer' will be prefixed unless
|
||||
`desc_stair_outer` or `desc_stair_inner` are specified, which are used instead.
|
||||
`desc_stair_inner` or `desc_stair_outer` are specified, which are used instead.
|
||||
* `desc_slab`: Description for slab node
|
||||
* `desc_stair_outer`: Description for outer stair node
|
||||
* `desc_stair_inner`: Description for inner stair node
|
||||
* `desc_stair_outer`: Description for outer stair node
|
||||
|
||||
|
||||
Xpanes API
|
||||
|
|
|
@ -469,7 +469,7 @@ end
|
|||
|
||||
function stairs.register_stair_and_slab(subname, recipeitem, groups, images,
|
||||
desc_stair, desc_slab, sounds, worldaligntex,
|
||||
desc_stair_outer, desc_stair_inner)
|
||||
desc_stair_inner, desc_stair_outer)
|
||||
stairs.register_stair(subname, recipeitem, groups, images, desc_stair,
|
||||
sounds, worldaligntex)
|
||||
stairs.register_stair_inner(subname, recipeitem, groups, images,
|
||||
|
|
Loading…
Add table
Reference in a new issue