Skip to content

Prevent containers and workbench to be visible through walls + crafting QOL#2779

Open
looc343 wants to merge 6 commits into
QuentinGruber:devfrom
looc343:dev2
Open

Prevent containers and workbench to be visible through walls + crafting QOL#2779
looc343 wants to merge 6 commits into
QuentinGruber:devfrom
looc343:dev2

Conversation

@looc343

@looc343 looc343 commented Feb 23, 2026

Copy link
Copy Markdown
Collaborator

Tried to make some changes to prevent containers and workbenches to be seen through walls in some scenarios. This is to prevent raiders to use glitches and exploits to see what rooms might have loot.

First I delayed spawning these items until later when gates and doors load to prevent seeing them when logging in.

Second change is to only show the health bar of these items for players with container permissions.

Lastly I reused code from checkBuildingObstruct to hide proximity container items when blocked by a wall.

Also changed so overflowing items from lootContainerItem will be put inside a mounted container instead of dropped. Now you can afk craft and the items will always stay inside the container and not be dropped.

QuentinGruber
QuentinGruber previously approved these changes Mar 9, 2026
@BryanMacleod

Copy link
Copy Markdown

I removed my last comment as i just experienced the glitch. This is not the bug i was related too ;)

Good work!

jasonmoonen
jasonmoonen previously approved these changes May 25, 2026
This reverts commit 4f4bc3d, reversing
changes made to dec88a3.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants