Complete.Org: Mailing Lists: Archives: freeciv-dev: February 1999:
Re: [Freeciv-Dev] [PATCH] new city options: disband, make new citizens s
Home

Re: [Freeciv-Dev] [PATCH] new city options: disband, make new citizens s

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev@xxxxxxxxxxx
Subject: Re: [Freeciv-Dev] [PATCH] new city options: disband, make new citizens scientists/taxmen
From: schaefer@xxxxxxxxxxxxxxxxxxxxxxxxxxx (Peter Schaefer)
Date: Tue, 16 Feb 1999 12:05:03 +0100
Reply-to: freeciv-dev@xxxxxxxxxxx

>Anybody knows how civ/civ2 handles this?

Like in 
 id= find_closest_city(here->x, here->y);
 if( is_owncity(id) )
        settler_is_supplied_by(id)
 else
        settler_is_supplied_by(id_NONE)

Same rule applies for units acquired by bribing.
(Speaking from civ1)
In words: You get a handy NONE settler if you aacquire it at a place
that is closer to a city not yours than one of your own.
--
Peter Schaefer           mailto:schaefer@xxxxxxxxxxxxxxxxxxxxxxxxxxx     
X-Url: http://wwwhoppe.math.uni-augsburg.de/~schaefer/
coz' hackers LOVE irix

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