Display NPC equipment and consumables on PF2e stat blocks #33

Closed
opened 2026-04-10 17:42:56 +02:00 by dostulata · 0 comments
Owner

Summary

PF2e creatures in Foundry VTT carry equipment as weapon and consumable item types — magic items (Staff of Fire), potions (Invisibility Potion), scrolls (Scroll of Teleport Rank 6), and worn gear. Currently the adapter only processes melee, action, spell, and spellcastingEntry item types, so equipment is completely invisible on stat blocks. These are tactical options the NPC can use in combat. Scrolls even embed full spell data inside system.spell.

Acceptance Criteria

  • Weapons, potions, scrolls, wands, and other carried equipment appear in a dedicated "Equipment" section on the PF2e stat block
  • Each item shows its name and relevant details (e.g., level, traits, activation description)
  • Scrolls display the embedded spell name and rank
  • Creatures without equipment do not show an empty Equipment section
  • Equipment data is extracted from existing cached creature JSON (no additional fetch required)
## Summary PF2e creatures in Foundry VTT carry equipment as `weapon` and `consumable` item types — magic items (Staff of Fire), potions (Invisibility Potion), scrolls (Scroll of Teleport Rank 6), and worn gear. Currently the adapter only processes `melee`, `action`, `spell`, and `spellcastingEntry` item types, so equipment is completely invisible on stat blocks. These are tactical options the NPC can use in combat. Scrolls even embed full spell data inside `system.spell`. ## Acceptance Criteria - [x] Weapons, potions, scrolls, wands, and other carried equipment appear in a dedicated "Equipment" section on the PF2e stat block - [x] Each item shows its name and relevant details (e.g., level, traits, activation description) - [x] Scrolls display the embedded spell name and rank - [x] Creatures without equipment do not show an empty Equipment section - [x] Equipment data is extracted from existing cached creature JSON (no additional fetch required)
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: dostulata/initiative#33