[Freeciv-Dev] Re: RFC: Artillery Patch
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
On Mon, Jul 01, 2002 at 11:42:48PM +0200, Per I Mathisen wrote:
> 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 ;)
But you have to specify which unit get the increased attack.
> BTW I just noticed Ben had a unit classes patch already done at
> freecivac.sf.net.
With the patch applied you still can't create your moat building
without messing with the code.
Raimar
--
email: rf13@xxxxxxxxxxxxxxxxx
A supercomputer is a computer running an endless loop in just a second
|
|