Item Group #46

Closed
opened 2026-03-14 21:34:31 +00:00 by Oliver · 0 comments
Owner

It would be nice if players could organize items in their inventory based on what type of item it is (e.g. weapon, potion, etc.).

However, due to the open-ended nature of items in TAF, these types cannot be predefined, so in order to accomodate game systems, this should be a property on the item data model named "group", this will be an free-text input (not prose-mirror) that allows assigning an arbitrary group to the item, then on the actor sheet(s), we will display the items based on this group property.

This should also add an override to the Actor document for get itemTypes to separate items based on the group instead of the proper item subtype (using the group property should ONLY be done when the item subtype is "generic" so that module subtypes are unaffected)

It would be nice if players could organize items in their inventory based on what type of item it is (e.g. weapon, potion, etc.). However, due to the open-ended nature of items in TAF, these types cannot be predefined, so in order to accomodate game systems, this should be a property on the item data model named "group", this will be an free-text input (not prose-mirror) that allows assigning an arbitrary group to the item, then on the actor sheet(s), we will display the items based on this group property. This should also add an override to the Actor document for `get itemTypes` to separate items based on the group instead of the proper item subtype (using the group property should ONLY be done when the item subtype is "generic" so that module subtypes are unaffected)
Oliver added this to the Item Support milestone 2026-03-14 21:34:31 +00:00
Oliver 2026-03-14 21:34:31 +00:00
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: Foundry/taf#46
No description provided.