Complete.Org: Mailing Lists: Archives: freeciv-dev: July 2000:
[Freeciv-Dev] Re: Help on fixing science wonders
Home

[Freeciv-Dev] Re: Help on fixing science wonders

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: Daniel Zinsli <s830+priv@xxxxxxxxx>
Cc: Freeciv-dev <freeciv-dev@xxxxxxxxxxx>
Subject: [Freeciv-Dev] Re: Help on fixing science wonders
From: Daniel Sjölie <deepone@xxxxxxxxxx>
Date: Mon, 3 Jul 2000 04:09:20 +0200

On 2000-07-03 01:10:57, Daniel Zinsli wrote:
> I'm trying to fix the aforementioned science wonders problem.
> This is a bug that makes the science wonders much less valuable than in
> payciv because having more than one science wonder in a city just gives
> a flat raise in bulbs produced.
> 
> I first thought of having a function calculate_city_science in
> citytools, to be used in add_buildings_effect.
> 
> However, I see that the pcity->science_bonus is used in a number of
> ways, amoung others in the ai code (which i'm *not* touching :)
> 
> Does anyone have a suggestion of a elegant solution for this problem, or
> an explanation of how the calculated bonus value is used?

Umm...
Perhaps something like this??? (not tested)
Looks like a good place to change things at least...

/Daniel

-- 
Now take a deep breath, smile and don't take life so seriously... :)

Attachment: science_wonders.diff
Description: Text document


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