From: Erik V. <eri...@xs...> - 2012-05-15 11:37:20
|
BTW I chose the mines to be town type because towns cannot be tokened. > -----Original Message----- > From: Erik Vos [mailto:eri...@xs...] > Sent: Tuesday, May 15, 2012 1:12 PM > To: 'Development list for Rails: an 18xx game' > Subject: Re: [Rails-devel] 1837 Revenue Calculation > > See below. > > > -----Original Message----- > > From: Stefan Frey [mailto:ste...@we...] > > > B) Define the coal tiles as offboard fields. Add a > > StaticRevenueModifier > that > > removes the offboard (major scoring) node and replace it by a bonus > > vertex for the G-trains only. (Bonus vertices can be defined to be > > train > dependent, > > whereas scoring nodes have to be identical). > > I have provisionally defined the mine tiles as fixed (i.e. grey) with a town that > has zero (i.e. variable) value. > (This definition is mainly for usage in XML, the real picture will be different > once we have better SVG tiles). > I can change that if you want, but my thinking was that this hex would not > really behave as an off-board one. > And I can replace the town by a city if you prefer that. > > One potential problem is the ZKB mine tile, with has two stops: a fixed-value > village and a variable-value mine. > Can you handle that? See below. > > > C) Add a name="Mine" attribute to all mines. This automatically treats > them > > as a VertexVisitSet and thus a train can only visit one of them. > > Alternatively this could be checked in step D) too. > > In Map.xml or in TileSet.xml? > For the ZKB this should apply to only one of the two stops, so perhaps we > should add an extra 'city="1"' attribute. > > > D) Add a DynamicRevenueModifier that checks that routes of G-Trains > > have at least one mine in their route, otherwise the route will be void. > > > > I can easily add those elements, however I will wait until it is > > possible > to have > > 1837 at least startup, so that I am able to test. > > 1837 already starts, in that it displays all initial windows. I haven't tried > anything beyond that point. The only specific class is StartRound_1835; > otherwise, the 1830 rules apply. > > Erik. > > > ---------------------------------------------------------------------------- -- > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and threat > landscape has changed and how IT managers can respond. Discussions will > include endpoint security, mobile security and the latest in malware threats. > http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Rails-devel mailing list > Rai...@li... > https://lists.sourceforge.net/lists/listinfo/rails-devel |