import{_ as e,o as n,c as s,Q as a}from"./chunks/framework.1169fbc9.js";const y=JSON.parse('{"title":"Challenges","description":"","frontmatter":{},"headers":[],"relativePath":"public/kronos/docs/challenges.md","filePath":"public/kronos/docs/challenges.md","lastUpdated":1664930814000}'),l={name:"public/kronos/docs/challenges.md"},t=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
}
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),o=[t];function i(r,p,c,h,u,g){return n(),s("div",null,o)}const f=e(l,[["render",i]]);export{y as __pageData,f as default};