Rails-18xx / Rails

Rails 18xx Java Application Main Repository
GNU General Public License v2.0
36 stars 22 forks source link

New config XML formats for Shares/Certificates and for Payout rules #461

Closed erik-vos closed 2 years ago

erik-vos commented 2 years ago
  1. The new <Shares> tag replaces <ShareUnit> and now allows specification of different share sizes, like ... unit="20,10". This will be used in 1826, where companies start with 5 shares, and convert later to 10-share companies. The <Certificate> tags are now children of the <Shares> tag.

  2. The <Payout> tag now also includes the details of the former <AdjustPriceOnPayout> tag.

The above changes have been applied to all Rails games. Also included:

  1. In 1851 and 18EU: implemented the (previously missed) rule that a company in its first OR may buy (but still not sell) Treasury shares. These two allowances can now be specified separately in the <TradeShares> tag. The default is that both are allowed (as in SOH).

  2. Some initial work to expand the 1826 prototype.