public static void OnLoad()
 {
     ImaginationLoader.Init(typeof(DecorReimaginedPatches));
     Options = new DecorReimaginedOptions();
     POptions.RegisterOptions(typeof(DecorReimaginedOptions));
     PUtil.RegisterPatchClass(typeof(DecorReimaginedPatches));
     PatchParks();
     PatchRecBuildings();
 }
            public static void OnLoad()
            {
                PUtil.InitLibrary();
                POptions.RegisterOptions(typeof(Settings));
                Settings.PLib_Initalize();

                //ModInfo.Initalize(ModInfo.GetAssemblyVersion(), true, 464434);
                ModInfo.Instance.VersionAlert(DlcManager.IsExpansion1Active(), "OnLoad() version check");
                ModInfo.Instance.LogDetails();
            }
Exemple #3
0
        public override void OnLoad(Harmony harmony)
        {
            POptions opt = new POptions();

            opt.RegisterOptions(this, typeof(ModSettings));

            base.OnLoad(harmony);

            Debug.Log($"Loaded Mod: ID={this.mod.staticID}, Version={this.mod.packagedModInfo.version}");
        }
Exemple #4
0
        public override void OnLoad(Harmony harmony)
        {
            CaiLib.Logger.Logger.LogInit();
            POptions pOptions = new POptions();

            pOptions.RegisterOptions(this, typeof(Config));
            BigStorageConfigMod._configManager = new ConfigManager <Config>(null, "config.json");
            BigStorageConfigMod._configManager.ReadConfig(null);
            harmony.PatchAll();
        }
Exemple #5
0
 public static void OnLoad()
 {
     bicCompat        = null;
     buildingInstance = new BuildThermalTooltip();
     PUtil.InitLibrary();
     POptions.RegisterOptions(typeof(ThermalTooltipsOptions));
     PLocalization.Register();
     TooltipInstance = null;
     PUtil.RegisterPatchClass(typeof(ThermalTooltipsPatches));
 }
Exemple #6
0
        public override void OnLoad(Harmony harmony)
        {
            base.OnLoad(harmony);

            PUtil.InitLibrary();
            pOption = new POptions();

            pOption.RegisterOptions(this, typeof(FluidShippingOptions));

            Options = new FluidShippingOptions();
        }
Exemple #7
0
        public override void OnLoad(Harmony harmony)
        {
            PUtil.InitLibrary();

            Options = new POptions();
            Options.RegisterOptions(this, typeof(ModSettings));

            ModStrings.STRINGS.BUILDINGS.STIRLINGENGINE.DESC = $"Draws up to {StirlingEngine.WattsToHeat(ModSettings.Instance.MaxWattOutput):F0} DTU/s of heat from the cell below the floor and converts it to power. The amount of heat drawn is based on the ratio of building temperature vs temperature below the floor tile.";

            base.OnLoad(harmony);
        }
Exemple #8
0
        public static void OnLoad()
        {
            PUtil.InitLibrary();
            to11 = new Temperature();
            var tr11 = Traverse.Create(to11);

            tr11.SetProperty("min", 80.0f);
            tr11.SetProperty("max", 110.0f);
            PLocalization.Register();
            POptions.RegisterOptions(typeof(Challenge100KOptions));
            PUtil.RegisterPatchClass(typeof(Challenge100K));
        }
 public static void OnLoad()
 {
     PUtil.InitLibrary();
     PLocalization.Register();
     LocString.CreateLocStringKeys(typeof(ToastControlStrings.UI));
     POptions.RegisterOptions(typeof(ToastControlOptions));
     PUtil.RegisterPatchClass(typeof(ToastControlPopups));
     ToastControlPopups.ReloadOptions();
     // No default key bind
     inGameSettings = PAction.Register(ToastControlStrings.ACTION_KEY,
                                       ToastControlStrings.ACTION_TITLE);
 }
