X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=builtin%2Fgame%2Ffeatures.lua;h=ef85fbbc373431c59571ded52bdc0c54fceee42c;hb=912ba1e47f61be18fa01cc91936929168c883f7b;hp=2abfe5278551b066e23d8e2482c82c010fedb807;hpb=c4359ff65cd8e4e754442b9f2ef7051a8eaa4241;p=minetest.git diff --git a/builtin/game/features.lua b/builtin/game/features.lua index 2abfe5278..ef85fbbc3 100644 --- a/builtin/game/features.lua +++ b/builtin/game/features.lua @@ -7,13 +7,17 @@ core.features = { get_all_craft_recipes_works = true, use_texture_alpha = true, no_legacy_abms = true, + texture_names_parens = true, + area_store_custom_ids = true, + add_entity_with_staticdata = true, + no_chat_message_prediction = true, } function core.has_feature(arg) if type(arg) == "table" then - missing_features = {} - result = true - for ft, _ in pairs(arg) do + local missing_features = {} + local result = true + for ftr in pairs(arg) do if not core.features[ftr] then missing_features[ftr] = true result = false