[Freeciv-Dev] Re: Help on fixing science wonders
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
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... :)
science_wonders.diff
Description: Text document
|
|