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; }
public DogsMateMod(ModContentPack content) : base(content) { instance = this; currentVersion = VersionFromManifest.GetVersionFromModMetaData(ModLister.GetActiveModWithIdentifier("Mlie.DogsMate")); var harmony = new Harmony(nameof(DogsMateMod)); harmony.PatchAll(); }
/// <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(); }
public PIMod(ModContentPack content) : base(content) { GetSettings <Settings>(); Settings.currentVersion = VersionFromManifest.GetVersionFromModMetaData(ModLister.GetActiveModWithIdentifier("Mlie.Rebound")); }