Skip to content

Commit 45a6ec4

Browse files
committed
Consolidated formulas into one file
1 parent fa75ca1 commit 45a6ec4

File tree

4 files changed

+41
-38
lines changed

4 files changed

+41
-38
lines changed
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,4 +71,45 @@
7171
{ PlanetFormulas
7272
type: rock
7373
baseTraits []
74+
}
75+
76+
{ PlayerFormulas
77+
focusedResearchWeight # 4;
78+
}
79+
80+
{ ShipFormulas
81+
evasion # baseEvasion + 2 * extraThrusters - max(hullInertia - 2 * antiInertia, 0);
82+
hitPoints # hullHp * armorFactor * (1 + 0.5 * heavyArmor) / (1 + 0.5 * cargo);
83+
84+
combatSpeed # thrust + 0.05 * extraThrusters;
85+
86+
detection # hullSensor + sensor;
87+
cloaking # hullCloak + shieldCloak;
88+
jamming # hullJamming + shieldJamming;
89+
90+
scanRange # 0.5;
91+
92+
colonyPop # 500 * colony * (1 + 0.1 * colony_lvl ^ 2);
93+
colonyBuildings { Buildings
94+
Infra # 500 * colony * (1 + 0.1 * colony_lvl ^ 2);
95+
}
96+
97+
naturalCloakBonus # 5;
98+
sensorRangePenalty # -2;
99+
100+
reactorSize # hullReactor * (1 + 0.5 * extraReactor);
101+
shieldSize # hullShield;
102+
103+
repairCostFactor # 0.2;
104+
levelRefitCost # 0.2 ^ (1 - limit(lvl, 0, 5) / 5);
105+
armorCostPortion # 0.4;
106+
reactorCostPortion # 0.2;
107+
sensorCostPortion # 0.1;
108+
thrustersCostPortion # 0.2;
109+
110+
wormholeSpeed # speed + 0.5;
111+
}
112+
113+
{ StarFormulas
114+
scanRange # 2;
74115
}

build/data/statics/playerFormulas.txt

Lines changed: 0 additions & 3 deletions
This file was deleted.

build/data/statics/shipFormulas.txt

Lines changed: 0 additions & 32 deletions
This file was deleted.

build/data/statics/starFormulas.txt

Lines changed: 0 additions & 3 deletions
This file was deleted.

0 commit comments

Comments
 (0)