Feature: Configure minimum share trading years

This commit is contained in:
Jack Baron
2019-10-18 01:47:29 +01:00
committed by Charles Pigott
parent 53f8d0b815
commit 7c9dedb94f
5 changed files with 18 additions and 1 deletions

View File

@@ -472,6 +472,7 @@ struct EconomySettings {
bool bribe; ///< enable bribing the local authority
bool smooth_economy; ///< smooth economy
bool allow_shares; ///< allow the buying/selling of shares
uint8 min_years_for_shares; ///< minimum age of a company for it to trade shares
uint8 feeder_payment_share; ///< percentage of leg payment to virtually pay in feeder systems
byte dist_local_authority; ///< distance for town local authority, default 20
bool exclusive_rights; ///< allow buying exclusive rights