feat: skipAllPopups cheat & update skipAllDialogue (#3035)
Reviewed-on: #3035 Reviewed-by: Sainan <63328889+sainan@users.noreply.github.com> Co-authored-by: Animan8000 <animan8000@noreply.localhost> Co-committed-by: Animan8000 <animan8000@noreply.localhost>
This commit was merged in pull request #3035.
This commit is contained in:
@@ -4,6 +4,7 @@ import type { TInventoryDatabaseDocument } from "../../models/inventoryModels/in
|
||||
import { Inventory } from "../../models/inventoryModels/inventoryModel.ts";
|
||||
import { config } from "../../services/configService.ts";
|
||||
import allDialogue from "../../../static/fixed_responses/allDialogue.json" with { type: "json" };
|
||||
import allPopups from "../../../static/fixed_responses/allPopups.json" with { type: "json" };
|
||||
import type { ILoadoutDatabase } from "../../types/saveLoadoutTypes.ts";
|
||||
import type { IInventoryClient, IShipInventory } from "../../types/inventoryTypes/inventoryTypes.ts";
|
||||
import { equipmentKeys } from "../../types/inventoryTypes/inventoryTypes.ts";
|
||||
@@ -326,6 +327,12 @@ export const getInventoryResponse = async (
|
||||
}
|
||||
}
|
||||
|
||||
if (inventory.skipAllPopups) {
|
||||
for (const str of allPopups) {
|
||||
addString(inventoryResponse.NodeIntrosCompleted, str);
|
||||
}
|
||||
}
|
||||
|
||||
if (config.worldState?.baroTennoConRelay) {
|
||||
[
|
||||
"/Lotus/Types/Items/Events/TennoConRelay2022EarlyAccess",
|
||||
|
||||
@@ -1448,6 +1448,7 @@ const inventorySchema = new Schema<IInventoryDatabase, InventoryDocumentProps>(
|
||||
|
||||
// SNS account cheats
|
||||
skipAllDialogue: Boolean,
|
||||
skipAllPopups: Boolean,
|
||||
dontSubtractPurchaseCreditCost: Boolean,
|
||||
dontSubtractPurchasePlatinumCost: Boolean,
|
||||
dontSubtractPurchaseItemCost: Boolean,
|
||||
|
||||
@@ -23,6 +23,7 @@ export type InventoryDatabaseEquipment = {
|
||||
// Fields specific to SNS
|
||||
export interface IAccountCheats {
|
||||
skipAllDialogue?: boolean;
|
||||
skipAllPopups?: boolean;
|
||||
dontSubtractPurchaseCreditCost?: boolean;
|
||||
dontSubtractPurchasePlatinumCost?: boolean;
|
||||
dontSubtractPurchaseItemCost?: boolean;
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
[
|
||||
"ArcaneWallConsole",
|
||||
"CetusHub4",
|
||||
"SolarisUnitedHub1",
|
||||
"/Lotus/Language/SolarisVenus/FishmongerName",
|
||||
"/Lotus/Language/SolarisVenus/ProspectorName",
|
||||
@@ -12,6 +14,7 @@
|
||||
"SaturnWolf3",
|
||||
"SaturnWolf4",
|
||||
"SaturnWolf5",
|
||||
"SyndicateFirstPledge",
|
||||
"ConclaveSyndicate",
|
||||
"ArbitersSyndicate",
|
||||
"LibrarySyndicate",
|
||||
@@ -117,6 +120,7 @@
|
||||
"/Lotus/Language/EntratiLab/EntratiGeneral/Fibonacci",
|
||||
"/Lotus/Language/EntratiLab/EntratiGeneral/BirdThree",
|
||||
"/Lotus/Language/Zariman/Quinn",
|
||||
"/Lotus/Language/EntratiLab/EntratiGeneral/Tagfer",
|
||||
"/Lotus/Language/EntratiLab/EntratiGeneral/TagferFirstRank1",
|
||||
"VoidVaultIntro",
|
||||
"PurchasePlatformLockedNotificationSeen",
|
||||
@@ -137,6 +141,7 @@
|
||||
"EntratiLabConquestHardModeUnlocked",
|
||||
"/Lotus/Language/Npcs/KonzuPostNewWar",
|
||||
"/Lotus/Language/SolarisVenus/EudicoPostNewWar",
|
||||
"/Lotus/Language/FiveFates/KoumeiStatueHubName",
|
||||
"/Lotus/Language/NokkoColony/NokkoVendorName",
|
||||
"NokkoVisions_FirstVisit"
|
||||
]
|
||||
|
||||
27
static/fixed_responses/allPopups.json
Normal file
27
static/fixed_responses/allPopups.json
Normal file
@@ -0,0 +1,27 @@
|
||||
[
|
||||
"RailjackPlexusTutorial",
|
||||
"RailjackIntrinsicsTutorial",
|
||||
"RailjackDryDockTutorial",
|
||||
"RailjackStarchartTutorial",
|
||||
"NPE_poponce_ayatans",
|
||||
"NPE_poponce_sellmodinfo",
|
||||
"NPE_poponce_transmuteinfo",
|
||||
"MarketOpened",
|
||||
"PrimeTokensTutorial",
|
||||
"WelcomeScreen_Undermind",
|
||||
"WelcomeScreen_Jade",
|
||||
"WelcomeScreen_Isleweaver",
|
||||
"WelcomeScreen_Techrot",
|
||||
"WelcomeScreen_1999",
|
||||
"WelcomeScreen_Koumei",
|
||||
"WelcomeScreen_Dante",
|
||||
"WelcomeScreen_Whispers",
|
||||
"WelcomeScreen_Dagath",
|
||||
"WelcomeScreen_Kullervo",
|
||||
"EpisodeIntro_RadioLegionIntermission14Syndicate",
|
||||
"EpisodeIntro_RadioLegionIntermission13Syndicate",
|
||||
"EpisodeIntro_RadioLegionIntermission12Syndicate",
|
||||
"EpisodeIntro_RadioLegionIntermission11Syndicate",
|
||||
"EpisodeIntro_RadioLegionIntermission10Syndicate",
|
||||
"EpisodeIntro_RadioLegionIntermission9Syndicate"
|
||||
]
|
||||
@@ -960,6 +960,10 @@
|
||||
<input class="form-check-input" type="checkbox" id="skipAllDialogue" />
|
||||
<label class="form-check-label" for="skipAllDialogue" data-loc="cheats_skipAllDialogue"></label>
|
||||
</div>
|
||||
<div class="form-check">
|
||||
<input class="form-check-input" type="checkbox" id="skipAllPopups" />
|
||||
<label class="form-check-label" for="skipAllPopups" data-loc="cheats_skipAllPopups"></label>
|
||||
</div>
|
||||
<div class="form-check">
|
||||
<input class="form-check-input" type="checkbox" id="dontSubtractPurchaseCreditCost" />
|
||||
<label class="form-check-label" for="dontSubtractPurchaseCreditCost" data-loc="cheats_dontSubtractPurchaseCreditCost"></label>
|
||||
|
||||
@@ -212,6 +212,7 @@ dict = {
|
||||
cheats_server: `Server`,
|
||||
cheats_skipTutorial: `Tutorial überspringen`,
|
||||
cheats_skipAllDialogue: `Alle Dialoge überspringen`,
|
||||
cheats_skipAllPopups: `Alle Popups überspringen`,
|
||||
cheats_unlockAllScans: `Alle Scans freischalten`,
|
||||
cheats_unlockSuccRelog: `Erfolgreich. Bitte beachte, dass du dich neu anmelden musst, damit der Client dies aktualisiert.`,
|
||||
cheats_unlockAllMissions: `Alle Missionen freischalten`,
|
||||
|
||||
@@ -211,6 +211,7 @@ dict = {
|
||||
cheats_server: `Server`,
|
||||
cheats_skipTutorial: `Skip Tutorial`,
|
||||
cheats_skipAllDialogue: `Skip All Dialogue`,
|
||||
cheats_skipAllPopups: `Skip All Popups`,
|
||||
cheats_unlockAllScans: `Unlock All Scans`,
|
||||
cheats_unlockSuccRelog: `Success. Please note that you'll need to relog for the client to refresh this.`,
|
||||
cheats_unlockAllMissions: `Unlock All Missions`,
|
||||
|
||||
@@ -212,6 +212,7 @@ dict = {
|
||||
cheats_server: `Servidor`,
|
||||
cheats_skipTutorial: `Omitir tutorial`,
|
||||
cheats_skipAllDialogue: `Omitir todos los diálogos`,
|
||||
cheats_skipAllPopups: `[UNTRANSLATED] Skip All Popups`,
|
||||
cheats_unlockAllScans: `Desbloquear todos los escaneos`,
|
||||
cheats_unlockSuccRelog: `Éxito. Ten en cuenta que deberás volver a iniciar sesión para que el cliente se actualice.`,
|
||||
cheats_unlockAllMissions: `Desbloquear todas las misiones`,
|
||||
|
||||
@@ -212,6 +212,7 @@ dict = {
|
||||
cheats_server: `Serveur`,
|
||||
cheats_skipTutorial: `Passer le tutoriel`,
|
||||
cheats_skipAllDialogue: `Passer les dialogues`,
|
||||
cheats_skipAllPopups: `[UNTRANSLATED] Skip All Popups`,
|
||||
cheats_unlockAllScans: `Débloquer tous les scans`,
|
||||
cheats_unlockSuccRelog: `Succès. Une reconnexion est requise pour appliquer les changements.`,
|
||||
cheats_unlockAllMissions: `Débloquer toutes les missions`,
|
||||
|
||||
@@ -212,6 +212,7 @@ dict = {
|
||||
cheats_server: `Сервер`,
|
||||
cheats_skipTutorial: `Пропустить обучение`,
|
||||
cheats_skipAllDialogue: `Пропустить все диалоги`,
|
||||
cheats_skipAllPopups: `[UNTRANSLATED] Skip All Popups`,
|
||||
cheats_unlockAllScans: `Разблокировать все сканирования`,
|
||||
cheats_unlockSuccRelog: `Успех. Вам необходимо повторно войти в игру, чтобы клиент обновил эту информацию.`,
|
||||
cheats_unlockAllMissions: `Разблокировать все миссии`,
|
||||
|
||||
@@ -212,6 +212,7 @@ dict = {
|
||||
cheats_server: `Сервер`,
|
||||
cheats_skipTutorial: `Пропустити навчання`,
|
||||
cheats_skipAllDialogue: `Пропустити всі діалоги`,
|
||||
cheats_skipAllPopups: `[UNTRANSLATED] Skip All Popups`,
|
||||
cheats_unlockAllScans: `Розблокувати всі сканування`,
|
||||
cheats_unlockSuccRelog: `Успіх. Вам потрібно буде повторно увійти в гру, щоб клієнт оновив цю інформацію.`,
|
||||
cheats_unlockAllMissions: `Розблокувати всі місії`,
|
||||
|
||||
@@ -212,6 +212,7 @@ dict = {
|
||||
cheats_server: `服务器`,
|
||||
cheats_skipTutorial: `跳过教程`,
|
||||
cheats_skipAllDialogue: `跳过所有对话`,
|
||||
cheats_skipAllPopups: `[UNTRANSLATED] Skip All Popups`,
|
||||
cheats_unlockAllScans: `解锁所有扫描`,
|
||||
cheats_unlockSuccRelog: `[UNTRANSLATED] Success. Please note that you'll need to relog for the client to refresh this.`,
|
||||
cheats_unlockAllMissions: `解锁所有星图`,
|
||||
|
||||
Reference in New Issue
Block a user