Exemple #10
0
        public static void OnLoad(string modPath)
        {
            OnLoadPatch.modPath = modPath;

            // Init PLib and settings
            PUtil.InitLibrary();
            POptions.RegisterOptions(typeof(EmptyWorldsOptions));

            Settings = POptions.ReadSettings <EmptyWorldsOptions>();
            if (Settings == null)
            {
                Settings = new EmptyWorldsOptions();
            }
        }
        public static void OnLoad(string path)
        {
            var inst = ModDebugRegistry.Instance;

            RunningPLibAssembly = typeof(PUtil).Assembly;
            PUtil.InitLibrary();
            if (DebugNotIncludedOptions.Instance?.DetailedBacktrace ?? true)
            {
                DebugLogger.InstallExceptionLogger();
            }
            POptions.RegisterOptions(typeof(DebugNotIncludedOptions));
            if (DebugNotIncludedOptions.Instance?.LogAsserts ?? true)
            {
                LogAllFailedAsserts();
            }
            // Patch the exception logger for state machines
            var logException = typeof(DebugUtil).GetMethodSafe("LogException", true,
                                                               PPatchTools.AnyArguments);

            if (logException != null)
            {
                inst.DebugInstance.Patch(logException, prefix: new HarmonyMethod(typeof(
                                                                                     DebugLogger), nameof(DebugLogger.LogException)));
            }
            foreach (var mod in Global.Instance.modManager?.mods)
            {
                if (mod.label.install_path == path)
                {
                    ThisMod = mod;
                    break;
                }
            }
            if (ThisMod == null)
            {
                DebugLogger.LogWarning("Unable to determine KMod instance!");
            }
            else
            {
                inst.RegisterModAssembly(Assembly.GetExecutingAssembly(), inst.GetDebugInfo(
                                             ThisMod));
            }
            // Default UI debug key is ALT+U
            UIDebugAction = PAction.Register("DebugNotIncluded.UIDebugAction",
                                             DebugNotIncludedStrings.KEY_SNAPSHOT, new PKeyBinding(KKeyCode.U,
                                                                                                   Modifier.Alt));
            // Must postload the mods dialog to come out after aki's mods, ony's mods, PLib
            // options, and so forth
            PUtil.RegisterPostload(PostloadHandler);
        }
Exemple #12
0
        public override void OnLoad(Harmony harmony)
        {
            PUtil.InitLibrary();

            Options = new POptions();

            Settings = POptions.ReadSettings <ModSettings>();
            if (Settings == null)
            {
                Settings = new ModSettings();
                POptions.WriteSettings(Settings);
            }
            Options.RegisterOptions(this, typeof(ModSettings));

            base.OnLoad(harmony);
        }
Exemple #13
0
        public static void OnLoad(string path)
        {
            PUtil.InitLibrary(true);
            PLocalization.Register();
            POptions.RegisterOptions(typeof(SandboxConduitToolSettings));

            ReadOptions();

            PKeyBinding pKeyBinding = null;

            if (KKeyCodeUtil.TryParse(SandboxConduitToolSettings.Instance.Hotkey, out KKeyCode keyCode, out Modifier modifier))
            {
                pKeyBinding = new PKeyBinding(keyCode, modifier);
            }
            PAction = PAction.Register("SandboxConduitToolAction", "Sandbox Conduit Tool", pKeyBinding);
        }
Exemple #14
0
        public static void OnLoad(string path)
        {
            var inst = ModDebugRegistry.Instance;

            RunningPLibAssembly = typeof(PUtil).Assembly;
            PUtil.InitLibrary();
            if (DebugNotIncludedOptions.Instance?.DetailedBacktrace ?? true)
            {
                DebugLogger.InstallExceptionLogger();
            }
            POptions.RegisterOptions(typeof(DebugNotIncludedOptions));
            // Set up strings
            LocString.CreateLocStringKeys(typeof(DebugNotIncludedStrings.UI));
            LocString.CreateLocStringKeys(typeof(DebugNotIncludedStrings.INPUT_BINDINGS));
            PLocalization.Register();
            if (DebugNotIncludedOptions.Instance?.LogAsserts ?? true)
            {
                LogAllFailedAsserts();
            }
            foreach (var mod in Global.Instance.modManager?.mods)
            {
                if (mod.GetModBasePath() == path)
                {
                    ThisMod = mod;
                    break;
                }
            }
            if (ThisMod == null)
            {
                DebugLogger.LogWarning("Unable to determine KMod instance!");
            }
            else
            {
                inst.RegisterModAssembly(Assembly.GetExecutingAssembly(), inst.GetDebugInfo(
                                             ThisMod));
            }
            // Default UI debug key is ALT+U
            UIDebugAction = PAction.Register("DebugNotIncluded.UIDebugAction",
                                             DebugNotIncludedStrings.INPUT_BINDINGS.DEBUG.SNAPSHOT, new PKeyBinding(
                                                 KKeyCode.U, Modifier.Alt));
            // Must postload the mods dialog to come out after aki's mods, ony's mods, PLib
            // options, and so forth
            PUtil.RegisterPatchClass(typeof(DebugNotIncludedPatches));
        }
