diff options
author | rubidium <rubidium@openttd.org> | 2007-07-06 07:24:10 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2007-07-06 07:24:10 +0000 |
commit | 0d68a919d95c9fee62bf22813365b3c5623ca1b1 (patch) | |
tree | b968dc7033dc02846b7d649f91e6effd2ae181e5 /src/industry.h | |
parent | 94315ff15f5b37f5c9c05d6a104ea73a8455b719 (diff) | |
download | openttd-0d68a919d95c9fee62bf22813365b3c5623ca1b1.tar.xz |
(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.
Diffstat (limited to 'src/industry.h')
-rw-r--r-- | src/industry.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/industry.h b/src/industry.h index 08117cbd7..505c14096 100644 --- a/src/industry.h +++ b/src/industry.h @@ -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]; |