import{_ as e,c as s,o as t,a5 as a}from"./chunks/framework.CK8QU5WH.js";const f=JSON.parse('{"title":"Upgrades","description":"","frontmatter":{},"headers":[],"relativePath":"public/gamedevtree/docs/upgrades.md","filePath":"public/gamedevtree/docs/upgrades.md"}'),i={name:"public/gamedevtree/docs/upgrades.md"},n=a(`

Upgrades

Useful functions for dealing with Upgrades and implementing their effects:

Hint: Basic point gain is calculated in mod.js's "getPointGen".

Upgrades are stored in the following format:

js
    upgrades: {
        rows: # of rows
        cols: # of columns
        11: {
            description: "Blah",
            more features
        }
        etc
    }

Each upgrade should have an id where the first digit is the row and the second digit is the column. Individual upgrades can have these features:

By default, upgrades use the main prestige currency for the layer. You can include these to change them (but it needs to be a Decimal):

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