1 -- Minetest: builtin/features.lua
4 glasslike_framed = true,
5 nodebox_as_selectionbox = true,
6 chat_send_player_param3 = true,
7 get_all_craft_recipes_works = true,
8 use_texture_alpha = true,
10 texture_names_parens = true,
13 function core.has_feature(arg)
14 if type(arg) == "table" then
15 local missing_features = {}
17 for ftr in pairs(arg) do
18 if not core.features[ftr] then
19 missing_features[ftr] = true
23 return result, missing_features
24 elseif type(arg) == "string" then
25 if not core.features[arg] then
26 return false, {[arg]=true}