Пример #1
0
 /// <summary>
 /// Applied after CreateEquipmentDef runs.
 /// </summary>
 internal static void Postfix(EquipmentDef __result)
 {
     if (__result != null && Options != null)
     {
         PUtil.LogDebug("Atmo Suit: {0:D}".F(Options.AtmoSuitDecor));
         DecorTuning.TuneSuits(Options, __result);
     }
 }
Пример #2
0
 /// <summary>
 /// Applied after LoadBuildings runs.
 /// </summary>
 internal static void Postfix()
 {
     // Settings need to be read at this time
     Options = POptions.ReadSettings <DecorReimaginedOptions>() ??
               new DecorReimaginedOptions();
     PUtil.LogDebug("DecorReimaginedOptions settings: Hard Mode = {0}".F(Options.
                                                                         HardMode));
     PUtil.LogDebug("Loading decor database");
     DecorTuning.ApplyDatabase(Options);
 }
Пример #3
0
 /// <summary>
 /// Applied after Initialize runs.
 /// </summary>
 internal static void Postfix()
 {
     DecorTuning.InitEffects();
     PUtil.LogDebug("Initialized decor effects");
 }