Complete.Org: Mailing Lists: Archives: freeciv-dev: May 2004:
[Freeciv-Dev] Re: (PR#6972) Wishlist: units lost on arctic
Home

[Freeciv-Dev] Re: (PR#6972) Wishlist: units lost on arctic

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: mburda@xxxxxxxxx
Subject: [Freeciv-Dev] Re: (PR#6972) Wishlist: units lost on arctic
From: "Jason Short" <jdorje@xxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 6 May 2004 13:56:58 -0700
Reply-to: rt@xxxxxxxxxxx

<URL: http://rt.freeciv.org/Ticket/Display.html?id=6972 >

Marcelo Burda wrote:

> about cities and air base. probably we need to make a check to forbide
> make these in usafe tiles. what you think?

There should be a terrain flag TER_NO_CITIES.  This should be given to 
ocean and maybe arctic.  (This is unrelated to this patch.)

You should also add an exception to the code (unit_loss_pct) for tiles 
with cities.  A unit should never be lost on a tile with a city.  This 
applies for tririemes on cities in deep ocean also (current rulesets 
don't allow deep-ocean cities; so what).  is_pos_dangerous may also need 
to check for cities.

> there are a "bug" with huts, some times this make a city on ice! i no
> like it!

There shouldn't be any huts on the arctic (TER_NOHUTS?).  The rest 
should be handled by TER_NO_CITIES.

jason




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