Hello everyone, I have the special storage system installed and currently i've been trying to get rid of most bugs but there's one that doesn't seem to go away.
So I can pickup items from the ground and they go to the inventory just fine, they also can be moved without a problem. The thing is whenever I open a box or use the pc.give_item2 function(both use AutoGiveItem) it's like the system doesn't check for free slots, so it just puts the items always in position 0(replaces what is already there essentially). So for example, if I have 1 item in position 0 and give the player 5 of that item through AutoGiveItem, the 1 item I have will disappear and the stack of 5 will take its place(which you can already tell: creates a lot of errors due to repetition of entries in the databases) instead of going to the next slot which is available.
Any suggestions on how to solve this would be greatly appreciated
Thanks