返回提交历史
Modified
config.json.example
+1
-0
Modified
src/controllers/api/inventoryController.ts
+20
-0
Modified
src/services/configService.ts
+1
-0
Modified
static/webui/index.html
+4
-0
Modified
static/webui/translations/de.js
+1
-0
Modified
static/webui/translations/en.js
+1
-0
Modified
static/webui/translations/es.js
+1
-0
Modified
static/webui/translations/fr.js
+1
-0
Modified
static/webui/translations/ru.js
+1
-0
Modified
static/webui/translations/zh.js
+1
-0
XFEstudio/XFESpaceNinjaServer
feat: unlockAllProfitTakerStages cheat (#2215)
Closes #2081 Reviewed-on: https://onlyg.it/OpenWF/SpaceNinjaServer/pulls/2215 Co-authored-by: Sainan <63328889+Sainan@users.noreply.github.com> Co-committed-by: Sainan <63328889+Sainan@users.noreply.github.com>
97064826
代码差异
10 个文件
+32
-0
@@ -43,6 +43,7 @@
43
43
"noDeathMarks": false,
44
44
"noKimCooldowns": false,
45
45
"syndicateMissionsRepeatable": false,
46
"unlockAllProfitTakerStages": false,
46
47
"instantFinishRivenChallenge": false,
47
48
"instantResourceExtractorDrones": false,
48
49
"noResourceExtractorDronesDamage": false,
@@ -339,9 +339,29 @@ export const getInventoryResponse = async (
339
339
}
340
340
}
341
341
342
if (config.unlockAllProfitTakerStages) {
343
inventoryResponse.CompletedJobChains ??= [];
344
const EudicoHeists = inventoryResponse.CompletedJobChains.find(x => x.LocationTag == "EudicoHeists");
345
if (EudicoHeists) {
346
EudicoHeists.Jobs = allEudicoHeistJobs;
347
} else {
348
inventoryResponse.CompletedJobChains.push({
349
LocationTag: "EudicoHeists",
350
Jobs: allEudicoHeistJobs
351
});
352
}
353
}
354
342
355
return inventoryResponse;
343
356
};
344
357
358
const allEudicoHeistJobs = [
359
"/Lotus/Types/Gameplay/Venus/Jobs/Heists/HeistProfitTakerBountyOne",
360
"/Lotus/Types/Gameplay/Venus/Jobs/Heists/HeistProfitTakerBountyTwo",
361
"/Lotus/Types/Gameplay/Venus/Jobs/Heists/HeistProfitTakerBountyThree",
362
"/Lotus/Types/Gameplay/Venus/Jobs/Heists/HeistProfitTakerBountyFour"
363
];
364
345
365
const addString = (arr: string[], str: string): void => {
346
366
if (arr.indexOf(str) == -1) {
347
367
arr.push(str);
@@ -49,6 +49,7 @@ export interface IConfig {
49
49
noDeathMarks?: boolean;
50
50
noKimCooldowns?: boolean;
51
51
syndicateMissionsRepeatable?: boolean;
52
unlockAllProfitTakerStages?: boolean;
52
53
instantFinishRivenChallenge?: boolean;
53
54
instantResourceExtractorDrones?: boolean;
54
55
noResourceExtractorDronesDamage?: boolean;
@@ -708,6 +708,10 @@
708
708
<input class="form-check-input" type="checkbox" id="syndicateMissionsRepeatable" />
709
709
<label class="form-check-label" for="syndicateMissionsRepeatable" data-loc="cheats_syndicateMissionsRepeatable"></label>
710
710
</div>
711
<div class="form-check">
712
<input class="form-check-input" type="checkbox" id="unlockAllProfitTakerStages" />
713
<label class="form-check-label" for="unlockAllProfitTakerStages" data-loc="cheats_unlockAllProfitTakerStages"></label>
714
</div>
711
715
<div class="form-check">
712
716
<input class="form-check-input" type="checkbox" id="instantFinishRivenChallenge" />
713
717
<label class="form-check-label" for="instantFinishRivenChallenge" data-loc="cheats_instantFinishRivenChallenge"></label>
@@ -159,6 +159,7 @@ dict = {
159
159
cheats_noDeathMarks: `Keine Todesmarkierungen`,
160
160
cheats_noKimCooldowns: `Keine Wartezeit bei KIM`,
161
161
cheats_syndicateMissionsRepeatable: `Syndikat-Missionen wiederholbar`,
162
cheats_unlockAllProfitTakerStages: `[UNTRANSLATED] Unlock All Profit Taker Stages`,
162
163
cheats_instantFinishRivenChallenge: `Riven-Mod Herausforderung sofort abschließen`,
163
164
cheats_instantResourceExtractorDrones: `Sofortige Ressourcen-Extraktor-Drohnen`,
164
165
cheats_noResourceExtractorDronesDamage: `Kein Schaden für Ressourcen-Extraktor-Drohnen`,
@@ -158,6 +158,7 @@ dict = {
158
158
cheats_noDeathMarks: `No Death Marks`,
159
159
cheats_noKimCooldowns: `No KIM Cooldowns`,
160
160
cheats_syndicateMissionsRepeatable: `Syndicate Missions Repeatable`,
161
cheats_unlockAllProfitTakerStages: `Unlock All Profit Taker Stages`,
161
162
cheats_instantFinishRivenChallenge: `Instant Finish Riven Challenge`,
162
163
cheats_instantResourceExtractorDrones: `Instant Resource Extractor Drones`,
163
164
cheats_noResourceExtractorDronesDamage: `No Resource Extractor Drones Damage`,
@@ -159,6 +159,7 @@ dict = {
159
159
cheats_noDeathMarks: `Sin marcas de muerte`,
160
160
cheats_noKimCooldowns: `Sin tiempo de espera para conversaciones KIM`,
161
161
cheats_syndicateMissionsRepeatable: `Misiones de sindicato rejugables`,
162
cheats_unlockAllProfitTakerStages: `[UNTRANSLATED] Unlock All Profit Taker Stages`,
162
163
cheats_instantFinishRivenChallenge: `Terminar desafío de agrietado inmediatamente`,
163
164
cheats_instantResourceExtractorDrones: `Drones de extracción de recursos instantáneos`,
164
165
cheats_noResourceExtractorDronesDamage: `Sin daño a los drones extractores de recursos`,
@@ -159,6 +159,7 @@ dict = {
159
159
cheats_noDeathMarks: `Aucune marque d'assassin`,
160
160
cheats_noKimCooldowns: `Aucun cooldown sur le KIM`,
161
161
cheats_syndicateMissionsRepeatable: `Mission syndicat répétables`,
162
cheats_unlockAllProfitTakerStages: `[UNTRANSLATED] Unlock All Profit Taker Stages`,
162
163
cheats_instantFinishRivenChallenge: `Débloquer le challenge Riven instantanément`,
163
164
cheats_instantResourceExtractorDrones: `Ressources de drones d'extraction instantannées`,
164
165
cheats_noResourceExtractorDronesDamage: `Aucun dégâts aux drones d'extraction de resources`,
@@ -159,6 +159,7 @@ dict = {
159
159
cheats_noDeathMarks: `Без меток сметри`,
160
160
cheats_noKimCooldowns: `Чаты KIM без кулдауна`,
161
161
cheats_syndicateMissionsRepeatable: `[UNTRANSLATED] Syndicate Missions Repeatable`,
162
cheats_unlockAllProfitTakerStages: `[UNTRANSLATED] Unlock All Profit Taker Stages`,
162
163
cheats_instantFinishRivenChallenge: `[UNTRANSLATED] Instant Finish Riven Challenge`,
163
164
cheats_instantResourceExtractorDrones: `Мгновенные Экстракторы Ресурсов`,
164
165
cheats_noResourceExtractorDronesDamage: `Без урона по дронам-сборщикам`,
@@ -159,6 +159,7 @@ dict = {
159
159
cheats_noDeathMarks: `无死亡标记(不会被 Stalker/Grustrag 三霸/Zanuka 猎人等标记)`,
160
160
cheats_noKimCooldowns: `无 KIM 冷却时间`,
161
161
cheats_syndicateMissionsRepeatable: `集团任务可重复`,
162
cheats_unlockAllProfitTakerStages: `[UNTRANSLATED] Unlock All Profit Taker Stages`,
162
163
cheats_instantFinishRivenChallenge: `立即完成裂罅挑战`,
163
164
cheats_instantResourceExtractorDrones: `即时资源采集无人机`,
164
165
cheats_noResourceExtractorDronesDamage: `资源提取器不会损毁`,