Complete.Org: Mailing Lists: Archives: freeciv-dev: March 2001:
[Freeciv-Dev] settler_worker_cost patch
Home

[Freeciv-Dev] settler_worker_cost patch

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] settler_worker_cost patch
From: Arien Malec <arien_malec@xxxxxxxxx>
Date: Mon, 5 Mar 2001 20:40:21 -0800 (PST)

Attached is a patch implementing part of the ICS defeating strategies
recently discussed: upping the cost of making settlers. This patch adds
a game.ruleset variable:

settler_worker_cost

that makes it possible to adjust how expensive it is, in terms of city
works, to create settlers/engineers.

(I think ultimately this should be a function of units.rulesets, but it
was simpler to put it in games.rulesets for now).

To implement the patch, I also made city_auto_remove_worker to take a
parameter of the number of workers to remove, and to actually decrement
city size. I think this is more modular and cleaner, but is not
actually necessary to change the Freeciv behavior.

I've tested the game with the patch: it changes the game dynamic quite
radically, even with a settler_worker_cost of 2 (note that you could
set the worker cost to 0 which would be ICS ++++).

I would also recommend creating a light terraforming unit (roads,
irrigation), to rebalance the increased settler cost (I tested game
play reusing the Elephants unit as a light terraforming unit, but of
course, one would want to create a new unit).

Have fun.

Arien

__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail. 
http://personal.mail.yahoo.com/

Attachment: settler_worker_cost_patch
Description: settler_worker_cost_patch


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