Skip to main content

InventoryPrerequisiteConflicts

Namespace with functions for identifying asset prerequisite conflicts.

Index

Variables

GagPriorities

GagPriorities: Partial<Record<AssetGroupName, number>> = ...

The effective "layering" priorities of gags and (potentially) gag-like objects. Used for prerequisite checks that only apply to lower gags.

Functions

GagEffect

  • GagEffect(C: Character, blockingEffects: readonly EffectName[], asset?: Asset, options?: { errMessage: string; invert: boolean }): string
  • Parameters

    • C: Character
    • blockingEffects: readonly EffectName[]
    • asset: Asset = null
    • options: { errMessage: string; invert: boolean } = null
      • errMessage: string
      • invert: boolean

    Returns string

GagPrerequisite

  • Parameters

    • C: Character
    • blockingPrereqs: readonly AssetPrerequisite[]
    • asset: Asset = null
    • options: { errMessage: string; invert: boolean } = null
      • errMessage: string
      • invert: boolean

    Returns string