Buildings
Island buildings: price curve, HP and level range. The Interceptor’s levels above arsenal.laser_from are its LASER levels.
patchaddreplaceremove
| File | data/buildings.json |
| Ids | pattern ^[a-z]+$; 12 in the base game |
Fields
Section titled “Fields”| Field | Type | Range | Example | What it does |
|---|---|---|---|---|
base |
number | 0 to 1e12 | 25 factory |
Price of level 1. |
blurb |
text | 1 to 120 characters; @key allowed |
Free missile on a timer. Faster every level. factory |
One line under the name. |
growth |
number | 1 to 100 | 1.62 factory |
Each level costs this much more than the last. |
hp |
number | 1 to 1e9 | 60 factory |
Hits it takes before it is knocked out. |
icon |
text | 1 to 24 characters | poi_factory factory |
Icon name from the game’s icon set. |
max |
whole number | 1 to 50 | 20 factory |
Highest level. |
name |
text | 1 to 24 characters; @key allowed |
Factory factory |
Name on the build card. |
start |
whole number | 0 to 50 | 0 factory |
Level the building starts at. |
Change a record
Section titled “Change a record”{ "patch": { "bank": { "max": 30 } } }The same from main.luau, while the mod loads:
mod.data.patch("buildings", "bank", { max = 30 })Base records
Section titled “Base records”What the base game ships, before any mod.
| Id | name |
start |
max |
base |
growth |
hp |
|---|---|---|---|---|---|---|
factory |
Factory |
0 |
20 |
25 |
1.62 |
60 |
interceptor |
Interceptors |
0 |
18 |
50 |
2.05 |
50 |
bank |
Bank |
0 |
12 |
70 |
2 |
70 |
radar |
Radar |
0 |
10 |
180 |
2.25 |
40 |
shield |
Shield Dome |
0 |
10 |
500 |
2.4 |
60 |
bunker |
Bunker |
0 |
10 |
320 |
2.3 |
90 |
flak |
Flak Gun |
0 |
10 |
40 |
2.05 |
45 |
ciws |
CIWS |
0 |
10 |
280 |
2.3 |
50 |
coastal |
Coastal Gun |
0 |
10 |
240 |
2.25 |
80 |
workshop |
Worker Hut |
0 |
6 |
120 |
2.6 |
50 |
dock |
Dock |
0 |
8 |
400 |
2.5 |
90 |
sonar |
Sonar |
0 |
10 |
900 |
2.3 |
45 |