Changes in what a 3.0 ruleset can do

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

Re: Changes in what a 3.0 ruleset can do

Postby cazfi » Fri Aug 03, 2018 3:26 pm

Added effect type "Building_Buy_Cost_Pct" that can be used to adjust buy cost of buildings. Doubling of Great Wonder buy costs is unhardcoded with this. Feature #756718

cazfi
Elite
Posts: 1559
Joined: Tue Jan 29, 2013 6:54 pm

Re: Changes in what a 3.0 ruleset can do

Postby cazfi » Wed Aug 08, 2018 10:16 pm

Added effect type "Unit_Buy_Cost_Pct" that can be used to adjust buy cost of units. Feature #767932

sveinung
Elite
Posts: 430
Joined: Wed Feb 20, 2013 4:50 pm

Re: Changes in what a 3.0 ruleset can do

Postby sveinung » Mon Sep 03, 2018 12:40 pm

Ruleset adjustable tech theft odds. See hrm Feature #764943

The effect Action_Odds_Pct adjusts the odds of getting caught (outside of a diplomatic battle) while performing certain spy actions. It now works with the tech theft actions "Steal Tech", "Steal Tech Escape Expected", "Targeted Steal Tech" and "Targeted Steal Tech Escape Expected" too.

Example: Reduce the odds of the "Steal Tech" action to 50% of diplchance.

Code: Select all

[effect_steal_tech_half_chance]
type   = "Action_Odds_Pct"
value   = -50
reqs   =
    { "type", "name", "range", "present"
      "Action", "Steal Tech", "Local", TRUE
    }

Ignatus
Veteran
Posts: 64
Joined: Mon Nov 06, 2017 12:05 pm
Location: St.Petersburg, Russia
Contact:

Re: Changes in what a 3.0 ruleset can do

Postby Ignatus » Mon Sep 17, 2018 8:36 pm

cazfi wrote:These Conquer_Techs_Min and Conquer_Techs_Max effects got removed. Instead there's now Conquer_Tech_Pct effect that gives percentage chance that a single tech gets gained when conquering a city. Feature #73602

Conquest_Tech_Pct it's name. I put it on Wikia ruleset updating article.

cazfi
Elite
Posts: 1559
Joined: Tue Jan 29, 2013 6:54 pm

Re: Changes in what a 3.0 ruleset can do

Postby cazfi » Sun Sep 30, 2018 10:38 am

Added server setting to control climate change rate (global warming and nuclear winter): Feature #770804

cazfi
Elite
Posts: 1559
Joined: Tue Jan 29, 2013 6:54 pm

Re: Changes in what a 3.0 ruleset can do

Postby cazfi » Mon Oct 01, 2018 1:15 pm

Added 'generated' property for extras. Bug #775424

This is a workaround to the problem that extra causes like Hut and Resource affect more than just what causes extra to appear, and ruleset author may want to have those other effects without having map generator to place extras as per their cause. If 'generated' is FALSE, map generator won't place those extras. This affects Hut, Resource, and River extras.