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

Does not support multi slot items #9

Open
Lubba-64 opened this issue Jul 26, 2022 · 1 comment
Open

Does not support multi slot items #9

Lubba-64 opened this issue Jul 26, 2022 · 1 comment
Labels
enhancement New feature or request wontfix This will not be worked on

Comments

@Lubba-64
Copy link
Collaborator

Lubba-64 commented Jul 26, 2022

There are games like subnautica, and escape from tarkov, that have items that take up multiple slots worth of space. I was unaware of this potential configuration when making this.

This is not a feature that is planned, this is just something the crate does not support right now but could in the future.
I don't think there are any good ways of adding this in without making some breaking changes.

The best way I can think of for doing this is splitting the library up into containers, each with a generic implementation for a different type of inventory system. Doing it like this would just mean importing stuff from standard or spatial or whatever other generic inventory ends up being created, like so:

use game_inventory::spatial::*;
// or...
use game_inventory::standard::*;
@Lubba-64
Copy link
Collaborator Author

I should add this to the restrictions section of the docs, although going through the trouble of publishing a new version to update the docs seems like a bad idea.

@Lubba-64 Lubba-64 added enhancement New feature or request wontfix This will not be worked on labels Jul 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

1 participant