Exemple #15
0
        public static void OnLoad(string path)
        {
            PUtil.InitLibrary();
            POptions.RegisterOptions(typeof(ModUpdateInfo));
            PLocalization.Register();
            // Try to read the backup config first
            string backupPath = ExtensionMethods.BackupConfigPath;

            if (File.Exists(backupPath))
            {
                try {
                    // Copy and overwrite our config if possible
                    File.Copy(backupPath, ExtensionMethods.ConfigPath, true);
                    File.Delete(backupPath);
                    PUtil.LogDebug("Restored configuration settings after self-update");
                } catch (IOException) {
                    PUtil.LogWarning("Unable to restore configuration for Mod Updater");
                }
            }
            public static void OnLoad()
            {
                StartLogging();
                PUtil.InitLibrary(false);
                PUtil.RegisterPostload(CompatabilityPatches.DoPatches);
                POptions.RegisterOptions(typeof(CarbonOption));

                Traverse.Create <OilFloaterConfig>().Field <float>("KG_ORE_EATEN_PER_CYCLE").Value         = 40f;
                Traverse.Create <OilFloaterConfig>().Field <float>("CALORIES_PER_KG_OF_ORE").Value         = OilFloaterTuning.STANDARD_CALORIES_PER_CYCLE / 40f;
                Traverse.Create <OilFloaterHighTempConfig>().Field <float>("KG_ORE_EATEN_PER_CYCLE").Value = 40f;
                Traverse.Create <OilFloaterHighTempConfig>().Field <float>("CALORIES_PER_KG_OF_ORE").Value = OilFloaterTuning.STANDARD_CALORIES_PER_CYCLE / 40f;

                // Add Coalplant crop type
                TUNING.CROPS.CROP_TYPES.Add(
                    new Crop.CropVal("Carbon", CoalPlantConfig.LIFECYCLE, (int)CoalPlantConfig.COAL_PRODUCED));
                var RESONANT_NUM_SEEDS = ResonantPlantConfig.COAL_PRODUCED_TOTAL / ResonantPlantConfig.COAL_PER_SEED;

                TUNING.CROPS.CROP_TYPES.Add(
                    new Crop.CropVal(ResonantPlantConfig.SEED_ID, ResonantPlantConfig.LIFECYCLE, (int)RESONANT_NUM_SEEDS));
            }
Exemple #17
0
        public static void OnLoad()
        {
            PUtil.InitLibrary();
            POptions.RegisterOptions(typeof(Always3InterestsSettings));
            settings = new Always3InterestsSettings();
            ReadSettings();

            var customAttributes = new int[] {
                settings.pointsWhen1Interest,
                settings.pointsWhen2Interest,
                settings.pointsWhen3Interest,
                settings.pointsWhenMoreThan3Interest,
                settings.pointsWhenMoreThan3Interest,
                settings.pointsWhenMoreThan3Interest,
                settings.pointsWhenMoreThan3Interest,
                settings.pointsWhenMoreThan3Interest,
                settings.pointsWhenMoreThan3Interest,
                settings.pointsWhenMoreThan3Interest,
                settings.pointsWhenMoreThan3Interest
            };

            Traverse.Create <DUPLICANTSTATS>().Field <int[]>("APTITUDE_ATTRIBUTE_BONUSES").Value = customAttributes;
        }
        public static void OnLoad()
        {
            PUtil.InitLibrary();
            PUtil.RegisterPatchClass(typeof(NoManualDeliveryPatches));
            POptions.RegisterOptions(typeof(NoManualDeliveryOptions));

            NoManualDeliveryOptions.Reload();

            // хак для того чтобы разрешить руке хватать бутылки
            if (NoManualDeliveryOptions.Instance.AllowTransferArmPickupGasLiquid)
            {
                SolidTransferArm.tagBits = new TagBits(STORAGEFILTERS.NOT_EDIBLE_SOLIDS.Concat(STORAGEFILTERS.FOOD).Concat(STORAGEFILTERS.GASES).Concat(STORAGEFILTERS.LIQUIDS).ToArray());

                BuildingToMakeAutomatable.AddRange(BuildingToMakeAutomatableWithTransferArmPickupGasLiquid);
            }

            // подготовка хака, чтобы разрешить дупликам забирать жеготных из инкубатора и всегда хватать еду
            AlwaysCouldBePickedUpByMinionTags = new Tag[] { GameTags.Creatures.Deliverable };
            if (NoManualDeliveryOptions.Instance.AllowAlwaysPickupEdible)
            {
                AlwaysCouldBePickedUpByMinionTags = AlwaysCouldBePickedUpByMinionTags.Concat(STORAGEFILTERS.FOOD).Add(GameTags.MedicalSupplies).ToArray();
            }
        }
Exemple #19
0
 public static void OnLoad()
 {
     PUtil.InitLibrary();
     POptions.RegisterOptions(typeof(SpeedOptions));
 }
Exemple #20
0
 public static void OnLoad()
 {
     StartLogging();
     PUtil.InitLibrary(false);
     POptions.RegisterOptions(typeof(AdvancedStartOptions));
 }
 public static void OnLoad()
 {
     PUtil.InitLibrary();
     POptions.RegisterOptions(typeof(SweepByTypeOptions));
     Options = null;
 }
 public static void OnLoad()
 {
     PUtil.InitLibrary();
     options = new DeselectMaterialsOptions();
     POptions.RegisterOptions(typeof(DeselectMaterialsOptions));
 }
Exemple #23
0
 public static void OnLoad()
 {
     POptions.RegisterOptions(typeof(CarePackageState));
 }
Exemple #24
0
 public static void OnLoad()
 {
     StartLogging();
     PUtil.InitLibrary(false);
     POptions.RegisterOptions(typeof(StoragePodOptions));
 }
 public static void OnLoad()
 {
     StartLogging();
     PUtil.InitLibrary(false);
     POptions.RegisterOptions(typeof(PrintingPodRefundSettings));
 }
Exemple #26
0
        public static void OnLoad()
        {
            PUtil.InitLibrary(false);
            POptions.RegisterOptions(typeof(BlueprintsOptions));

            Assembly currentAssembly          = Assembly.GetExecutingAssembly();
            string   currentAssemblyDirectory = Path.GetDirectoryName(currentAssembly.Location);

            BlueprintsAssets.BLUEPRINTS_CREATE_ICON_SPRITE       = Utilities.CreateSpriteDXT5(Assembly.GetExecutingAssembly().GetManifestResourceStream("Blueprints.image_createblueprint_button.dds"), 32, 32);
            BlueprintsAssets.BLUEPRINTS_CREATE_ICON_SPRITE.name  = BlueprintsAssets.BLUEPRINTS_CREATE_ICON_NAME;
            BlueprintsAssets.BLUEPRINTS_CREATE_OPENTOOL          = PAction.Register("Blueprints.create.opentool", "Create Blueprint", new PKeyBinding(KKeyCode.None, Modifier.None));
            BlueprintsAssets.BLUEPRINTS_CREATE_VISUALIZER_SPRITE = Utilities.CreateSpriteDXT5(Assembly.GetExecutingAssembly().GetManifestResourceStream("Blueprints.image_createblueprint_visualizer.dds"), 256, 256);

            BlueprintsAssets.BLUEPRINTS_USE_ICON_SPRITE              = Utilities.CreateSpriteDXT5(Assembly.GetExecutingAssembly().GetManifestResourceStream("Blueprints.image_useblueprint_button.dds"), 32, 32);
            BlueprintsAssets.BLUEPRINTS_USE_ICON_SPRITE.name         = BlueprintsAssets.BLUEPRINTS_USE_ICON_NAME;
            BlueprintsAssets.BLUEPRINTS_USE_OPENTOOL                 = PAction.Register("Blueprints.use.opentool", "Use Blueprint", new PKeyBinding(KKeyCode.None, Modifier.None));
            BlueprintsAssets.BLUEPRINTS_USE_CREATEFOLDER             = PAction.Register("Blueprints.use.assignfolder", "Assign Folder", new PKeyBinding(KKeyCode.Home, Modifier.None));
            BlueprintsAssets.BLUEPRINTS_USE_RENAME                   = PAction.Register("Blueprints.use.rename", "Rename Blueprint", new PKeyBinding(KKeyCode.End, Modifier.None));
            BlueprintsAssets.BLUEPRINTS_USE_CYCLEFOLDERS_NEXT        = PAction.Register("Blueprints.use.cyclefolders.next", "Next Folder", new PKeyBinding(KKeyCode.UpArrow, Modifier.None));
            BlueprintsAssets.BLUEPRINTS_USE_CYCLEFOLDERS_PREVIOUS    = PAction.Register("Blueprints.use.cyclefolders.previous", "Previous Folder", new PKeyBinding(KKeyCode.DownArrow, Modifier.None));
            BlueprintsAssets.BLUEPRINTS_USE_CYCLEBLUEPRINTS_NEXT     = PAction.Register("Blueprints.use.cycleblueprints.next", "Next Blueprint", new PKeyBinding(KKeyCode.RightArrow, Modifier.None));
            BlueprintsAssets.BLUEPRINTS_USE_CYCLEBLUEPRINTS_PREVIOUS = PAction.Register("Blueprints.use.cycleblueprints.previous", "Previous Blueprint", new PKeyBinding(KKeyCode.LeftArrow, Modifier.None));
            BlueprintsAssets.BLUEPRINTS_USE_VISUALIZER_SPRITE        = Utilities.CreateSpriteDXT5(Assembly.GetExecutingAssembly().GetManifestResourceStream("Blueprints.image_useblueprint_visualizer.dds"), 256, 256);

            BlueprintsAssets.BLUEPRINTS_SNAPSHOT_ICON_SPRITE       = Utilities.CreateSpriteDXT5(Assembly.GetExecutingAssembly().GetManifestResourceStream("Blueprints.image_snapshot_button.dds"), 32, 32);
            BlueprintsAssets.BLUEPRINTS_SNAPSHOT_ICON_SPRITE.name  = BlueprintsAssets.BLUEPRINTS_SNAPSHOT_ICON_NAME;
            BlueprintsAssets.BLUEPRINTS_SNAPSHOT_OPENTOOL          = PAction.Register("Blueprints.snapshot.opentool", "Take Snapshot", new PKeyBinding(KKeyCode.None, Modifier.None));
            BlueprintsAssets.BLUEPRINTS_SNAPSHOT_VISUALIZER_SPRITE = Utilities.CreateSpriteDXT5(Assembly.GetExecutingAssembly().GetManifestResourceStream("Blueprints.image_snapshot_visualizer.dds"), 256, 256);

            BlueprintsAssets.BLUEPRINTS_MULTI_DELETE = PAction.Register("Blueprints.multi.delete", "Delete Blueprint/Snapshot", new PKeyBinding(KKeyCode.Delete, Modifier.None));

            ModLocalization.LocalizationCompleteEvent += ModLocalizedHandler;
            ModLocalization.DefaultLocalization        = new string[] {
                BlueprintsStrings.STRING_BLUEPRINTS_CREATE_NAME, "New Blueprint",
                BlueprintsStrings.STRING_BLUEPRINTS_CREATE_TOOLTIP, "Create blueprint {0}",
                BlueprintsStrings.STRING_BLUEPRINTS_CREATE_EMPTY, "Blueprint would have been empty!",
                BlueprintsStrings.STRING_BLUEPRINTS_CREATE_CREATED, "Created blueprint!",
                BlueprintsStrings.STRING_BLUEPRINTS_CREATE_CANCELLED, "Cancelled blueprint!",
                BlueprintsStrings.STRING_BLUEPRINTS_CREATE_TOOLTIP_TITLE, "CREATE BLUEPRINT TOOL",
                BlueprintsStrings.STRING_BLUEPRINTS_CREATE_ACTION_DRAG, "DRAG",
                BlueprintsStrings.STRING_BLUEPRINTS_CREATE_ACTION_BACK, "BACK",

                BlueprintsStrings.STRING_BLUEPRINTS_USE_NAME, "Use Blueprint",
                BlueprintsStrings.STRING_BLUEPRINTS_USE_TOOLTIP, "Use blueprint {0}",
                BlueprintsStrings.STRING_BLUEPRINTS_USE_LOADEDBLUEPRINTS, "Loaded {0} blueprints! ({1} total)",
                BlueprintsStrings.STRING_BLUEPRINTS_USE_LOADEDBLUEPRINTS_ADDITIONAL, "additional",
                BlueprintsStrings.STRING_BLUEPRINTS_USE_LOADEDBLUEPRINTS_FEWER, "fewer",
                BlueprintsStrings.STRING_BLUEPRINTS_USE_TOOLTIP_TITLE, "USE BLUEPRINT TOOL",
                BlueprintsStrings.STRING_BLUEPRINTS_USE_ACTION_CLICK, "CLICK",
                BlueprintsStrings.STRING_BLUEPRINTS_USE_ACTION_BACK, "BACK",
                BlueprintsStrings.STRING_BLUEPRINTS_USE_CYCLEFOLDERS, "Use {0} and {1} to cycle folders.",
                BlueprintsStrings.STRING_BLUEPRINTS_USE_CYCLEBLUEPRINTS, "Use {0} and {1} to cycle blueprints.",
                BlueprintsStrings.STRING_BLUEPRINTS_USE_FOLDERBLUEPRINT, "Press {0} to assign folder.",
                BlueprintsStrings.STRING_BLUEPRINTS_USE_FOLDERBLUEPRINT_NA, "Same folder provided - no change made.",
                BlueprintsStrings.STRING_BLUEPRINTS_USE_MOVEDBLUEPRINT, "Moved \"{0}\" to \"{1}\"",
                BlueprintsStrings.STRING_BLUEPRINTS_USE_NAMEBLUEPRINT, "Press {0} to rename blueprint.",
                BlueprintsStrings.STRING_BLUEPRINTS_USE_DELETEBLUEPRINT, "Press {0} to delete blueprint.",
                BlueprintsStrings.STRING_BLUEPRINTS_USE_ERRORMESSAGE, "This blueprint contained {0} misconfigured or missing prefabs which have been omitted!",
                BlueprintsStrings.STRING_BLUEPRINTS_USE_SELECTEDBLUEPRINT, "Selected \"{0}\" ({1}/{2}) from \"{3}\" ({4}/{5})",
                BlueprintsStrings.STRING_BLUEPRINTS_USE_FOLDEREMPTY, "Selected folder \"{0}\" is empty!",
                BlueprintsStrings.STRING_BLUEPRINTS_USE_NOBLUEPRINTS, "No blueprints loaded!",

                BlueprintsStrings.STRING_BLUEPRINTS_SNAPSHOT_NAME, "Take Snapshot",
                BlueprintsStrings.STRING_BLUEPRINTS_SNAPSHOT_TOOLTIP, "Take snapshot {0} \n\nCreate a blueprint and quickly place it elsewhere while not cluttering your blueprint collection! \nSnapshots do not persist between games or worlds.",
                BlueprintsStrings.STRING_BLUEPRINTS_SNAPSHOT_EMPTY, "Snapshot would have been empty!",
                BlueprintsStrings.STRING_BLUEPRINTS_SNAPSHOT_TAKEN, "Snapshot taken!",
                BlueprintsStrings.STRING_BLUEPRINTS_SNAPSHOT_TOOLTIP_TITLE, "SNAPSHOT TOOL",
                BlueprintsStrings.STRING_BLUEPRINTS_SNAPSHOT_ACTION_CLICK, "CLICK",
                BlueprintsStrings.STRING_BLUEPRINTS_SNAPSHOT_ACTION_DRAG, "DRAG",
                BlueprintsStrings.STRING_BLUEPRINTS_SNAPSHOT_ACTION_BACK, "BACK",
                BlueprintsStrings.STRING_BLUEPRINTS_SNAPSHOT_NEWSNAPSHOT, "Press {0} to take new snapshot.",

                BlueprintsStrings.STRING_BLUEPRINTS_NAMEBLUEPRINT_TITLE, "NAME BLUEPRINT",
                BlueprintsStrings.STRING_BLUEPRINTS_FOLDERBLUEPRINT_TITLE, "ASSIGN FOLDER"
            };

            Debug.Log("Blueprints Loaded: Version " + currentAssembly.GetName().Version);
        }
 public static void OnLoad()
 {
     StartLogging();
     PUtil.InitLibrary(false);
     POptions.RegisterOptions(typeof(RockCrusherOption));
 }
Exemple #28
0
 public static void OnLoad()
 {
     PUtil.InitLibrary(false);
     POptions.RegisterOptions(typeof(AdvancedFilterMenuOptions));
 }
Exemple #29
0
 public static void OnLoad()
 {
     PUtil.InitLibrary();
     options = new EfficientFetchOptions();
     POptions.RegisterOptions(typeof(EfficientFetchOptions));
 }
Exemple #30
0
 public static void OnLoad()
 {
     PUtil.InitLibrary();
     PUtil.RegisterPatchClass(typeof(SmelterPatches));
     POptions.RegisterOptions(typeof(SmelterOptions));
 }