From 16a62426d6ac2f88125d258256af31bc2114b960 Mon Sep 17 00:00:00 2001 From: sfan5 Date: Fri, 17 Sep 2021 17:17:40 +0200 Subject: Add feature table entry for new dynamic media API --- builtin/game/features.lua | 1 + doc/lua_api.txt | 2 ++ 2 files changed, 3 insertions(+) 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` -- cgit v1.2.3