Item Support #39

Open
opened 2026-03-08 00:45:25 +00:00 by Oliver · 1 comment
Owner

For a complete breakdown of tasks, see this milestone: https://git.varify.ca/Foundry/taf/milestone/15


Items will have the following data:

  • Name (provided by Document)
  • Image (provided by Document)
  • Quantity (number, integer, min 0)
  • Weight (number, non-integer, 2 decimal places max)
  • Description (HTML field)
  • Equipped (boolean)

This will also require extending the Actor data model to include an optional "carrying capacity" on it, which should just be a 2-decimal place number that allows for seeing how much total carry capacity you're at.

Player sheet requirements:

  • PlayerSheet, and SingleModePlayerSheet:
    • Tabs (when items exist on the actor): General, Items
    • The "General" tab should contain:
      • The attributes
      • The main content
    • The "Items" tab should contain:
      • A carrying capacity input
      • A summed carrying weight of all equipped items in inventory
      • A list of items
  • AttributeOnlyPlayerSheet:
    • No tabs
    • The following additions should appear only when items exist on the actor
      • A carrying capacity input
      • A summed carrying weight of all equipped items in inventory
      • A list of items when they exist

Each list of items should contain/display the following information from each item

  • image (small)
  • name
  • weight (total weight based on quantity)
  • quantity input
  • description (collapsible)
  • equipped toggle
For a complete breakdown of tasks, see this milestone: https://git.varify.ca/Foundry/taf/milestone/15 --- Items will have the following data: - Name (provided by Document) - Image (provided by Document) - Quantity (number, integer, min 0) - Weight (number, non-integer, 2 decimal places max) - Description (HTML field) - Equipped (boolean) This will also require extending the Actor data model to include an optional "carrying capacity" on it, which should just be a 2-decimal place number that allows for seeing how much total carry capacity you're at. Player sheet requirements: - `PlayerSheet`, and `SingleModePlayerSheet`: - Tabs (when items exist on the actor): General, Items - The "General" tab should contain: - The attributes - The main content - The "Items" tab should contain: - A carrying capacity input - A summed carrying weight of all equipped items in inventory - A list of items - `AttributeOnlyPlayerSheet`: - No tabs - The following additions should appear only when items exist on the actor - A carrying capacity input - A summed carrying weight of all equipped items in inventory - A list of items when they exist Each list of items should contain/display the following information from each item - image (small) - name - weight (total weight based on quantity) - quantity input - description (collapsible) - equipped toggle
Oliver added the
Kind
Feature
Priority
Medium
labels 2026-03-08 03:24:44 +00:00
Oliver added this to the v2.6.1 milestone 2026-03-08 03:24:47 +00:00
Oliver self-assigned this 2026-03-08 03:24:52 +00:00
Oliver added
Kind
Epic
and removed
Kind
Feature
labels 2026-03-08 03:25:26 +00:00
Oliver added reference feature/item-support 2026-03-08 07:13:50 +00:00
Oliver removed this from the v2.6.1 milestone 2026-03-16 04:29:08 +00:00
Oliver added this to the v3.0.0 milestone 2026-03-16 06:22:09 +00:00
Author
Owner

The quantity for items is allowed to be any integer, including 0 and negative values

The quantity for items is allowed to be any integer, including 0 and negative values
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#39
No description provided.