Changes in what a 3.3 ruleset can do

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

Re: Changes in what a 3.3 ruleset can do

Post by cazfi »

CanEscape as internal action, to give modders action enablers control over it. RM #391
cazfi
Elite
Posts: 3225
Joined: Tue Jan 29, 2013 6:54 pm

Re: Changes in what a 3.3 ruleset can do

Post by cazfi »

Added support for ranges Tile, CAdjacent, and Adjacent for UnitClass requirements. osdn #43704
cazfi
Elite
Posts: 3225
Joined: Tue Jan 29, 2013 6:54 pm

Re: Changes in what a 3.3 ruleset can do

Post by cazfi »

Added support for ranges Tile, CAdjacent, and Adjacent for UnitClassFlag requirements. RM #401
User avatar
Alien Valkyrie
Elite
Posts: 518
Joined: Sun Feb 10, 2013 10:21 pm
Location: Stuttgart, Germany

Re: Changes in what a 3.3 ruleset can do

Post by Alien Valkyrie »

Removed limit on requirement vector length. RM #541

Note that at some point beyond a couple hundred requirements in one place, you will run into issues transmitting ruleset data to the client as individual packets get too large. I don't expect this to ever happen in practice.
~ AVL
cazfi
Elite
Posts: 3225
Joined: Tue Jan 29, 2013 6:54 pm

Re: Changes in what a 3.3 ruleset can do

Post by cazfi »

Support added for Local range Tech requirements. RM #512

The most obvious use-case is giving science bonus for researching specific tech.
cazfi
Elite
Posts: 3225
Joined: Tue Jan 29, 2013 6:54 pm

Re: Changes in what a 3.3 ruleset can do

Post by cazfi »

Trade Goods now have a "select_priority" controlling which good trade route will carry. osdn #48250
cazfi
Elite
Posts: 3225
Joined: Tue Jan 29, 2013 6:54 pm

Re: Changes in what a 3.3 ruleset can do

Post by cazfi »

Lua: New create_trade_route() method. osdn #46550
cazfi
Elite
Posts: 3225
Joined: Tue Jan 29, 2013 6:54 pm

Re: Changes in what a 3.3 ruleset can do

Post by cazfi »

New building flag Infra for converting production into infra points. RM #563
cazfi
Elite
Posts: 3225
Joined: Tue Jan 29, 2013 6:54 pm

Re: Changes in what a 3.3 ruleset can do

Post by cazfi »

Local range supported also for TechFlag requirement. RM #573
User avatar
Alien Valkyrie
Elite
Posts: 518
Joined: Sun Feb 10, 2013 10:21 pm
Location: Stuttgart, Germany

Re: Changes in what a 3.3 ruleset can do

Post by Alien Valkyrie »

Added new requirement type MaxDistanceSq to check the (squared) distance between tiles. RM #616

This is only available in contexts where there are two separate relevant tiles: primarily action enablers, but also (at time of writing) the Trade_Revenue_Bonus (source and destination), Unit_Bribe_Cost_Pct (target and actor), and Heal_Unit_Pct (actor and target) effects. This mainly allows more easily expressing some things that would've otherwise required multiple distinct actions with different ranges.
~ AVL
Post Reply