Feature check for commit ac4884c3d677ef51bcce47f95ccd49d874022692 (#7618)
authorzeuner <github@quidecco.de>
Sun, 12 Aug 2018 11:37:17 +0000 (13:37 +0200)
committersfan5 <sfan5@live.de>
Sun, 12 Aug 2018 11:37:17 +0000 (13:37 +0200)
adds `entity_independent_selectionbox` to minetest.features

builtin/game/features.lua
doc/lua_api.txt

index e6787a564e15baaa6591858c2e924fc3c4ff6719..841a5d2ea9348c8fe8878cd2b594e0c7c9e7fb78 100644 (file)
@@ -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)
index c9e6e485ad35b69380fa59b2cfc024bad8d1304d..f03145fb82e7c7ce26f581fb8f7860213271b383 100644 (file)
@@ -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`