Isenreik / IR-HoI4-Sanguinem-et-Lacrimas

Isenreik Sanguinem et Lacrimas Mod for HoI4
GNU General Public License v3.0
2 stars 2 forks source link

War Games Tech - Turn Army Experience into Doctrine Tech #127

Closed Araxiel closed 6 years ago

Araxiel commented 6 years ago

war_games_1

Allows to turn experience into bonuses for doctrines

war_games_2

Allows to switch to a different doctrine without loosing everything

Araxiel commented 6 years ago

Welp; completely needed to work around how inflexible HoI4 is with tech and was a huge pain in the ass. Potentially now there's the "problem" that if you select the decision to switch, but don't switch and take it again, you can switch to another one, and then get the bonus from both. That said...will people even notice?

Araxiel commented 6 years ago

Flexible Land Doctrine: Superior Firepower is for some reason not working?

Araxiel commented 6 years ago

I'm an idiot; bonus_amount is a temp variable, yet I didn't use clamp_temp_variable but the normal one. Meant that values of 0 or lower could happen.

Fixed now; will come with new pull-request

Araxiel commented 6 years ago

had not yet done naval and air doctrines; in the middle of doing them now

Araxiel commented 6 years ago

There might be a potential problem when there is a XOR branch; if you switch the branch, you will lose the tech, but not the variable.

I'd put this as a known-shippable for now...I don't think players ever switch a branch like that and even IF....oh well they get a bit of extra tech when then switching to another doctrine...so what