Add duty free systems and travel stage updates
This commit is contained in:
@@ -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
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user