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

Allow Multiple Armor Slots? #370

Open
DarthFutuza opened this issue Oct 5, 2024 · 0 comments
Open

Allow Multiple Armor Slots? #370

DarthFutuza opened this issue Oct 5, 2024 · 0 comments
Labels
discussion Requires discussion among developers. enhancement Improve or expand on the game.

Comments

@DarthFutuza
Copy link
Member

Currently .arm (armor files) expect one of the following responses for the "slot" field:

  • "head"
  • "neck"
  • "torso"
  • "robe"
  • "legs"
  • "gloves"
  • "boots"
  • "shoulder"
  • "implant"

Attempting to do something like ["gloves", "shoulder"] is invalid. However, we may want to expand this as there could be some armors that take up multiple slots. If we were to allow this in the future, then we probably want to store slots in a vector or as toggled bits in an integer. These would need to be checked anytime a player equips/unequips armor, to make sure that the slots are reserved and you can't wear other items in those slots. Inventory/shop menus will also need to be altered so that it shows all the slots the item takes up. It is likely that we probably want to only do this with very specific items such as full body armor that covers up most slots.

@DarthFutuza DarthFutuza added enhancement Improve or expand on the game. discussion Requires discussion among developers. labels Oct 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
discussion Requires discussion among developers. enhancement Improve or expand on the game.
Projects
None yet
Development

No branches or pull requests

1 participant