URL:
  <http://gna.org/bugs/?20710>

                 Summary: Editor can't place Maglev in alien or experimental
rulesets
                 Project: Freeciv
            Submitted by: persia
            Submitted on: Thu 04 Apr 2013 07:58:13 AM GMT
                Category: rulesets
                Severity: 3 - Normal
                Priority: 5 - Normal
                  Status: None
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
                 Release: 2.4.99-dev-r22663
         Discussion Lock: Any
        Operating System: None
         Planned Release: 

    _______________________________________________________

Details:

    The implementation of road_deps_iterate requires that the full set of
potential requirements for a road be listed in the reqs{} section, or that
road cannot be placed in the editor on unimproved terrain and autosettlers
will not consider the base dependency road as a target if there is a desire
for the road with recursing requirements.

    For 2.6+, this should probably be addressed by some richer generalised
requirements_tree_walk feature, but for 2.5 the simple fix is to update the
rulesets to include recursively required roads, for which a patch is
attached.

    For a test condition, try placing a Maglev on unimproved terrain with
either the alien or experimental rulesets before and after this ruleset
change.



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Thu 04 Apr 2013 07:58:13 AM GMT  Name: recursive-road-reqs.patch  Size:
1kB   By: persia

<http://gna.org/bugs/download.php?file_id=17674>

    _______________________________________________________

Reply to this item at:

  <http://gna.org/bugs/?20710>

_______________________________________________
  Message sent via/by Gna!
  http://gna.org/


_______________________________________________
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev

Reply via email to