Summary: Allow rulesets without Railroad, or without any road
                 Project: Freeciv
            Submitted by: cazfi
            Submitted on: Fri 13 Apr 2012 04:37:45 PM EEST
                Category: general
                Priority: 5 - Normal
                  Status: Ready For Test
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: 2.5.0



Attached patch allows ruleset to defined less than two roads. Their order in
relation to compat_specials is still important, so one can omit Railroad or
both Railroad and Road, but not Road alone.

Original plan was to support such rulesets only a bit later, but I just found
out that existing ruleset already requires this - ancients ruleset had no tech
with flag "Railroad" and thus it was never possible to build railroads. As we
have no requirement "Never" (adding one would make sense for situations like
this in general) to put to Railroad requirement list, this cannot be recreated
with current codebase with Railroad defined.


File Attachments:

Date: Fri 13 Apr 2012 04:37:45 PM EEST  Name: LessThan2Roads.diff  Size: 4kB  
By: cazfi



Reply to this item at:


  Message sent via/by Gna!

Freeciv-dev mailing list

Reply via email to