diff options
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/breakages.md | 1 | ||||
| -rw-r--r-- | doc/lua_api.txt | 5 |
2 files changed, 6 insertions, 0 deletions
diff --git a/doc/breakages.md b/doc/breakages.md index 9f59b9705..52fe6b741 100644 --- a/doc/breakages.md +++ b/doc/breakages.md @@ -9,3 +9,4 @@ This document contains a list of breaking changes to be made in the next major v * remove `depends.txt` / `description.txt` (would simplify ContentDB and Minetest code a little) * rotate moon texture by 180°, making it coherent with the sun (see https://github.com/minetest/minetest/pull/11902) * remove undocumented `set_physics_override(num, num, num)` +* remove special handling of `${key}` syntax in metadata values diff --git a/doc/lua_api.txt b/doc/lua_api.txt index 1630b06dc..1c8cc1022 100644 --- a/doc/lua_api.txt +++ b/doc/lua_api.txt @@ -6861,6 +6861,11 @@ Can be obtained via `item:get_meta()`. Base class used by [`StorageRef`], [`NodeMetaRef`], [`ItemStackMetaRef`], and [`PlayerMetaRef`]. +Note: If a metadata value is in the format `${k}`, an attempt to get the value +will return the value associated with key `k`. There is a low recursion limit. +This behavior is **deprecated** and will be removed in a future version. Usage +of the `${k}` syntax in formspecs is not deprecated. + ### Methods * `contains(key)`: Returns true if key present, otherwise false. |
