• 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.
Aug 27, 2022
340
5.444
My first (functional) foray into mod making, the Centralized Law Pack, which gives a basic simulation of the centralization or lack thereof in your country. It's very much basic, lacking in unique graphics for the laws, but I figure it's worth posting to get feedback.

The laws added are all within the Centralization law group, and are Feudalism, Warlord States, Confederation, Federalism, and Unitary. Each give different bonuses and penalties representative of how your central government benefits and suffers from its decentralization--or lack thereof. Different IGs support different centralization methods and to different extents, and all nations start out with one of these laws (although I can't claim they're ultra-historical, and I'm pretty sure I must have missed something). I hope to add more laws and law groups over time, but I'm wary of running into the issue of ideological incoherency, as with every law you add that more than one IG has an opinion on, the lower your legitimacy is always going to be, which I'm not sure how to tackle.

One thing I want to ask, is if anyone knows how to add nation-wide tax waste as part of a law? I looked around the game's files for 10 minutes or so and couldn't figure out how.
 
  • 1Like
Reactions:
I hope to add more laws and law groups over time, but I'm wary of running into the issue of ideological incoherency, as with every law you add that more than one IG has an opinion on, the lower your legitimacy is always going to be, which I'm not sure how to tackle.
You can work around it by adding a -x% Ideological Coherence Penalty to the base values in the static modifiers, and then reducing all other buffs or penalties to that modifier - but it's heavy-handed and likely to break compatibility with any larger mod.

If you're fine with staying modest (not messing with what everything does) you can also add it to your own laws, since every country will have one active at all times.

One thing I want to ask, is if anyone knows how to add nation-wide tax waste as part of a law? I looked around the game's files for 10 minutes or so and couldn't figure out how.
Code:
state_tax_waste_add = x
Most of the "state" modifiers automatically apply to everywhere when used in a country scope. Oh and don't worry, it shows up in tooltips just fine too.
 
You can work around it by adding a -x% Ideological Coherence Penalty to the base values in the static modifiers, and then reducing all other buffs or penalties to that modifier - but it's heavy-handed and likely to break compatibility with any larger mod.

If you're fine with staying modest (not messing with what everything does) you can also add it to your own laws, since every country will have one active at all times.


Code:
state_tax_waste_add = x
Most of the "state" modifiers automatically apply to everywhere when used in a country scope. Oh and don't worry, it shows up in tooltips just fine too.
Thank you for the advice!
 
I went ahead and updated the mod quite a bit, and did a campaign to playtest it. It seems to be working fine (for now), and with BPZ's help I got the tax waste working on Federalism. The current addition I made is to separate the "Economic system" law into two categories, one called Urbanization and the other called Land Reform, each which have their own effects on either the manufacturing or agricultural sectors. The Land Reform laws even add new ownership production methods for subsistence farms, which I might or might not expand into other agricultural buildings.

I often found it frustrating how capitalists would refuse to invest in agriculture despite it being perfectly profitable, which usually lead to the investment pool being a total money sink that was unused for years at a time (if ever), so while many laws have restrictions on what buildings will be investment pool'd, just about any combination of these laws will result in the vast majority of buildings being possible to construct from the investment pool. This is a deliberate decision, though it does affect the balance a bit. The only thing you're likely to be lacking in ability to do is subsidization, depending on your laws.