@@ -12,23 +12,25 @@ import MonsterCat from '@utility/monsterCategorie.json' with { type: "json" };
1212import Museum from '@utility/museum.json' with { type : "json" } ;
1313import townSR from './TownSpecialReq.json' with { type : "json" } ;
1414import QiSR from './QiSpecialReq.json' with { type : "json" } ;
15- import type {
16- cropsShippedType ,
17- experienceType ,
18- formatedFriendshipDataType ,
19- formatedMonsterDataType ,
15+ import type {
2016 friendshipDataType ,
21- gameLocationType ,
22- generalFormatedItemType ,
23- itemFoundType ,
17+ gameLocationType ,
2418 itemsType ,
25- itemType ,
26- maxMonoType ,
27- playerType ,
28- professionsType ,
19+ itemType ,
20+ playerType ,
2921 questType ,
3022 specialOrderType
3123} from 'types/savefile' ;
24+ import type {
25+ cropsShippedType ,
26+ generalFormatedItemType ,
27+ professionsType ,
28+ maxMonoType ,
29+ itemFoundType ,
30+ experienceType ,
31+ formatedFriendshipDataType ,
32+ formatedMonsterDataType
33+ } from 'types/displayDataTypes' ;
3234import type { fullPlayerDataType , museumCollectionType } from 'types/displayDataTypes' ;
3335
3436//Gets the info from the farm hands as an array of the same type
@@ -95,7 +97,7 @@ const parseData = ({playerData, collectionStatus, specialRequests, availableSpec
9597 professions : GetProfessionData ( playerData . professions . int ) , //DONE?
9698 shippedItems : GetShippedItems ( playerData . basicShipped ) || [ ] , //DONE
9799 cropsShipped : GetCropsAchievements ( playerData . basicShipped ?. item ) , //Refactored DONE
98- mineralsFound : GetArrayData ( playerData . mineralsFound ?. item ) || [ ] , //DONE
100+ // mineralsFound: GetArrayData(playerData.mineralsFound?.item) || [], //DONE
99101 cookedItems : GetCookingData ( playerData . recipesCooked , playerData . cookingRecipes . item ) || [ ] , //DONE
100102 fishCaught : GetFishes ( playerData . fishCaught . item ) || [ ] ,
101103 tailoredItems : GetArrayDataTimeless ( playerData . tailoredItems ) || [ ] ,
@@ -142,6 +144,7 @@ const GetProfessionData = (professions: number[]): professionsType[] =>{
142144 }
143145 } ) ;
144146 }
147+ console . log ( 'Profession Data:' , data ) ;
145148 return data ;
146149}
147150
0 commit comments