From: Michael A. <out...@gm...> - 2013-09-30 04:55:50
|
Sorry - I meant inside "startCompany", not "floatCompany". On Mon, Sep 30, 2013 at 12:38 AM, Michael Alexander <out...@gm... > wrote: > One way that it could be done would be to start with a 20% share defined > in the XML file, then if during the floatCompany call it was determined I > needed a 30% (or 40%) share instead, I could up the shares value in the > certificate and scrap one (or two) of the 10% shares. > > The only problem with that is that it requires the addition of a > "setShares" call inside "PublicCertificate", which in turn invalidates all > the checking that is done to make sure that exactly 100% of a company is > available. > > > On Mon, Sep 30, 2013 at 12:20 AM, Michael Alexander < > out...@gm...> wrote: > >> Are there other games that do it dynamically? Actually, the CGR in 1856 >> comes to mind... >> >> >> On Sun, Sep 29, 2013 at 11:47 PM, John A. Tamplin <ja...@ja...> wrote: >> >>> On Sun, Sep 29, 2013 at 11:45 PM, Michael Alexander < >>> out...@gm...> wrote: >>> >>>> In 1880, a player choose upon opening a company if he wants that >>>> company to have a 20%, a 30%, or a 40% president's certificate. This can't >>>> be simulated by just giving them extra 10% shares at the start, because it >>>> only counts as 1 against the share limit. Also, the president can't sell >>>> down to 30% if he has a 40% president's share (assuming he isn't dumping >>>> the company on someone who doesn't have 40%). >>>> >>>> Any advice on how to implement this? >>>> >>> >>> Many games have some president's certificates that aren't 20%, so make >>> sure it supports those as well. >>> >>> -- >>> John A. Tamplin >>> >>> >>> ------------------------------------------------------------------------------ >>> October Webinars: Code for Performance >>> Free Intel webinars can help you accelerate application performance. >>> Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most >>> from >>> the latest Intel processors and coprocessors. See abstracts and register >>> > >>> >>> http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk >>> _______________________________________________ >>> Rails-devel mailing list >>> Rai...@li... >>> https://lists.sourceforge.net/lists/listinfo/rails-devel >>> >>> >> > |