forked from Mirrorlandia_minetest/minetest
Feature check for commit ac4884c3d677ef51bcce47f95ccd49d874022692 (#7618)
adds `entity_independent_selectionbox` to minetest.features
This commit is contained in:
parent
3a95d760e9
commit
ea26076bcb
@ -12,6 +12,7 @@ core.features = {
|
|||||||
add_entity_with_staticdata = true,
|
add_entity_with_staticdata = true,
|
||||||
no_chat_message_prediction = true,
|
no_chat_message_prediction = true,
|
||||||
object_use_texture_alpha = true,
|
object_use_texture_alpha = true,
|
||||||
|
object_independent_selectionbox = true,
|
||||||
}
|
}
|
||||||
|
|
||||||
function core.has_feature(arg)
|
function core.has_feature(arg)
|
||||||
|
@ -3287,7 +3287,9 @@ Utilities
|
|||||||
no_chat_message_prediction = true,
|
no_chat_message_prediction = true,
|
||||||
-- The transparency channel of textures can optionally be used on
|
-- The transparency channel of textures can optionally be used on
|
||||||
-- objects (ie: players and lua entities)
|
-- 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`
|
* `minetest.has_feature(arg)`: returns `boolean, missing_features`
|
||||||
|
Loading…
Reference in New Issue
Block a user