vagabond-rpg-foundryvtt/packs/_source/perks/situational-awareness.json
Cal Corum 06e0dc01c0 Complete P2-P5: Perks, Feature Choices, Ancestry Traits, Caster Progression
- P2: Perks with changes[] arrays create Active Effects on drop/delete
- P3: Feature choice UI for Fighting Style (auto-grants Situational
  Awareness + selected training perk, ignoring prerequisites)
- P4: Ancestry traits apply Active Effects (Dwarf Darksight/Tough working)
- P5: Caster progression accumulates mana from class progression table

Key patterns:
- Manual UUID construction: Compendium.${pack.collection}.Item.${entry._id}
- ignorePrereqs flag for specific choices bypassing all prerequisites
- Mode 5 (OVERRIDE) for boolean senses like darkvision
- Form data merging with direct DOM reading for reliable selection capture

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-16 14:23:44 -06:00

39 lines
895 B
JSON

{
"_id": "vagabondPerkSituationalAwareness",
"name": "Situational Awareness",
"type": "perk",
"img": "icons/svg/eye.svg",
"system": {
"description": "<p>You are always alert to danger. You cannot be Surprised, and you have Favor on Initiative rolls.</p>",
"prerequisites": {
"stats": {
"might": null,
"dexterity": null,
"awareness": 4,
"reason": null,
"presence": null,
"luck": null
},
"trainedSkills": [],
"spells": [],
"perks": [],
"custom": ""
},
"changes": [],
"passive": true,
"uses": {
"value": 0,
"max": 0,
"per": ""
},
"luckCost": 0,
"grantsLuck": 0,
"isRitual": false,
"ritualDuration": 0,
"ritualComponents": "",
"tags": ["combat", "awareness"]
},
"effects": [],
"_key": "!items!vagabondPerkSituationalAwareness"
}