Describe the bug
New pocket gilds allows to increase inventory size. But each gild adds only one slot to inventory. So now game have non-rectange inventories. For exmaple, i have backpack, bought game and merchants robe, so my inventory is 7x5. I wear two linen pants with 3 pockets each, which add me 6 pockets. 5 pockets counts as new column, so i have 8x5 inv, and last pockest start new row with only one cell on it. And script seems to use only rectangle, so it thinks that my inventory not 8x5+1, but 8x6. So when inventory is full, script thinks that there is some free space and infinitley try to harvest crop.
To Reproduce
Steps to reproduce the behavior:
Take off all inventory slots gear
Wear gear with atleast one pocket
Run script on a field with enough crops to fill 1 inventory
Describe the bug New pocket gilds allows to increase inventory size. But each gild adds only one slot to inventory. So now game have non-rectange inventories. For exmaple, i have backpack, bought game and merchants robe, so my inventory is 7x5. I wear two linen pants with 3 pockets each, which add me 6 pockets. 5 pockets counts as new column, so i have 8x5 inv, and last pockest start new row with only one cell on it. And script seems to use only rectangle, so it thinks that my inventory not 8x5+1, but 8x6. So when inventory is full, script thinks that there is some free space and infinitley try to harvest crop.
To Reproduce Steps to reproduce the behavior: