Upgrades
Nodes of the three upgrade trees: lab, star (rebirth) and off (offline). You can add, change and remove nodes. op = "add" adds per x level to the stat; "mul" multiplies.
patchaddreplaceremove
| File | data/upgrades.json |
| Ids | pattern ^[a-z][a-z0-9_]*$; 50 in the base game |
| Required to add | tree x y name text stat op per base growth |
Fields
Section titled “Fields”| Field | Type | Range | Example | What it does |
|---|---|---|---|---|
base required |
number | 0 to 1e300 | 50 lab_core |
Price of level 1. |
best |
whole number | 1 to 31; optional (removable) | 12 late_fac |
Needs this best tier this run. |
growth required |
number | 1 to 1000000 | 1.7 lab_core |
Each level costs this much more than the last. |
max |
whole number | 1 to 100000; optional (removable) | 10 lab_core |
Highest level. Remove it for no limit. |
ms |
boolean | true, false; optional (removable) |
true fac_speed |
Milestone node: doubles at levels 25, 50, 100 and on. |
name required |
text | 1 to 16 characters; @key allowed |
LAB lab_core |
Node title. |
op required |
one of | add mul |
add lab_core |
add adds per x level; mul multiplies by it. |
per required |
number | -1000000 to 1000000 | 0.05 lab_core |
Effect per level. |
req |
object of whole numbers | { name: whole number }, each 0 or more; optional (removable) |
{ "lab_core": 1 } fac_speed |
Nodes needed first: { node_id = level }. |
soon |
boolean | true, false; optional (removable) |
true nova |
Shown as COMING SOON, not buyable. |
stars |
number | 0 to 1e300; optional (removable) | 1000000 star_deep |
Needs this many lifetime Stars. |
stat required |
one of | income factory buyCost buildCost capCost cap luck damage splash intercept radar shield swCool swCost silo starGain labCost startCash keepFactory facTier offRate offCap offBonus offStars offEarn mergeRefund autoMerge autoBuy autoLaunch bulk10 bulk100 bulkMax keepCrew |
income lab_core |
The stat the node changes. |
text required |
text | 1 to 40 characters; @key allowed |
INCOME +5% lab_core |
Effect line under the title. |
tree required |
one of | lab star off |
lab lab_core |
Which tree the node sits in. |
x required |
whole number | -50 to 50 | 0 lab_core |
Column in the tree grid. |
y required |
whole number | -50 to 50 | 0 lab_core |
Row in the tree grid. |
- A node whose
reqnames a missing node stays locked, and the log says so.
Change a record
Section titled “Change a record”{ "patch": { "lab_core": { "per": 0.07 } } }The same from main.luau, while the mod loads:
mod.data.patch("upgrades", "lab_core", { per = 0.07 })Add a record
Section titled “Add a record”{ "add": { "my_income": { "base": 100, "growth": 1.5, "max": 10, "name": "SIDE HUSTLE", "op": "add", "per": 0.02, "req": { "lab_core": 1 }, "stat": "income", "text": "INCOME +2%", "tree": "lab", "x": 3, "y": 3 } }}Base records
Section titled “Base records”What the base game ships, before any mod.
| Id | tree |
name |
stat |
op |
per |
|---|---|---|---|---|---|
lab_core |
lab |
LAB |
income |
add |
0.05 |
fac_speed |
lab |
ASSEMBLY |
factory |
add |
0.04 |
fac_burst |
lab |
TWIN LINE |
factory |
mul |
1.25 |
fac_tier |
lab |
BETTER MOLDS |
facTier |
add |
1 |
late_fac |
lab |
MEGA PLANT |
factory |
mul |
1.1 |
bank_rate |
lab |
VAULT |
income |
mul |
1.03 |
bank_comp |
lab |
COMPOUND |
income |
add |
0.1 |
bank_inv |
lab |
INVEST |
income |
mul |
1.5 |
late_core |
lab |
OVERDRIVE |
income |
mul |
1.15 |
radar_warn |
lab |
LONG EARS |
radar |
add |
0.06 |
pad_cap |
lab |
MORE PADS |
cap |
add |
1 |
cap_disc |
lab |
CHEAP PADS |
capCost |
mul |
0.95 |
merge_luck |
lab |
LUCKY WELD |
luck |
mul |
1.1 |
merge_refund |
lab |
SCRAP BIN |
mergeRefund |
add |
0.01 |
buy_disc |
lab |
BULK DEAL |
buyCost |
mul |
0.97 |
qol_bulk10 |
lab |
CRATE |
bulk10 |
add |
1 |
qol_bulk100 |
lab |
PALLET |
bulk100 |
add |
1 |
mis_dmg |
lab |
WARHEADS |
damage |
mul |
1.05 |
mis_splash |
lab |
WIDE BLAST |
splash |
add |
0.04 |
late_dmg |
lab |
TSAR LINE |
damage |
mul |
1.25 |
def_build |
lab |
BLUEPRINTS |
buildCost |
mul |
0.95 |
def_icept |
lab |
SHARP EYES |
intercept |
add |
0.01 |
def_shield |
lab |
FAST DOME |
shield |
add |
0.08 |
sw_cool |
lab |
QUICK SILO |
swCool |
mul |
0.96 |
sw_cost |
lab |
SURPLUS |
swCost |
mul |
0.95 |
silo_loot |
lab |
TROPHIES |
silo |
mul |
1.1 |
star_core |
star |
STARLIGHT |
income |
mul |
1.25 |
star_fac |
star |
STAR FORGE |
factory |
mul |
1.1 |
star_keep |
star |
OLD HANDS |
keepFactory |
add |
5 |
star_lab |
star |
GRANTS |
labCost |
mul |
0.9 |
star_dmg |
star |
STARSTEEL |
damage |
mul |
1.2 |
star_sw |
star |
ARMORY |
swCool |
mul |
0.9 |
star_silo |
star |
BOUNTY |
silo |
mul |
1.3 |
star_gain |
star |
CONSTELLATION |
starGain |
mul |
1.1 |
star_start |
star |
HEAD START |
startCash |
add |
1 |
star_cap |
star |
LAUNCH FIELD |
cap |
add |
2 |
star_luck |
star |
FOUR LEAF |
luck |
mul |
1.15 |
auto_merge |
star |
VET MERGER |
autoMerge |
add |
1 |
auto_buy |
star |
VET BUILDER |
autoBuy |
add |
1 |
bulk_max |
star |
BUY MAX |
bulkMax |
add |
1 |
auto_launch |
star |
VET GUNNER |
autoLaunch |
add |
1 |
vet_crew |
star |
VETERAN CREW |
keepCrew |
add |
1 |
star_mom |
star |
MOMENTUM |
income |
mul |
2 |
star_deep |
star |
DEEP SPACE |
income |
mul |
3 |
nova |
star |
NOVA |
income |
mul |
1 |
off_rate |
off |
NIGHT SHIFT |
offRate |
add |
0.05 |
off_cap |
off |
LONG NIGHT |
offCap |
mul |
1.25 |
off_earn |
off |
LEDGER |
offEarn |
add |
1 |
off_bonus |
off |
NIGHT FACTORY |
offBonus |
mul |
1.2 |
off_stars |
off |
DREAMS |
offStars |
add |
0.01 |