Complete.Org: Mailing Lists: Archives: freeciv-dev: January 2002:
[Freeciv-Dev] Re: [FreeCiv-Cvs] rfalke: Make the way in which the costs
Home

[Freeciv-Dev] Re: [FreeCiv-Cvs] rfalke: Make the way in which the costs

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: [FreeCiv-Cvs] rfalke: Make the way in which the costs for techs ar...
From: Raimar Falke <hawk@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 11 Jan 2002 15:30:17 +0100
Reply-to: rf13@xxxxxxxxxxxxxxxxxxxxxx

On Fri, Jan 11, 2002 at 06:01:01AM -0800, freeciv@xxxxxxxxxxxxxxxxxxx wrote:
> This is an automated notification of a change to freeciv cvs, 
> on Fri Jan 11 05:50:48 PST 2002 = Fri Jan 11 13:50:48 2002 (GMT)
> by Raimar Falke <rf13@xxxxxxxxxxxxxxxxxxxxxx>
> 
> ---- Files affected:
> 
> freeciv/client packhand.c
> freeciv/common capstr.c game.h packets.c packets.h tech.c tech.h
> freeciv/data/civ1 game.ruleset
> freeciv/data/civ2 game.ruleset
> freeciv/data/default game.ruleset
> freeciv/server ruleset.c rulesout.c
> 
> ---- Log message:
> 
> Make the way in which the costs for techs are determined more
> flexible. From game.ruleset:
> 
>  Method of calculating technology costs
>    0 - Civ (I|II) style. Every new tech add researchcost to cost of next tech.
>    1 - Cost of technology is (1+num_parents)*researchcost, where
>        num_parents == number of requirement for tech, counted recursively.
>    2 - Cost are read from tech.ruleset. Missing costs are generated by
>        style 1.
> 
>  Technology leak from other civilizations
>    0 - No leak
>    1 - Tech costs are multiplied by (num_players-civs_with_tech)/num_players
>    2 - Same as 1, but civs_with_tech is only counted from players you have
>        embassy with
> 
> Patch from Juha Litola <slave@xxxxxxxxxxxx>.

Note that you can get the whole tree (I think stealth-technology is at
the top of the tree) using style 0 with about 20k bulbs. If you use
style 1 you only need about 13k bulbs.

To give the user more info (especially who the costs of a tech
decrease) I added some text. What do you think about the attached
patch?

        Raimar

-- 
 email: rf13@xxxxxxxxxxxxxxxxx
 "We've all heard that a million monkeys banging on a million typewriters
  will eventually reproduce the entire works of Shakespeare.
  Now, thanks to the Internet, we know this is not true."

Attachment: tech_info1.diff
Description: Text document


[Prev in Thread] Current Thread [Next in Thread]