Plants vs. Zombies: Replanted - v1.0.3
    Preparing search index...

    Interface IMod

    represents a mod in all states (being downloaded, downloaded, installed)

    IMod

    interface IMod {
        archiveId?: string;
        attributes?: IModAttributes;
        enabledINITweaks?: string[];
        fileOverrides?: string[];
        id: string;
        installationPath: string;
        rules?: IModRule[];
        state: ModState;
        type: string;
    }
    Index

    Properties

    archiveId?: string
    attributes?: IModAttributes

    dictionary of extended information fields

    Type-safe access to common attributes and collection attributes:

    • Use ICommonModAttributes for standard mod properties (author, version, etc.)
    • Use ICollectionAttributes when type === "collection"
    • Index signature allows any custom attributes for game-specific extensions
    enabledINITweaks?: string[]
    fileOverrides?: string[]
    id: string
    installationPath: string
    rules?: IModRule[]
    state: ModState
    type: string

    mod type (empty string is the default) this type is primarily used to determine how and where to deploy the mod, it could be "enb" for example to tell vortex the mod needs to be installed to the game directory. Different games will have different types.

    Special types:

    • "" (empty string): Default mod type
    • "collection": Nexus Mods collection
    • "dinput": Direct input mod (e.g., 4GB patch)
    • "enb": ENB graphics mod
    • game-specific types defined by game extensions