Skip to content

Commit

Permalink
Increased silver mirror max stack from 30 to 99
Browse files Browse the repository at this point in the history
  • Loading branch information
Aurocosh committed Mar 17, 2024
1 parent 7dc06e4 commit 11cc732
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Content/Items/Mirrors/SilverMirror.cs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public override void SetDefaults()
Item.useAnimation = 60;
Item.useTime = 60;
Item.useTurn = true;
Item.maxStack = 30;
Item.maxStack = 99;
Item.value = Item.buyPrice(0, 0, 4, 0);
Item.rare = ItemRarityID.Green;
}
Expand Down
4 changes: 2 additions & 2 deletions Core/Links/VoidStoragePageHandler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -71,10 +71,10 @@ public override string ProcessLink(ref LinkData linkData, Player player)
linkData.RemoveParameter("group");
}

var countTitle = GetTranslation("ItemsInStorage").Format(storage.Count).AsFormText().WithColor(Color.Gray);
stringBuilder.AppendLine(countTitle.ToString());
var storageSizeTitle = GetTranslation("StorageSize").Format(storageSize).AsFormText().WithColor(Color.Gray);
stringBuilder.AppendLine(storageSizeTitle.ToString());
var countTitle = GetTranslation("ItemsInStorage").Format(storage.Count).AsFormText().WithColor(Color.Gray);
stringBuilder.AppendLine(countTitle.ToString());

string groupTrKey = statPlayer.GroupStorageByType ? "ItemsGrouped" : "ItemsNotGrouped";
var groupTitle = GetFormText(groupTrKey).WithLink("VoidStorage", storageType).WithParam("group").WithColor(Color.Orange).ToString();
Expand Down
2 changes: 1 addition & 1 deletion build.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
displayName = Spellwright
author = Aurocosh
version = 0.8.2.6
version = 0.8.2.7
dllReferences = NetSerializer
languageVersion = 7
buildIgnore = *.csproj, *.sln, *.user, *.md, obj\*, bin\*, .vs\*, .git\*, .gitignore
Expand Down

0 comments on commit 11cc732

Please sign in to comment.