[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 Sun, 1 Dec 2002, Reinier Post via RT wrote:
> On Sun, Dec 01, 2002 at 06:42:50AM -0800, Per I. Mathisen via RT wrote:
> >
> > This patch adds the ability to restrict the availability of certain techs
> > to certain nations. Just add a new field "nations" to the [tech_name] box
> > of tech.ruleset which, if it has any entries, is a list of nations that
> > have this tech exclusively. Other nations cannot research it, steal it,
> > conquer it, find it or otherwise obtain it.
> >
> > Testers and reviewers wanted. Comments on design desired.
>
> A general comment only: whether or not a nation can use a tech
> to me seems a property of the nation, not the tech.
Perhaps a good way of solving this would be a 'tech-nations' flag field in
*both* nations and tech rulesets. It's a flat-file solution equivalent to
linking tables in a relational DB, and this does seem to be a many-to-many
relationship. This would, if properly implemented, immediately solve all
issues of transfer, etc.
--
Sam Barnett-Cormack - Been off-list for a while, but now I'm back...
Message not available
|
|