Esempio n. 1
0
 public ModMain(ModContentPack content) : base(content)
 {
     settings = GetSettings <TenantsSettings>();
     SettingsHelper.LatestVersion = settings;
     currentVersion =
         VersionFromManifest.GetVersionFromModMetaData(ModLister.GetActiveModWithIdentifier("Mlie.Tenants"));
 }
 public ClimateCycle(ModContentPack content) : base(content)
 {
     currentVersion =
         VersionFromManifest.GetVersionFromModMetaData(
             ModLister.GetActiveModWithIdentifier("Mlie.ClimateCyclePlusPlus"));
     settings = GetSettings <CycleSettings>();
     GameCondition_ClimateCyclePlusPlus.settings = settings;
 }
Esempio n. 3
0
    public DogsMateMod(ModContentPack content) : base(content)
    {
        instance       = this;
        currentVersion =
            VersionFromManifest.GetVersionFromModMetaData(ModLister.GetActiveModWithIdentifier("Mlie.DogsMate"));
        var harmony = new Harmony(nameof(DogsMateMod));

        harmony.PatchAll();
    }
Esempio n. 4
0
 /// <summary>
 ///     Constructor
 /// </summary>
 /// <param name="content"></param>
 public TabSortingMod(ModContentPack content)
     : base(content)
 {
     instance              = this;
     tabsScrollPosition    = new Vector2(0, 0);
     optionsScrollPosition = new Vector2(0, 0);
     currentVersion        =
         VersionFromManifest.GetVersionFromModMetaData(ModLister.GetActiveModWithIdentifier("Mlie.TabSorting"));
 }
 public CRC_Loader(ModContentPack content) : base(content)
 {
     harmony        = new Harmony("net.marvinkosh.rimworld.mod.combatreadinesscheck");
     currentVersion =
         VersionFromManifest.GetVersionFromModMetaData(
             ModLister.GetActiveModWithIdentifier("Mlie.CombatReadinessCheck"));
     settings = GetSettings <CRC_Settings>();
     PatchMap();
     PatchCaravan();
     PatchDefaultThreatPointsNow();
 }
Esempio n. 6
0
 public PIMod(ModContentPack content) : base(content)
 {
     GetSettings <Settings>();
     Settings.currentVersion =
         VersionFromManifest.GetVersionFromModMetaData(ModLister.GetActiveModWithIdentifier("Mlie.Rebound"));
 }