• We have updated our Community Code of Conduct. Please read through the new rules for the forum that are an integral part of Paradox Interactive’s User Agreement.

fretold

Recruit
36 Badges
May 11, 2016
8
0
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II
  • Sengoku
  • Supreme Ruler 2020
  • Imperator: Rome
  • Surviving Mars
  • Age of Wonders III
  • Crusader Kings II: Jade Dragon
  • Cities: Skylines - Parklife Pre-Order
  • Cities: Skylines - Parklife
  • Shadowrun Returns
  • Shadowrun: Dragonfall
  • Shadowrun: Hong Kong
  • Crusader Kings II: Holy Fury
  • Crusader Kings II: Reapers Due
  • Age of Wonders: Planetfall
  • Age of Wonders: Planetfall Deluxe edition
  • Crusader Kings III
  • BATTLETECH
  • Crusader Kings II: Monks and Mystics
  • Tyranny: Archon Edition
  • Hearts of Iron IV: Cadet
  • Stellaris
  • Crusader Kings II: Conclave
  • Cities: Skylines - After Dark
  • Pillars of Eternity
  • Crusader Kings II: Way of Life
  • Magicka: Wizard Wars Founder Wizard
  • Cities: Skylines
  • BATTLETECH: Flashpoint
  • Europa Universalis IV
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: Charlemagne
I released a mod that adds some additional traits (http://steamcommunity.com/sharedfiles/filedetails/?id=681816257) and found that some of the modifiers being used were not actually working ingame.

influence_add_gain = 2
influence_add_mult = 0.1
planet_clear_blocker_cost_mult = 0.5
planet_clear_blocker_speed_mult = 0.5
max_embassies = 1
max_rivalries = 1

The above appear correctly on the traits selection screen but don't seem to work in game (tile blockers still take the same amount of time and cost the same energy/minerals), and the influence stays at its base amount (3.0).

Also, I tried using writing some if/else code in the tile_blockers file to change the cost (using similar examples from other files) like this:

cost = {
if = {
limit = {z
has_trait = trait_conservationists
}
energy = 90
else = {
energy = 60
}
}
}

But that causes the game to ignore the cost entirely (clearing costs 0 energy/minerals).

I'm not sure if I am just writing the if statements incorrectly, or if these modifiers simply won't work, or if the if statements are disabled in these files.

If if statements are enabled, how would i do an if statement for a single interger (like time = 80, but it would need to be time = { if { } }