static Start() { var pawnSkillTimerCache = new PawnSkillTimerCache(25); var levelEventMaker = new LevelEventMaker(pawnSkillTimerCache); SkillRecordLearnPatch.InitializePatch(new Harmony("Krafs.LevelUp"), levelEventMaker); }
static Start() { var pawnSkillTimerCache = new PawnSkillTimerCache(25); var modSettings = LoadedModManager.GetMod <ModHandler>().GetSettings <Settings>(); var levelEventMaker = new LevelEventMaker(pawnSkillTimerCache, modSettings); SkillRecordLearnPatch.InitializePatch(new Harmony("Krafs.LevelUp"), levelEventMaker); }