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

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
    }
    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),l=[o];function p(r,i,c,u,d,h){return e(),a("div",null,l)}const f=s(t,[["render",p]]);export{g as __pageData,f as default};