Changes in what a 3.0 ruleset can do

Contribute, display and discuss rulesets and modpacks for use in Freeciv here.
cazfi
Elite
Posts: 3077
Joined: Tue Jan 29, 2013 6:54 pm

Re: Changes in what a 3.0 ruleset can do

Post by cazfi »

Added effect type Stealings_Ignore: patch #4787

That effect can be used to change number of techs diplomats are allowed to steal from the same city and to make stealing multiple techs easier for spies.
cazfi
Elite
Posts: 3077
Joined: Tue Jan 29, 2013 6:54 pm

Re: Changes in what a 3.0 ruleset can do

Post by cazfi »

Waste/Corruption effect that is relative to world size patch #7566

New effect type has been added that differs from old effect telling how much distance to Government Center affects waste/corruption in that the distance is considered relative to the size of the whole world. That way the distance effect adjusts to the world, and it's easier to construct rulesets that work both on small and big maps.
User avatar
dunnoob
Elite
Posts: 327
Joined: Mon Dec 23, 2013 3:13 am
Location: Hamburg
Contact:

Re: Changes in what a 3.0 ruleset can do

Post by dunnoob »

cazfi wrote: it's easier to construct rulesets that work both on small and big maps.
BTW, I'd prefer a "huts per player" instead of a "total number of huts", but maybe it's only me.
cazfi
Elite
Posts: 3077
Joined: Tue Jan 29, 2013 6:54 pm

Re: Changes in what a 3.0 ruleset can do

Post by cazfi »

dunnoob wrote:total number of huts"
That one is "huts per thousand tiles" in freeciv-2.6 and above.
sveinung
Elite
Posts: 548
Joined: Wed Feb 20, 2013 4:50 pm

Re: Changes in what a 3.0 ruleset can do

Post by sveinung »

Separate spy battle defense bonus from anti sabotage building. See bug #24956

You can now make it more difficult to sabotage a building without giving a spy battle defense bonus or vice versa.

Making buildings difficult to sabotage has moved from the Spy_Resistant effect to the new Building_Saboteur_Resistant effect. The Spy_Resistant effect is now about Spy battle defense bonus alone.
sveinung
Elite
Posts: 548
Joined: Wed Feb 20, 2013 4:50 pm

Re: Changes in what a 3.0 ruleset can do

Post by sveinung »

Long range bombardment. See patch #7604

You can now set the maximum distance the "Bombard" action can be performed from. It is set in actions.bombard_max_range. No per unit type granularity is supported.

Simple Example: allow bombarding adjacent tiles and tiles adjacent to adjacent tiles.

Code: Select all

bombard_max_range = 2
Complex Example: webperimental uses long range bombardment. View it. Play it.
cazfi
Elite
Posts: 3077
Joined: Tue Jan 29, 2013 6:54 pm

Re: Changes in what a 3.0 ruleset can do

Post by cazfi »

Server setting controlling how much distance based trade route bonuses are affected by the world size (maximum distance route can have) patch #6884
User avatar
JTN
Elite
Posts: 473
Joined: Wed Jan 30, 2013 12:15 am

Re: Changes in what a 3.0 ruleset can do

Post by JTN »

Patch #7751: new requirement "MinCalFrag" in 3.0. This filters on the "calendar fragments" (sub-year divisions) added in 2.6, and allows e.g. seasonal effects such as more food in summer.
cazfi
Elite
Posts: 3077
Joined: Tue Jan 29, 2013 6:54 pm

Re: Changes in what a 3.0 ruleset can do

Post by cazfi »

Support for unit slots for cities added: patch #1936.

Number of unit slots (limiting how many units city can support, not how many units can be present) for a city is controlled by an effect. Unit type definitions tell how many slots unit takes up. Default is 0, so infinite number of units can be supported.

Example of the things this makes possible is the original more limited feature request that inspired this patch; limiting how many gold upkeep units city can support - make only gold upkeep units to take up slots and set city slot count to suitable value with the effect.
sveinung
Elite
Posts: 548
Joined: Wed Feb 20, 2013 4:50 pm

Re: Changes in what a 3.0 ruleset can do

Post by sveinung »

The "Conquer City" action is now enabler controlled. See patch #7261

You can now add new restrictions to the rules governing when a unit can conquer a foreign city. Rule ideas:
  • A Wonder prevents city conquest for (certain) players.
  • A government forbids its nation from conquering cities.
  • A unit type is forbidden from conquering cities until a tech is discovered.
Note that "Paradrop Unit" can result in city conquest if you enable it against city tiles. The same is true when Lua's unit_teleport() and unit_move() moves a unit to a city.
Post Reply