[Freeciv-Dev] Re: (PR#2329) Portattacks 7
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
On Sat, Nov 16, 2002 at 08:03:44AM -0800, Raimar Falke via RT wrote:
> On Sat, Nov 16, 2002 at 06:59:07AM -0800, Mike Kaufman via RT wrote:
> > let me note that all this can be done with a framework of unit effects:
[snip]
> >
> > granted, unit effects are largely vapor and certainly won't see the light
> > of day before improvement effects
The current impr-gen patch, and FreecivAC CVS, have full code for this
already; below is the current impr-gen ruleset entry for the AEGIS Cruiser,
which works now...
name = _("AEGIS Cruiser")
...
effect =
{ "type", "amount", "aff_unit"
"Unit_Defend", 500, "Air"
"Unit_Defend", 500, "Heli"
"Unit_Defend", 500, "Missile"
}
Note the similarity to your example. ;)
> No problem if it can be implemented this way.
I don't see any reason why you couldn't add extra classes for your
different layers. In fact, with current FreecivAC CVS you should be able
to do this now without writing any code, since unit classes in FreecivAC
are ruleset-defined. Somebody else can mess with killstack and stuff
though...
Ben
--
ben@xxxxxxxxxxxxxxxxxxxxxx http://bellatrix.pcl.ox.ac.uk/~ben/
"If we don't succeed, we run the risk of failure."
- J. Danforth Quayle
[Freeciv-Dev] Re: (PR#2329) Portattacks 7, Raahul Kumar via RT, 2002/11/16
[Freeciv-Dev] Re: (PR#2329) Portattacks 7, Per I. Mathisen via RT, 2002/11/16
Message not available
[Freeciv-Dev] Re: (PR#2329) Portattacks 7, Per I. Mathisen via RT, 2002/11/16
[Freeciv-Dev] Re: (PR#2329) Portattacks 7, Raahul Kumar via RT, 2002/11/17
[Freeciv-Dev] Re: (PR#2329) Portattacks 7, Raahul Kumar via RT, 2002/11/17
[Freeciv-Dev] Re: (PR#2329) Portattacks 7, Raahul Kumar via RT, 2002/11/17
|
|