Thread:CMONYALL/@comment-9315056-20130713113426/@comment-3991817-20130714103333

Hey BigManitu,

The devs use three different ways in the config files to define building prices: money1, money2 and basecost. Money1 is for buildings that cost $, money2 is for buildings that cost €, and basecost is usually for buildings that cost resources or points. Upgrade costs and repair costs depend on those values. Upgrade costs for lvl1 are 0.25*money1, or 0.25*basecost, or 275*money2. Repair costs for lvl1 are 0.2*money1, or 0.2*basecost or 220*money2.

However, if money1 or money2 is used but a building also has a basecost value defined for it, the price of the building is money1 or money2, but the upgrade and repair costs will depend on the basecost value. This very rarely happens, but it did happen for the four Independence Day 2013 buildings. There was no way for us to know this since the config files have been encrypted from v2.1.3. It has always been the best guess (and worked 99% of the time) to put up a full statstable when only the price and income were known, and in my opinion there is no reason not to do this.