I mean I was getting overflow tech pts from having a large empire - all of europe and steppe. So i had neg econ tech pt somehow. I tech up the capital of a duchy before granting it. So if there was a way to set back everything in game to 0 to even out it would be nice
Ok. I don't know how to set tech back during game, I admit I have never seen that done in my 5+ years of modding the game.
This works just fine, in province scope for all non nomadic-rulers, character scope for nomadic rulers:
Code:
change_tech = {
technology = TECH_NAVAL
value = -1
}
You can't reduce tech by more than its current level, so use a while loop as long as it's above the desired value.
You could also skip the spending and adjust your tech points with the following commands, again in while loops to reach the desired value.
Do note while loops can't run more than 100k times, so if you want to change tech by more than that, change it in bigger increments, for example.
Code:
culture_techpoints
economy_techpoints
military_techpoints
- 1
- 1