@@ -726,27 +726,29 @@ delivered with Minetest Game, to keep them compatible with other mods.
726
726
* `sounds`: See [#Default sounds]
727
727
* `worldaligntex`: A bool to set all textures world-aligned. Default false. See [Tile definition]
728
728
729
- `stairs.register_stair_inner(subname, recipeitem, groups, images, description, sounds, worldaligntex)`
729
+ `stairs.register_stair_inner(subname, recipeitem, groups, images, description, sounds, worldaligntex, full_description )`
730
730
731
731
* Registers an inner corner stair
732
732
* `subname`: Basically the material name (e.g. cobble) used for the stair name. Nodename pattern: "stairs:stair_inner_subname"
733
733
* `recipeitem`: Item used in the craft recipe, e.g. "default:cobble", may be `nil`
734
734
* `groups`: See [Known damage and digging time defining groups]
735
735
* `images`: See [Tile definition]
736
- * `description`: Used for the description field in the stair's definition
736
+ * `description`: Used for the description field in the stair's definition with "Inner" prepended
737
737
* `sounds`: See [#Default sounds]
738
738
* `worldaligntex`: A bool to set all textures world-aligned. Default false. See [Tile definition]
739
+ * `full_description`: Overrides the description, bypassing string concatenation. This is useful for translation. (optional)
739
740
740
- `stairs.register_stair_outer(subname, recipeitem, groups, images, description, sounds, worldaligntex)`
741
+ `stairs.register_stair_outer(subname, recipeitem, groups, images, description, sounds, worldaligntex, full_description )`
741
742
742
743
* Registers an outer corner stair
743
744
* `subname`: Basically the material name (e.g. cobble) used for the stair name. Nodename pattern: "stairs:stair_outer_subname"
744
745
* `recipeitem`: Item used in the craft recipe, e.g. "default:cobble", may be `nil`
745
746
* `groups`: See [Known damage and digging time defining groups]
746
747
* `images`: See [Tile definition]
747
- * `description`: Used for the description field in the stair's definition
748
+ * `description`: Used for the description field in the stair's definition with "Outer" prepended
748
749
* `sounds`: See [#Default sounds]
749
750
* `worldaligntex`: A bool to set all textures world-aligned. Default false. See [Tile definition]
751
+ * `full_description`: Overrides the description, bypassing string concatenation. This is useful for translation. (optional)
750
752
751
753
`stairs.register_stair_and_slab(subname, recipeitem, groups, images, desc_stair, desc_slab, sounds, worldaligntex)`
752
754
0 commit comments