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

    The singleton registry of Skills sub-actions.

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

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    model: any

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

    _defaultData: {
        "acr.catchFall": {};
        "acr.deliberateFall": { baseDC: 15 };
        "acr.highJump": {};
        "acr.longJump": {};
        "acr.passThreatened": {};
        "acr.passThrough": {};
        "acr.roughTerrain": {};
        "apr.itemValue": {
            activation: {
                cost: 1;
                type: "standard";
                unchained: { cost: 2; type: "action" };
            };
            baseDC: 20;
        };
        "apr.mostValuable": {
            activation: {
                cost: 1;
                type: "full";
                unchained: { cost: 3; type: "action" };
            };
            baseDC: 20;
        };
        "blf.complexMessage": { baseDC: 20 };
        "blf.feint": {
            activation: {
                cost: 1;
                type: "standard";
                unchained: { cost: 2; type: "action" };
            };
        };
        "blf.fool": {
            activation: {
                cost: 1;
                type: "round";
                unchained: { cost: 3; type: "action" };
            };
        };
        "blf.simpleMessage": { baseDC: 15 };
        "clm.catchFall": {};
        "clm.catchOther": {
            activation: { type: "attack"; unchained: { type: "attack" } };
        };
        "clm.fabricateHolds": {
            activation: {
                cost: 1;
                type: "minute";
                unchained: { cost: 1; type: "minute" };
            };
        };
        "dev.rig": {
            activation: {
                cost: 1;
                type: "round";
                unchained: { cost: 3; type: "action" };
            };
            baseDC: 10;
        };
        "dip.changeAttitude": {
            activation: {
                cost: 1;
                type: "minute";
                unchained: { cost: 1; type: "minute" };
            };
        };
        "dip.gatherKnowledge": {
            activation: { type: "special"; unchained: { type: "special" } };
        };
        "dip.makeRequest": {
            activation: {
                cost: 1;
                type: "round";
                unchained: { cost: 3; type: "action" };
            };
        };
        "dis.create": {
            activation: { type: "special"; unchained: { type: "special" } };
        };
        "esc.grappler": {
            activation: {
                cost: 1;
                type: "standard";
                unchained: { cost: 2; type: "action" };
            };
        };
        "esc.ropes": {
            activation: {
                cost: 1;
                type: "minute";
                unchained: { cost: 1; type: "minute" };
            };
        };
        "esc.tightSpace": {
            activation: {
                cost: 1;
                type: "minute";
                unchained: { cost: 1; type: "minute" };
            };
            baseDC: 30;
        };
        "fly.attacked": { baseDC: 10 };
        "fly.collision": { baseDC: 25 };
        "fly.fly45": { baseDC: 20 };
        "fly.hover": { baseDC: 15 };
        "fly.slow": { baseDC: 10 };
        "fly.softFall": { baseDC: 10 };
        "fly.turn180": { baseDC: 20 };
        "fly.turn45": { baseDC: 15 };
        "han.command": {
            activation: {
                cost: 1;
                type: "move";
                unchained: { cost: 1; type: "action" };
            };
            baseDC: 10;
        };
        "han.push": {
            activation: {
                cost: 1;
                type: "full";
                unchained: { cost: 3; type: "action" };
            };
            baseDC: 15;
        };
        "han.rearWild": {};
        "han.teachTrick": {};
        "han.train": {};
        "hea.deadly": {
            activation: {
                cost: 1;
                type: "hour";
                unchained: { cost: 1; type: "hour" };
            };
            baseDC: 20;
        };
        "hea.disease": {};
        "hea.firstAid": {
            activation: {
                cost: 1;
                type: "standard";
                unchained: { cost: 2; type: "action" };
            };
            baseDC: 15;
        };
        "hea.longTerm": {
            activation: {
                cost: 8;
                type: "hour";
                unchained: { cost: 8; type: "hour" };
            };
            baseDC: 15;
        };
        "hea.poison": {};
        "hea.spikes": {
            activation: {
                cost: 10;
                type: "minute";
                unchained: { cost: 10; type: "minute" };
            };
            baseDC: 15;
        };
        "int.demoralize": {
            activation: {
                cost: 1;
                type: "standard";
                unchained: { cost: 2; type: "action" };
            };
        };
        "int.force": {
            activation: {
                cost: 1;
                type: "minute";
                unchained: { cost: 1; type: "minute" };
            };
        };
        "kar.identifyAura": {};
        "kar.identifySpell": {};
        "kar.identifyTargeted": {};
        "kar.material": {};
        "kar.spellMaterial": { baseDC: 20 };
        "kdu.depth": { baseDC: 20 };
        "kdu.hazard": {};
        "kdu.material": { baseDC: 10 };
        "kdu.slope": { baseDC: 15 };
        "ken.hazard": { baseDC: 10 };
        "ken.style": { baseDC: 20 };
        "ken.weakness": { baseDC: 20 };
        "kge.ethnicity": { baseDC: 10 };
        "kge.nearest": { baseDC: 20 };
        "kge.region": { baseDC: 15 };
        "khi.date": { baseDC: 15 };
        "klo.commonRumor": { baseDC: 15 };
        "klo.localKnowledge": { baseDC: 10 };
        "klo.secret": { baseDC: 20 };
        "kna.hazard": {};
        "kno.etiquette": { baseDC: 15 };
        "kno.rulers": { baseDC: 10 };
        "kno.succession": { baseDC: 20 };
        "kpl.creatureOrigin": { baseDC: 20 };
        "kpl.identifyCurrent": { baseDC: 15 };
        "lin.createForgery": {
            activation: { type: "special"; unchained: { type: "special" } };
        };
        "lin.decipher": {
            activation: {
                cost: 1;
                type: "minute";
                unchained: { cost: 1; type: "minute" };
            };
        };
        "lin.detectForgery": {
            activation: { type: "special"; unchained: { type: "special" } };
        };
        "per.search": {
            activation: { type: "move"; unchained: { cost: 1; type: "action" } };
        };
        "per.tastePotion": {};
        "prf.earnIncome": {};
        "pro.answerBasic": { baseDC: 10 };
        "pro.answerComplex": { baseDC: 15 };
        "pro.earnIncome": {
            activation: { type: "special"; unchained: { type: "special" } };
        };
        "rid.attack": { baseDC: 10 };
        "rid.battleControl": {
            activation: { type: "move"; unchained: { cost: 1; type: "action" } };
            baseDC: 20;
        };
        "rid.cover": { baseDC: 15 };
        "rid.fastMount": {
            activation: { type: "free"; unchained: { type: "free" } };
            baseDC: 20;
        };
        "rid.kneeGuiding": { baseDC: 5 };
        "rid.leap": { baseDC: 15 };
        "rid.softFall": { baseDC: 15 };
        "rid.spurMount": {
            activation: { type: "move"; unchained: { cost: 1; type: "action" } };
            baseDC: 15;
        };
        "rid.staySaddle": { baseDC: 5 };
        "sen.discernMessage": {};
        "sen.hunch": { baseDC: 20 };
        "sen.senseEnchantment": {};
        "slt.entertain": {};
        "slt.hideObject": {
            activation: {
                type: "standard";
                unchained: { cost: 2; type: "action" };
            };
        };
        "slt.palmObject": {
            activation: {
                type: "standard";
                unchained: { cost: 2; type: "action" };
            };
            baseDC: 10;
        };
        "slt.steal": {
            activation: {
                type: "standard";
                unchained: { cost: 2; type: "action" };
            };
            baseDC: 20;
        };
        "spl.craft": {};
        "spl.decipherScroll": {};
        "spl.identifyProperties": {};
        "spl.identifySpell": {};
        "spl.learnSpell": {};
        "spl.prepareBorrowed": {};
        "ste.diversion": {};
        "ste.sniping": {
            activation: { type: "move"; unchained: { cost: 1; type: "action" } };
        };
        "sur.avoidHazard": { baseDC: 15 };
        "sur.predictWeather": { baseDC: 15 };
        "sur.resistWeather": { baseDC: 15 };
        "sur.subsist": { baseDC: 10 };
        "sur.track": {
            activation: {
                cost: 1;
                type: "full";
                unchained: { cost: 3; type: "action" };
            };
        };
        "sur.wayfind": { baseDC: 15 };
        "umd.activateBlindly": { baseDC: 25 };
        "umd.decipherSpell": {};
        "umd.emulateAbility": {};
        "umd.emulateAlignment": { baseDC: 30 };
        "umd.emulateClass": { baseDC: 20 };
        "umd.emulateRace": { baseDC: 25 };
        "umd.useScroll": {};
        "umd.useTrigger": { baseDC: 20 };
    } = ...

    An array of data used to initialize this registry.

    _knowledgeDefaultData: {
        answerBasic: { baseDC: 15; name: "Answer a basic question" };
        answerEasy: { baseDC: 10; name: "Answer an easy question" };
        answerTough: { baseDC: 20; name: "Answer a tough question" };
        identifyMonster: { name: "Identify a monster" };
        library: {
            activation: { type: "special"; unchained: { type: "special" } };
            name: "Use a library";
        };
    } = ...

    Set of default actions associated to each knowledge skill.

    model: typeof SkillAction = SkillAction

    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

    • Get the sub-actions associated to a skill.

      Parameters

      • skillId: string

        The skill to which these actions are associated.

      Returns Record<string, SkillAction>

      The sub-actions associated to the skill or the action if specified.

    • 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: any

        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

    • Since all knowledge have these base actions, we create a default data for them.

      Parameters

      • skillId: string

        The skill to which these actions are associated.

      Returns SkillAction[]

      The default data generated for the knowledge skill.