Skip to content

Commit faa010f

Browse files
author
luiza.torello
committed
fix: wrong gather amount showing
1 parent e7310d1 commit faa010f

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

Assets/Scripts/Game/NarrativeGenerator/ItemRelatedNarrative/ItemAmountDictionary.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
namespace Game.NarrativeGenerator.ItemRelatedNarrative
55
{
66
[Serializable]
7+
// SerializableDictionaryBase<T, QuestIdList> -> <ItemSo, QuestIdList> -> <ItemSo, List<int>>
78
public class ItemAmountDictionary : KeyByQuestIdsDictionary<ItemSo>
89
{
910
public ItemAmountDictionary()

Assets/Scripts/Game/NarrativeGenerator/Quests/ProfileQuests/Achievement/GatherQuestSo.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,17 +62,17 @@ public override string GetItemAmountString()
6262
var stringBuilder = new StringBuilder();
6363
if (GameManagerSingleton.Instance.IsInPortuguese)
6464
{
65-
stringBuilder.Append("Colete ");
65+
stringBuilder.Append("Colete um(a)");
6666
}
6767
else
6868
{
69-
stringBuilder.Append("Collect ");
69+
stringBuilder.Append("Collect a");
7070
}
7171

7272
foreach (var itemByAmount in OriginalItemsToGatherByType)
7373
{
7474
var spriteString = itemByAmount.Key.GetGemstoneSpriteString();
75-
stringBuilder.Append($"{itemByAmount.Key.Value} {itemByAmount.Key.ItemName}s {spriteString}, ");
75+
stringBuilder.Append($" {itemByAmount.Key.ItemName} {spriteString}, ");
7676
}
7777
if ( stringBuilder.Length > 2)
7878
{

0 commit comments

Comments
 (0)