import{_ as s,c as e,o as n,d as o}from"./app.dfaf5358.js";const F=JSON.parse('{"title":"Milestones","description":"","frontmatter":{},"headers":[],"relativePath":"public/kronos/docs/milestones.md","lastUpdated":null}'),a={name:"public/kronos/docs/milestones.md"},t=o(`

Milestones

Milestones are awarded to the player when they meet a certain goal, and give some benefit. Milestones should be formatted like this:

js
milestones: {
    0: {
        requirementDescription: "123 waffles",
        effectDescription: "blah",
        done() { return player.w.points.gte(123) }
    }
    etc
}

You can use hasMilestone(layer, id) to determine if the player has a given milestone

Milestone features:

Disaable milestone popups by adding milestonePopups: false to the layer.

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