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

    An Actor sheet for Vehicle type characters in the game system. Extends the base ActorSheetPF class.

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    Accessors

    Methods

    Constructors

    • Parameters

      • object: ActorPF

        A Document instance which should be managed by this form.

      • Optionaloptions: Partial<Options>

        Optional configuration parameters for how the form behaves. (default: {})

      Returns ActorSheetPFVehicle

    Properties

    _activeEdits: Record<string, string> = {}
    _commitItemUsesBound: (event: Event) => Promise<any> = ...

    Type declaration

      • (event: Event): Promise<any>
      • Internal

        Commit changes from _setItemUses

        Parameters

        • event: Event

        Returns Promise<any>

    _filters: Record<string, Record<string, Set<string>>> = ...

    Track the set of item filters which are applied

    effectiveSearch: {} = {}
    searchCompositioning: boolean = false

    Item search

    searchDelay: number = 250
    searchDelayEvent: null
    searchRefresh: boolean = true
    _warnedAppV1: boolean = true
    EDIT_TRACKING: string[] = ...

    Accessors

    Methods

    • Parameters

      • driverId: any
      • skillId: any

      Returns
          | {
              img?: undefined;
              name?: undefined;
              skillBonus?: undefined;
              skills?: undefined;
              uuid?: undefined;
          }
          | {
              img: InitializedType<{}>;
              name: string;
              skillBonus: any;
              skills: {};
              uuid: string;
          }

    • Parameters

      • event: DragEvent

        Drag start event

      • type:
            | "initiative"
            | "attack"
            | "cl"
            | "bab"
            | "cmb"
            | "concentration"
            | "defenses"
            | "abilityScore"
      • OptionalsubType: string

        Type specific subtype

      Returns void

    • Handle the final creation of dropped Item data on the Actor. This method is factored out to allow downstream classes the opportunity to override item creation behavior.

      Parameters

      • itemData: any

        The item data requested for creation

      Returns Promise<undefined | _Override<Item<"base" | ModuleSubType>, {}>[]>

    • Handle standard form submission steps

      Parameters

      • event: any

        The submit event which triggered this handler

      • __namedParameters: { preventClose?: boolean; preventRender?: boolean; updateData?: null } = {}

      Returns Promise<void>

      A promise which resolves to the validated update data

    • Internal

      Insert a spell into the spellbook object when rendering the character sheet

      Parameters

      • data: object

        The Actor data being prepared

      • spells: any[]

        The spell data being prepared

      • bookKey: string

        The key of the spellbook being prepared

      Returns object

      • Spellbook data
    • Protected

      Toggle inline display of an item's summary/description by expanding or hiding info div

      Parameters

      • elem: JQuery<HTMLElement>

        The element to open. Likely will have the item class in CSS.

      • Optionalinstant: boolean = {}

        Whether to instantly show the expansion (true), or animate it (false)

      Returns Promise<void>