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

Additional SpawnPositionType and Equip Behaviours #14419

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

Jade-Harleyy
Copy link

@Jade-Harleyy Jade-Harleyy commented Aug 9, 2024

This PR adds the TargetInventory SpawnPositionType and makes ItemSpawnInfo.Equip work with character inventories selected by any SpawnPositionType.

SpawnPositionType.TargetInventory is similar to SpawnPositionType.Target, but spawns items in the selected entities' inventories instead.

ItemSpawnInfo.Equip now works with all SpawnPositionTypes except for This and Target, since they do not select inventories.

note: didn't actually have time to test this, but i'm confident both changes work! :BaroDev:

@Jade-Harleyy Jade-Harleyy changed the title Add new item spawn position and let equip work with other position types Additional SpawnPositionType and Equip Behaviours Aug 19, 2024
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.

1 participant