qbcore-framework / qb-inventory

Slot Based Inventory System Used With QB-Core :school_satchel:
GNU General Public License v3.0
49 stars 376 forks source link

[SUGGESTION] Item-based additional weight and/or slots #442

Closed nzkfc closed 10 months ago

nzkfc commented 1 year ago

The problem

Currently the slots/weight is set in config and that's all you can do, currently the only options to expand are 3rd-party scripts that create a "stash" to store things in, however this doesn't work well if you are using crafting or similar in terms of items being detected.

Ideal solution

Would be good to enable in the script and config to enable backpacks/briefcases etc that give additional storage slots and/or weight.

For example you may want to add 10 more slots with a backpack, but keep weight the same, you might want to have backpack that increases weight but does not increase slots, or you might want both, ideally a setting per backpack type would be good.

Alternative solutions

No current alternatives apart from re-writing custom code and/or continuing to use 3rd party scripts but this doesn't resolve the issue of expansion when using scripts such as crafting.

Additional context

Realize this would mean a lot of work to re-write, however seeing as inventory is due to a refresh due to the many exploits, it might be worth taking this into consideration during that work.

github-actions[bot] commented 11 months ago

This issue has had 60 days of inactivity & will close within 7 days