(svn r10451) -Add: support for "prospecting" raw industries, i.e. you pay an amount of money and then it might (with a given chance) build a raw industry somewhere on the map.

This commit is contained in:
rubidium
2007-07-06 07:24:10 +00:00
parent 191a479e8d
commit b8f658db94
8 changed files with 78 additions and 58 deletions

View File

@@ -118,7 +118,9 @@ struct GRFFileProps {
struct IndustrySpec {
const IndustryTileTable *const *table;///< List of the tiles composing the industry
byte num_table; ///< Number of elements in the table
uint16 cost_multiplier; ///< Base cost multiplier.
uint8 cost_multiplier; ///< Base cost multiplier.
uint16 raw_industry_cost_multiplier; ///< Multiplier for the raw industries cost
uint32 prospecting_chance; ///< Chance prospecting succeeds
IndustryType conflicting[3]; ///< Industries this industry cannot be close to
byte check_proc; ///< Index to a procedure to check for conflicting circumstances
CargoID produced_cargo[2];