Complete.Org: Mailing Lists: Archives: freeciv-dev: July 2002:
[Freeciv-Dev] Re: RFC: Artillery Patch
Home

[Freeciv-Dev] Re: RFC: Artillery Patch

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv development list <freeciv-dev@xxxxxxxxxxx>
Subject: [Freeciv-Dev] Re: RFC: Artillery Patch
From: Per I Mathisen <per@xxxxxxxxxxx>
Date: Mon, 1 Jul 2002 23:42:48 +0200 (MEST)

On Mon, 1 Jul 2002, Raimar Falke wrote:
> You know that you are descibing a tree here? Nice idea but it won't
> solve all of our problems. Think about a ShipBuster
> flag/group/call/whatever which you want to give to a torpedo plane and
> to a sub.

You got it backwards. We don't want to define a ShipBuster class, but a
ship class, then specify attack modifications against this class.

> Either you have a simple tree without "symlinks" and write
> something like:
>  double attack for Air/Plane/Torpedo Plane
>  double attack for Water/Underwater/Sub

No, the idea is, for each unit with special attack mods against the class
"ship", we add a line in the ruleset about this. Not the other way around.

> Or you do aliasing:
>  new class foo is Air/Plane/Torpedo Plane and Water/Underwater/Sub
>  double attack for foo

You make it much too complicated ;)

BTW I just noticed Ben had a unit classes patch already done at
freecivac.sf.net.

Yours
Per



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