build_get_level_up_choices
Check which feats, skill increases, and class features unlock at a target character level, including variant rules like free archetype and ancestry paragon.
Instructions
What unlocks at target_level for the character's class: which feat categories/skill increases become available (from the class's structured level-gate arrays) plus any automatically-granted class features (no choice required). Ability boosts are always at 5/10/15/20 per core PF2e rules, not class-specific data.
`variant_rules` is a list of slugs for optional/variant rules this
build is using -- see rules_list_variant_rules for the full catalog and
rules_get_entry for each one's official text. Only two currently change
what this function reports (the rest are recognized as valid slugs but
don't affect the computed unlocks yet):
- `'ancestry-paragon'` (GM Core p.194): 2 ancestry feats at level 1
instead of 1, then one more at every odd level (3, 5, 7, 9, ...)
instead of the class's normal 1/5/9/13/17 schedule. Reflected in
`unlocks.ancestry_feat_count`.
- `'free-archetype'` (GM Core p.84): one bonus archetype-only feat at
every even level. Reflected in `unlocks.archetype_feat` -- when true,
call build_list_available_feats(feat_category='archetype') for that
slot specifically, in addition to whatever the normal class-feat slot
allows this level.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| character | Yes | ||
| target_level | Yes | ||
| variant_rules | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||