[Freeciv-Dev] Re: Patch: tech advances updates
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
On Sun, 16 Jan 2000, Andrew McGuinness wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> There are six different ways of getting a new tech:
> - - research it (including getting it as a freebie after philosophy)
> - - get it from a hut
> - - get it from another player by treaty
> - - steal it with a spy
> - - find it when conquering or subverting an enemy city
> - - get it from the Great Library
What about Darwins voyage?
>
> A lot of stuff has to be done for each one - checking if city
> squares need to be upgraded to rails, incrementing researchpoints,
> checking if a different tech needs to be researched, and so on. I
> have pulled most of this into one function, and cleared up a couple
> of very small bugs on the way. (Other players with embassies not
> being informed when tech is stolen by capture, for instance).
>
> I have also provided a function notify_embassies(), to handle the
> job of notifying players who have embassies with a given player of
> things that have happened.
>
> This is my first effort in this kind of development, so all criticism is
> welcome.
>
>
> -----BEGIN PGP SIGNATURE-----
> Version: PGP 6.5.2 -- QDPGP 2.61a
> Comment: http://community.wow.net/grt/qdpgp.html
>
> iQA/AwUBOIIgxodxqqwX7vn9EQJCYACfd0KNU8vhVGBWehJEEaVNFfNxfgwAoOtz
> Y04p95oHJbemjR6rv45i+TsA
> =nR6y
> -----END PGP SIGNATURE-----
> Andrew McGuinness andrew_mcguinness@xxxxxxxxxxxxx
> Luton, Beds. UK
>
>
|
|