From 1cdd5c3ba77b16c83071fee2730d8bbb47777cc4 Mon Sep 17 00:00:00 2001 From: Sainan <63328889+Sainan@users.noreply.github.com> Date: Sun, 22 Jun 2025 19:58:19 +0200 Subject: [PATCH] feat: unlockAllSimarisResearchEntries cheat --- config.json.example | 1 + src/controllers/api/inventoryController.ts | 13 +++++++++++++ src/services/configService.ts | 1 + static/webui/index.html | 4 ++++ static/webui/translations/de.js | 1 + static/webui/translations/en.js | 1 + static/webui/translations/es.js | 1 + static/webui/translations/fr.js | 1 + static/webui/translations/ru.js | 1 + static/webui/translations/zh.js | 1 + 10 files changed, 25 insertions(+) diff --git a/config.json.example b/config.json.example index 72495c8b..50061401 100644 --- a/config.json.example +++ b/config.json.example @@ -55,6 +55,7 @@ "noDojoResearchTime": false, "fastClanAscension": false, "missionsCanGiveAllRelics": false, + "unlockAllSimarisResearchEntries": false, "spoofMasteryRank": -1, "nightwaveStandingMultiplier": 1, "worldState": { diff --git a/src/controllers/api/inventoryController.ts b/src/controllers/api/inventoryController.ts index ed4b8cff..ecc32ec3 100644 --- a/src/controllers/api/inventoryController.ts +++ b/src/controllers/api/inventoryController.ts @@ -334,6 +334,19 @@ export const getInventoryResponse = async ( } } + if (config.unlockAllSimarisResearchEntries) { + inventoryResponse.LibraryPersonalTarget = undefined; + inventoryResponse.LibraryPersonalProgress = [ + "/Lotus/Types/Game/Library/Targets/Research1Target", + "/Lotus/Types/Game/Library/Targets/Research2Target", + "/Lotus/Types/Game/Library/Targets/Research3Target", + "/Lotus/Types/Game/Library/Targets/Research4Target", + "/Lotus/Types/Game/Library/Targets/Research5Target", + "/Lotus/Types/Game/Library/Targets/Research6Target", + "/Lotus/Types/Game/Library/Targets/Research7Target" + ].map(type => ({ TargetType: type, Scans: 10, Completed: true })); + } + return inventoryResponse; }; diff --git a/src/services/configService.ts b/src/services/configService.ts index 74b8f5b7..ab91cf79 100644 --- a/src/services/configService.ts +++ b/src/services/configService.ts @@ -62,6 +62,7 @@ export interface IConfig { noDojoResearchTime?: boolean; fastClanAscension?: boolean; missionsCanGiveAllRelics?: boolean; + unlockAllSimarisResearchEntries?: boolean; spoofMasteryRank?: number; nightwaveStandingMultiplier?: number; worldState?: { diff --git a/static/webui/index.html b/static/webui/index.html index 5eb4b297..e7fba33c 100644 --- a/static/webui/index.html +++ b/static/webui/index.html @@ -756,6 +756,10 @@ +
+ + +
diff --git a/static/webui/translations/de.js b/static/webui/translations/de.js index b82f547f..b37c1972 100644 --- a/static/webui/translations/de.js +++ b/static/webui/translations/de.js @@ -172,6 +172,7 @@ dict = { cheats_noDojoResearchTime: `Keine Dojo-Forschungszeit`, cheats_fastClanAscension: `Schneller Clan-Aufstieg`, cheats_missionsCanGiveAllRelics: `[UNTRANSLATED] Missions Can Give All Relics`, + cheats_unlockAllSimarisResearchEntries: `[UNTRANSLATED] Unlock All Simaris Research Entries`, cheats_spoofMasteryRank: `Gefälschter Meisterschaftsrang (-1 zum deaktivieren)`, cheats_nightwaveStandingMultiplier: `[UNTRANSLATED] Nightwave Standing Multiplier`, cheats_save: `[UNTRANSLATED] Save`, diff --git a/static/webui/translations/en.js b/static/webui/translations/en.js index 870f1d89..5da381f4 100644 --- a/static/webui/translations/en.js +++ b/static/webui/translations/en.js @@ -171,6 +171,7 @@ dict = { cheats_noDojoResearchTime: `No Dojo Research Time`, cheats_fastClanAscension: `Fast Clan Ascension`, cheats_missionsCanGiveAllRelics: `Missions Can Give All Relics`, + cheats_unlockAllSimarisResearchEntries: `Unlock All Simaris Research Entries`, cheats_spoofMasteryRank: `Spoofed Mastery Rank (-1 to disable)`, cheats_nightwaveStandingMultiplier: `Nightwave Standing Multiplier`, cheats_save: `Save`, diff --git a/static/webui/translations/es.js b/static/webui/translations/es.js index eb56f094..1a85f6de 100644 --- a/static/webui/translations/es.js +++ b/static/webui/translations/es.js @@ -172,6 +172,7 @@ dict = { cheats_noDojoResearchTime: `Sin tiempo de investigación del dojo`, cheats_fastClanAscension: `Ascenso rápido del clan`, cheats_missionsCanGiveAllRelics: `Las misiones pueden otorgar todas las reliquias`, + cheats_unlockAllSimarisResearchEntries: `[UNTRANSLATED] Unlock All Simaris Research Entries`, cheats_spoofMasteryRank: `Rango de maestría simulado (-1 para desactivar)`, cheats_nightwaveStandingMultiplier: `Multiplicador de Reputación de Onda Nocturna`, cheats_save: `Guardar`, diff --git a/static/webui/translations/fr.js b/static/webui/translations/fr.js index 5d522b2b..fffbdab0 100644 --- a/static/webui/translations/fr.js +++ b/static/webui/translations/fr.js @@ -172,6 +172,7 @@ dict = { cheats_noDojoResearchTime: `Aucun temps de recherche (Dojo)`, cheats_fastClanAscension: `Ascension de clan rapide`, cheats_missionsCanGiveAllRelics: `[UNTRANSLATED] Missions Can Give All Relics`, + cheats_unlockAllSimarisResearchEntries: `[UNTRANSLATED] Unlock All Simaris Research Entries`, cheats_spoofMasteryRank: `Rang de maîtrise personnalisé (-1 pour désactiver)`, cheats_nightwaveStandingMultiplier: `[UNTRANSLATED] Nightwave Standing Multiplier`, cheats_save: `[UNTRANSLATED] Save`, diff --git a/static/webui/translations/ru.js b/static/webui/translations/ru.js index e06907bf..d2b3ebb6 100644 --- a/static/webui/translations/ru.js +++ b/static/webui/translations/ru.js @@ -172,6 +172,7 @@ dict = { cheats_noDojoResearchTime: `Мгновенные Исследование Додзё`, cheats_fastClanAscension: `Мгновенное Вознесение Клана`, cheats_missionsCanGiveAllRelics: `[UNTRANSLATED] Missions Can Give All Relics`, + cheats_unlockAllSimarisResearchEntries: `[UNTRANSLATED] Unlock All Simaris Research Entries`, cheats_spoofMasteryRank: `Подделанный ранг мастерства (-1 для отключения)`, cheats_nightwaveStandingMultiplier: `[UNTRANSLATED] Nightwave Standing Multiplier`, cheats_save: `[UNTRANSLATED] Save`, diff --git a/static/webui/translations/zh.js b/static/webui/translations/zh.js index 8e2e9344..b2c64c54 100644 --- a/static/webui/translations/zh.js +++ b/static/webui/translations/zh.js @@ -172,6 +172,7 @@ dict = { cheats_noDojoResearchTime: `无视道场研究时间`, cheats_fastClanAscension: `快速升级氏族`, cheats_missionsCanGiveAllRelics: `任务可获取所有遗物`, + cheats_unlockAllSimarisResearchEntries: `[UNTRANSLATED] Unlock All Simaris Research Entries`, cheats_spoofMasteryRank: `伪造精通段位(-1为禁用)`, cheats_nightwaveStandingMultiplier: `午夜电波声望倍率`, cheats_save: `保存`, -- 2.47.2