[Freeciv-Dev] Re: Tech cost patch
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
On Wed, Nov 28, 2001 at 01:17:17PM +0200, Juha Litola wrote:
> Here is a patch implementing consistent tech costs.
And here is quick addition.
> It moves tech cost functionality to tech_cost in common/tech.c.
> It introduces new game.ruleset variable tech_cost_style.
> 0 is old style, each invention increase cost by game.researchcost.
> 1 means tech costs game.researchcost*(1+numparenttechs) where
> numparenttechs is number requirement technologies counted recursively
> Each technology is only counted once.
> 2 is same as 1 but it is additionally multiplied by
> (numplayers-civswithtech)/numplayers. This is what civ3 does if
> I have understood correctly.
3 same as 2, but civswithtech is calculated as all players we have
embassy with that has technology in question. I first tried to
count it with all civs we have contact, but client calculated
cost wrong as we don't have technology information for other
civilizations before we make embassy with them.
--
// Juha Litola
pgpcpc16pqy6y.pgp
Description: PGP signature
- [Freeciv-Dev] Tech cost patch, Juha Litola, 2001/11/28
- [Freeciv-Dev] Re: Tech cost patch,
Juha Litola <=
- [Freeciv-Dev] Re: Tech cost patch, Juha Litola, 2001/11/28
- [Freeciv-Dev] Re: Tech cost patch, Raimar Falke, 2001/11/28
- [Freeciv-Dev] Re: Tech cost patch, Petr Baudis, 2001/11/28
- [Freeciv-Dev] Tech cost patch v3, Juha Litola, 2001/11/28
- [Freeciv-Dev] Re: Tech cost patch v3, Petr Baudis, 2001/11/28
- [Freeciv-Dev] Tech cost patch v4, Juha Litola, 2001/11/28
- [Freeciv-Dev] Re: Tech cost patch v4, Paul Zastoupil, 2001/11/28
- [Freeciv-Dev] Re: Tech cost patch v4, Juha Litola, 2001/11/28
- [Freeciv-Dev] Re: Tech cost patch v3, Raimar Falke, 2001/11/28
- [Freeciv-Dev] Why not C++ style comments?, Raahul Kumar, 2001/11/29
|
|