From: Bill R. <ro...@gm...> - 2011-03-28 05:13:46
|
On 2011-03-27, at 0:49 , Scott Petersen wrote: > On Sat, Mar 26, 2011 at 11:36 AM, John A. Tamplin <ja...@ja...> wrote: > Since various games have different limits on the purchase price, I suggest instead having a maximum price it can be purchased for by a company, and 0 means it can't be purchased. > > The variable purchase prices are already well implemented and are changeable with XML. I suppose it would work to override it (buy in multiplier is zero) for certain companies, but it would be even better if it did not even show up in the list of privates to buy in. Is there any documentation on this? I can't find any place in the code that reads the XML for a private company that anything like a buy in multiplier is read or set per private company. I *can* find this in the PublicCompany class, but if I want to have different multipliers for different private companies (so that, for instance, in 1848 the various privates can be bought in for different ranges of values), this doesn't seem to work. I can get around this by setting different base prices for the privates, and then writing extra code so that they are sold for some other price in the auction, but this seems not like the best way to proceed. Bill Rosgen |