mwg API
    Preparing search index...

    Interface AchievementDef

    interface AchievementDef {
        counter?: string;
        criteria?: AchievementCriterion[];
        description?: string;
        id: string;
        target?: number;
    }
    Index
    counter?: string

    shorthand for a single-criterion achievement; mutually exclusive with criteria

    criteria?: AchievementCriterion[]

    every criterion here must be met before this achievement unlocks; mutually exclusive with counter/target

    description?: string

    shown on an achievement screen; mwg never reads this itself

    id: string
    target?: number

    shorthand for a single-criterion achievement; mutually exclusive with criteria