Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Mod Compatibility] Adventure Backpacks and V+'s craft from containers #14

Open
Grantapher opened this issue Sep 3, 2023 · 1 comment
Labels
bug Something isn't working enhancement New feature or request

Comments

@Grantapher
Copy link
Owner

In order to support, don't filter on the container having a Piece component on the parent nor super strict logic that's looking at specific names.

@Grantapher Grantapher added bug Something isn't working enhancement New feature or request labels Sep 3, 2023
@Vapok
Copy link

Vapok commented Sep 3, 2023

Hi Grantapher,

So largely, the biggest issue is that the Container_Awake_Patch, is strictly looking at any container that awakens with specific names.

You can continue this pattern by adding in "Player(Clone)", if you're looking specifically for containers by my mod, but it might not pick up custom containers that other mods add that they might want to use.

Largely what other mods look for is if the Container has a ZNetView Creator or not.. if it doesn't, it'll have a ZDO value of 0L.

The other issue you're going to need to look at is the InventoryAssistant.GetNearbyChests method.

The Layermask on the container is probably not going to get filtered appropriately.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants