Complete.Org: Mailing Lists: Archives: freeciv-dev: December 2000:
[Freeciv-Dev] Re: More on (un)happiness
Home

[Freeciv-Dev] Re: More on (un)happiness

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: More on (un)happiness
From: Andrew McGuinness <andrew_mcguinness@xxxxxxxxxxx>
Date: Fri, 22 Dec 2000 21:43:10 +0000

On Fri, Dec 22, 2000 at 06:17:31AM -0500, Mike Jing wrote:
> ½²«íµØ <iquin@xxxxxxxxxx> wrote:
> >
> >Just a thought:
> >Introduce two new variables in ruleset: food_ini and food_inc
> >Change equation for food needed to grow city to:
> >   food_ini + (food_inc * citysize)
> 
> This has already been suggested in another list.  I think I will go ahead 
> and try to implement it.  It doesn't seem to be too hard to do.
> 
> >Disclaimer: nothing has been tested
> 
> Sure.  It has to be coded first.  :-)  I don't see anything wrong with it 
> since it is completely backward compatible.
> 
I started thinking about implementing this today. (It was I who suggested
it a day or two ago)

I was thinking in terms of leaving the "foodbox" server variable, and
adding game.ruleset parameters food_ini and food_inc, to get
(( food_ini + ((citysize*food_inc) / 16)) * foodbox )

This leaves the foodbox variable controllable from the client to tweak
the overall speed, while allowing changes to the way in which food 
varies with city size from the ruleset where "larger" game changes are

The 16 constant would allow values of, say, food_ini=2, food_inc=8, 
foodbox=10, to make the food needed grow half as fast against city size.

Of course, if you implement it, do it how you like, I am just putting
down what my thinking was.




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