Complete.Org: Mailing Lists: Archives: freeciv-dev: March 2002:
[Freeciv-Dev] Re: pop_cost not working?
Home

[Freeciv-Dev] Re: pop_cost not working?

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: <freeciv-dev@xxxxxxxxxxx>
Subject: [Freeciv-Dev] Re: pop_cost not working?
From: "Per I. Mathisen" <Per.Inge.Mathisen@xxxxxxxxxxx>
Date: Sat, 2 Mar 2002 16:45:45 +0100 (MET)

On Sat, 2 Mar 2002, Mark Metson wrote:
> I tried setting pop_cost in units.ruleset for settlers and it doesn't seem
> to work. No wonder it isnt documented. Perhaps I have it in the wrong
> place?

Looks like this part of the code should work as intended (looking at
current cvs code):

http://www.freeciv.org/lxr/source/server/cityturn.c?v=cvs#L1019
http://www.freeciv.org/lxr/source/common/unittype.c?v=cvs#L200
http://www.freeciv.org/lxr/source/server/ruleset.c?v=cvs#L664

You might be doing something wrong.

Yours,
Per

"What we anticipate seldom occurs: but what we least expect generally
happens." -- Benjamin Disraeli



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