import{_ as e,c as t,o as i,a9 as a}from"./chunks/framework.D8PMdl4T.js";const f=JSON.parse('{"title":"Challenges","description":"","frontmatter":{},"headers":[],"relativePath":"public/kronos/docs/challenges.md","filePath":"public/kronos/docs/challenges.md","lastUpdated":1621020740000}'),s={name:"public/kronos/docs/challenges.md"},n=a(`

Challenges

Challenges can have fully customizable win conditions. Useful functions for dealing with Challenges and implementing their effects:

Challenges are stored in the following format:

js
challenges: {
    11: {
        name: "Ouch",
        challengeDescription: "description of ouchie",
        canComplete: function() {return player.points.gte(100)},
        etc
    },
    etc
}

Usually, each challenge should have an id where the first digit is the row and the second digit is the column.

Individual Challenges can have these features:

The old goal system uses these features:

`,10),l=[n];function o(h,r,p,c,g,d){return i(),t("div",null,l)}const y=e(s,[["render",o]]);export{f as __pageData,y as default};