From c355326c39d7999bf4e963b25d773c8e707ea7f3 Mon Sep 17 00:00:00 2001 From: Yaman Qalieh Date: Fri, 10 Dec 2021 09:34:09 -0500 Subject: [PATCH] Document attributes sourced from the recipeitem --- game_api.txt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/game_api.txt b/game_api.txt index 24a78e90..352f4584 100644 --- a/game_api.txt +++ b/game_api.txt @@ -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