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

utilise other equippable write methods on parts #4

Open
Yuripetusko opened this issue Apr 30, 2024 · 0 comments
Open

utilise other equippable write methods on parts #4

Yuripetusko opened this issue Apr 30, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@Yuripetusko
Copy link
Member

Is your feature request related to a problem? Please describe.
Currently there is no way to add one more equippable collection to part without re-setting the whole array.

Describe the solution you'd like
Instead of using setEquippables like now, utilise addEquippable and resetEquippable methods. Perhaps when it's time to save, we can iterate through all current equippables and see if they are still in the new array. If they are, then use add, if not then use set. Also add a button to reset equippable array on the part (onchain)

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

@Yuripetusko Yuripetusko added the enhancement New feature or request label Apr 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant