From ea26076bcb032584c3af0a4e8e47f13afea6286b Mon Sep 17 00:00:00 2001 From: zeuner Date: Sun, 12 Aug 2018 13:37:17 +0200 Subject: [PATCH] Feature check for commit ac4884c3d677ef51bcce47f95ccd49d874022692 (#7618) adds `entity_independent_selectionbox` to minetest.features --- builtin/game/features.lua | 1 + doc/lua_api.txt | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) 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`