Modify Foundation
Low-Effort EmiTheWitch mod~
This is part of the "Modify" series of mods that the mod "Extra Info" has a GUI for. Otherwise, to change the property file, which is created the first time you load one of the mods, you’ll need to go to: %appdata%/songsofsyx/settings/EmiTheWitch.txt
Modify Foundation has 2 variables you can modify that will directly edit the code files variables:
FoundationMul (double) Default 1, Range [0,99999] modifies the range, as a multiple of the default 10%, so FoundationMul = 5 makes Foundation range from 50%-150% instead of 90%-110% maintenance and cost.
FoundationMin (double) Default 0.1, Range [0,99999] This sets the minimum maintenance and building cost. A value of 0.1 means 10%.
Original Formula:return 0.1-d*0.2;
Modified Formula:return Math.max(EmiWitch.Foundation.FoundationMin-1, (0.1-d*0.2)*EmiWitch.Foundation.FoundationMul);