Esempio n. 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);
     }
 }
Esempio n. 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);
 }
Esempio n. 3
0
 /// <summary>
 /// Applied after Initialize runs.
 /// </summary>
 internal static void Postfix()
 {
     DecorTuning.InitEffects();
     PUtil.LogDebug("Initialized decor effects");
 }