Complete.Org: Mailing Lists: Archives: freeciv-dev: September 1999:
Re: [Freeciv-Dev] Re: Default/optional entries in rulesets
Home

Re: [Freeciv-Dev] Re: Default/optional entries in rulesets

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev@xxxxxxxxxxx
Subject: Re: [Freeciv-Dev] Re: Default/optional entries in rulesets
From: David Pfitzner <dwp@xxxxxxxxxxxxxx>
Date: Mon, 13 Sep 1999 13:06:07 +1000 (EST)

sebauer@xxxxxxxxxxx (Sebastian Bauer) wrote:

> My idea was that we should make some of the values depend on flags.
> E.g. transport_cap is only used with the "Ferryboat" Flag
> (maybe we then should rename "Ferryboat" to something like "Transport")

Notice that 

   "Ferryboat" implies (transport_cap>0)

(or at least the AI may be confused if not), but

   (transport_cap>0) does not imply "Ferryboat"

(Eg, Frigate, which is mostly offence so AI does not want
to use as ferry, and Carrier/Submarine where transport_cap
is capacity for air/missiles.)

I think the flag name is ok; it matches usage in the AI code 
(the only place it is relevant) and distinguishes it from the 
actual "Transport" unit.

> I also wanted to do this for the "partisan problem" so that
> for every unit which use the "Partisan" flag in the ruleset a new field
> "partisan_req" must appears (That's why I decided not to implement
> a Partisan tech flag ;-) )

Yes, that would be more general, but also more complicated.

-- David

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