* Get the cost for constructing this industry * @return the cost (inflation corrected etc) */
| 3201 | * @return the cost (inflation corrected etc) |
| 3202 | */ |
| 3203 | Money IndustrySpec::GetConstructionCost() const |
| 3204 | { |
| 3205 | /* Building raw industries like secondary uses different price base */ |
| 3206 | return (_price[(_settings_game.construction.raw_industry_construction == 1 && this->IsRawIndustry()) ? |
| 3207 | PR_BUILD_INDUSTRY_RAW : PR_BUILD_INDUSTRY] * this->cost_multiplier) >> 8; |
| 3208 | } |
| 3209 | |
| 3210 | /** |
| 3211 | * Get the cost for removing this industry |
no test coverage detected