[Freeciv-Dev] Re: (PR#2464) patch: restrict techs by nation
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
On Wed, 4 Dec 2002, Raimar Falke via RT wrote:
> > And we can't copy the nation requirements, because we may have two
> > different sets of nation requirements from our two requirement techs.
>
> So what is the problem?
>
> > For example:
> >
> > [advance_sauronsupernavigation]
> > name = _("Sauron's Super Navigation")
> > req1 = "Normal Navigation"
> > req2 = "Sauronification"
> > flags = ""
>
> >nations= "Sauron"
>
> nations= ""
This is the problem.
req1 gives an inheritance of "All", while req2 gives an inheritance of
"Sauron", and neither is automatically correct, so you must say explicitly
what the resulting nation allowances should be.
Your suggestion will only work if both requirements have the same set of
allowed nations or one has an empty set. And then we'd have to introduce
the "All" special word to indicate that we mean all nations and not
inheritance when we give an empty set...
No, I'd rather spell out all the nation restrictions. It is the simplest
way. You are trying to make it too complicated.
- Per
[Freeciv-Dev] Re: (PR#2464) patch: restrict techs by nation, Per I. Mathisen via RT, 2002/12/02
[Freeciv-Dev] Re: (PR#2464) patch: restrict techs by nation, Per I. Mathisen via RT, 2002/12/03
[Freeciv-Dev] Re: (PR#2464) patch: restrict techs by nation, Per I. Mathisen via RT, 2002/12/04
[Freeciv-Dev] Re: (PR#2464) patch: restrict techs by nation,
Per I. Mathisen via RT <=
Message not available
[Freeciv-Dev] Re: (PR#2464) patch: restrict techs by nation, Per I. Mathisen via RT, 2002/12/04
[Freeciv-Dev] Re: (PR#2464) patch: restrict techs by nation, Gregory Berkolaiko via RT, 2002/12/12
[Freeciv-Dev] Re: (PR#2464) patch: restrict techs by nation, Per I. Mathisen via RT, 2002/12/15
|
|