From: zeuner Date: Sun, 12 Aug 2018 11:37:17 +0000 (+0200) Subject: Feature check for commit ac4884c3d677ef51bcce47f95ccd49d874022692 (#7618) X-Git-Tag: 5.0.0~263 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=ea26076bcb032584c3af0a4e8e47f13afea6286b;p=oweals%2Fminetest.git Feature check for commit ac4884c3d677ef51bcce47f95ccd49d874022692 (#7618) adds `entity_independent_selectionbox` to minetest.features --- 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`