Followers offer free training

Post » Mon Jan 12, 2015 1:31 pm

I'd like to make a mod that makes followers offer free training. Specifically, the ShowTrainingMenu will charge "0" gold if the actor is currently your follower. Not looking to undo the Unoffical Skyrim Patch's fix for the steal-from-follower's-inventory exploit.

I've searched on Google and various forums and also extracted the Unofficial Skyrim Patch bsa for some clues but I feel that this is a truly niche concept. I cannot find any leads on what governs training costs from an in-game engine code perspective.

I feel that it can't be that complicated for someone who knows what they are doing. I am a Masters in Computer Science and have looked on google for 2 hours and have only found the TIF actor scripts which seem to be in the wrong scope for setting training costs. I'd like to find the source of the global Game.ShowTrainingMenu mechanic, and add a check for whether the actor is a follower or not in there.

Can anyone point me in the right direction? Specifically for which classes, scripts, source files, or Creation Kit menu options control training cost.

Help is very much appreciated.

User avatar
Jessica Phoenix
 
Posts: 3420
Joined: Sat Jun 24, 2006 8:49 am

Return to V - Skyrim