Add feature table entry for new dynamic media API

This commit is contained in:
sfan5 2021-09-17 17:17:40 +02:00
parent ad076ede85
commit 16a62426d6
2 changed files with 3 additions and 0 deletions

@ -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)

@ -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`