Skip to content

A new upgrade node

Add a node to the lab tree: +2% income per level, after the first lab node.

data/upgrades.json
{
"add": {
"side_hustle": {
"tree": "lab",
"x": 3,
"y": 3,
"name": "@hustle.name",
"text": "@hustle.text",
"stat": "income",
"op": "add",
"per": 0.02,
"base": 100,
"growth": 1.5,
"max": 10,
"req": { "lab_core": 1 }
}
}
}
strings/en.json
{
"hustle.name": "SIDE HUSTLE",
"hustle.text": "INCOME +2% PER LEVEL"
}
  • tree is lab, star or off; x and y place the node on the tree’s grid, -50 to 50.
  • stat and op say what it changes: here it adds per (0.02) to income for each level.
  • Level 1 costs base; each level costs growth times the last. max caps the levels.
  • req unlocks it once lab_core is at level 1.

Every stat, and the base nodes with their positions: upgrades.