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

Inventory panel rework #100

Closed
Arcanorum opened this issue Feb 3, 2021 · 0 comments
Closed

Inventory panel rework #100

Arcanorum opened this issue Feb 3, 2021 · 0 comments
Labels
code Requires code (logic/configuration) to be created or modified. request New feature or request

Comments

@Arcanorum
Copy link
Owner

Task description

As per #30 an inventory management panel is needed to present the new way that items are represented.
This would be a panel that presents the players character's current items in a grid, from which the player can select an item to do something with.

The following draft design wireframe illustrates the core functionality flow.

image

Equippable items should show options to

  • Equip: Adds the item to the player's hotbar and equips it
  • Add to hotbar: Adds the item to the player's hotbar

Consumable items should show options to

  • Use once: Uses/consumes/activates the item once
  • Add to hotbar: Adds the item to the player's hotbar

In addition to the above options, a drop button should be shown, that works slightly differently depending on the item type selected.

  • Stackable: Shows options for what quantity of the stack to drop.
  • Non-stackable: Drops the item.

References/notes

The server will need to provide the player's current inventory when they join the game world, and update it whenever the player's inventory state changes.

@Arcanorum Arcanorum added code Requires code (logic/configuration) to be created or modified. request New feature or request labels Feb 12, 2021
@Arcanorum Arcanorum moved this from To do to In progress in Items rework/React rewrite Feb 18, 2021
@Arcanorum Arcanorum moved this from In progress to Done in Items rework/React rewrite Mar 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
code Requires code (logic/configuration) to be created or modified. request New feature or request
Projects
No open projects
Development

No branches or pull requests

1 participant