At the moment, when a container (e.g. a chest) is locked, one can still see the contents. But cannot remove or add new ones.
This PR changes it so that a locked container cannot be opened anymore.
Changelog
Authored by: Sandrine & Jomshir
Platform changes:
- You can no longer view the contents of locked or otherwise blocked storage modules
- This applies in any of the cases that would prevent you from manipulating the items inside, including but not limited to: Inability to use hands, target being in safemode, not having permissions to manipulate contents of the storage, the storage module being blocked/locked, or the item with the module being inaccessible
- If you are already focused inside of the module and you loose access to it, you will be blocked from seeing the contents
- If the permission to modify contents of storage is set to "prompt", then attempting to open the storage prompts its owner for permission.
Checklist
[X] The change has been tested locally
[X] Added documentation to the new code and updated existing documentation where needed
References
closes #829
About The Pull Request
At the moment, when a container (e.g. a chest) is locked, one can still see the contents. But cannot remove or add new ones. This PR changes it so that a locked container cannot be opened anymore.
Changelog
Authored by: Sandrine & Jomshir
Checklist