Pathfinder 1e for Foundry VTT
    Preparing search index...

    The singleton registry of combat maneuvers sub-actions.

    At runtime this registry is accessible as pf1.registry.actions.maneuver.

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    model: SubAction

    The class each of this registry's content is expected to be an instance of.

    _defaultData: {
        bullRush: {
            activation: {
                type: "standard";
                unchained: { cost: 2; type: "action" };
            };
            img: "systems/pf1/icons/combat-maneuvers/bull-rush.svg";
            journal: "Compendium.pf1.rules.JournalEntry.pq1DpUWzXjWih8g2.JournalEntryPage.92oFHAyXxVZgb4V1";
        };
        dirtyTrick: {
            activation: {
                type: "standard";
                unchained: { cost: 2; type: "action" };
            };
            img: "systems/pf1/icons/combat-maneuvers/dirty-trick.svg";
            journal: "Compendium.pf1.rules.JournalEntry.pq1DpUWzXjWih8g2.JournalEntryPage.2lTrVmkxWufZ2E2m";
        };
        disarm: {
            activation: { type: "attack"; unchained: { type: "attack" } };
            img: "systems/pf1/icons/combat-maneuvers/disarm.svg";
            journal: "Compendium.pf1.rules.JournalEntry.pq1DpUWzXjWih8g2.JournalEntryPage.0W3VutMpsWFhIUfU";
        };
        drag: {
            activation: {
                type: "standard";
                unchained: { cost: 2; type: "action" };
            };
            img: "icons/svg/thrust.svg";
            journal: "Compendium.pf1.rules.JournalEntry.pq1DpUWzXjWih8g2.JournalEntryPage.IcIMO9K23ZLw8YZJ";
        };
        grapple: {
            activation: {
                cost: 1;
                type: "special";
                unchained: { cost: 1; type: "special" };
            };
            img: "systems/pf1/icons/conditions/grappled.svg";
            journal: "Compendium.pf1.rules.JournalEntry.pq1DpUWzXjWih8g2.JournalEntryPage.I1StB58fdh0CLJPa";
        };
        overrun: {
            activation: {
                type: "standard";
                unchained: { cost: 2; type: "action" };
            };
            img: "icons/svg/upgrade.svg";
            journal: "Compendium.pf1.rules.JournalEntry.pq1DpUWzXjWih8g2.JournalEntryPage.x34laIDhRwY7DhI8";
        };
        reposition: {
            activation: {
                type: "standard";
                unchained: { cost: 2; type: "action" };
            };
            img: "systems/pf1/icons/combat-maneuvers/reposition.svg";
            journal: "Compendium.pf1.rules.JournalEntry.pq1DpUWzXjWih8g2.JournalEntryPage.aFq4Ad49H61pGk74";
        };
        steal: {
            activation: {
                type: "standard";
                unchained: { cost: 2; type: "action" };
            };
            img: "systems/pf1/icons/combat-maneuvers/steal.svg";
            journal: "Compendium.pf1.rules.JournalEntry.pq1DpUWzXjWih8g2.JournalEntryPage.DsQz3kgcZeHojuhL";
        };
        sunder: {
            activation: { type: "attack"; unchained: { type: "attack" } };
            img: "systems/pf1/icons/combat-maneuvers/sunder.svg";
            journal: "Compendium.pf1.rules.JournalEntry.pq1DpUWzXjWih8g2.JournalEntryPage.6sDyt3zmanEvuyCf";
        };
        trip: {
            activation: { type: "attack"; unchained: { type: "attack" } };
            img: "icons/svg/falling.svg";
            journal: "Compendium.pf1.rules.JournalEntry.pq1DpUWzXjWih8g2.JournalEntryPage.p5NNzUAbHlLmZs2G";
        };
    } = ...

    An array of data used to initialize this registry.

    model: typeof CombatManeuver = CombatManeuver

    The class each of this registry's content is expected to be an instance of.

    Accessors

    • get name(): string

      The name of the registry

      Returns string

    Methods

    • Returns an object of the registry's contents, with the id as key and the name as value.

      Parameters

      • Optionaloptions: { sort?: boolean } = {}

        Additional options

        • Optionalsort?: boolean

          Sort result

      Returns { [id: string]: string }

      The names of each value in the registry, by id

    • Protected

      Localize registry and all their entries.

      Called in i18nInit.

      Returns void

    • Registers a new instance of Model with the registry, using a partial of its data as the base.

      Parameters

      • namespace: string

        The namespace for which this value is registered.

      • id: string

        The unique key of the value.

      • value: object

        A Partial of the data to use as the base for the new value.

      Returns Registry<any>

      The registry itself, after the value has been registered.

      pf1.registry.damageTypes.register("my-module", "my-damage-type", {
      name: "My Damage Type",
      img: "icons/svg/damage.svg",
      category: "physical",
      });
    • Sets the value of a key in the registry.

      Parameters

      • id: string

        ID of the value to set.

      • content: SubAction

        The value to set.

      Returns Registry<any>

      The registry itself, after the value has been set.

    • Protected

      Post-registry initialization entry preparation

      Returns void

    • Returns the contents of this registry as object, using ids as keys.

      Parameters

      • Optionalsource: boolean = false

        Whether to include the source data instead of its prepared data for each value.

      Returns { [id: string]: object }

      The data of each value in the registry, by id

    • Unregisters a value from the registry, or if no id is provided, all values belonging to the namespace.

      Parameters

      • namespace: string

        The namespace for which this value is unregistered.

      • Optionalid: string

        The unique key of the value, or undefined to unregister all values belonging to the namespace.

      Returns void