diff options
author | sfan5 <sfan5@live.de> | 2021-09-17 17:17:40 +0200 |
---|---|---|
committer | sfan5 <sfan5@live.de> | 2021-09-19 13:54:06 +0200 |
commit | 16a62426d6ac2f88125d258256af31bc2114b960 (patch) | |
tree | 155b79d19d684c185af4125ba1a96c03f57f3ff5 | |
parent | ad076ede852e5ee8fc3b89e0de95da6c9be42cf5 (diff) | |
download | minetest-16a62426d6ac2f88125d258256af31bc2114b960.tar.gz minetest-16a62426d6ac2f88125d258256af31bc2114b960.tar.bz2 minetest-16a62426d6ac2f88125d258256af31bc2114b960.zip |
Add feature table entry for new dynamic media API
-rw-r--r-- | builtin/game/features.lua | 1 | ||||
-rw-r--r-- | doc/lua_api.txt | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/builtin/game/features.lua b/builtin/game/features.lua index b50a05989..583ef5092 100644 --- a/builtin/game/features.lua +++ b/builtin/game/features.lua @@ -21,6 +21,7 @@ core.features = { use_texture_alpha_string_modes = true, degrotate_240_steps = true, abm_min_max_y = true, + dynamic_add_media_table = true, } function core.has_feature(arg) diff --git a/doc/lua_api.txt b/doc/lua_api.txt index 73c5b43a5..4fab78841 100644 --- a/doc/lua_api.txt +++ b/doc/lua_api.txt @@ -4567,6 +4567,8 @@ Utilities degrotate_240_steps = true, -- ABM supports min_y and max_y fields in definition (5.5.0) abm_min_max_y = true, + -- dynamic_add_media supports passing a table with options (5.5.0) + dynamic_add_media_table = true, } * `minetest.has_feature(arg)`: returns `boolean, missing_features` |