Document attributes sourced from the recipeitem

This commit is contained in:
Yaman Qalieh 2021-12-10 09:34:09 -05:00
parent f5802a3e40
commit c355326c39
1 changed files with 6 additions and 0 deletions

View File

@ -723,6 +723,12 @@ Stairs API
The stairs API lets you register stairs and slabs and ensures that they are registered the same way as those
delivered with Minetest Game, to keep them compatible with other mods.
The following node attributes are sourced from the recipeitem:
* use_texture_alpha
* sunlight_propagates
* light_source
* If the recipeitem is a fuel, the stair/slab is also registered as a fuel of proportionate burntime.
`stairs.register_stair(subname, recipeitem, groups, images, description, sounds, worldaligntex)`
* Registers a stair