CleverRaven / Cataclysm-DDA

Cataclysm - Dark Days Ahead. A turn-based survival game set in a post-apocalyptic world.
http://cataclysmdda.org
Other
9.73k stars 4.05k forks source link

AIM: `There isn't enough room. Attempt to move as much as you can?` moves favourite items without asking. #73510

Closed Brambor closed 1 week ago

Brambor commented 1 week ago

Describe the bug

image

Attach save file

N/A

Steps to reproduce

  1. Don't have enough space in destination
  2. Have favourite items in inventory (just the right volume, I guess)
  3. , move all
  4. Your favourite items are moved without asking!

Expected behavior

When there is enough space in destination, , first only moves non-favourite items. If there are only favourite items in the inventory, ask if player wants to move them.

I expect this check to be in effect even when there is not enough space in destination.

Screenshots

No response

Versions and configuration

Additional context

I might try fixing this now. I saw the AIM code recently.

Brambor commented 1 week ago

Oh, I see it now. It is just a typo in the code.