URL:
  <http://gna.org/patch/?2995>

                 Summary: Option to disable nations.ruleset warnings about
missing city styles
                 Project: Freeciv
            Submitted by: cazfi
            Submitted on: Fri 28 Oct 2011 11:40:31 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.4.0

    _______________________________________________________

Details:

We want to support reusing existing nations in different rulesets if special
nations are not needed for ruleset/modpack. That can (and often is) done by
including subset of standard nations to nations.ruleset.
One problem with this kind of reuse is that some information in nation
rulesets is specific to default (or similar) ruleset. Most notable problem of
that kind I have encountered with alien ruleset reusing default nations are
city styles. Loading alien ruleset gives warning about every nation that is
defined to have city style not present in alien ruleset.
We do want to keep warning in use for default rulesets so that we catch typos
in nation files. My solution is to add option to main nations.ruleset
controlling if such warnings about individual nation files should be enabled
or not, defaulting to enabled. Attached patch does just that. Default rulesets
are not changed at all, but custom rulesets can disable these warnings.



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Fri 28 Oct 2011 11:40:31 PM EEST  Name: WarnCityStyleCompat.diff  Size:
1kB   By: cazfi

<http://gna.org/patch/download.php?file_id=14305>

    _______________________________________________________

Reply to this item at:

  <http://gna.org/patch/?2995>

_______________________________________________
  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