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

nikkythegreat

Major
42 Badges
Dec 26, 2017
740
1.843
  • Age of Wonders: Planetfall
  • Stellaris: Humanoids Species Pack
  • Stellaris: Apocalypse
  • Cities: Skylines - Parklife
  • Stellaris: Distant Stars
  • Surviving Mars: First Colony Edition
  • Cities: Skylines Industries
  • Stellaris: Megacorp
  • Imperator: Rome
  • Hearts of Iron IV: Expansion Pass
  • Stellaris: Ancient Relics
  • Hearts of Iron IV: Expansion Pass
  • Stellaris: Lithoids
  • Hearts of Iron IV: La Resistance
  • Stellaris: Federations
  • Imperator: Rome - Magna Graecia
  • Crusader Kings III
  • Battle for Bosporus
  • Empire of Sin
  • Stellaris: Necroids
  • Stellaris: Nemesis
  • Cities: Skylines - Green Cities
  • Victoria 2
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • Cities: Skylines
  • Crusader Kings II: Horse Lords
  • Cities: Skylines - After Dark
  • Stellaris
  • Hearts of Iron IV: Cadet
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Leviathans Story Pack
  • Hearts of Iron IV: Together for Victory
  • Stellaris - Path to Destruction bundle
  • Cities: Skylines - Mass Transit
  • BATTLETECH
  • Surviving Mars
  • Hearts of Iron IV: Death or Dishonor
  • Stellaris: Synthetic Dawn
  • Age of Wonders III
  • Crusader Kings II
  • Crusader Kings II: The Old Gods
So this is what I'm trying to do. I want to have a modifier that increases empire size by 6% for every planet that an empire owns. That way as your empire grows larger the more it taxes your bureaucracy.


So I'm thinking for doing this by a monthly on_action that counts the number of planets an empire has then applies the necessary modifier. I'm making 100 versions of the modifier for an empire having 1-100 planets.

So how do I create an on_action and event like this?
 
You don't create an on_action for this. You use the existing on_monthly_pulse_country.

As for events, you can check out my Bureaucratic Test Mod for an event that does something similar. I have deposits on each planet that give sprawl penalties based on the capital building.

I believe it is linked in my signature.
 
You don't create an on_action for this. You use the existing on_monthly_pulse_country.

As for events, you can check out my Bureaucratic Test Mod for an event that does something similar. I have deposits on each planet that give sprawl penalties based on the capital building.

I believe it is linked in my signature.
I tried something like this but the problem is the empire sprawl UI would be filled by +6% empire sprawl data.

That's why I wanted to make it a single modifier to it does not clutter the UI.


Edit: nevermind I just found out how.
 
Last edited: