Summary: free_tech_method
                 Project: Freeciv
            Submitted by: cazfi
            Submitted on: Wed 24 Oct 2012 08:51:48 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



Add ruleset option free_tech_method that controls how techs given "for free"
are selected. Supported values are "Goal" that works towards players goal like
hardcoded behavior has (recently) been, and "Random" that gives random tech
for which prereqs are known.

Of supplied rulesets behavior is not changed, i.e., value "Goal" is used, for
classic, experimental, multiplayer, civ2civ3, and alien. For civ1 and civ2
rulesets value "Random" is used - if I'm not mistaken player could not select
what they get from Darwin, Philosophy, or Huts in those games.

As a side effect bug that freecost was not applied to free tech gained thanks
to another techs Bonus_Tech flag is fixed.


File Attachments:

Date: Wed 24 Oct 2012 08:51:48 PM EEST  Name: FreeTechMethod.patch  Size: 10kB
  By: cazfi



Reply to this item at:


  Message sent via/by Gna!

Freeciv-dev mailing list

Reply via email to