| 9 | |
| 10 | // Special public functions : used to load or the actual save |
| 11 | export function load(game: Game, loadingType: MainLoadingType, loadingString: string): void{ |
| 12 | // Depending on the loading type, do different things |
| 13 | switch(loadingType){ |
| 14 | // We don't load anything |
| 15 | case MainLoadingType.NONE: |
| 16 | // You can uncomment the lines below to start your game with everything unlocked (useful for testing purposes) |
| 17 | /* |
| 18 | Saving.saveNumber("aTreeStep", 2); |
| 19 | |
| 20 | Saving.saveBool("mainMapDoneDesert", true); |
| 21 | Saving.saveBool("mainMapDoneBridge", true); |
| 22 | Saving.saveBool("mainMapDoneCaveEntrance", true); |
| 23 | Saving.saveBool("mainMapDonePier", true); |
| 24 | Saving.saveBool("mainMapDoneForest", true); |
| 25 | Saving.saveBool("mainMapDoneCastleEntrance", true); |
| 26 | |
| 27 | Saving.saveBool("gridItemPossessedMainMap", true); |
| 28 | Saving.saveBool("gridItemPossessedTimeRing", true); |
| 29 | Saving.saveBool("gridItemPossessedThirdHouseKey", true); |
| 30 | Saving.saveBool("gridItemPossessedBeginnersGrimoire", true); |
| 31 | |
| 32 | Saving.saveBool("gridItemPossessedFeather", true); |
| 33 | Saving.saveBool("gridItemPossessedPogoStick", true); |
| 34 | Saving.saveBool("gridItemPossessedHeartPlug", true); |
| 35 | Saving.saveBool("gridItemPossessedAdvancedGrimoire", true); |
| 36 | |
| 37 | Saving.saveBool("gridItemPossessedSponge", true); |
| 38 | Saving.saveBool("gridItemPossessedShellPowder", true); |
| 39 | Saving.saveBool("gridItemPossessedHeartPendant", true); |
| 40 | Saving.saveBool("gridItemPossessedBlackMagicGrimoire", true); |
| 41 | |
| 42 | Saving.saveBool("gridItemPossessedFortressKey", true); |
| 43 | Saving.saveBool("gridItemPossessedUnicornHorn", true); |
| 44 | Saving.saveBool("gridItemPossessedXinopherydonClaw", true); |
| 45 | Saving.saveBool("gridItemPossessedPitchfork", true); |
| 46 | |
| 47 | Saving.saveBool("gridItemPossessedRedSharkFin", true); |
| 48 | Saving.saveBool("gridItemPossessedGreenSharkFin", true); |
| 49 | Saving.saveBool("gridItemPossessedPurpleSharkFin", true); |
| 50 | |
| 51 | Saving.saveBool("gridItemPossessedTalkingCandy", true); |
| 52 | |
| 53 | Saving.saveBool("gridItemPossessedP", true); |
| 54 | Saving.saveBool("gridItemPossessedL", true); |
| 55 | Saving.saveBool("gridItemPossessedA", true); |
| 56 | Saving.saveBool("gridItemPossessedY", true); |
| 57 | |
| 58 | Saving.saveBool("eqItemGlovesRedEnchantedGloves", true); |
| 59 | Saving.saveBool("eqItemGlovesPinkEnchantedGloves", true); |
| 60 | //Saving.saveBool("eqItemWeaponWoodenSword", true); |
| 61 | Saving.saveBool("eqItemWeaponTrollBludgeon", true); |
| 62 | Saving.saveBool("eqItemWeaponTribalSpear", true); |
| 63 | Saving.saveBool("eqItemWeaponSummoningTribalSpear", true); |
| 64 | Saving.saveBool("eqItemWeaponMonkeyWizardStaff", true); |
| 65 | Saving.saveBool("eqItemWeaponGiantSpoon", true); |
| 66 | Saving.saveBool("eqItemHatOctopusKingCrown", true); |
| 67 | |
| 68 | Saving.saveBool("eqItemBootsBootsOfIntrospection", true); |