XFE Git
XFE Studio Git
Git 首页 全局搜索
XFE 主站 文档 NuGet

SpaceNinjaServer

A simple server for a small space ninja game

公开
关注 0 Fork 1 Star 0
返回提交历史

XFEstudio/SpaceNinjaServer

feat: unlockAllSimarisResearchEntries cheat (#2252)

Closes #1869 Reviewed-on: https://onlyg.it/OpenWF/SpaceNinjaServer/pulls/2252 Co-authored-by: Sainan <63328889+Sainan@users.noreply.github.com> Co-committed-by: Sainan <63328889+Sainan@users.noreply.github.com>

cfd50e74
Sainan <63328889+Sainan@users.noreply.github.com>
提交于

代码差异

10 个文件 +25 -0
Modified config.json.example +1 -0
@@ -55,6 +55,7 @@
55 55 "noDojoResearchTime": false,
56 56 "fastClanAscension": false,
57 57 "missionsCanGiveAllRelics": false,
58 "unlockAllSimarisResearchEntries": false,
58 59 "spoofMasteryRank": -1,
59 60 "nightwaveStandingMultiplier": 1,
60 61 "worldState": {
Modified src/controllers/api/inventoryController.ts +13 -0
@@ -334,6 +334,19 @@ export const getInventoryResponse = async (
334 334 }
335 335 }
336 336
337 if (config.unlockAllSimarisResearchEntries) {
338 inventoryResponse.LibraryPersonalTarget = undefined;
339 inventoryResponse.LibraryPersonalProgress = [
340 "/Lotus/Types/Game/Library/Targets/Research1Target",
341 "/Lotus/Types/Game/Library/Targets/Research2Target",
342 "/Lotus/Types/Game/Library/Targets/Research3Target",
343 "/Lotus/Types/Game/Library/Targets/Research4Target",
344 "/Lotus/Types/Game/Library/Targets/Research5Target",
345 "/Lotus/Types/Game/Library/Targets/Research6Target",
346 "/Lotus/Types/Game/Library/Targets/Research7Target"
347 ].map(type => ({ TargetType: type, Scans: 10, Completed: true }));
348 }
349
337 350 return inventoryResponse;
338 351 };
339 352
Modified src/services/configService.ts +1 -0
@@ -62,6 +62,7 @@ export interface IConfig {
62 62 noDojoResearchTime?: boolean;
63 63 fastClanAscension?: boolean;
64 64 missionsCanGiveAllRelics?: boolean;
65 unlockAllSimarisResearchEntries?: boolean;
65 66 spoofMasteryRank?: number;
66 67 nightwaveStandingMultiplier?: number;
67 68 worldState?: {
Modified static/webui/index.html +4 -0
@@ -756,6 +756,10 @@
756 756 <input class="form-check-input" type="checkbox" id="missionsCanGiveAllRelics" />
757 757 <label class="form-check-label" for="missionsCanGiveAllRelics" data-loc="cheats_missionsCanGiveAllRelics"></label>
758 758 </div>
759 <div class="form-check">
760 <input class="form-check-input" type="checkbox" id="unlockAllSimarisResearchEntries" />
761 <label class="form-check-label" for="unlockAllSimarisResearchEntries" data-loc="cheats_unlockAllSimarisResearchEntries"></label>
762 </div>
759 763 <form class="form-group mt-2" onsubmit="doSaveConfig('spoofMasteryRank'); return false;">
760 764 <label class="form-label" for="spoofMasteryRank" data-loc="cheats_spoofMasteryRank"></label>
761 765 <div class="input-group">
Modified static/webui/translations/de.js +1 -0
@@ -172,6 +172,7 @@ dict = {
172 172 cheats_noDojoResearchTime: `Keine Dojo-Forschungszeit`,
173 173 cheats_fastClanAscension: `Schneller Clan-Aufstieg`,
174 174 cheats_missionsCanGiveAllRelics: `[UNTRANSLATED] Missions Can Give All Relics`,
175 cheats_unlockAllSimarisResearchEntries: `[UNTRANSLATED] Unlock All Simaris Research Entries`,
175 176 cheats_spoofMasteryRank: `Gefälschter Meisterschaftsrang (-1 zum deaktivieren)`,
176 177 cheats_nightwaveStandingMultiplier: `[UNTRANSLATED] Nightwave Standing Multiplier`,
177 178 cheats_save: `[UNTRANSLATED] Save`,
Modified static/webui/translations/en.js +1 -0
@@ -171,6 +171,7 @@ dict = {
171 171 cheats_noDojoResearchTime: `No Dojo Research Time`,
172 172 cheats_fastClanAscension: `Fast Clan Ascension`,
173 173 cheats_missionsCanGiveAllRelics: `Missions Can Give All Relics`,
174 cheats_unlockAllSimarisResearchEntries: `Unlock All Simaris Research Entries`,
174 175 cheats_spoofMasteryRank: `Spoofed Mastery Rank (-1 to disable)`,
175 176 cheats_nightwaveStandingMultiplier: `Nightwave Standing Multiplier`,
176 177 cheats_save: `Save`,
Modified static/webui/translations/es.js +1 -0
@@ -172,6 +172,7 @@ dict = {
172 172 cheats_noDojoResearchTime: `Sin tiempo de investigación del dojo`,
173 173 cheats_fastClanAscension: `Ascenso rápido del clan`,
174 174 cheats_missionsCanGiveAllRelics: `Las misiones pueden otorgar todas las reliquias`,
175 cheats_unlockAllSimarisResearchEntries: `[UNTRANSLATED] Unlock All Simaris Research Entries`,
175 176 cheats_spoofMasteryRank: `Rango de maestría simulado (-1 para desactivar)`,
176 177 cheats_nightwaveStandingMultiplier: `Multiplicador de Reputación de Onda Nocturna`,
177 178 cheats_save: `Guardar`,
Modified static/webui/translations/fr.js +1 -0
@@ -172,6 +172,7 @@ dict = {
172 172 cheats_noDojoResearchTime: `Aucun temps de recherche (Dojo)`,
173 173 cheats_fastClanAscension: `Ascension de clan rapide`,
174 174 cheats_missionsCanGiveAllRelics: `[UNTRANSLATED] Missions Can Give All Relics`,
175 cheats_unlockAllSimarisResearchEntries: `[UNTRANSLATED] Unlock All Simaris Research Entries`,
175 176 cheats_spoofMasteryRank: `Rang de maîtrise personnalisé (-1 pour désactiver)`,
176 177 cheats_nightwaveStandingMultiplier: `[UNTRANSLATED] Nightwave Standing Multiplier`,
177 178 cheats_save: `[UNTRANSLATED] Save`,
Modified static/webui/translations/ru.js +1 -0
@@ -172,6 +172,7 @@ dict = {
172 172 cheats_noDojoResearchTime: `Мгновенные Исследование Додзё`,
173 173 cheats_fastClanAscension: `Мгновенное Вознесение Клана`,
174 174 cheats_missionsCanGiveAllRelics: `[UNTRANSLATED] Missions Can Give All Relics`,
175 cheats_unlockAllSimarisResearchEntries: `[UNTRANSLATED] Unlock All Simaris Research Entries`,
175 176 cheats_spoofMasteryRank: `Подделанный ранг мастерства (-1 для отключения)`,
176 177 cheats_nightwaveStandingMultiplier: `[UNTRANSLATED] Nightwave Standing Multiplier`,
177 178 cheats_save: `[UNTRANSLATED] Save`,
Modified static/webui/translations/zh.js +1 -0
@@ -172,6 +172,7 @@ dict = {
172 172 cheats_noDojoResearchTime: `无视道场研究时间`,
173 173 cheats_fastClanAscension: `快速升级氏族`,
174 174 cheats_missionsCanGiveAllRelics: `任务可获取所有遗物`,
175 cheats_unlockAllSimarisResearchEntries: `[UNTRANSLATED] Unlock All Simaris Research Entries`,
175 176 cheats_spoofMasteryRank: `伪造精通段位(-1为禁用)`,
176 177 cheats_nightwaveStandingMultiplier: `午夜电波声望倍率`,
177 178 cheats_save: `保存`,