From: Paramat Date: Thu, 22 Nov 2018 04:55:24 +0000 (+0000) Subject: Lua_api.txt: Update glasslike_framed textures documentation (#7884) X-Git-Tag: 5.0.0~182 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=1c91cb8f8f6ea15dc1308aace666bd1ebd25a28c;p=oweals%2Fminetest.git Lua_api.txt: Update glasslike_framed textures documentation (#7884) --- diff --git a/doc/lua_api.txt b/doc/lua_api.txt index 2b05cff8c..44902725d 100644 --- a/doc/lua_api.txt +++ b/doc/lua_api.txt @@ -1077,16 +1077,11 @@ Look for examples in `games/minimal` or `games/minetest_game`. * `glasslike_framed` * All face-connected nodes are drawn as one volume within a surrounding frame. - * The frame appearence is generated from the edges of the first texture + * The frame appearance is generated from the edges of the first texture specified in `tiles`. The width of the edges used are 1/16th of texture size: 1 pixel for 16x16, 2 pixels for 32x32 etc. * The glass 'shine' (or other desired detail) on each node face is supplied by the second texture specified in `tiles`. - * If a third texture is specified in `tiles` it will be used for the top and - base of the glass volume. - * If third and fourth textures are specified in `tiles`, the third will be - used for the top of the glass volume and the fourth will be used for the - base of the glass volume. * `glasslike_framed_optional` * This switches between the above 2 drawtypes according to the menu setting 'Connected Glass'.