Skip to content

Commit

Permalink
v0.57.0 - Fixed numbered mod pack backup file names
Browse files Browse the repository at this point in the history
* Added more whitelisted mods
* Fixed numbered mod pack backup file names
* Updates
  • Loading branch information
hamstar0 committed May 27, 2022
1 parent 106a950 commit 15298ec
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 7 deletions.
5 changes: 4 additions & 1 deletion AdventureModeSetup/Config.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,10 @@ public class AMSConfig : ModConfig {
public bool ForceInstallPromptEachLoad { get; set; } = false;

public List<string> NonAdventureModeModsAllowed { get; set; } = new List<string>() {
"CheatSheet"
"CheatSheet",
"Miscellaniety",
"ShorterRespawn",
"WorldGenPreviewer"
};

public List<string> SkipLoadingMods { get; set; } = new List<string>() {};
Expand Down
8 changes: 4 additions & 4 deletions AdventureModeSetup/ModInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public enum ModTypeFlags {
new ModInfo(
"AdventureMode",
"Adventure Mode - Basics",
new Version( 0, 56, 0 ),
new Version( 0, 57, 0 ),
ModTypeFlags.GameMode | ModTypeFlags.GameRules | ModTypeFlags.Info | ModTypeFlags.Mechanics
| ModTypeFlags.Content
),
Expand Down Expand Up @@ -203,7 +203,7 @@ public enum ModTypeFlags {
new ModInfo(
"Necrotis",
"Necrotis",
new Version( 2, 2, 6, 3 ),
new Version( 2, 2, 6, 4 ),
ModTypeFlags.GameMode | ModTypeFlags.GameRules | ModTypeFlags.Mechanics | ModTypeFlags.Content
| ModTypeFlags.ModResource
),
Expand All @@ -229,7 +229,7 @@ public enum ModTypeFlags {
new ModInfo(
"PKEMeter",
"P.K.E Analysis Device",
new Version( 4, 0, 0 ),
new Version( 4, 1, 0 ),
ModTypeFlags.GameRules | ModTypeFlags.Info | ModTypeFlags.Mechanics | ModTypeFlags.Content
| ModTypeFlags.ModResource
),
Expand Down Expand Up @@ -302,7 +302,7 @@ public enum ModTypeFlags {
new ModInfo(
"TheTrickster",
"The Trickster",
new Version( 1, 7, 5, 8 ),
new Version( 1, 7, 5, 9 ),
ModTypeFlags.GameRules | ModTypeFlags.Content
),
new ModInfo(
Expand Down
2 changes: 1 addition & 1 deletion AdventureModeSetup/MyMod_Mods_Actions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ public partial class AMSMod : Mod {

//this.Logger.Info( $"folder 1: \"{backupPath}\"" );
for( int i=0; FileUtilities.Exists(backupPath, false); i++ ) {
backupPath = $"{modPacksFolder}{div}{AMSMod.BackupFileBaseName} ({i}).json";
backupPath = $"{modPacksFolder}{div}{AMSMod.BackupFileBaseName}{i}.json";
}

//
Expand Down
2 changes: 1 addition & 1 deletion AdventureModeSetup/build.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
displayName = Adventure Mode
author = hamstar
version = 0.56.0
version = 0.57.0
buildIgnore = *.csproj, *.user, *.bat, obj\*, bin\*, .vs\*, .git\*
homepage = https://forums.terraria.org/index.php?threads/adventure-mode.85140/

0 comments on commit 15298ec

Please sign in to comment.