Complete.Org: Mailing Lists: Archives: freeciv-dev: September 2000:
[Freeciv-Dev] Re: TODO: proposal for format more flexiblerulesets
Home

[Freeciv-Dev] Re: TODO: proposal for format more flexiblerulesets

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: Erik Sigra <freeciv@xxxxxxx>
Cc: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: TODO: proposal for format more flexiblerulesets
From: Marc Strous <m.strous@xxxxxxxxxxx>
Date: Tue, 19 Sep 2000 09:49:53 +0200

In AC, artillery is an action not equal to combat. The artillery action
can be done from distance. The action transfer resources is what AC
supply crawlers/transports/gravships/whatever and Civ2 caravans can do.

so artillery is equal to the CTP "bombard" action. you shoot at an adjacent
tile without actually attacking it. it should be easy to implement by
defining a "bombard" action that will for the rest need to be hardcoded
(you need a client state 'artilery_state' to indicate the target of your
action)

transfer resources could be implemented by defining 4 scopes for pools:
nation, city, unit, tile. for example for a resource "oil" by defining two
pools "city_oil" and "unit_oil", by defining a unit "oil transport" with
actions "load oil" and "unload oil", and to define these actions in
actions.ruleset as having a target "friendly city", and to transfer a
certain amount of oil from the city pool to the unit pool and vice versa.
To enliven things up, you could also let these actions add pollution to the
pollution pool of the tile the city is on and let the action cost some gold
by removing this from the global treasury pool. sounds great, but sceince
fiction at present.

marc




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