fix jukebox, begin work on outpost rewards

This commit is contained in:
Mikhail
2024-09-02 13:26:16 -04:00
parent a68a201c13
commit ed3c6bb6a0
15 changed files with 332 additions and 25 deletions

View File

@@ -39,6 +39,7 @@ namespace EpinelPS.StaticInfo
public Dictionary<int, int> SidestoryRewardTable = [];
public Dictionary<string, int> PositionReward = new Dictionary<string, int>();
public Dictionary<int, FieldItemRecord> FieldItems = [];
public Dictionary<int, OutpostBattleTableRecord> OutpostBattle = [];
public byte[] Sha256Hash;
public int Size;
@@ -370,6 +371,12 @@ namespace EpinelPS.StaticInfo
{
FieldItems.Add(obj.id, obj);
}
var battleOutpostTable = await LoadZip<OutpostBattleTable>("OutpostBattleTable.json", progress);
foreach (var obj in battleOutpostTable.records)
{
OutpostBattle.Add(obj.id, obj);
}
}
public MainQuestCompletionRecord? GetMainQuestForStageClearCondition(int stage)