diff --git a/builtin/game/features.lua b/builtin/game/features.lua index e6787a564..841a5d2ea 100644 --- a/builtin/game/features.lua +++ b/builtin/game/features.lua @@ -12,6 +12,7 @@ core.features = { add_entity_with_staticdata = true, no_chat_message_prediction = true, object_use_texture_alpha = true, + object_independent_selectionbox = true, } function core.has_feature(arg) diff --git a/doc/lua_api.txt b/doc/lua_api.txt index c9e6e485a..f03145fb8 100644 --- a/doc/lua_api.txt +++ b/doc/lua_api.txt @@ -3287,7 +3287,9 @@ Utilities no_chat_message_prediction = true, -- The transparency channel of textures can optionally be used on -- objects (ie: players and lua entities) - object_use_texture_alpha = true + object_use_texture_alpha = true, + -- Object selectionbox is settable independently from collisionbox + object_independent_selectionbox = true, } * `minetest.has_feature(arg)`: returns `boolean, missing_features`