[Freeciv-Dev] Re: (PR#8797) ocean cities and TER_NO_CITIES
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
<URL: http://rt.freeciv.org/Ticket/Display.html?id=8797 >
On Fri, May 21, 2004 at 07:59:23PM -0700, Jason Short wrote:
>
> <URL: http://rt.freeciv.org/Ticket/Display.html?id=8797 >
>
> Currently some code assumes that there can be no cities on the ocean.
> For instance when transforming terrain you have to check that the target
> can support cities (if there's a city on the tile).
>
> But other more recent code allows ocean cities. However in the default
> ruleset it should not be possible to change a city tile into ocean.
>
> The only reasonable way to resolve this is a new terrain flag,
> TER_NO_CITIES. This is added to ocean in all current rulesets to
> prevent cities on the ocean.
>
> I think glacier should get the NoCities flag in the default and history
> rulesets. But this is a rules change and I'll leave it for later.
A good idea. However you assume in city_can_be_built_here that unit
with the "Cities" flag can be built a city anywhere. I think this
wasn't the case in SMAC. We need multiple "Cities" flags. And maybe
also multiple "Settlers" and "Transform" flags.
Raimar
--
email: rf13@xxxxxxxxxxxxxxxxx
One nuclear bomb can ruin your whole day.
- [Freeciv-Dev] Re: (PR#8797) ocean cities and TER_NO_CITIES,
Raimar Falke <=
|
|