stardew-valley-data 0.3.0 → 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +23 -0
- package/README.md +6 -0
- package/data/skills.json +148 -55
- package/data/tools.json +62 -63
- package/dist/index.d.mts +30 -11
- package/dist/index.d.ts +30 -11
- package/dist/index.js +291 -128
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +291 -128
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -266,6 +266,7 @@ interface SearchResult {
|
|
|
266
266
|
interface SkillLevelRecipes {
|
|
267
267
|
crafting: string[];
|
|
268
268
|
cooking: string[];
|
|
269
|
+
additional: string[];
|
|
269
270
|
}
|
|
270
271
|
interface SkillLevel {
|
|
271
272
|
level: number;
|
|
@@ -436,11 +437,8 @@ interface UpgradeableTool {
|
|
|
436
437
|
canEnchant: boolean;
|
|
437
438
|
levels: UpgradeLevel[];
|
|
438
439
|
}
|
|
439
|
-
interface
|
|
440
|
-
id: string;
|
|
441
|
-
type: 'fishing-rod';
|
|
440
|
+
interface FishingRodLevel {
|
|
442
441
|
name: string;
|
|
443
|
-
description: string;
|
|
444
442
|
image: string;
|
|
445
443
|
cost: number | null;
|
|
446
444
|
fishingLevelRequired: number | null;
|
|
@@ -448,6 +446,15 @@ interface FishingRod {
|
|
|
448
446
|
tackleSlots: number;
|
|
449
447
|
canEnchant: boolean;
|
|
450
448
|
obtain: string;
|
|
449
|
+
description: string;
|
|
450
|
+
}
|
|
451
|
+
interface FishingRod {
|
|
452
|
+
id: string;
|
|
453
|
+
type: 'fishing-rod';
|
|
454
|
+
name: string;
|
|
455
|
+
description: string;
|
|
456
|
+
canEnchant: boolean;
|
|
457
|
+
levels: FishingRodLevel[];
|
|
451
458
|
}
|
|
452
459
|
interface SimpleTool {
|
|
453
460
|
id: string;
|
|
@@ -2506,11 +2513,24 @@ interface SavePlayer {
|
|
|
2506
2513
|
totalMoneyEarned: number;
|
|
2507
2514
|
spouse: string | null;
|
|
2508
2515
|
houseUpgradeLevel: number;
|
|
2516
|
+
luckLevel: number;
|
|
2517
|
+
maxItems: number;
|
|
2509
2518
|
maxHealth: number;
|
|
2510
2519
|
maxStamina: number;
|
|
2511
2520
|
skills: SaveSkills;
|
|
2512
2521
|
mastery: SaveMastery;
|
|
2522
|
+
toolLevels: SaveToolLevels;
|
|
2513
2523
|
gameVersion: string;
|
|
2524
|
+
millisecondsPlayed: number;
|
|
2525
|
+
}
|
|
2526
|
+
/** Upgrade levels for the player's tools (0 = base, 1 = copper, 2 = steel, 3 = gold, 4 = iridium). */
|
|
2527
|
+
interface SaveToolLevels {
|
|
2528
|
+
wateringCan: number;
|
|
2529
|
+
pan: number;
|
|
2530
|
+
pickaxe: number;
|
|
2531
|
+
axe: number;
|
|
2532
|
+
hoe: number;
|
|
2533
|
+
trashCan: number;
|
|
2514
2534
|
}
|
|
2515
2535
|
/** Mastery system progress including XP, levels spent, and unlocked perks. */
|
|
2516
2536
|
interface SaveMastery {
|
|
@@ -2592,6 +2612,7 @@ interface SaveAnimal {
|
|
|
2592
2612
|
id: string;
|
|
2593
2613
|
name: string;
|
|
2594
2614
|
type: string;
|
|
2615
|
+
buildingId: string;
|
|
2595
2616
|
buildingType: string;
|
|
2596
2617
|
friendship: number;
|
|
2597
2618
|
happiness: number;
|
|
@@ -2600,9 +2621,8 @@ interface SaveAnimal {
|
|
|
2600
2621
|
}
|
|
2601
2622
|
/** A farm building with its type, position, and current animal count. */
|
|
2602
2623
|
interface SaveBuilding {
|
|
2624
|
+
id: string;
|
|
2603
2625
|
type: string;
|
|
2604
|
-
tileX: number;
|
|
2605
|
-
tileY: number;
|
|
2606
2626
|
animalCount: number;
|
|
2607
2627
|
}
|
|
2608
2628
|
/** An active or completed quest with its title, description, and completion status. */
|
|
@@ -2624,9 +2644,8 @@ interface SaveRecipeEntry {
|
|
|
2624
2644
|
name: string;
|
|
2625
2645
|
timesMade: number;
|
|
2626
2646
|
}
|
|
2627
|
-
/** Community Center bundle data including
|
|
2647
|
+
/** Community Center bundle data including rooms with nested bundles and Joja route status. */
|
|
2628
2648
|
interface SaveBundleData {
|
|
2629
|
-
bundles: SaveBundleStatus[];
|
|
2630
2649
|
rooms: SaveBundleRoom[];
|
|
2631
2650
|
isJojaRoute: boolean;
|
|
2632
2651
|
isCCComplete: boolean;
|
|
@@ -2640,9 +2659,9 @@ interface SaveBundleRoom {
|
|
|
2640
2659
|
}
|
|
2641
2660
|
/** A single bundle with its required items, completion progress, and reward. */
|
|
2642
2661
|
interface SaveBundleStatus {
|
|
2662
|
+
id: string;
|
|
2643
2663
|
bundleIndex: number;
|
|
2644
2664
|
name: string;
|
|
2645
|
-
room: string;
|
|
2646
2665
|
items: SaveBundleItem[];
|
|
2647
2666
|
itemsRequired: number;
|
|
2648
2667
|
itemsCompleted: number;
|
|
@@ -2678,7 +2697,6 @@ interface SaveProfession {
|
|
|
2678
2697
|
/** Completed special orders split by town board and Qi's Walnut Room. */
|
|
2679
2698
|
interface SaveSpecialOrders {
|
|
2680
2699
|
completed: string[];
|
|
2681
|
-
townCompleted: string[];
|
|
2682
2700
|
qiCompleted: string[];
|
|
2683
2701
|
}
|
|
2684
2702
|
/** Secret notes and journal scraps found, plus magnifying glass ownership. */
|
|
@@ -2686,6 +2704,7 @@ interface SaveSecretNotes {
|
|
|
2686
2704
|
notesFound: number[];
|
|
2687
2705
|
journalScrapsFound: number[];
|
|
2688
2706
|
hasMagnifyingGlass: boolean;
|
|
2707
|
+
hasSeenKrobus: boolean;
|
|
2689
2708
|
}
|
|
2690
2709
|
/** Golden walnut collection progress with total found and tracker entries. */
|
|
2691
2710
|
interface SaveWalnuts {
|
|
@@ -2793,4 +2812,4 @@ declare function resolveApiVersion(gameVersion: string): number;
|
|
|
2793
2812
|
*/
|
|
2794
2813
|
declare function parseSaveFile(xml: string): SaveData;
|
|
2795
2814
|
|
|
2796
|
-
export { type Achievement, AchievementQuery, type Animal, type AnimalProduce, AnimalQuery, type Artifact, ArtifactQuery, type ArtisanGood, ArtisanGoodQuery, type ArtisanIngredient, type Backpack, type Bait, BaitQuery, type BarItem, type BlacksmithItem, BlacksmithQuery, type BooksellerAvailability, type BooksellerItem, BooksellerItemQuery, type BooksellerTrade, BooksellerTradeQuery, type Building, type BuildingBuilder, type BuildingMaterial, BuildingQuery, type Bundle, type BundleItem, BundleQuery, type BundleReward, type BundleRoom, type CarpenterCategory, type CarpenterDay, type CarpenterItem, CarpenterQuery, type CasinoCategory, type CasinoItem, CasinoQuery, type CaskAging, type CollectionItem, CollectionItemQuery, CollectionsQuery, type Concession, ConcessionQuery, type ConcessionTag, type CookedDish, type CookingBuff, CookingQuery, type CraftingIngredient, type CraftingOutput, CraftingQuery, type CraftingRecipe, type Crop, CropQuery, type DesertTraderDay, type DesertTraderItem, DesertTraderQuery, type DwarfShopCategory, type DwarfShopItem, DwarfShopQuery, type EnergyHealth, EventQuery, type FarmAnimal, type FarmMap, FarmMapQuery, type Festival, type FieldOfficeCollection, type FieldOfficeCollectionData, type FieldOfficeDonation, FieldOfficeDonationQuery, FieldOfficeQuery, type FieldOfficeReward, type Fish, type FishCatchType, FishQuery, type FishWeather, type FishingRod, type Footwear, FootwearQuery, type Forageable, ForageableQuery, type FruitTree, type FruitTreeProduce, type GameEvent, type GameLocation, type GeodeContainer, type GiftPreferences, type GoldBundle, type GoldenWalnut, GoldenWalnutQuery, type GoldenWalnutTrackingType, type GrandpaCategory, GrandpaEvaluator, type GrandpaInput, type GrandpaResult, type GrandpaScoreEntry, type GuildCategory, type GuildItem, GuildQuery, type GuildWeaponType, type HarvestQuantity, type Hat, HatQuery, type HeartEvent, type HouseRenovation, HouseRenovationQuery, type HouseUpgrade, type HouseUpgradeMaterial, HouseUpgradeQuery, type Ingredient, type IslandTraderDay, type IslandTraderItem, IslandTraderQuery, type ItemBundle, type JojaBundle, type JojaItem, JojaQuery, type KrobusDay, type KrobusItem, KrobusQuery, type KrobusStockType, LATEST_API_VERSION, type LocationCategory, type LocationDay, type LocationHours, LocationQuery, type LocationType, type LostBook, LostBookQuery, MASTERY_LEVELS, type MarnieCategory, type MarnieItem, MarnieQuery, type MasteryLevel, type MasterySkill, type MasteryUnlock, type MedicalSupply, MedicalSupplyQuery, type MeleeWeapon, type Mineral, type MineralItem, MineralQuery, type MixedSeed, type MixedSeedProduces, MixedSeedQuery, type Monster, type MonsterLoot, MonsterLootQuery, MonsterQuery, type MonsterSlayerGoal, MonsterSlayerGoalQuery, type MonsterVariant, type NodeDrop, type NodeItem, type OasisCategory, type OasisDay, type OasisItem, OasisQuery, type OreItem, type PerfectionCategory, PerfectionQuery, type Pet, type PierreCategory, type PierreItem, PierreQuery, type PriceFormula, type ProfessionData, ProfessionQuery, type ProfessionSkill, type QiCurrency, type QiStockItem, QiStockQuery, type Quality, QualityCalculator, type QualityEnergyHealth, type QualityPrice, type Quest, QuestQuery, type RecipeSource, type ResourceItem, type Ring, RingQuery, SKILL_TITLES, type SaloonCategory, type SaloonItem, SaloonQuery, type SaveAnimal, type SaveBuilding, type SaveBundleData, type SaveBundleItem, type SaveBundleReward, type SaveBundleRoom, type SaveBundleStatus, type SaveChild, type SaveCollectionEntry, type SaveData, type SaveDate, type SaveFarm, type SaveFishEntry, type SaveFriendship, type SaveIslandUpgrades, type SaveItem, type SaveMastery, type SaveMasteryPerk, type SaveMineProgress, type SaveMonsterKillEntry, type SaveMuseum, type SavePerfection, type SavePet, type SavePlayer, type SavePowerEntry, type SavePowers, type SaveProfession, type SaveQuest, type SaveRaccoons, type SaveRecipeEntry, type SaveSecretNotes, type SaveShippedEntry, type SaveSkillLevel, type SaveSkills, type SaveSpecialOrders, type SaveStardropEntry, type SaveStats, type SaveWalnuts, type SearchResult, type SearchResultKind, type Season, type SeasonData, SeasonQuery, type SecretNote, SecretNoteQuery, type SecretNoteType, type SeedBuyPrice, type SimpleTool, type Skill, type SkillLevel, type SkillLevelRecipes, type SkillMastery, SkillQuery, type SlayerReward, type Slingshot, type SmeltRecipe, type SpecialItem, SpecialItemQuery, type SpecialItemType, type SpecialOrderCategory, type SpecialOrderData, SpecialOrderQuery, type Stage, type StarDrop, StarDropQuery, type StarDropSource, type Tackle, TackleQuery, type TitleThreshold, type Tool, type ToolLevel, ToolQuery, type ToolType, type Tree, TreeQuery, type Trinket, TrinketQuery, type TrinketSource, type UniversalGifts, type UpgradeLevel, type UpgradeableTool, type VersionRange, type Villager, VillagerQuery, type VolcanoShopCategory, type VolcanoShopCurrency, type VolcanoShopItem, VolcanoShopQuery, type Weapon, WeaponQuery, type WeaponStat, WeaponStatQuery, type WeaponType, type Weather, WeatherQuery, type WildTree, type WildTreeTapper, type WillyCategory, type WillyItem, WillyQuery, type WizardBuilding, type WizardBuildingMaterial, WizardQuery, achievements, animals, applyPriceFormula, artifacts, artisanGoods, bait, blacksmith, booksellerShop, booksellerTrades, buildings, bundles, calculateArtisanPrice, carpenter, casino, collections, concessions, cooking, crafting, crops, desertTrader, dwarfShop, events, fieldOffice, fieldOfficeDonations, findFestival, fish, footwear, forageables, getMasteryLevel, getProfessionOptions, getTitle, getTitleScore, goldenWalnuts, grandpaEvaluator, guild, hats, houseRenovations, houseUpgrades, isFarmAnimal, isPet, islandTrader, joja, krobus, locations, lostBooks, maps, marnie, medicalSupplies, minerals, mixedSeeds, monsterLoot, monsterSlayerGoals, monsters, oasis, parseSaveFile, perfection, pierre, professions, qiStock, qualityCalculator, quests, resolveApiVersion, rings, saloon, search, seasons, secretNotes, skills, specialItems, specialOrders, starDrops, tackle, tools, trees, trinkets, universalGifts, villagers, volcanoShop, weaponStats, weapons, weather, willy, wizard };
|
|
2815
|
+
export { type Achievement, AchievementQuery, type Animal, type AnimalProduce, AnimalQuery, type Artifact, ArtifactQuery, type ArtisanGood, ArtisanGoodQuery, type ArtisanIngredient, type Backpack, type Bait, BaitQuery, type BarItem, type BlacksmithItem, BlacksmithQuery, type BooksellerAvailability, type BooksellerItem, BooksellerItemQuery, type BooksellerTrade, BooksellerTradeQuery, type Building, type BuildingBuilder, type BuildingMaterial, BuildingQuery, type Bundle, type BundleItem, BundleQuery, type BundleReward, type BundleRoom, type CarpenterCategory, type CarpenterDay, type CarpenterItem, CarpenterQuery, type CasinoCategory, type CasinoItem, CasinoQuery, type CaskAging, type CollectionItem, CollectionItemQuery, CollectionsQuery, type Concession, ConcessionQuery, type ConcessionTag, type CookedDish, type CookingBuff, CookingQuery, type CraftingIngredient, type CraftingOutput, CraftingQuery, type CraftingRecipe, type Crop, CropQuery, type DesertTraderDay, type DesertTraderItem, DesertTraderQuery, type DwarfShopCategory, type DwarfShopItem, DwarfShopQuery, type EnergyHealth, EventQuery, type FarmAnimal, type FarmMap, FarmMapQuery, type Festival, type FieldOfficeCollection, type FieldOfficeCollectionData, type FieldOfficeDonation, FieldOfficeDonationQuery, FieldOfficeQuery, type FieldOfficeReward, type Fish, type FishCatchType, FishQuery, type FishWeather, type FishingRod, type FishingRodLevel, type Footwear, FootwearQuery, type Forageable, ForageableQuery, type FruitTree, type FruitTreeProduce, type GameEvent, type GameLocation, type GeodeContainer, type GiftPreferences, type GoldBundle, type GoldenWalnut, GoldenWalnutQuery, type GoldenWalnutTrackingType, type GrandpaCategory, GrandpaEvaluator, type GrandpaInput, type GrandpaResult, type GrandpaScoreEntry, type GuildCategory, type GuildItem, GuildQuery, type GuildWeaponType, type HarvestQuantity, type Hat, HatQuery, type HeartEvent, type HouseRenovation, HouseRenovationQuery, type HouseUpgrade, type HouseUpgradeMaterial, HouseUpgradeQuery, type Ingredient, type IslandTraderDay, type IslandTraderItem, IslandTraderQuery, type ItemBundle, type JojaBundle, type JojaItem, JojaQuery, type KrobusDay, type KrobusItem, KrobusQuery, type KrobusStockType, LATEST_API_VERSION, type LocationCategory, type LocationDay, type LocationHours, LocationQuery, type LocationType, type LostBook, LostBookQuery, MASTERY_LEVELS, type MarnieCategory, type MarnieItem, MarnieQuery, type MasteryLevel, type MasterySkill, type MasteryUnlock, type MedicalSupply, MedicalSupplyQuery, type MeleeWeapon, type Mineral, type MineralItem, MineralQuery, type MixedSeed, type MixedSeedProduces, MixedSeedQuery, type Monster, type MonsterLoot, MonsterLootQuery, MonsterQuery, type MonsterSlayerGoal, MonsterSlayerGoalQuery, type MonsterVariant, type NodeDrop, type NodeItem, type OasisCategory, type OasisDay, type OasisItem, OasisQuery, type OreItem, type PerfectionCategory, PerfectionQuery, type Pet, type PierreCategory, type PierreItem, PierreQuery, type PriceFormula, type ProfessionData, ProfessionQuery, type ProfessionSkill, type QiCurrency, type QiStockItem, QiStockQuery, type Quality, QualityCalculator, type QualityEnergyHealth, type QualityPrice, type Quest, QuestQuery, type RecipeSource, type ResourceItem, type Ring, RingQuery, SKILL_TITLES, type SaloonCategory, type SaloonItem, SaloonQuery, type SaveAnimal, type SaveBuilding, type SaveBundleData, type SaveBundleItem, type SaveBundleReward, type SaveBundleRoom, type SaveBundleStatus, type SaveChild, type SaveCollectionEntry, type SaveData, type SaveDate, type SaveFarm, type SaveFishEntry, type SaveFriendship, type SaveIslandUpgrades, type SaveItem, type SaveMastery, type SaveMasteryPerk, type SaveMineProgress, type SaveMonsterKillEntry, type SaveMuseum, type SavePerfection, type SavePet, type SavePlayer, type SavePowerEntry, type SavePowers, type SaveProfession, type SaveQuest, type SaveRaccoons, type SaveRecipeEntry, type SaveSecretNotes, type SaveShippedEntry, type SaveSkillLevel, type SaveSkills, type SaveSpecialOrders, type SaveStardropEntry, type SaveStats, type SaveWalnuts, type SearchResult, type SearchResultKind, type Season, type SeasonData, SeasonQuery, type SecretNote, SecretNoteQuery, type SecretNoteType, type SeedBuyPrice, type SimpleTool, type Skill, type SkillLevel, type SkillLevelRecipes, type SkillMastery, SkillQuery, type SlayerReward, type Slingshot, type SmeltRecipe, type SpecialItem, SpecialItemQuery, type SpecialItemType, type SpecialOrderCategory, type SpecialOrderData, SpecialOrderQuery, type Stage, type StarDrop, StarDropQuery, type StarDropSource, type Tackle, TackleQuery, type TitleThreshold, type Tool, type ToolLevel, ToolQuery, type ToolType, type Tree, TreeQuery, type Trinket, TrinketQuery, type TrinketSource, type UniversalGifts, type UpgradeLevel, type UpgradeableTool, type VersionRange, type Villager, VillagerQuery, type VolcanoShopCategory, type VolcanoShopCurrency, type VolcanoShopItem, VolcanoShopQuery, type Weapon, WeaponQuery, type WeaponStat, WeaponStatQuery, type WeaponType, type Weather, WeatherQuery, type WildTree, type WildTreeTapper, type WillyCategory, type WillyItem, WillyQuery, type WizardBuilding, type WizardBuildingMaterial, WizardQuery, achievements, animals, applyPriceFormula, artifacts, artisanGoods, bait, blacksmith, booksellerShop, booksellerTrades, buildings, bundles, calculateArtisanPrice, carpenter, casino, collections, concessions, cooking, crafting, crops, desertTrader, dwarfShop, events, fieldOffice, fieldOfficeDonations, findFestival, fish, footwear, forageables, getMasteryLevel, getProfessionOptions, getTitle, getTitleScore, goldenWalnuts, grandpaEvaluator, guild, hats, houseRenovations, houseUpgrades, isFarmAnimal, isPet, islandTrader, joja, krobus, locations, lostBooks, maps, marnie, medicalSupplies, minerals, mixedSeeds, monsterLoot, monsterSlayerGoals, monsters, oasis, parseSaveFile, perfection, pierre, professions, qiStock, qualityCalculator, quests, resolveApiVersion, rings, saloon, search, seasons, secretNotes, skills, specialItems, specialOrders, starDrops, tackle, tools, trees, trinkets, universalGifts, villagers, volcanoShop, weaponStats, weapons, weather, willy, wizard };
|
package/dist/index.d.ts
CHANGED
|
@@ -266,6 +266,7 @@ interface SearchResult {
|
|
|
266
266
|
interface SkillLevelRecipes {
|
|
267
267
|
crafting: string[];
|
|
268
268
|
cooking: string[];
|
|
269
|
+
additional: string[];
|
|
269
270
|
}
|
|
270
271
|
interface SkillLevel {
|
|
271
272
|
level: number;
|
|
@@ -436,11 +437,8 @@ interface UpgradeableTool {
|
|
|
436
437
|
canEnchant: boolean;
|
|
437
438
|
levels: UpgradeLevel[];
|
|
438
439
|
}
|
|
439
|
-
interface
|
|
440
|
-
id: string;
|
|
441
|
-
type: 'fishing-rod';
|
|
440
|
+
interface FishingRodLevel {
|
|
442
441
|
name: string;
|
|
443
|
-
description: string;
|
|
444
442
|
image: string;
|
|
445
443
|
cost: number | null;
|
|
446
444
|
fishingLevelRequired: number | null;
|
|
@@ -448,6 +446,15 @@ interface FishingRod {
|
|
|
448
446
|
tackleSlots: number;
|
|
449
447
|
canEnchant: boolean;
|
|
450
448
|
obtain: string;
|
|
449
|
+
description: string;
|
|
450
|
+
}
|
|
451
|
+
interface FishingRod {
|
|
452
|
+
id: string;
|
|
453
|
+
type: 'fishing-rod';
|
|
454
|
+
name: string;
|
|
455
|
+
description: string;
|
|
456
|
+
canEnchant: boolean;
|
|
457
|
+
levels: FishingRodLevel[];
|
|
451
458
|
}
|
|
452
459
|
interface SimpleTool {
|
|
453
460
|
id: string;
|
|
@@ -2506,11 +2513,24 @@ interface SavePlayer {
|
|
|
2506
2513
|
totalMoneyEarned: number;
|
|
2507
2514
|
spouse: string | null;
|
|
2508
2515
|
houseUpgradeLevel: number;
|
|
2516
|
+
luckLevel: number;
|
|
2517
|
+
maxItems: number;
|
|
2509
2518
|
maxHealth: number;
|
|
2510
2519
|
maxStamina: number;
|
|
2511
2520
|
skills: SaveSkills;
|
|
2512
2521
|
mastery: SaveMastery;
|
|
2522
|
+
toolLevels: SaveToolLevels;
|
|
2513
2523
|
gameVersion: string;
|
|
2524
|
+
millisecondsPlayed: number;
|
|
2525
|
+
}
|
|
2526
|
+
/** Upgrade levels for the player's tools (0 = base, 1 = copper, 2 = steel, 3 = gold, 4 = iridium). */
|
|
2527
|
+
interface SaveToolLevels {
|
|
2528
|
+
wateringCan: number;
|
|
2529
|
+
pan: number;
|
|
2530
|
+
pickaxe: number;
|
|
2531
|
+
axe: number;
|
|
2532
|
+
hoe: number;
|
|
2533
|
+
trashCan: number;
|
|
2514
2534
|
}
|
|
2515
2535
|
/** Mastery system progress including XP, levels spent, and unlocked perks. */
|
|
2516
2536
|
interface SaveMastery {
|
|
@@ -2592,6 +2612,7 @@ interface SaveAnimal {
|
|
|
2592
2612
|
id: string;
|
|
2593
2613
|
name: string;
|
|
2594
2614
|
type: string;
|
|
2615
|
+
buildingId: string;
|
|
2595
2616
|
buildingType: string;
|
|
2596
2617
|
friendship: number;
|
|
2597
2618
|
happiness: number;
|
|
@@ -2600,9 +2621,8 @@ interface SaveAnimal {
|
|
|
2600
2621
|
}
|
|
2601
2622
|
/** A farm building with its type, position, and current animal count. */
|
|
2602
2623
|
interface SaveBuilding {
|
|
2624
|
+
id: string;
|
|
2603
2625
|
type: string;
|
|
2604
|
-
tileX: number;
|
|
2605
|
-
tileY: number;
|
|
2606
2626
|
animalCount: number;
|
|
2607
2627
|
}
|
|
2608
2628
|
/** An active or completed quest with its title, description, and completion status. */
|
|
@@ -2624,9 +2644,8 @@ interface SaveRecipeEntry {
|
|
|
2624
2644
|
name: string;
|
|
2625
2645
|
timesMade: number;
|
|
2626
2646
|
}
|
|
2627
|
-
/** Community Center bundle data including
|
|
2647
|
+
/** Community Center bundle data including rooms with nested bundles and Joja route status. */
|
|
2628
2648
|
interface SaveBundleData {
|
|
2629
|
-
bundles: SaveBundleStatus[];
|
|
2630
2649
|
rooms: SaveBundleRoom[];
|
|
2631
2650
|
isJojaRoute: boolean;
|
|
2632
2651
|
isCCComplete: boolean;
|
|
@@ -2640,9 +2659,9 @@ interface SaveBundleRoom {
|
|
|
2640
2659
|
}
|
|
2641
2660
|
/** A single bundle with its required items, completion progress, and reward. */
|
|
2642
2661
|
interface SaveBundleStatus {
|
|
2662
|
+
id: string;
|
|
2643
2663
|
bundleIndex: number;
|
|
2644
2664
|
name: string;
|
|
2645
|
-
room: string;
|
|
2646
2665
|
items: SaveBundleItem[];
|
|
2647
2666
|
itemsRequired: number;
|
|
2648
2667
|
itemsCompleted: number;
|
|
@@ -2678,7 +2697,6 @@ interface SaveProfession {
|
|
|
2678
2697
|
/** Completed special orders split by town board and Qi's Walnut Room. */
|
|
2679
2698
|
interface SaveSpecialOrders {
|
|
2680
2699
|
completed: string[];
|
|
2681
|
-
townCompleted: string[];
|
|
2682
2700
|
qiCompleted: string[];
|
|
2683
2701
|
}
|
|
2684
2702
|
/** Secret notes and journal scraps found, plus magnifying glass ownership. */
|
|
@@ -2686,6 +2704,7 @@ interface SaveSecretNotes {
|
|
|
2686
2704
|
notesFound: number[];
|
|
2687
2705
|
journalScrapsFound: number[];
|
|
2688
2706
|
hasMagnifyingGlass: boolean;
|
|
2707
|
+
hasSeenKrobus: boolean;
|
|
2689
2708
|
}
|
|
2690
2709
|
/** Golden walnut collection progress with total found and tracker entries. */
|
|
2691
2710
|
interface SaveWalnuts {
|
|
@@ -2793,4 +2812,4 @@ declare function resolveApiVersion(gameVersion: string): number;
|
|
|
2793
2812
|
*/
|
|
2794
2813
|
declare function parseSaveFile(xml: string): SaveData;
|
|
2795
2814
|
|
|
2796
|
-
export { type Achievement, AchievementQuery, type Animal, type AnimalProduce, AnimalQuery, type Artifact, ArtifactQuery, type ArtisanGood, ArtisanGoodQuery, type ArtisanIngredient, type Backpack, type Bait, BaitQuery, type BarItem, type BlacksmithItem, BlacksmithQuery, type BooksellerAvailability, type BooksellerItem, BooksellerItemQuery, type BooksellerTrade, BooksellerTradeQuery, type Building, type BuildingBuilder, type BuildingMaterial, BuildingQuery, type Bundle, type BundleItem, BundleQuery, type BundleReward, type BundleRoom, type CarpenterCategory, type CarpenterDay, type CarpenterItem, CarpenterQuery, type CasinoCategory, type CasinoItem, CasinoQuery, type CaskAging, type CollectionItem, CollectionItemQuery, CollectionsQuery, type Concession, ConcessionQuery, type ConcessionTag, type CookedDish, type CookingBuff, CookingQuery, type CraftingIngredient, type CraftingOutput, CraftingQuery, type CraftingRecipe, type Crop, CropQuery, type DesertTraderDay, type DesertTraderItem, DesertTraderQuery, type DwarfShopCategory, type DwarfShopItem, DwarfShopQuery, type EnergyHealth, EventQuery, type FarmAnimal, type FarmMap, FarmMapQuery, type Festival, type FieldOfficeCollection, type FieldOfficeCollectionData, type FieldOfficeDonation, FieldOfficeDonationQuery, FieldOfficeQuery, type FieldOfficeReward, type Fish, type FishCatchType, FishQuery, type FishWeather, type FishingRod, type Footwear, FootwearQuery, type Forageable, ForageableQuery, type FruitTree, type FruitTreeProduce, type GameEvent, type GameLocation, type GeodeContainer, type GiftPreferences, type GoldBundle, type GoldenWalnut, GoldenWalnutQuery, type GoldenWalnutTrackingType, type GrandpaCategory, GrandpaEvaluator, type GrandpaInput, type GrandpaResult, type GrandpaScoreEntry, type GuildCategory, type GuildItem, GuildQuery, type GuildWeaponType, type HarvestQuantity, type Hat, HatQuery, type HeartEvent, type HouseRenovation, HouseRenovationQuery, type HouseUpgrade, type HouseUpgradeMaterial, HouseUpgradeQuery, type Ingredient, type IslandTraderDay, type IslandTraderItem, IslandTraderQuery, type ItemBundle, type JojaBundle, type JojaItem, JojaQuery, type KrobusDay, type KrobusItem, KrobusQuery, type KrobusStockType, LATEST_API_VERSION, type LocationCategory, type LocationDay, type LocationHours, LocationQuery, type LocationType, type LostBook, LostBookQuery, MASTERY_LEVELS, type MarnieCategory, type MarnieItem, MarnieQuery, type MasteryLevel, type MasterySkill, type MasteryUnlock, type MedicalSupply, MedicalSupplyQuery, type MeleeWeapon, type Mineral, type MineralItem, MineralQuery, type MixedSeed, type MixedSeedProduces, MixedSeedQuery, type Monster, type MonsterLoot, MonsterLootQuery, MonsterQuery, type MonsterSlayerGoal, MonsterSlayerGoalQuery, type MonsterVariant, type NodeDrop, type NodeItem, type OasisCategory, type OasisDay, type OasisItem, OasisQuery, type OreItem, type PerfectionCategory, PerfectionQuery, type Pet, type PierreCategory, type PierreItem, PierreQuery, type PriceFormula, type ProfessionData, ProfessionQuery, type ProfessionSkill, type QiCurrency, type QiStockItem, QiStockQuery, type Quality, QualityCalculator, type QualityEnergyHealth, type QualityPrice, type Quest, QuestQuery, type RecipeSource, type ResourceItem, type Ring, RingQuery, SKILL_TITLES, type SaloonCategory, type SaloonItem, SaloonQuery, type SaveAnimal, type SaveBuilding, type SaveBundleData, type SaveBundleItem, type SaveBundleReward, type SaveBundleRoom, type SaveBundleStatus, type SaveChild, type SaveCollectionEntry, type SaveData, type SaveDate, type SaveFarm, type SaveFishEntry, type SaveFriendship, type SaveIslandUpgrades, type SaveItem, type SaveMastery, type SaveMasteryPerk, type SaveMineProgress, type SaveMonsterKillEntry, type SaveMuseum, type SavePerfection, type SavePet, type SavePlayer, type SavePowerEntry, type SavePowers, type SaveProfession, type SaveQuest, type SaveRaccoons, type SaveRecipeEntry, type SaveSecretNotes, type SaveShippedEntry, type SaveSkillLevel, type SaveSkills, type SaveSpecialOrders, type SaveStardropEntry, type SaveStats, type SaveWalnuts, type SearchResult, type SearchResultKind, type Season, type SeasonData, SeasonQuery, type SecretNote, SecretNoteQuery, type SecretNoteType, type SeedBuyPrice, type SimpleTool, type Skill, type SkillLevel, type SkillLevelRecipes, type SkillMastery, SkillQuery, type SlayerReward, type Slingshot, type SmeltRecipe, type SpecialItem, SpecialItemQuery, type SpecialItemType, type SpecialOrderCategory, type SpecialOrderData, SpecialOrderQuery, type Stage, type StarDrop, StarDropQuery, type StarDropSource, type Tackle, TackleQuery, type TitleThreshold, type Tool, type ToolLevel, ToolQuery, type ToolType, type Tree, TreeQuery, type Trinket, TrinketQuery, type TrinketSource, type UniversalGifts, type UpgradeLevel, type UpgradeableTool, type VersionRange, type Villager, VillagerQuery, type VolcanoShopCategory, type VolcanoShopCurrency, type VolcanoShopItem, VolcanoShopQuery, type Weapon, WeaponQuery, type WeaponStat, WeaponStatQuery, type WeaponType, type Weather, WeatherQuery, type WildTree, type WildTreeTapper, type WillyCategory, type WillyItem, WillyQuery, type WizardBuilding, type WizardBuildingMaterial, WizardQuery, achievements, animals, applyPriceFormula, artifacts, artisanGoods, bait, blacksmith, booksellerShop, booksellerTrades, buildings, bundles, calculateArtisanPrice, carpenter, casino, collections, concessions, cooking, crafting, crops, desertTrader, dwarfShop, events, fieldOffice, fieldOfficeDonations, findFestival, fish, footwear, forageables, getMasteryLevel, getProfessionOptions, getTitle, getTitleScore, goldenWalnuts, grandpaEvaluator, guild, hats, houseRenovations, houseUpgrades, isFarmAnimal, isPet, islandTrader, joja, krobus, locations, lostBooks, maps, marnie, medicalSupplies, minerals, mixedSeeds, monsterLoot, monsterSlayerGoals, monsters, oasis, parseSaveFile, perfection, pierre, professions, qiStock, qualityCalculator, quests, resolveApiVersion, rings, saloon, search, seasons, secretNotes, skills, specialItems, specialOrders, starDrops, tackle, tools, trees, trinkets, universalGifts, villagers, volcanoShop, weaponStats, weapons, weather, willy, wizard };
|
|
2815
|
+
export { type Achievement, AchievementQuery, type Animal, type AnimalProduce, AnimalQuery, type Artifact, ArtifactQuery, type ArtisanGood, ArtisanGoodQuery, type ArtisanIngredient, type Backpack, type Bait, BaitQuery, type BarItem, type BlacksmithItem, BlacksmithQuery, type BooksellerAvailability, type BooksellerItem, BooksellerItemQuery, type BooksellerTrade, BooksellerTradeQuery, type Building, type BuildingBuilder, type BuildingMaterial, BuildingQuery, type Bundle, type BundleItem, BundleQuery, type BundleReward, type BundleRoom, type CarpenterCategory, type CarpenterDay, type CarpenterItem, CarpenterQuery, type CasinoCategory, type CasinoItem, CasinoQuery, type CaskAging, type CollectionItem, CollectionItemQuery, CollectionsQuery, type Concession, ConcessionQuery, type ConcessionTag, type CookedDish, type CookingBuff, CookingQuery, type CraftingIngredient, type CraftingOutput, CraftingQuery, type CraftingRecipe, type Crop, CropQuery, type DesertTraderDay, type DesertTraderItem, DesertTraderQuery, type DwarfShopCategory, type DwarfShopItem, DwarfShopQuery, type EnergyHealth, EventQuery, type FarmAnimal, type FarmMap, FarmMapQuery, type Festival, type FieldOfficeCollection, type FieldOfficeCollectionData, type FieldOfficeDonation, FieldOfficeDonationQuery, FieldOfficeQuery, type FieldOfficeReward, type Fish, type FishCatchType, FishQuery, type FishWeather, type FishingRod, type FishingRodLevel, type Footwear, FootwearQuery, type Forageable, ForageableQuery, type FruitTree, type FruitTreeProduce, type GameEvent, type GameLocation, type GeodeContainer, type GiftPreferences, type GoldBundle, type GoldenWalnut, GoldenWalnutQuery, type GoldenWalnutTrackingType, type GrandpaCategory, GrandpaEvaluator, type GrandpaInput, type GrandpaResult, type GrandpaScoreEntry, type GuildCategory, type GuildItem, GuildQuery, type GuildWeaponType, type HarvestQuantity, type Hat, HatQuery, type HeartEvent, type HouseRenovation, HouseRenovationQuery, type HouseUpgrade, type HouseUpgradeMaterial, HouseUpgradeQuery, type Ingredient, type IslandTraderDay, type IslandTraderItem, IslandTraderQuery, type ItemBundle, type JojaBundle, type JojaItem, JojaQuery, type KrobusDay, type KrobusItem, KrobusQuery, type KrobusStockType, LATEST_API_VERSION, type LocationCategory, type LocationDay, type LocationHours, LocationQuery, type LocationType, type LostBook, LostBookQuery, MASTERY_LEVELS, type MarnieCategory, type MarnieItem, MarnieQuery, type MasteryLevel, type MasterySkill, type MasteryUnlock, type MedicalSupply, MedicalSupplyQuery, type MeleeWeapon, type Mineral, type MineralItem, MineralQuery, type MixedSeed, type MixedSeedProduces, MixedSeedQuery, type Monster, type MonsterLoot, MonsterLootQuery, MonsterQuery, type MonsterSlayerGoal, MonsterSlayerGoalQuery, type MonsterVariant, type NodeDrop, type NodeItem, type OasisCategory, type OasisDay, type OasisItem, OasisQuery, type OreItem, type PerfectionCategory, PerfectionQuery, type Pet, type PierreCategory, type PierreItem, PierreQuery, type PriceFormula, type ProfessionData, ProfessionQuery, type ProfessionSkill, type QiCurrency, type QiStockItem, QiStockQuery, type Quality, QualityCalculator, type QualityEnergyHealth, type QualityPrice, type Quest, QuestQuery, type RecipeSource, type ResourceItem, type Ring, RingQuery, SKILL_TITLES, type SaloonCategory, type SaloonItem, SaloonQuery, type SaveAnimal, type SaveBuilding, type SaveBundleData, type SaveBundleItem, type SaveBundleReward, type SaveBundleRoom, type SaveBundleStatus, type SaveChild, type SaveCollectionEntry, type SaveData, type SaveDate, type SaveFarm, type SaveFishEntry, type SaveFriendship, type SaveIslandUpgrades, type SaveItem, type SaveMastery, type SaveMasteryPerk, type SaveMineProgress, type SaveMonsterKillEntry, type SaveMuseum, type SavePerfection, type SavePet, type SavePlayer, type SavePowerEntry, type SavePowers, type SaveProfession, type SaveQuest, type SaveRaccoons, type SaveRecipeEntry, type SaveSecretNotes, type SaveShippedEntry, type SaveSkillLevel, type SaveSkills, type SaveSpecialOrders, type SaveStardropEntry, type SaveStats, type SaveWalnuts, type SearchResult, type SearchResultKind, type Season, type SeasonData, SeasonQuery, type SecretNote, SecretNoteQuery, type SecretNoteType, type SeedBuyPrice, type SimpleTool, type Skill, type SkillLevel, type SkillLevelRecipes, type SkillMastery, SkillQuery, type SlayerReward, type Slingshot, type SmeltRecipe, type SpecialItem, SpecialItemQuery, type SpecialItemType, type SpecialOrderCategory, type SpecialOrderData, SpecialOrderQuery, type Stage, type StarDrop, StarDropQuery, type StarDropSource, type Tackle, TackleQuery, type TitleThreshold, type Tool, type ToolLevel, ToolQuery, type ToolType, type Tree, TreeQuery, type Trinket, TrinketQuery, type TrinketSource, type UniversalGifts, type UpgradeLevel, type UpgradeableTool, type VersionRange, type Villager, VillagerQuery, type VolcanoShopCategory, type VolcanoShopCurrency, type VolcanoShopItem, VolcanoShopQuery, type Weapon, WeaponQuery, type WeaponStat, WeaponStatQuery, type WeaponType, type Weather, WeatherQuery, type WildTree, type WildTreeTapper, type WillyCategory, type WillyItem, WillyQuery, type WizardBuilding, type WizardBuildingMaterial, WizardQuery, achievements, animals, applyPriceFormula, artifacts, artisanGoods, bait, blacksmith, booksellerShop, booksellerTrades, buildings, bundles, calculateArtisanPrice, carpenter, casino, collections, concessions, cooking, crafting, crops, desertTrader, dwarfShop, events, fieldOffice, fieldOfficeDonations, findFestival, fish, footwear, forageables, getMasteryLevel, getProfessionOptions, getTitle, getTitleScore, goldenWalnuts, grandpaEvaluator, guild, hats, houseRenovations, houseUpgrades, isFarmAnimal, isPet, islandTrader, joja, krobus, locations, lostBooks, maps, marnie, medicalSupplies, minerals, mixedSeeds, monsterLoot, monsterSlayerGoals, monsters, oasis, parseSaveFile, perfection, pierre, professions, qiStock, qualityCalculator, quests, resolveApiVersion, rings, saloon, search, seasons, secretNotes, skills, specialItems, specialOrders, starDrops, tackle, tools, trees, trinkets, universalGifts, villagers, volcanoShop, weaponStats, weapons, weather, willy, wizard };
|