Will be great have method IsInventoryVisibleFor(PlayerBase player). It will allow modders without moding vanilla vicinitymanager set which player is able view inventory of particular entity.
My proposal is add that method in EntityAI class
bool IsInventoryVisibleFor(PlayerBase player) { return true; }
and then integrate it into vicinitymanager class logic too
Thank you