Hearts of Iron IV

Hearts of Iron IV

School for leaders
TechPower$  [kehittäjä] 4.7.2023 klo 7.51
Future plans
So, I had decided to share my plans for future updates.

Big code refactoring is upcoming.

- I found similar code in decision .txt file. I want replace hardcoded decision cost and "days" with variables.

- Remove cheats max decisoin if noone use this

- Remove separate cost and days for players and AI. Difficulty options would not be changed. You can choose between easy, normal, realistic, cheat difficulty

- add new traits that gives you +stabilty (like popular figurehead) and supply node construction speed

Question:
Why don't you just leave it as it is?
Answer:
One of piece that make mod popular is timely update. I like tis mod and want to add new trait, maintain and update it. But with current code base it is very hard. As you can see just one file
https://github.com/HOI4-mods/school_for_leaders/blob/main/common/decisions/leaders_school_decisions.txt have 21000 lines of code. It is very easy to make mistake and annoying to add new traits.

After refactoring all similar code will be merged. I hope there will be four or five times less code.
It will be easier to maintain and update
< >
Näytetään 1-1 / 1 kommentista
Is there any plans to update the mod? I've been looking at it and trying to figure out how to make it so traits on lost on a new country leader
< >
Näytetään 1-1 / 1 kommentista
Sivua kohden: 1530 50