From: Erik V. <eri...@xs...> - 2011-12-29 21:53:47
|
Hi Martin, “Extra tiles” in this context means “more than one *normal* tile lay”. If only one tile can be laid, there are by definition no “extra tiles”. Frankly, I don’t see your problem, but maybe I’m misunderstanding your point (it is possible that playing 18VA today has completely dumbed me). This code was written to cope with 18EU, where a minor can lay 2 tiles in its very first OR turn only. > P.s. I plan to add a Conf-Option ExtraTileLay with a Phase, Colour and number attribute, to make an "Phase permanent" extra tile Lay an configurable option for a public Company. Should it be done in PublicCompany (there might be another game besides 1880 using that feature) or should i pull it down to PublicCompany_1880 ? Please have a look at 18EU/Game.xml line 105, where the once-only extra tile lay is defined for the 18EU minors, as described above. Without the "occurrences" attribute, the extra tile lay should be permanent. Could you give BCR its own, unique company type, so that you can use this <Lay> tag the way it is? Another (slightly less desirable) option could be to add a new attribute company="BCR" to the <Lay> tag. That would obviously require some extra code, and perhaps refactoring. If this all doesn't work or is too cumbersome, you might indeed consider to put it as a special into PublicCompany_1880. Erik. |