diff --git a/doc/lua_api.md b/doc/lua_api.md index d5a25ed9f..a38b5be0d 100644 --- a/doc/lua_api.md +++ b/doc/lua_api.md @@ -506,8 +506,8 @@ Example: * ``: width * ``: height -* ``: x position -* ``: y position +* ``: x position, negative numbers allowed +* ``: y position, negative numbers allowed * ``: texture to combine Creates a texture of size `` times `` and blits the listed files to their @@ -613,13 +613,13 @@ Creates an inventorycube with `grass.png`, `dirt.png^grass_side.png` and * ``: y position * ``: a `ColorString`. -Creates a texture of the given size and color, optionally with an , +Creates a texture of the given size and color, optionally with an `,` position. An alpha value may be specified in the `Colorstring`. -The optional , position is only used if the [fill is being overlaid +The optional `,` position is only used if the `[fill` is being overlaid onto another texture with '^'. -When [fill is overlaid onto another texture it will not upscale or change +When `[fill` is overlaid onto another texture it will not upscale or change the resolution of the texture, the base texture will determine the output resolution. @@ -8402,6 +8402,7 @@ Player properties need to be saved manually. pointable = true, -- Can be `true` if it is pointable, `false` if it can be pointed through, -- or `"blocking"` if it is pointable but not selectable. + -- Clients older than 5.9.0 interpret `pointable = "blocking"` as `pointable = true`. -- Can be overridden by the `pointabilities` of the held item. visual = "cube" / "sprite" / "upright_sprite" / "mesh" / "wielditem" / "item", @@ -9015,6 +9016,7 @@ Used by `minetest.register_node`. pointable = true, -- Can be `true` if it is pointable, `false` if it can be pointed through, -- or `"blocking"` if it is pointable but not selectable. + -- Clients older than 5.9.0 interpret `pointable = "blocking"` as `pointable = true`. -- Can be overridden by the `pointabilities` of the held item. -- A client may be able to point non-pointable nodes, since it isn't checked server-side.