Hearts of Iron IV

Hearts of Iron IV

School for leaders
TechPower$  [desarrollador] 4 JUL 2023 a las 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
< >
Mostrando 1-1 de 1 comentarios
Johnny Chaddiver 3 FEB 2024 a las 14:54 
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
< >
Mostrando 1-1 de 1 comentarios
Por página: 1530 50