Thanks a lot, good to know. I tried a lot more other things too and was a bit frustrated...
I am aware that it is risky to make changes to a player's basic characteristics. Part of the mod I'm writing right now is about mind control, basically it's about cuckolding where the player is increasingly manipulated, oppressed and exploited. Certain changes are of course necessary for this (if a player is not interested in such scenarios, he will hate my mod anyway and will not install it).
So I'm considering creating a random character based on the player, assigning it a global ID and making it permanent. At the end of my story, the player could thus have the choice to wake up from a nightmare and restore their original character. But I don't yet know exactly how I can implement this technically, since I need the corresponding lpcharacter file for a renewed blending. In the mod itself, however, I cannot access the data from ...\saves. Also, I don't know what number this created character is saved under, especially since it's different for every player..
In any case, I will point out in the mod description that it makes sense to create a backup of the mc character file
Lastly, I use notepad++ with RK's syntax highlighter. Without it I would be hopelessly lost