Re: Changes in what a 2.6 rule set can do
Posted: Fri Dec 05, 2014 1:39 pm
Changed in Freeciv 2.6/trunk: The caravan action "Help Wonder" can now be controlled by action enablers. See patch #5482
The "Help Wonder" caravan action disbands the actor unit and adds the shields used to build it to the target city.
At the moment all the action enabler control can do is to disable its action totally or to add new restrictions on top of those that already exist. All old restrictions, like the requirement that the actor unit must have the "HelpWonder" unit type flag and the requirement that it isn't possible to help a foreign city, still apply.
Example: Allow Help Wonder for non democracies.
The "Help Wonder" caravan action disbands the actor unit and adds the shields used to build it to the target city.
At the moment all the action enabler control can do is to disable its action totally or to add new restrictions on top of those that already exist. All old restrictions, like the requirement that the actor unit must have the "HelpWonder" unit type flag and the requirement that it isn't possible to help a foreign city, still apply.
Example: Allow Help Wonder for non democracies.
Code: Select all
[actionenabler_help_build_wonder]
action = "Help Wonder"
actor_reqs =
{ "type", "name", "range", "present"
"Gov", "Democracy", "Player", FALSE
}