From: <Dr....@t-...> - 2012-06-25 08:38:51
|
Hi John, that code in CompanyManager.xml is outdated. The Definition is in Game.xmlfor 18EU <Component name="PhaseManager" class="rails.game.PhaseManager"> <Phase name="2"> <Tiles colour="yellow"> <Lays companyType="Minor" colour="yellow" number="2" occurrences="1"/> <Lays companyType="Minor" colour="green" number="0"/> <Lays companyType="Minor" colour="brown" number="0"/> <Lays companyType="Minor" colour="grey" number="0"/> </Tiles> <OperatingRounds number="2"/> <Trains tradingAllowed="yes"/> </Phase> <Phase name="3"> <Tiles colour="yellow,green"/> <Trains released="P"/> </Phase> <Phase name="4"> <Trains rusted="2" limitStep="2"/> </Phase> <Phase name="5"> <Tiles colour="yellow,green,brown"/> <Trains limitStep="3"/> <OffBoardRevenue step="2"/> </Phase> <Phase name="6"> <Trains rusted="3"/> </Phase> <Phase name="8"> <Tiles colour="yellow,green,brown,grey"/> <Trains rusted="4"/> </Phase> So my current understanding is that you would have to define <Lays companyType="Major" colour="yellow" number="2"/> for each phase where that should be valid. But on a side note to EriK why do we define the other colour lays (green, brown, grey) in Phase 2 ? This seems irrelevant ? Regards, Martin Von: John David Galt <jd...@di...> An: rai...@li... Betreff: [Rails-devel] 1870 patch and questions Datum: Mon, 25 Jun 2012 00:00:00 +0200 1. This patch is to allow the private company tokens to be laid. (I realize that someone else is working on 1870, and if this isn't welcome I'll stop. I'm doing it more to teach myself the code than anything else.) 2. I haven't yet figured out how to let the major companies lay two tiles in their first turn. CompanyManager.xml does have <TileLays> <Number colour="yellow" phase="1,2,3,4,5,6,7,8" number="2"/> </TileLays> which seems to work in 18EU; I haven't figured out why it fails in 1870. 3. How do I go about getting 1837 added to the "prototype" list so I can see how it behaves so far (since I can't seem to get it to build on Windows)? |