Thanks for posting the source code. Would like something a little more dynamic for my tastes. I'm thinking something like the following:
perk_cost = ((spent_perks + unspent_perks) / 10) + 5;
Might be a little more balanced than scaling solely on level (since you could max weapon/armor and sit at a level farming perks at a static conversion rate).
Problem is, I didn't see a good way to figure out the number of spent perks digging through ScriptDragon source. I suppose we could iterate through all vanilla perks and count with hasPerk, but that's not a great solution due to the potential for new perks via mods. Hopefully I missed something in there - any suggestions? If I could overcome that problem, I would probably also implement something like a scaling cost decrease based on the number of known words using isWordUnlocked method (though I suppose that raises the same issue).
One other thing - not sure if there is any way to check if a player is currently using an enchanting station, but this mod triggers when editing the name of an enchanted item (e.g. "Crafter's Chain"). Luckily I didn't have enough souls at the time. I have since changed my hotkey in the .ini, but something to consider if possible.
Thanks,
Kyne



