Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Take a Quantity Greater Than One From a Container #25

Open
TheCrimsonKing92 opened this issue Mar 25, 2023 · 0 comments
Open

Take a Quantity Greater Than One From a Container #25

TheCrimsonKing92 opened this issue Mar 25, 2023 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@TheCrimsonKing92
Copy link
Owner

When an item exists in the container in a quantity greater than one (for example, a stack of two onions), the take item option only queues a transfer action for one quantity of the item. Provide at least one way to deal with this.

Constraints:

  • There may be limits on how many transfer actions can be queued at a time, or how cohesive the UI experience is
  • Player inventories may have less remaining (or even maximum) capacity than the total for all transfers

Simplest solution:

  • Add a "Take All" checkbox which is displayed (or enabled) when "Take Item" is true
  • When "Take All" is true, queue transfers for all the quantity of the item in the container (or max allowed, see above)

Better configurability:

  • Add a set of radio buttons
    • Take All
    • Take X (additional numeric input)
    • Take One
  • Action on the radio button inputs for queuing transfer actions
@TheCrimsonKing92 TheCrimsonKing92 added enhancement New feature or request good first issue Good for newcomers labels Mar 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

1 participant