diff options
author | Wuzzy <wuzzy2@mail.ru> | 2021-04-20 17:50:03 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-20 19:50:03 +0200 |
commit | 90a7bd6a0afb6509e96bcb373f95b448ee7f3b1d (patch) | |
tree | b3243491bdddb11c2ac01a488ad700840f1b5e85 /doc/lua_api.txt | |
parent | 16e5b39e1dbe503684effb11f4b87a641c3e43e6 (diff) | |
download | minetest-90a7bd6a0afb6509e96bcb373f95b448ee7f3b1d.tar.gz minetest-90a7bd6a0afb6509e96bcb373f95b448ee7f3b1d.tar.bz2 minetest-90a7bd6a0afb6509e96bcb373f95b448ee7f3b1d.zip |
Put torch/signlike node on floor if no paramtype2 (#11074)
Diffstat (limited to 'doc/lua_api.txt')
-rw-r--r-- | doc/lua_api.txt | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/doc/lua_api.txt b/doc/lua_api.txt index 4c963465a..5f72b8b2b 100644 --- a/doc/lua_api.txt +++ b/doc/lua_api.txt @@ -1140,14 +1140,20 @@ Look for examples in `games/devtest` or `games/minetest_game`. used to compensate for how `glasslike` reduces visual thickness. * `torchlike` * A single vertical texture. - * If placed on top of a node, uses the first texture specified in `tiles`. - * If placed against the underside of a node, uses the second texture - specified in `tiles`. - * If placed on the side of a node, uses the third texture specified in - `tiles` and is perpendicular to that node. + * If `paramtype2="[color]wallmounted": + * If placed on top of a node, uses the first texture specified in `tiles`. + * If placed against the underside of a node, uses the second texture + specified in `tiles`. + * If placed on the side of a node, uses the third texture specified in + `tiles` and is perpendicular to that node. + * If `paramtype2="none"`: + * Will be rendered as if placed on top of a node (see + above) and only the first texture is used. * `signlike` * A single texture parallel to, and mounted against, the top, underside or side of a node. + * If `paramtype2="[color]wallmounted", it rotates according to `param2` + * If `paramtype2="none"`, it will always be on the floor. * `plantlike` * Two vertical and diagonal textures at right-angles to each other. * See `paramtype2 = "meshoptions"` above for other options. |