Wear Layers #392

Open
opened 2025-01-04 12:28:16 -08:00 by scionaltera · 0 comments
scionaltera commented 2025-01-04 12:28:16 -08:00 (Migrated from github.com)

Define a new EnumSet for WearLayer that defines some layers that equipment can be worn at, from innermost to outermost.

  • You can overlap a worn item with another item only if the new item's layers are farther "out" than the worn item.
  • You can't remove an inner item before removing all items that overlap it.

So you could wear a shirt, a coat, and an armor on the same slot. But you couldn't remove the shirt without first removing the armor and then the coat. Damage would apply to the outer layer first.

Define a new EnumSet for `WearLayer` that defines some layers that equipment can be worn at, from innermost to outermost. * You can overlap a worn item with another item only if the new item's layers are farther "out" than the worn item. * You can't remove an inner item before removing all items that overlap it. So you could wear a shirt, a coat, and an armor on the same slot. But you couldn't remove the shirt without first removing the armor and then the coat. Damage would apply to the outer layer first.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
agony-forge/agonyforge#392
No description provided.