Add duty free systems and travel stage updates

This commit is contained in:
jongjae0305
2026-07-09 02:50:48 +09:00
parent 445d74d462
commit 750e9ce0a6
340 changed files with 21825 additions and 1197 deletions
+21 -4
View File
@@ -1,15 +1,27 @@
using System;
public enum DutyFreeItemType {
None = 0,
Lunchbox = 1,
MileageCard = 4,
Supplement = 5
}
[Serializable]
public class GameSaveData {
public int currentMapIndex;
public int unlockedMapIndex;
public int totalMileage;
public int bagSlots;
public int shieldStock;
public int lunchboxStock;
public int speedShoesStock;
public int mileageCardStock;
public int supplementPurchases;
public int dutyFreeLimitStageIndex;
public bool purchasedMileageCardThisStage;
public bool purchasedSupplementThisStage;
public DutyFreeItemType equippedSlot1;
public DutyFreeItemType equippedSlot2;
public DutyFreeItemType equippedSlot3;
public int bestScore;
public static GameSaveData CreateDefault() {
@@ -18,10 +30,15 @@ public class GameSaveData {
unlockedMapIndex = 0,
totalMileage = 0,
bagSlots = 1,
shieldStock = 0,
lunchboxStock = 0,
speedShoesStock = 0,
mileageCardStock = 0,
supplementPurchases = 0,
dutyFreeLimitStageIndex = -1,
purchasedMileageCardThisStage = false,
purchasedSupplementThisStage = false,
equippedSlot1 = DutyFreeItemType.None,
equippedSlot2 = DutyFreeItemType.None,
equippedSlot3 = DutyFreeItemType.None,
bestScore = 0
};
}