static void Postfix(DescriptionTemplatesLevelup __instance, DescriptionBricksBox box, TooltipData data, bool b)
 {
     try
     {
         if (data?.Archetype == null || Main.settings?.RelaxAncientLorekeeper == true)
         {
             return;
         }
         Prerequisites(__instance, box, data.Archetype.GetComponents <Prerequisite>());
     }
     catch (Exception e)
     {
         Log.Error(e);
     }
 }
Beispiel #2
0
 static void Postfix(DescriptionTemplatesLevelup __instance, DescriptionBricksBox box, TooltipData data, bool b)
 {
     try
     {
         if (data?.Archetype == null)
         {
             return;
         }
         Prerequisites(__instance, box, data.Archetype.GetComponents <Prerequisite>(), data.ParentFeatureSelection);
     }
     catch (Exception e)
     {
         Log.Error(e);
     }
 }