From: Stefan F. <ste...@we...> - 2014-09-04 15:17:21
|
<html> <head> </head> <body>Martin: <br> it seems the easiest solution is to adjust the method that checks if the Private blocks the hex to be parameterised with the operating company. <br> There you are able to check if both private and operating companies have the identical owner. <br> This avoids to block or unblock the hex itself. <br> In the XML definition of the private you could add something like exceptOwner in the XML tag that defines hex blocking. <br> I think it is simple and general enough to be included into the main code without requiring further examples.<br> Stefan <br> <br><br><div class="gmail_quote"><br> <br> "Dr. Martin Brumm" <dr....@t-...>schrieb:<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"> Hi,<br/> <br/> the private companies in 1837 have the power to block access to their<br/> hexes to anyone but the owner and the companies that the owner is<br/> controlling, without the companies having to buy in the privates.<br/> <br/> Currently the blocking hex state will be lifted when the private company<br/> is bought in by a major company.<br/> <br/> The special ability of the privates in 1837 are twofold, they should<br/> lift the blocking (which they currently dont) and they should level the<br/> building cost (which they do).<br/> <br/> So question to the group on how to proceed here ? Are there any other<br/> games out there with the behaviour of the privates alike to 1837 ? or<br/> are all other privates which do block hexes from the type of the<br/> 1830-privates ?<br/> <br/> I dont really see a way in the moment to temporarly lift the blocking of<br/> the hex during a major company action and have it reblock everything again.<br/> So building up a new map for the MapHexes that keeps track of the<br/> blocker ? And if that is preparing a tile lay ignore the blocked maphex ?<br/> <br/> What do you guys think or did i miss anything ?<br/> <br/> Regards,<br/> Martin<br/> <br/> ------------------------------------------------------------------------------<br/> Slashdot TV.<br/> Video for Nerds. Stuff that matters.<br/> <a href="http://tv.slashdot.org/" target="_blank">http://tv.slashdot.org/</a><br/> _______________________________________________<br/> Rails-devel mailing list<br/> Rai...@li...<br/> <a href="https://lists.sourceforge.net/lists/listinfo/rails-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/rails-devel</a><br/> </blockquote></div></body> </html> |