• 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.

GodModder

Captain
39 Badges
May 10, 2021
447
97
  • Shadowrun Returns
  • Stellaris: Leviathans Story Pack
  • Crusader Kings II: Monks and Mystics
  • Stellaris - Path to Destruction bundle
  • Stellaris: Synthetic Dawn
  • Age of Wonders III
  • Crusader Kings II: Jade Dragon
  • Stellaris: Humanoids Species Pack
  • Stellaris: Apocalypse
  • Stellaris: Distant Stars
  • Stellaris: Digital Anniversary Edition
  • Shadowrun: Hong Kong
  • Stellaris: Megacorp
  • Crusader Kings II: Holy Fury
  • Stellaris: Ancient Relics
  • Stellaris: Lithoids
  • Stellaris: Federations
  • Crusader Kings III
  • Stellaris: Necroids
  • Stellaris: Nemesis
  • Crusader Kings II: Way of Life
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sword of Islam
  • Majesty 2 Collection
  • Crusader Kings II
  • Pillars of Eternity
  • Magicka 2
  • Crusader Kings II: Horse Lords
  • Crusader Kings II: Conclave
  • Stellaris
  • Stellaris: Galaxy Edition
  • Stellaris: Galaxy Edition
  • Crusader Kings II: Reapers Due
I want my society's currency to go up per month based on how many provinces in the world match the given religion. 0.1 monthly per province, so you'd need 10 provinces matching that religion to get a full 1 extra currency per month.

This would be a triggered gain unless I'm way off my mark.

But I'm not sure how to actually put in that trigger? There's a condition num_religion_provinces, but I'm not sure I can call the value of a condition? Secondly, I'm not sure how to multiply that value (by 0.1) once I get it. I know there's the multiply_variable command, but I'm not sure how to set the number of religion provinces as a variable, given that the scripting page always notes a variable as a specific static number set by the script, so IDK how to get that religion provinces number (a dynamic value rather than a static one) into the variable.

Thanks for any help.