You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Finally figured out roughly what's going on here:
If your pockets are all full except for ones either not permitted to be auto-filled, or ones blacklisting the target item, pick_one_up from the 'g' grab item menu will still assume you have a valid pocket to insert the item into.
item::fill_with will them issue a debug message and your character will unceremoniously drop the triggering item on their next turn.
Steps to reproduce
Wear two leather pouches, block one of them from auto-inserting items.
Fill the unblocked pouch to capacity
Attempt to pick up one more item with 'g'
Expected behavior
Either the pickup menu should check for pockets items are allowed into, or whichever function calls item::fill_with should return and give the message a log stating no valid pockets remain.
The reason is that item::can_contain ignores pocket settings by default. Not sure what the best way to fix it is. item::can_stash checks the settings so maybe it's enough to use that instead.
Describe the bug
Finally figured out roughly what's going on here:
If your pockets are all full except for ones either not permitted to be auto-filled, or ones blacklisting the target item, pick_one_up from the 'g' grab item menu will still assume you have a valid pocket to insert the item into.
item::fill_with will them issue a debug message and your character will unceremoniously drop the triggering item on their next turn.
Steps to reproduce
Wear two leather pouches, block one of them from auto-inserting items.
Fill the unblocked pouch to capacity
Attempt to pick up one more item with 'g'
Expected behavior
Either the pickup menu should check for pockets items are allowed into, or whichever function calls item::fill_with should return and give the message a log stating no valid pockets remain.
Screenshots
No response
Versions and configuration
Dark Days Ahead [dda],
Disable NPC Needs [no_npc_food],
No Fungal Growth [no_fungal_growth],
SpeedyDex [speedydex],
Stats Through Skills [StatsThroughSkills],
Bionic Slots [cbm_slots]
]
Additional context
The text was updated successfully, but these errors were encountered: