Type Alias ActionConstraints

ActionConstraints: {
    cost?: (() => number);
    equipmentRequirements?: (() => Requirement);
    familiar?: (() => Familiar);
    preparation?: (() => boolean);
}

Type declaration

  • Optionalcost?: (() => number)

    Cost in meat per usage of this action.

      • (): number
      • Returns number

  • OptionalequipmentRequirements?: (() => Requirement)

    Equipment requirements to have this action available.

  • Optionalfamiliar?: (() => Familiar)

    Familiar required to be in use to have this action available.

      • (): Familiar
      • Returns Familiar

  • Optionalpreparation?: (() => boolean)

    Miscellaneous preparation to ensure this action is available.

      • (): boolean
      • Returns boolean