diff options
author | zeuner <github@quidecco.de> | 2018-08-12 13:37:17 +0200 |
---|---|---|
committer | sfan5 <sfan5@live.de> | 2018-08-12 13:37:17 +0200 |
commit | ea26076bcb032584c3af0a4e8e47f13afea6286b (patch) | |
tree | b039e85352d1f4c8b13fabf37c1493cd931bbdd9 | |
parent | 3a95d760e97d16fcc499aee8df1be4fe583c8168 (diff) | |
download | minetest-ea26076bcb032584c3af0a4e8e47f13afea6286b.tar.gz minetest-ea26076bcb032584c3af0a4e8e47f13afea6286b.tar.bz2 minetest-ea26076bcb032584c3af0a4e8e47f13afea6286b.zip |
Feature check for commit ac4884c3d677ef51bcce47f95ccd49d874022692 (#7618)
adds `entity_independent_selectionbox` to minetest.features
-rw-r--r-- | builtin/game/features.lua | 1 | ||||
-rw-r--r-- | doc/lua_api.txt | 4 |
2 files changed, 4 insertions, 1 deletions
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` |