I'm just starting modding ES2, wanted to start with something simple.


Trying to create primary trait, like "Adept Workers" from Riftborn, just with bigger values.
I've followed this ExampleTrait mod, looked in original game files and StarterPack examples.
Managed to make my mod not crash the game (an achievement). 


My modification appears when creating custom race, you can select it as primary trait - but when you save the race - it does not stick. If you open up the race editor again - primary trait is set to None, if you start a game with the new race - it does not apply the effect.

What am I doing wrong?


Here are the sources of what I've done so far.


Can somebody please have a look what's happening?