diff --git a/.eslintcache b/.eslintcache index e37c8c5..7ca99a3 100644 --- a/.eslintcache +++ b/.eslintcache @@ -1 +1 @@ -[{"C:\\Development\\IdleViteVue\\.eslintrc.js":"1","C:\\Development\\IdleViteVue\\postcss.config.js":"2","C:\\Development\\IdleViteVue\\tailwind.config.js":"3","C:\\Development\\IdleViteVue\\vite.config.js":"4","C:\\Development\\IdleViteVue\\src\\App.vue":"5","C:\\Development\\IdleViteVue\\src\\main.ts":"6","C:\\Development\\IdleViteVue\\src\\routes.ts":"7","C:\\Development\\IdleViteVue\\src\\shims-vue.d.ts":"8","C:\\Development\\IdleViteVue\\src\\store.ts":"9","C:\\Development\\IdleViteVue\\src\\components\\AntSimulation.vue":"10","C:\\Development\\IdleViteVue\\src\\views\\Adventure.vue":"11","C:\\Development\\IdleViteVue\\src\\views\\AntResources.vue":"12","C:\\Development\\IdleViteVue\\src\\views\\Home.vue":"13","C:\\Development\\IdleViteVue\\src\\views\\NotFound.vue":"14","C:\\Development\\IdleViteVue\\src\\stores\\adventureStore.ts":"15","C:\\Development\\IdleViteVue\\src\\stores\\gameStore.ts":"16","C:\\Development\\IdleViteVue\\src\\views\\Debugger.vue":"17","C:\\Development\\IdleViteVue\\src\\views\\Inventory.vue":"18","C:\\Development\\IdleViteVue\\src\\stores\\inventoryStore.ts":"19","C:\\Development\\IdleViteVue\\src\\components\\InventoryItem.vue":"20","C:\\Development\\IdleViteVue\\src\\types\\itemRegistry.ts":"21","C:\\Development\\IdleViteVue\\src\\firebase.ts":"22","C:\\Development\\IdleViteVue\\src\\components\\Modal.vue":"23","C:\\Development\\IdleViteVue\\src\\views\\PrestigeShop.vue":"24","C:\\Development\\IdleViteVue\\src\\views\\Settings.vue":"25","C:\\Development\\IdleViteVue\\src\\stores\\prestigeStore.ts":"26"},{"size":758,"mtime":1725657576729},{"size":83,"mtime":1725657576792},{"size":726,"mtime":1725826628130},{"size":177,"mtime":1725657576822},{"size":83,"mtime":1725657506695,"results":"27","hashOfConfig":"28"},{"size":1843,"mtime":1725898066056,"results":"29","hashOfConfig":"28"},{"size":272,"mtime":1725660566335,"results":"30","hashOfConfig":"28"},{"size":120,"mtime":1725474178300,"results":"31","hashOfConfig":"28"},{"size":90,"mtime":1725474178300,"results":"32","hashOfConfig":"28"},{"size":14778,"mtime":1725824992912,"results":"33","hashOfConfig":"28"},{"size":4382,"mtime":1725896031604,"results":"34","hashOfConfig":"28"},{"size":14557,"mtime":1725910395274,"results":"35","hashOfConfig":"28"},{"size":12208,"mtime":1725915468765,"results":"36","hashOfConfig":"28"},{"size":436,"mtime":1725474178301,"results":"37","hashOfConfig":"28"},{"size":14104,"mtime":1725902793489,"results":"38","hashOfConfig":"28"},{"size":23861,"mtime":1725954205494,"results":"39","hashOfConfig":"28"},{"size":3251,"mtime":1725899290112,"results":"40","hashOfConfig":"28"},{"size":4598,"mtime":1725776358787,"results":"41","hashOfConfig":"28"},{"size":6536,"mtime":1725902610389,"results":"42","hashOfConfig":"28"},{"size":1448,"mtime":1725739147002,"results":"43","hashOfConfig":"28"},{"size":4070,"mtime":1725900842399,"results":"44","hashOfConfig":"28"},{"size":1173,"mtime":1725903219799,"results":"45","hashOfConfig":"28"},{"size":1290,"mtime":1725801294724},{"size":5672,"mtime":1725895682524},{"size":1423,"mtime":1725824134747},{"size":11069,"mtime":1725901778619,"results":"46","hashOfConfig":"28"},{"filePath":"47","messages":"48","suppressedMessages":"49","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"adzkch",{"filePath":"50","messages":"51","suppressedMessages":"52","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"53","messages":"54","suppressedMessages":"55","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"56","messages":"57","suppressedMessages":"58","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"59","messages":"60","suppressedMessages":"61","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"62","messages":"63","suppressedMessages":"64","errorCount":0,"fatalErrorCount":0,"warningCount":9,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"65","messages":"66","suppressedMessages":"67","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"68","messages":"69","suppressedMessages":"70","errorCount":0,"fatalErrorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"71","messages":"72","suppressedMessages":"73","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"74","messages":"75","suppressedMessages":"76","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"77","messages":"78","suppressedMessages":"79","errorCount":0,"fatalErrorCount":0,"warningCount":4,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"80","messages":"81","suppressedMessages":"82","errorCount":0,"fatalErrorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"83","messages":"84","suppressedMessages":"85","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"86","messages":"87","suppressedMessages":"88","errorCount":0,"fatalErrorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"89","messages":"90","suppressedMessages":"91","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"92","messages":"93","suppressedMessages":"94","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"95","messages":"96","suppressedMessages":"97","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"98","messages":"99","suppressedMessages":"100","errorCount":0,"fatalErrorCount":0,"warningCount":3,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"101","messages":"102","suppressedMessages":"103","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"C:\\Development\\IdleViteVue\\src\\App.vue",[],[],"C:\\Development\\IdleViteVue\\src\\main.ts",[],[],"C:\\Development\\IdleViteVue\\src\\routes.ts",[],[],"C:\\Development\\IdleViteVue\\src\\shims-vue.d.ts",[],[],"C:\\Development\\IdleViteVue\\src\\store.ts",[],[],"C:\\Development\\IdleViteVue\\src\\components\\AntSimulation.vue",["104","105","106","107","108","109","110","111","112"],[],"C:\\Development\\IdleViteVue\\src\\views\\Adventure.vue",[],[],"C:\\Development\\IdleViteVue\\src\\views\\AntResources.vue",["113","114"],[],"C:\\Development\\IdleViteVue\\src\\views\\Home.vue",[],[],"C:\\Development\\IdleViteVue\\src\\views\\NotFound.vue",[],[],"C:\\Development\\IdleViteVue\\src\\stores\\adventureStore.ts",["115","116","117","118"],[],"C:\\Development\\IdleViteVue\\src\\stores\\gameStore.ts",["119","120"],[],"C:\\Development\\IdleViteVue\\src\\views\\Debugger.vue",[],[],"C:\\Development\\IdleViteVue\\src\\views\\Inventory.vue",["121","122"],[],"C:\\Development\\IdleViteVue\\src\\stores\\inventoryStore.ts",[],[],"C:\\Development\\IdleViteVue\\src\\components\\InventoryItem.vue",[],[],"C:\\Development\\IdleViteVue\\src\\types\\itemRegistry.ts",[],[],"C:\\Development\\IdleViteVue\\src\\firebase.ts",["123","124","125"],[],"C:\\Development\\IdleViteVue\\src\\stores\\prestigeStore.ts",[],[],{"ruleId":"126","severity":1,"message":"127","line":252,"column":49,"nodeType":"128","messageId":"129","endLine":252,"endColumn":62,"suggestions":"130"},{"ruleId":"126","severity":1,"message":"127","line":254,"column":62,"nodeType":"128","messageId":"129","endLine":254,"endColumn":75,"suggestions":"131"},{"ruleId":"126","severity":1,"message":"127","line":256,"column":49,"nodeType":"128","messageId":"129","endLine":256,"endColumn":62,"suggestions":"132"},{"ruleId":"126","severity":1,"message":"127","line":258,"column":62,"nodeType":"128","messageId":"129","endLine":258,"endColumn":75,"suggestions":"133"},{"ruleId":"126","severity":1,"message":"127","line":281,"column":3,"nodeType":"128","messageId":"129","endLine":281,"endColumn":13,"suggestions":"134"},{"ruleId":"126","severity":1,"message":"127","line":294,"column":3,"nodeType":"128","messageId":"129","endLine":294,"endColumn":13,"suggestions":"135"},{"ruleId":"126","severity":1,"message":"127","line":295,"column":3,"nodeType":"128","messageId":"129","endLine":295,"endColumn":13,"suggestions":"136"},{"ruleId":"126","severity":1,"message":"127","line":295,"column":29,"nodeType":"128","messageId":"129","endLine":295,"endColumn":42,"suggestions":"137"},{"ruleId":"126","severity":1,"message":"127","line":295,"column":50,"nodeType":"128","messageId":"129","endLine":295,"endColumn":63,"suggestions":"138"},{"ruleId":"139","severity":1,"message":"140","line":313,"column":9,"nodeType":"141","messageId":"142","endLine":313,"endColumn":12},{"ruleId":"139","severity":1,"message":"143","line":314,"column":8,"nodeType":"141","messageId":"142","endLine":314,"endColumn":13},{"ruleId":"139","severity":1,"message":"144","line":5,"column":9,"nodeType":"141","messageId":"142","endLine":5,"endColumn":21},{"ruleId":"139","severity":1,"message":"145","line":6,"column":9,"nodeType":"141","messageId":"142","endLine":6,"endColumn":12},{"ruleId":"139","severity":1,"message":"146","line":6,"column":14,"nodeType":"141","messageId":"142","endLine":6,"endColumn":17},{"ruleId":"139","severity":1,"message":"147","line":6,"column":19,"nodeType":"141","messageId":"142","endLine":6,"endColumn":22},{"ruleId":"139","severity":1,"message":"148","line":175,"column":17,"nodeType":"141","messageId":"142","endLine":175,"endColumn":30},{"ruleId":"139","severity":1,"message":"149","line":354,"column":15,"nodeType":"141","messageId":"142","endLine":354,"endColumn":25},{"ruleId":"139","severity":1,"message":"150","line":48,"column":15,"nodeType":"141","messageId":"142","endLine":48,"endColumn":21},{"ruleId":"151","severity":1,"message":"152","line":77,"column":18,"nodeType":"153","messageId":"154","endLine":77,"endColumn":21,"suggestions":"155"},{"ruleId":"139","severity":1,"message":"156","line":2,"column":24,"nodeType":"141","messageId":"142","endLine":2,"endColumn":34},{"ruleId":"139","severity":1,"message":"157","line":4,"column":10,"nodeType":"141","messageId":"142","endLine":4,"endColumn":28},{"ruleId":"139","severity":1,"message":"158","line":4,"column":30,"nodeType":"141","messageId":"142","endLine":4,"endColumn":49},"@typescript-eslint/no-non-null-assertion","Forbidden non-null assertion.","TSNonNullExpression","noNonNull",["159"],["160"],["161"],["162"],["163"],["164"],["165"],["166"],["167"],"@typescript-eslint/no-unused-vars","'ref' is defined but never used.","Identifier","unusedVar","'Modal' is defined but never used.","'itemRegistry' is defined but never used.","'del' is defined but never used.","'get' is defined but never used.","'set' is defined but never used.","'prestigeStore' is assigned a value but never used.","'credential' is assigned a value but never used.","'height' is assigned a value but never used.","@typescript-eslint/no-explicit-any","Unexpected any. Specify a different type.","TSAnyKeyword","unexpectedAny",["168","169"],"'collection' is defined but never used.","'initializeAppCheck' is defined but never used.","'ReCaptchaV3Provider' is defined but never used.",{"messageId":"170","fix":"171","desc":"172"},{"messageId":"170","fix":"173","desc":"172"},{"messageId":"170","fix":"174","desc":"172"},{"messageId":"170","fix":"175","desc":"172"},{"messageId":"170","fix":"176","desc":"172"},{"messageId":"170","fix":"177","desc":"172"},{"messageId":"170","fix":"178","desc":"172"},{"messageId":"170","fix":"179","desc":"172"},{"messageId":"170","fix":"180","desc":"172"},{"messageId":"181","fix":"182","desc":"183"},{"messageId":"184","fix":"185","desc":"186"},"suggestOptionalChain",{"range":"187","text":"188"},"Consider using the optional chain operator `?.` instead. This operator includes runtime checks, so it is safer than the compile-only non-null assertion operator.",{"range":"189","text":"188"},{"range":"190","text":"188"},{"range":"191","text":"188"},{"range":"192","text":"188"},{"range":"193","text":"188"},{"range":"194","text":"188"},{"range":"195","text":"188"},{"range":"196","text":"188"},"suggestUnknown",{"range":"197","text":"198"},"Use `unknown` instead, this will force you to explicitly, and safely assert the type is correct.","suggestNever",{"range":"197","text":"199"},"Use `never` instead, this is useful when instantiating generic type parameters that you don't need to know the type of.",[8615,8616],"?",[8758,8759],[8853,8854],[8992,8993],[9678,9679],[10057,10058],[10112,10113],[10141,10142],[10162,10163],[2559,2562],"unknown","never"] \ No newline at end of file +[{"C:\\Development\\IdleViteVue\\.eslintrc.js":"1","C:\\Development\\IdleViteVue\\postcss.config.js":"2","C:\\Development\\IdleViteVue\\tailwind.config.js":"3","C:\\Development\\IdleViteVue\\vite.config.js":"4","C:\\Development\\IdleViteVue\\src\\App.vue":"5","C:\\Development\\IdleViteVue\\src\\main.ts":"6","C:\\Development\\IdleViteVue\\src\\routes.ts":"7","C:\\Development\\IdleViteVue\\src\\shims-vue.d.ts":"8","C:\\Development\\IdleViteVue\\src\\store.ts":"9","C:\\Development\\IdleViteVue\\src\\components\\AntSimulation.vue":"10","C:\\Development\\IdleViteVue\\src\\views\\Adventure.vue":"11","C:\\Development\\IdleViteVue\\src\\views\\AntResources.vue":"12","C:\\Development\\IdleViteVue\\src\\views\\Home.vue":"13","C:\\Development\\IdleViteVue\\src\\views\\NotFound.vue":"14","C:\\Development\\IdleViteVue\\src\\stores\\adventureStore.ts":"15","C:\\Development\\IdleViteVue\\src\\stores\\gameStore.ts":"16","C:\\Development\\IdleViteVue\\src\\views\\Debugger.vue":"17","C:\\Development\\IdleViteVue\\src\\views\\Inventory.vue":"18","C:\\Development\\IdleViteVue\\src\\stores\\inventoryStore.ts":"19","C:\\Development\\IdleViteVue\\src\\components\\InventoryItem.vue":"20","C:\\Development\\IdleViteVue\\src\\types\\itemRegistry.ts":"21","C:\\Development\\IdleViteVue\\src\\firebase.ts":"22","C:\\Development\\IdleViteVue\\src\\components\\Modal.vue":"23","C:\\Development\\IdleViteVue\\src\\views\\PrestigeShop.vue":"24","C:\\Development\\IdleViteVue\\src\\views\\Settings.vue":"25","C:\\Development\\IdleViteVue\\src\\stores\\prestigeStore.ts":"26"},{"size":758,"mtime":1725657576729},{"size":83,"mtime":1725657576792},{"size":726,"mtime":1725826628130},{"size":177,"mtime":1725657576822},{"size":83,"mtime":1725657506695,"results":"27","hashOfConfig":"28"},{"size":1843,"mtime":1725898066056,"results":"29","hashOfConfig":"28"},{"size":272,"mtime":1725660566335,"results":"30","hashOfConfig":"28"},{"size":120,"mtime":1725474178300,"results":"31","hashOfConfig":"28"},{"size":90,"mtime":1725474178300,"results":"32","hashOfConfig":"28"},{"size":14778,"mtime":1725824992912,"results":"33","hashOfConfig":"28"},{"size":4476,"mtime":1725981711550,"results":"34","hashOfConfig":"28"},{"size":14557,"mtime":1725910395274,"results":"35","hashOfConfig":"28"},{"size":12588,"mtime":1725980170178,"results":"36","hashOfConfig":"28"},{"size":436,"mtime":1725474178301,"results":"37","hashOfConfig":"28"},{"size":18621,"mtime":1725980504591,"results":"38","hashOfConfig":"28"},{"size":24326,"mtime":1725980822732,"results":"39","hashOfConfig":"28"},{"size":3251,"mtime":1725899290112,"results":"40","hashOfConfig":"28"},{"size":4598,"mtime":1725776358787,"results":"41","hashOfConfig":"28"},{"size":6536,"mtime":1725902610389,"results":"42","hashOfConfig":"28"},{"size":1448,"mtime":1725739147002,"results":"43","hashOfConfig":"28"},{"size":4070,"mtime":1725900842399,"results":"44","hashOfConfig":"28"},{"size":1173,"mtime":1725903219799,"results":"45","hashOfConfig":"28"},{"size":1290,"mtime":1725801294724},{"size":5672,"mtime":1725895682524},{"size":1423,"mtime":1725824134747},{"size":11069,"mtime":1725901778619,"results":"46","hashOfConfig":"28"},{"filePath":"47","messages":"48","suppressedMessages":"49","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"adzkch",{"filePath":"50","messages":"51","suppressedMessages":"52","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"53","messages":"54","suppressedMessages":"55","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"56","messages":"57","suppressedMessages":"58","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"59","messages":"60","suppressedMessages":"61","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"62","messages":"63","suppressedMessages":"64","errorCount":0,"fatalErrorCount":0,"warningCount":9,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"65","messages":"66","suppressedMessages":"67","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"68","messages":"69","suppressedMessages":"70","errorCount":0,"fatalErrorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"71","messages":"72","suppressedMessages":"73","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"74","messages":"75","suppressedMessages":"76","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"77","messages":"78","suppressedMessages":"79","errorCount":0,"fatalErrorCount":0,"warningCount":4,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"80","messages":"81","suppressedMessages":"82","errorCount":0,"fatalErrorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"83","messages":"84","suppressedMessages":"85","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"86","messages":"87","suppressedMessages":"88","errorCount":0,"fatalErrorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"89","messages":"90","suppressedMessages":"91","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"92","messages":"93","suppressedMessages":"94","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"95","messages":"96","suppressedMessages":"97","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"98","messages":"99","suppressedMessages":"100","errorCount":0,"fatalErrorCount":0,"warningCount":3,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"101","messages":"102","suppressedMessages":"103","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"C:\\Development\\IdleViteVue\\src\\App.vue",[],[],"C:\\Development\\IdleViteVue\\src\\main.ts",[],[],"C:\\Development\\IdleViteVue\\src\\routes.ts",[],[],"C:\\Development\\IdleViteVue\\src\\shims-vue.d.ts",[],[],"C:\\Development\\IdleViteVue\\src\\store.ts",[],[],"C:\\Development\\IdleViteVue\\src\\components\\AntSimulation.vue",["104","105","106","107","108","109","110","111","112"],[],"C:\\Development\\IdleViteVue\\src\\views\\Adventure.vue",[],[],"C:\\Development\\IdleViteVue\\src\\views\\AntResources.vue",["113","114"],[],"C:\\Development\\IdleViteVue\\src\\views\\Home.vue",[],[],"C:\\Development\\IdleViteVue\\src\\views\\NotFound.vue",[],[],"C:\\Development\\IdleViteVue\\src\\stores\\adventureStore.ts",["115","116","117","118"],[],"C:\\Development\\IdleViteVue\\src\\stores\\gameStore.ts",["119","120"],[],"C:\\Development\\IdleViteVue\\src\\views\\Debugger.vue",[],[],"C:\\Development\\IdleViteVue\\src\\views\\Inventory.vue",["121","122"],[],"C:\\Development\\IdleViteVue\\src\\stores\\inventoryStore.ts",[],[],"C:\\Development\\IdleViteVue\\src\\components\\InventoryItem.vue",[],[],"C:\\Development\\IdleViteVue\\src\\types\\itemRegistry.ts",[],[],"C:\\Development\\IdleViteVue\\src\\firebase.ts",["123","124","125"],[],"C:\\Development\\IdleViteVue\\src\\stores\\prestigeStore.ts",[],[],{"ruleId":"126","severity":1,"message":"127","line":252,"column":49,"nodeType":"128","messageId":"129","endLine":252,"endColumn":62,"suggestions":"130"},{"ruleId":"126","severity":1,"message":"127","line":254,"column":62,"nodeType":"128","messageId":"129","endLine":254,"endColumn":75,"suggestions":"131"},{"ruleId":"126","severity":1,"message":"127","line":256,"column":49,"nodeType":"128","messageId":"129","endLine":256,"endColumn":62,"suggestions":"132"},{"ruleId":"126","severity":1,"message":"127","line":258,"column":62,"nodeType":"128","messageId":"129","endLine":258,"endColumn":75,"suggestions":"133"},{"ruleId":"126","severity":1,"message":"127","line":281,"column":3,"nodeType":"128","messageId":"129","endLine":281,"endColumn":13,"suggestions":"134"},{"ruleId":"126","severity":1,"message":"127","line":294,"column":3,"nodeType":"128","messageId":"129","endLine":294,"endColumn":13,"suggestions":"135"},{"ruleId":"126","severity":1,"message":"127","line":295,"column":3,"nodeType":"128","messageId":"129","endLine":295,"endColumn":13,"suggestions":"136"},{"ruleId":"126","severity":1,"message":"127","line":295,"column":29,"nodeType":"128","messageId":"129","endLine":295,"endColumn":42,"suggestions":"137"},{"ruleId":"126","severity":1,"message":"127","line":295,"column":50,"nodeType":"128","messageId":"129","endLine":295,"endColumn":63,"suggestions":"138"},{"ruleId":"139","severity":1,"message":"140","line":313,"column":9,"nodeType":"141","messageId":"142","endLine":313,"endColumn":12},{"ruleId":"139","severity":1,"message":"143","line":314,"column":8,"nodeType":"141","messageId":"142","endLine":314,"endColumn":13},{"ruleId":"139","severity":1,"message":"144","line":5,"column":9,"nodeType":"141","messageId":"142","endLine":5,"endColumn":21},{"ruleId":"139","severity":1,"message":"145","line":6,"column":9,"nodeType":"141","messageId":"142","endLine":6,"endColumn":12},{"ruleId":"139","severity":1,"message":"146","line":6,"column":14,"nodeType":"141","messageId":"142","endLine":6,"endColumn":17},{"ruleId":"139","severity":1,"message":"147","line":6,"column":19,"nodeType":"141","messageId":"142","endLine":6,"endColumn":22},{"ruleId":"139","severity":1,"message":"148","line":175,"column":17,"nodeType":"141","messageId":"142","endLine":175,"endColumn":30},{"ruleId":"139","severity":1,"message":"149","line":354,"column":15,"nodeType":"141","messageId":"142","endLine":354,"endColumn":25},{"ruleId":"139","severity":1,"message":"150","line":48,"column":15,"nodeType":"141","messageId":"142","endLine":48,"endColumn":21},{"ruleId":"151","severity":1,"message":"152","line":77,"column":18,"nodeType":"153","messageId":"154","endLine":77,"endColumn":21,"suggestions":"155"},{"ruleId":"139","severity":1,"message":"156","line":2,"column":24,"nodeType":"141","messageId":"142","endLine":2,"endColumn":34},{"ruleId":"139","severity":1,"message":"157","line":4,"column":10,"nodeType":"141","messageId":"142","endLine":4,"endColumn":28},{"ruleId":"139","severity":1,"message":"158","line":4,"column":30,"nodeType":"141","messageId":"142","endLine":4,"endColumn":49},"@typescript-eslint/no-non-null-assertion","Forbidden non-null assertion.","TSNonNullExpression","noNonNull",["159"],["160"],["161"],["162"],["163"],["164"],["165"],["166"],["167"],"@typescript-eslint/no-unused-vars","'ref' is defined but never used.","Identifier","unusedVar","'Modal' is defined but never used.","'itemRegistry' is defined but never used.","'del' is defined but never used.","'get' is defined but never used.","'set' is defined but never used.","'prestigeStore' is assigned a value but never used.","'credential' is assigned a value but never used.","'height' is assigned a value but never used.","@typescript-eslint/no-explicit-any","Unexpected any. Specify a different type.","TSAnyKeyword","unexpectedAny",["168","169"],"'collection' is defined but never used.","'initializeAppCheck' is defined but never used.","'ReCaptchaV3Provider' is defined but never used.",{"messageId":"170","fix":"171","desc":"172"},{"messageId":"170","fix":"173","desc":"172"},{"messageId":"170","fix":"174","desc":"172"},{"messageId":"170","fix":"175","desc":"172"},{"messageId":"170","fix":"176","desc":"172"},{"messageId":"170","fix":"177","desc":"172"},{"messageId":"170","fix":"178","desc":"172"},{"messageId":"170","fix":"179","desc":"172"},{"messageId":"170","fix":"180","desc":"172"},{"messageId":"181","fix":"182","desc":"183"},{"messageId":"184","fix":"185","desc":"186"},"suggestOptionalChain",{"range":"187","text":"188"},"Consider using the optional chain operator `?.` instead. This operator includes runtime checks, so it is safer than the compile-only non-null assertion operator.",{"range":"189","text":"188"},{"range":"190","text":"188"},{"range":"191","text":"188"},{"range":"192","text":"188"},{"range":"193","text":"188"},{"range":"194","text":"188"},{"range":"195","text":"188"},{"range":"196","text":"188"},"suggestUnknown",{"range":"197","text":"198"},"Use `unknown` instead, this will force you to explicitly, and safely assert the type is correct.","suggestNever",{"range":"197","text":"199"},"Use `never` instead, this is useful when instantiating generic type parameters that you don't need to know the type of.",[8615,8616],"?",[8758,8759],[8853,8854],[8992,8993],[9678,9679],[10057,10058],[10112,10113],[10141,10142],[10162,10163],[2559,2562],"unknown","never"] \ No newline at end of file diff --git a/src/stores/adventureStore.ts b/src/stores/adventureStore.ts index 75884b2..8e33f98 100644 --- a/src/stores/adventureStore.ts +++ b/src/stores/adventureStore.ts @@ -206,11 +206,6 @@ export const useAdventureStore = defineStore('adventureStore', { // Start the battle loop startBattle() { // Check if already running - if (this.battleRunning) { - console.error('Battle is already running') - return - } - console.log('Battle Loop Started') this.battleRunning = true this.isFighting = true diff --git a/src/views/Adventure.vue b/src/views/Adventure.vue index f0277d9..30a4e0e 100644 --- a/src/views/Adventure.vue +++ b/src/views/Adventure.vue @@ -97,6 +97,7 @@ const formatNumber = useGameStore().formatNumber const adventureStore = useAdventureStore() watch(() => adventureStore.currentArea, () => { + adventureStore.battleCooldown = false adventureStore.spawnRandomEnemy() })