aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--builtin/game/features.lua1
-rw-r--r--doc/lua_api.txt2
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`