Skip to content

Commit

Permalink
Feature check for commit ac4884c (#7618)
Browse files Browse the repository at this point in the history
adds `entity_independent_selectionbox` to minetest.features
  • Loading branch information
zeuner authored and sfan5 committed Aug 12, 2018
1 parent 3a95d76 commit ea26076
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions builtin/game/features.lua
Expand Up @@ -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)
Expand Down
4 changes: 3 additions & 1 deletion doc/lua_api.txt
Expand Up @@ -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`
Expand Down

0 comments on commit ea26076

Please sign in to comment.