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

                 Summary: Automatically disable barbarians if ruleset has no
barbarian units
                 Project: Freeciv
            Submitted by: cazfi
            Submitted on: Wed 04 May 2016 07:29:40 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.6.0, 3.0.0

    _______________________________________________________

Details:

Replace ruleset loading error in a case where barbarians are enabled (at that
point in time) but ruleset has no barbarian role units with automatic
adjustment of the barbarians setting.

The way this is implemented should make it easy to add other similar automatic
adjustments in the future. This functionality has also some logical ways to
extend in the future (more in trunk than in S2_6).

- Adjusted setting is also locked
- For example stub ruleset can be easily loaded with this. Before it required
special hackery (disabling barbarians once already before attempting ruleset
loading, and the usual disablement after ruleset loading reseted it to
internal default value) in case of freeciv server, and was outright impossible
with ruledit and other tools that can't adjust settings before ruleset
loading




    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Wed 04 May 2016 07:29:40 PM EEST  Name: AutolockBarbarians.patch  Size:
8kB   By: cazfi

<http://gna.org/patch/download.php?file_id=27306>
-------------------------------------------------------
Date: Wed 04 May 2016 07:29:40 PM EEST  Name: AutolockBarbarians-S2_6.patch 
Size: 8kB   By: cazfi

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

    _______________________________________________________

Reply to this item at:

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

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


_______________________________________________
Freeciv-dev mailing list
[email protected]
https://mail.gna.org/listinfo/freeciv-dev

Reply via email to