import{_ as e,c as a,o as t,N as o}from"./chunks/framework.0799945b.js";const m=JSON.parse('{"title":"Interface: AchievementOptions","description":"","frontmatter":{"editLink":false},"headers":[],"relativePath":"api/interfaces/features/achievements/achievement.AchievementOptions.md","lastUpdated":null}'),r={name:"api/interfaces/features/achievements/achievement.AchievementOptions.md"},i=o('

Interface: AchievementOptions

features/achievements/achievement.AchievementOptions

An object that configures an Achievement.

Properties

classes

Optional classes: Computable<Record<string, boolean>>

Dictionary of CSS classes to apply to this feature.

Defined in

profectus/src/features/achievements/achievement.tsx:87


display

Optional display: Computable<CoercableComponent | { effectDisplay?: CoercableComponent ; optionsDisplay?: CoercableComponent ; requirement?: CoercableComponent }>

The display to use for this achievement.

Defined in

profectus/src/features/achievements/achievement.tsx:67


image

Optional image: Computable<string>

An image to display as the background for this achievement.

Defined in

profectus/src/features/achievements/achievement.tsx:83


mark

Optional mark: Computable<string | boolean>

Shows a marker on the corner of the feature.

Defined in

profectus/src/features/achievements/achievement.tsx:79


onComplete

Optional onComplete: VoidFunction

A function that is called when the achievement is completed.

Defined in

profectus/src/features/achievements/achievement.tsx:91


requirements

Optional requirements: Requirements

The requirement(s) to earn this achievement. Can be left null if using complete.

Defined in

profectus/src/features/achievements/achievement.tsx:65


showPopups

Optional showPopups: Computable<boolean>

Whether or not to display a notification popup when this achievement is earned.

Defined in

profectus/src/features/achievements/achievement.tsx:89


small

Optional small: Computable<boolean>

Toggles a smaller design for the feature.

Defined in

profectus/src/features/achievements/achievement.tsx:81


style

Optional style: Computable<StyleValue>

CSS to apply to this feature.

Defined in

profectus/src/features/achievements/achievement.tsx:85


visibility

Optional visibility: Computable<boolean | Visibility>

Whether this achievement should be visible.

Defined in

profectus/src/features/achievements/achievement.tsx:63

',63),n=[i];function s(c,h,d,l,f,p){return t(),a("div",null,n)}const b=e(r,[["render",s]]);export{m as __pageData,b as default};