merge upstream
This commit is contained in:
commit
cc7bd86811
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
@ -14,7 +14,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
node-version: ">=20.6.0"
|
node-version: ">=20.6.0"
|
||||||
- run: npm ci
|
- run: npm ci
|
||||||
- run: cp config.json.example config.json
|
- run: cp config-vanilla.json config.json
|
||||||
- run: npm run verify
|
- run: npm run verify
|
||||||
- run: npm run lint:ci
|
- run: npm run lint:ci
|
||||||
- run: npm run prettier
|
- run: npm run prettier
|
||||||
|
@ -2,4 +2,4 @@ src/routes/api.ts
|
|||||||
static/webui/libs/
|
static/webui/libs/
|
||||||
*.html
|
*.html
|
||||||
*.md
|
*.md
|
||||||
config.json.example
|
config-vanilla.json
|
||||||
|
@ -10,7 +10,7 @@ To get an idea of what functionality you can expect to be missing [have a look t
|
|||||||
|
|
||||||
## config.json
|
## config.json
|
||||||
|
|
||||||
SpaceNinjaServer requires a `config.json`. To set it up, you can copy the [config.json.example](config.json.example), which has most cheats disabled.
|
SpaceNinjaServer requires a `config.json`. To set it up, you can copy the [config-vanilla.json](config-vanilla.json), which has most cheats disabled.
|
||||||
|
|
||||||
- `logger.level` can be `fatal`, `error`, `warn`, `info`, `http`, `debug`, or `trace`.
|
- `logger.level` can be `fatal`, `error`, `warn`, `info`, `http`, `debug`, or `trace`.
|
||||||
- `myIrcAddresses` can be used to point to an IRC server. If not provided, defaults to `[ myAddress ]`.
|
- `myIrcAddresses` can be used to point to an IRC server. If not provided, defaults to `[ myAddress ]`.
|
||||||
|
@ -70,8 +70,9 @@
|
|||||||
"creditBoost": false,
|
"creditBoost": false,
|
||||||
"affinityBoost": false,
|
"affinityBoost": false,
|
||||||
"resourceBoost": false,
|
"resourceBoost": false,
|
||||||
"starDays": true,
|
"tennoLiveRelay": false,
|
||||||
"galleonOfGhouls": 0,
|
"galleonOfGhouls": 0,
|
||||||
|
"starDaysOverride": null,
|
||||||
"eidolonOverride": "",
|
"eidolonOverride": "",
|
||||||
"vallisOverride": "",
|
"vallisOverride": "",
|
||||||
"duviriOverride": "",
|
"duviriOverride": "",
|
@ -2,7 +2,7 @@
|
|||||||
set -e
|
set -e
|
||||||
|
|
||||||
if [ ! -f conf/config.json ]; then
|
if [ ! -f conf/config.json ]; then
|
||||||
jq --arg value "mongodb://openwfagent:spaceninjaserver@mongodb:27017/" '.mongodbUrl = $value' /app/config.json.example > /app/conf/config.json
|
jq --arg value "mongodb://openwfagent:spaceninjaserver@mongodb:27017/" '.mongodbUrl = $value' /app/config-vanilla.json > /app/conf/config.json
|
||||||
fi
|
fi
|
||||||
|
|
||||||
exec npm run start -- --configPath conf/config.json
|
exec npm run start -- --configPath conf/config.json
|
||||||
|
@ -335,6 +335,17 @@ export const getInventoryResponse = async (
|
|||||||
for (const uniqueName in ExportFlavour) {
|
for (const uniqueName in ExportFlavour) {
|
||||||
inventoryResponse.FlavourItems.push({ ItemType: uniqueName });
|
inventoryResponse.FlavourItems.push({ ItemType: uniqueName });
|
||||||
}
|
}
|
||||||
|
} else if (config.worldState?.baroTennoConRelay) {
|
||||||
|
[
|
||||||
|
"/Lotus/Types/Items/Events/TennoConRelay2022EarlyAccess",
|
||||||
|
"/Lotus/Types/Items/Events/TennoConRelay2023EarlyAccess",
|
||||||
|
"/Lotus/Types/Items/Events/TennoConRelay2024EarlyAccess",
|
||||||
|
"/Lotus/Types/Items/Events/TennoConRelay2025EarlyAccess"
|
||||||
|
].forEach(uniqueName => {
|
||||||
|
if (!inventoryResponse.FlavourItems.some(x => x.ItemType == uniqueName)) {
|
||||||
|
inventoryResponse.FlavourItems.push({ ItemType: uniqueName });
|
||||||
|
}
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
if (config.unlockAllSkins) {
|
if (config.unlockAllSkins) {
|
||||||
|
@ -10,6 +10,7 @@ import { logger } from "@/src/utils/logger";
|
|||||||
export const updateChallengeProgressController: RequestHandler = async (req, res) => {
|
export const updateChallengeProgressController: RequestHandler = async (req, res) => {
|
||||||
const challenges = getJSONfromString<IUpdateChallengeProgressRequest>(String(req.body));
|
const challenges = getJSONfromString<IUpdateChallengeProgressRequest>(String(req.body));
|
||||||
const account = await getAccountForRequest(req);
|
const account = await getAccountForRequest(req);
|
||||||
|
logger.debug(`challenge report:`, challenges);
|
||||||
|
|
||||||
const inventory = await getInventory(
|
const inventory = await getInventory(
|
||||||
account._id.toString(),
|
account._id.toString(),
|
||||||
@ -17,7 +18,7 @@ export const updateChallengeProgressController: RequestHandler = async (req, res
|
|||||||
);
|
);
|
||||||
let affiliationMods: IAffiliationMods[] = [];
|
let affiliationMods: IAffiliationMods[] = [];
|
||||||
if (challenges.ChallengeProgress) {
|
if (challenges.ChallengeProgress) {
|
||||||
affiliationMods = addChallenges(
|
affiliationMods = await addChallenges(
|
||||||
account,
|
account,
|
||||||
inventory,
|
inventory,
|
||||||
challenges.ChallengeProgress,
|
challenges.ChallengeProgress,
|
||||||
|
@ -7,7 +7,7 @@ try {
|
|||||||
if (fs.existsSync("config.json")) {
|
if (fs.existsSync("config.json")) {
|
||||||
console.log("Failed to load " + configPath + ": " + (e as Error).message);
|
console.log("Failed to load " + configPath + ": " + (e as Error).message);
|
||||||
} else {
|
} else {
|
||||||
console.log("Failed to load " + configPath + ". You can copy config.json.example to create your config file.");
|
console.log("Failed to load " + configPath + ". You can copy config-vanilla.json to create your config file.");
|
||||||
}
|
}
|
||||||
process.exit(1);
|
process.exit(1);
|
||||||
}
|
}
|
||||||
|
@ -81,8 +81,10 @@ export interface IConfig {
|
|||||||
creditBoost?: boolean;
|
creditBoost?: boolean;
|
||||||
affinityBoost?: boolean;
|
affinityBoost?: boolean;
|
||||||
resourceBoost?: boolean;
|
resourceBoost?: boolean;
|
||||||
starDays?: boolean;
|
tennoLiveRelay?: boolean;
|
||||||
|
baroTennoConRelay?: boolean;
|
||||||
galleonOfGhouls?: number;
|
galleonOfGhouls?: number;
|
||||||
|
starDaysOverride?: boolean;
|
||||||
eidolonOverride?: string;
|
eidolonOverride?: string;
|
||||||
vallisOverride?: string;
|
vallisOverride?: string;
|
||||||
duviriOverride?: string;
|
duviriOverride?: string;
|
||||||
|
@ -25,7 +25,8 @@ import {
|
|||||||
INemesisWeaponTargetFingerprint,
|
INemesisWeaponTargetFingerprint,
|
||||||
INemesisPetTargetFingerprint,
|
INemesisPetTargetFingerprint,
|
||||||
IDialogueDatabase,
|
IDialogueDatabase,
|
||||||
IKubrowPetPrintClient
|
IKubrowPetPrintClient,
|
||||||
|
equipmentKeys
|
||||||
} from "@/src/types/inventoryTypes/inventoryTypes";
|
} from "@/src/types/inventoryTypes/inventoryTypes";
|
||||||
import { IGenericUpdate, IUpdateNodeIntrosResponse } from "@/src/types/genericUpdate";
|
import { IGenericUpdate, IUpdateNodeIntrosResponse } from "@/src/types/genericUpdate";
|
||||||
import { IKeyChainRequest, IMissionInventoryUpdateRequest } from "@/src/types/requestTypes";
|
import { IKeyChainRequest, IMissionInventoryUpdateRequest } from "@/src/types/requestTypes";
|
||||||
@ -1341,7 +1342,7 @@ export const addStanding = (
|
|||||||
|
|
||||||
// TODO: AffiliationMods support (Nightwave).
|
// TODO: AffiliationMods support (Nightwave).
|
||||||
export const updateGeneric = async (data: IGenericUpdate, accountId: string): Promise<IUpdateNodeIntrosResponse> => {
|
export const updateGeneric = async (data: IGenericUpdate, accountId: string): Promise<IUpdateNodeIntrosResponse> => {
|
||||||
const inventory = await getInventory(accountId, "NodeIntrosCompleted MiscItems");
|
const inventory = await getInventory(accountId, "NodeIntrosCompleted MiscItems ShipDecorations");
|
||||||
|
|
||||||
// Make it an array for easier parsing.
|
// Make it an array for easier parsing.
|
||||||
if (typeof data.NodeIntrosCompleted === "string") {
|
if (typeof data.NodeIntrosCompleted === "string") {
|
||||||
@ -1350,7 +1351,15 @@ export const updateGeneric = async (data: IGenericUpdate, accountId: string): Pr
|
|||||||
|
|
||||||
const inventoryChanges: IInventoryChanges = {};
|
const inventoryChanges: IInventoryChanges = {};
|
||||||
for (const node of data.NodeIntrosCompleted) {
|
for (const node of data.NodeIntrosCompleted) {
|
||||||
if (node == "KayaFirstVisitPack") {
|
if (node == "TC2025") {
|
||||||
|
inventoryChanges.ShipDecorations = [
|
||||||
|
{
|
||||||
|
ItemType: "/Lotus/Types/Items/ShipDecos/TauGrineerLancerBobbleHead",
|
||||||
|
ItemCount: 1
|
||||||
|
}
|
||||||
|
];
|
||||||
|
addShipDecorations(inventory, inventoryChanges.ShipDecorations);
|
||||||
|
} else if (node == "KayaFirstVisitPack") {
|
||||||
inventoryChanges.MiscItems = [
|
inventoryChanges.MiscItems = [
|
||||||
{
|
{
|
||||||
ItemType: "/Lotus/Types/Items/MiscItems/1999FixedStickersPack",
|
ItemType: "/Lotus/Types/Items/MiscItems/1999FixedStickersPack",
|
||||||
@ -1903,25 +1912,87 @@ export const addLoreFragmentScans = (inventory: TInventoryDatabaseDocument, arr:
|
|||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
export const addChallenges = (
|
const challengeRewardsInboxMessages: Record<string, IMessageCreationTemplate> = {
|
||||||
|
SentEvoEphemeraRankOne: {
|
||||||
|
sub: "/Lotus/Language/Inbox/EvolvingEphemeraUnlockAName",
|
||||||
|
sndr: "/Lotus/Language/Bosses/Ordis",
|
||||||
|
msg: "/Lotus/Language/Inbox/EvolvingEphemeraUnlockADesc",
|
||||||
|
icon: "/Lotus/Interface/Icons/Npcs/Ordis.png",
|
||||||
|
att: ["/Lotus/Upgrades/Skins/Effects/NarmerEvolvingEphemeraB"]
|
||||||
|
},
|
||||||
|
SentEvoEphemeraRankTwo: {
|
||||||
|
sub: "/Lotus/Language/Inbox/EvolvingEphemeraUnlockBName",
|
||||||
|
sndr: "/Lotus/Language/Bosses/Ordis",
|
||||||
|
msg: "/Lotus/Language/Inbox/EvolvingEphemeraUnlockBDesc",
|
||||||
|
icon: "/Lotus/Interface/Icons/Npcs/Ordis.png",
|
||||||
|
att: ["/Lotus/Upgrades/Skins/Effects/NarmerEvolvingEphemeraC"]
|
||||||
|
},
|
||||||
|
SentEvoSyandanaRankOne: {
|
||||||
|
sub: "/Lotus/Language/Inbox/EvolvingSyandanaUnlockAName",
|
||||||
|
sndr: "/Lotus/Language/Bosses/Ordis",
|
||||||
|
msg: "/Lotus/Language/Inbox/EvolvingSyandanaUnlockADesc",
|
||||||
|
icon: "/Lotus/Interface/Icons/Npcs/Ordis.png",
|
||||||
|
att: ["/Lotus/Upgrades/Skins/Scarves/NarmerEvolvingSyandanaBCape"]
|
||||||
|
},
|
||||||
|
SentEvoSyandanaRankTwo: {
|
||||||
|
sub: "/Lotus/Language/Inbox/EvolvingSyandanaUnlockBName",
|
||||||
|
sndr: "/Lotus/Language/Bosses/Ordis",
|
||||||
|
msg: "/Lotus/Language/Inbox/EvolvingSyandanaUnlockBDesc",
|
||||||
|
icon: "/Lotus/Interface/Icons/Npcs/Ordis.png",
|
||||||
|
att: ["/Lotus/Upgrades/Skins/Scarves/NarmerEvolvingSyandanaCCape"]
|
||||||
|
},
|
||||||
|
SentEvoSekharaRankOne: {
|
||||||
|
sub: "/Lotus/Language/Inbox/EvolvingSekharaUnlockAName",
|
||||||
|
sndr: "/Lotus/Language/Bosses/Ordis",
|
||||||
|
msg: "/Lotus/Language/Inbox/EvolvingSekharaUnlockADesc",
|
||||||
|
icon: "/Lotus/Interface/Icons/Npcs/Ordis.png",
|
||||||
|
att: ["/Lotus/Upgrades/Skins/Clan/ZarimanEvolvingSekharaBadgeItemB"]
|
||||||
|
},
|
||||||
|
SentEvoSekharaRankTwo: {
|
||||||
|
sub: "/Lotus/Language/Inbox/EvolvingSekharaUnlockBName",
|
||||||
|
sndr: "/Lotus/Language/Bosses/Ordis",
|
||||||
|
msg: "/Lotus/Language/Inbox/EvolvingSekharaUnlockBDesc",
|
||||||
|
icon: "/Lotus/Interface/Icons/Npcs/Ordis.png",
|
||||||
|
att: ["/Lotus/Upgrades/Skins/Clan/ZarimanEvolvingSekharaBadgeItemC"]
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
export const addChallenges = async (
|
||||||
account: TAccountDocument,
|
account: TAccountDocument,
|
||||||
inventory: TInventoryDatabaseDocument,
|
inventory: TInventoryDatabaseDocument,
|
||||||
ChallengeProgress: IChallengeProgress[],
|
ChallengeProgress: IChallengeProgress[],
|
||||||
SeasonChallengeCompletions: ISeasonChallenge[] | undefined
|
SeasonChallengeCompletions: ISeasonChallenge[] | undefined
|
||||||
): IAffiliationMods[] => {
|
): Promise<IAffiliationMods[]> => {
|
||||||
ChallengeProgress.forEach(({ Name, Progress }) => {
|
for (const { Name, Progress, Completed } of ChallengeProgress) {
|
||||||
const itemIndex = inventory.ChallengeProgress.findIndex(i => i.Name === Name);
|
let dbChallenge = inventory.ChallengeProgress.find(x => x.Name == Name);
|
||||||
|
if (dbChallenge) {
|
||||||
if (itemIndex !== -1) {
|
dbChallenge.Progress = Progress;
|
||||||
inventory.ChallengeProgress[itemIndex].Progress = Progress;
|
|
||||||
} else {
|
} else {
|
||||||
inventory.ChallengeProgress.push({ Name, Progress });
|
dbChallenge = { Name, Progress };
|
||||||
|
inventory.ChallengeProgress.push(dbChallenge);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (Name.startsWith("Calendar")) {
|
if (Name.startsWith("Calendar")) {
|
||||||
addString(getCalendarProgress(inventory).SeasonProgress.ActivatedChallenges, Name);
|
addString(getCalendarProgress(inventory).SeasonProgress.ActivatedChallenges, Name);
|
||||||
}
|
}
|
||||||
});
|
|
||||||
|
if ((Completed?.length ?? 0) > (dbChallenge.Completed?.length ?? 0)) {
|
||||||
|
dbChallenge.Completed ??= [];
|
||||||
|
for (const completion of Completed!) {
|
||||||
|
if (dbChallenge.Completed.indexOf(completion) == -1) {
|
||||||
|
if (completion == "challengeRewards") {
|
||||||
|
if (Name in challengeRewardsInboxMessages) {
|
||||||
|
await createMessage(account._id, [challengeRewardsInboxMessages[Name]]);
|
||||||
|
dbChallenge.Completed.push(completion);
|
||||||
|
// Would love to somehow let the client know about inbox or inventory changes, but there doesn't seem to anything for updateChallengeProgress.
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
logger.warn(`ignoring unknown challenge completion`, { challenge: Name, completion });
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
const affiliationMods: IAffiliationMods[] = [];
|
const affiliationMods: IAffiliationMods[] = [];
|
||||||
if (SeasonChallengeCompletions) {
|
if (SeasonChallengeCompletions) {
|
||||||
@ -2117,6 +2188,21 @@ export const cleanupInventory = (inventory: TInventoryDatabaseDocument): void =>
|
|||||||
inventory.LotusCustomization.syancol = {};
|
inventory.LotusCustomization.syancol = {};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
{
|
||||||
|
let numFixed = 0;
|
||||||
|
for (const equipmentKey of equipmentKeys) {
|
||||||
|
for (const item of inventory[equipmentKey]) {
|
||||||
|
if (item.ModularParts?.length === 0) {
|
||||||
|
item.ModularParts = undefined;
|
||||||
|
++numFixed;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if (numFixed != 0) {
|
||||||
|
logger.debug(`removed ModularParts from ${numFixed} non-modular items`);
|
||||||
|
}
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
export const getDialogue = (inventory: TInventoryDatabaseDocument, dialogueName: string): IDialogueDatabase => {
|
export const getDialogue = (inventory: TInventoryDatabaseDocument, dialogueName: string): IDialogueDatabase => {
|
||||||
|
@ -292,7 +292,7 @@ export const addMissionInventoryUpdates = async (
|
|||||||
addRecipes(inventory, value);
|
addRecipes(inventory, value);
|
||||||
break;
|
break;
|
||||||
case "ChallengeProgress":
|
case "ChallengeProgress":
|
||||||
addChallenges(account, inventory, value, inventoryUpdates.SeasonChallengeCompletions);
|
await addChallenges(account, inventory, value, inventoryUpdates.SeasonChallengeCompletions);
|
||||||
break;
|
break;
|
||||||
case "FusionTreasures":
|
case "FusionTreasures":
|
||||||
addFusionTreasures(inventory, value);
|
addFusionTreasures(inventory, value);
|
||||||
|
@ -1038,13 +1038,13 @@ const pushVoidStorms = (arr: IVoidStorm[], hour: number): void => {
|
|||||||
};
|
};
|
||||||
|
|
||||||
interface ITimeConstraint {
|
interface ITimeConstraint {
|
||||||
//name: string;
|
name: string;
|
||||||
isValidTime: (timeSecs: number) => boolean;
|
isValidTime: (timeSecs: number) => boolean;
|
||||||
getIdealTimeBefore: (timeSecs: number) => number;
|
getIdealTimeBefore: (timeSecs: number) => number;
|
||||||
}
|
}
|
||||||
|
|
||||||
const eidolonDayConstraint: ITimeConstraint = {
|
const eidolonDayConstraint: ITimeConstraint = {
|
||||||
//name: "eidolon day",
|
name: "eidolon day",
|
||||||
isValidTime: (timeSecs: number): boolean => {
|
isValidTime: (timeSecs: number): boolean => {
|
||||||
const eidolonEpoch = 1391992660;
|
const eidolonEpoch = 1391992660;
|
||||||
const eidolonCycle = Math.trunc((timeSecs - eidolonEpoch) / 9000);
|
const eidolonCycle = Math.trunc((timeSecs - eidolonEpoch) / 9000);
|
||||||
@ -1062,7 +1062,7 @@ const eidolonDayConstraint: ITimeConstraint = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
const eidolonNightConstraint: ITimeConstraint = {
|
const eidolonNightConstraint: ITimeConstraint = {
|
||||||
//name: "eidolon night",
|
name: "eidolon night",
|
||||||
isValidTime: (timeSecs: number): boolean => {
|
isValidTime: (timeSecs: number): boolean => {
|
||||||
const eidolonEpoch = 1391992660;
|
const eidolonEpoch = 1391992660;
|
||||||
const eidolonCycle = Math.trunc((timeSecs - eidolonEpoch) / 9000);
|
const eidolonCycle = Math.trunc((timeSecs - eidolonEpoch) / 9000);
|
||||||
@ -1089,7 +1089,7 @@ const eidolonNightConstraint: ITimeConstraint = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
const venusColdConstraint: ITimeConstraint = {
|
const venusColdConstraint: ITimeConstraint = {
|
||||||
//name: "venus cold",
|
name: "venus cold",
|
||||||
isValidTime: (timeSecs: number): boolean => {
|
isValidTime: (timeSecs: number): boolean => {
|
||||||
const vallisEpoch = 1541837628;
|
const vallisEpoch = 1541837628;
|
||||||
const vallisCycle = Math.trunc((timeSecs - vallisEpoch) / 1600);
|
const vallisCycle = Math.trunc((timeSecs - vallisEpoch) / 1600);
|
||||||
@ -1115,7 +1115,7 @@ const venusColdConstraint: ITimeConstraint = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
const venusWarmConstraint: ITimeConstraint = {
|
const venusWarmConstraint: ITimeConstraint = {
|
||||||
//name: "venus warm",
|
name: "venus warm",
|
||||||
isValidTime: (timeSecs: number): boolean => {
|
isValidTime: (timeSecs: number): boolean => {
|
||||||
const vallisEpoch = 1541837628;
|
const vallisEpoch = 1541837628;
|
||||||
const vallisCycle = Math.trunc((timeSecs - vallisEpoch) / 1600);
|
const vallisCycle = Math.trunc((timeSecs - vallisEpoch) / 1600);
|
||||||
@ -1157,6 +1157,25 @@ const getIdealTimeSatsifyingConstraints = (constraints: ITimeConstraint[]): numb
|
|||||||
return timeSecs;
|
return timeSecs;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
const fullyStockBaro = (vt: IVoidTrader): void => {
|
||||||
|
for (const armorSet of baro.armorSets) {
|
||||||
|
if (Array.isArray(armorSet[0])) {
|
||||||
|
for (const set of armorSet as IVoidTraderOffer[][]) {
|
||||||
|
for (const item of set) {
|
||||||
|
vt.Manifest.push(item);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
for (const item of armorSet as IVoidTraderOffer[]) {
|
||||||
|
vt.Manifest.push(item);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
for (const item of baro.rest) {
|
||||||
|
vt.Manifest.push(item);
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
const getVarziaRotation = (week: number): string => {
|
const getVarziaRotation = (week: number): string => {
|
||||||
const seed = new SRng(week).randomInt(0, 100_000);
|
const seed = new SRng(week).randomInt(0, 100_000);
|
||||||
const rng = new SRng(seed);
|
const rng = new SRng(seed);
|
||||||
@ -1321,7 +1340,7 @@ export const getWorldState = (buildLabel?: string): IWorldState => {
|
|||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
constraints.push({
|
constraints.push({
|
||||||
//name: `duviri ${config.worldState.duviriOverride}`,
|
name: `duviri ${config.worldState.duviriOverride}`,
|
||||||
isValidTime: (timeSecs: number): boolean => {
|
isValidTime: (timeSecs: number): boolean => {
|
||||||
const moodIndex = Math.trunc(timeSecs / 7200);
|
const moodIndex = Math.trunc(timeSecs / 7200);
|
||||||
return moodIndex % 5 == desiredMood;
|
return moodIndex % 5 == desiredMood;
|
||||||
@ -1336,11 +1355,20 @@ export const getWorldState = (buildLabel?: string): IWorldState => {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
const timeSecs = getIdealTimeSatsifyingConstraints(constraints);
|
const timeSecs = getIdealTimeSatsifyingConstraints(constraints);
|
||||||
|
if (constraints.length != 0) {
|
||||||
|
const delta = Math.trunc(Date.now() / 1000) - timeSecs;
|
||||||
|
if (delta > 1) {
|
||||||
|
logger.debug(
|
||||||
|
`reported time is ${delta} seconds behind real time to satisfy selected constraints (${constraints.map(x => x.name).join(", ")})`
|
||||||
|
);
|
||||||
|
}
|
||||||
|
}
|
||||||
const timeMs = timeSecs * 1000;
|
const timeMs = timeSecs * 1000;
|
||||||
const day = Math.trunc((timeMs - EPOCH) / 86400000);
|
const day = Math.trunc((timeMs - EPOCH) / 86400000);
|
||||||
const week = Math.trunc(day / 7);
|
const week = Math.trunc(day / 7);
|
||||||
const weekStart = EPOCH + week * 604800000;
|
const weekStart = EPOCH + week * 604800000;
|
||||||
const weekEnd = weekStart + 604800000;
|
const weekEnd = weekStart + 604800000;
|
||||||
|
const date = new Date(timeMs);
|
||||||
|
|
||||||
const worldState: IWorldState = {
|
const worldState: IWorldState = {
|
||||||
BuildLabel: typeof buildLabel == "string" ? buildLabel.split(" ").join("+") : buildConfig.buildLabel,
|
BuildLabel: typeof buildLabel == "string" ? buildLabel.split(" ").join("+") : buildConfig.buildLabel,
|
||||||
@ -1367,11 +1395,77 @@ export const getWorldState = (buildLabel?: string): IWorldState => {
|
|||||||
worldState.PVPChallengeInstances = [];
|
worldState.PVPChallengeInstances = [];
|
||||||
}
|
}
|
||||||
|
|
||||||
if (config.worldState?.starDays) {
|
if (config.worldState?.tennoLiveRelay) {
|
||||||
|
worldState.Goals.push({
|
||||||
|
_id: {
|
||||||
|
$oid: "687bf9400000000000000000"
|
||||||
|
},
|
||||||
|
Activation: {
|
||||||
|
$date: {
|
||||||
|
$numberLong: "1752955200000"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
Expiry: {
|
||||||
|
$date: {
|
||||||
|
$numberLong: "2000000000000"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
Count: 0,
|
||||||
|
Goal: 0,
|
||||||
|
Success: 0,
|
||||||
|
Personal: true,
|
||||||
|
Desc: "/Lotus/Language/Locations/RelayStationTennoConB",
|
||||||
|
ToolTip: "/Lotus/Language/Locations/RelayStationTennoConDescB",
|
||||||
|
Icon: "/Lotus/Interface/Icons/Categories/IconTennoLive.png",
|
||||||
|
Tag: "TennoConRelayB",
|
||||||
|
Node: "TennoConBHUB6"
|
||||||
|
});
|
||||||
|
}
|
||||||
|
if (config.worldState?.baroTennoConRelay) {
|
||||||
|
worldState.Goals.push({
|
||||||
|
_id: { $oid: "687bb2f00000000000000000" },
|
||||||
|
Activation: { $date: { $numberLong: "1752937200000" } },
|
||||||
|
Expiry: { $date: { $numberLong: "2000000000000" } },
|
||||||
|
Count: 0,
|
||||||
|
Goal: 0,
|
||||||
|
Success: 0,
|
||||||
|
Personal: true,
|
||||||
|
//"Faction": "FC_GRINEER",
|
||||||
|
Desc: "/Lotus/Language/Locations/RelayStationTennoCon",
|
||||||
|
ToolTip: "/Lotus/Language/Locations/RelayStationTennoConDesc",
|
||||||
|
Icon: "/Lotus/Interface/Icons/Categories/IconTennoConSigil.png",
|
||||||
|
Tag: "TennoConRelay",
|
||||||
|
Node: "TennoConHUB2"
|
||||||
|
});
|
||||||
|
const vt: IVoidTrader = {
|
||||||
|
_id: { $oid: "687809030379266d790495c6" },
|
||||||
|
Activation: { $date: { $numberLong: "1752937200000" } },
|
||||||
|
Expiry: { $date: { $numberLong: "2000000000000" } },
|
||||||
|
Character: "Baro'Ki Teel",
|
||||||
|
Node: "TennoConHUB2",
|
||||||
|
Manifest: []
|
||||||
|
};
|
||||||
|
worldState.VoidTraders.push(vt);
|
||||||
|
fullyStockBaro(vt);
|
||||||
|
}
|
||||||
|
const isFebruary = date.getUTCMonth() == 1;
|
||||||
|
if (config.worldState?.starDaysOverride ?? isFebruary) {
|
||||||
worldState.Goals.push({
|
worldState.Goals.push({
|
||||||
_id: { $oid: "67a4dcce2a198564d62e1647" },
|
_id: { $oid: "67a4dcce2a198564d62e1647" },
|
||||||
Activation: { $date: { $numberLong: "1738868400000" } },
|
Activation: {
|
||||||
Expiry: { $date: { $numberLong: "2000000000000" } },
|
$date: {
|
||||||
|
$numberLong: config.worldState?.starDaysOverride
|
||||||
|
? "1738868400000"
|
||||||
|
: Date.UTC(date.getUTCFullYear(), date.getUTCMonth(), 1).toString()
|
||||||
|
}
|
||||||
|
},
|
||||||
|
Expiry: {
|
||||||
|
$date: {
|
||||||
|
$numberLong: config.worldState?.starDaysOverride
|
||||||
|
? "2000000000000"
|
||||||
|
: Date.UTC(date.getUTCFullYear(), date.getUTCMonth() + 1, 1).toString()
|
||||||
|
}
|
||||||
|
},
|
||||||
Count: 0,
|
Count: 0,
|
||||||
Goal: 0,
|
Goal: 0,
|
||||||
Success: 0,
|
Success: 0,
|
||||||
@ -1585,24 +1679,8 @@ export const getWorldState = (buildLabel?: string): IWorldState => {
|
|||||||
};
|
};
|
||||||
worldState.VoidTraders.push(vt);
|
worldState.VoidTraders.push(vt);
|
||||||
if (isBeforeNextExpectedWorldStateRefresh(timeMs, baroActualStart)) {
|
if (isBeforeNextExpectedWorldStateRefresh(timeMs, baroActualStart)) {
|
||||||
vt.Manifest = [];
|
|
||||||
if (config.baroFullyStocked) {
|
if (config.baroFullyStocked) {
|
||||||
for (const armorSet of baro.armorSets) {
|
fullyStockBaro(vt);
|
||||||
if (Array.isArray(armorSet[0])) {
|
|
||||||
for (const set of armorSet as IVoidTraderOffer[][]) {
|
|
||||||
for (const item of set) {
|
|
||||||
vt.Manifest.push(item);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
} else {
|
|
||||||
for (const item of armorSet as IVoidTraderOffer[]) {
|
|
||||||
vt.Manifest.push(item);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
for (const item of baro.rest) {
|
|
||||||
vt.Manifest.push(item);
|
|
||||||
}
|
|
||||||
} else {
|
} else {
|
||||||
const rng = new SRng(new SRng(baroIndex).randomInt(0, 100_000));
|
const rng = new SRng(new SRng(baroIndex).randomInt(0, 100_000));
|
||||||
// TOVERIFY: Constraint for upgrades amount?
|
// TOVERIFY: Constraint for upgrades amount?
|
||||||
@ -1823,7 +1901,10 @@ export const populateFissures = async (worldState: IWorldState): Promise<void> =
|
|||||||
_id: toOid(fissure._id),
|
_id: toOid(fissure._id),
|
||||||
Region: meta.systemIndex + 1,
|
Region: meta.systemIndex + 1,
|
||||||
Seed: 1337,
|
Seed: 1337,
|
||||||
Activation: toMongoDate(fissure.Activation),
|
Activation:
|
||||||
|
fissure.Activation.getTime() < Date.now() // Activation is in the past?
|
||||||
|
? { $date: { $numberLong: "1000000000000" } } // Let the client know 'explicitly' to avoid interference from time constraints.
|
||||||
|
: toMongoDate(fissure.Activation),
|
||||||
Expiry: toMongoDate(fissure.Expiry),
|
Expiry: toMongoDate(fissure.Expiry),
|
||||||
Node: fissure.Node,
|
Node: fissure.Node,
|
||||||
MissionType: eMissionType[meta.missionIndex].tag,
|
MissionType: eMissionType[meta.missionIndex].tag,
|
||||||
|
@ -74,6 +74,7 @@ export type IInventoryChanges = {
|
|||||||
InfestedFoundry?: IInfestedFoundryClient;
|
InfestedFoundry?: IInfestedFoundryClient;
|
||||||
Drones?: IDroneClient[];
|
Drones?: IDroneClient[];
|
||||||
MiscItems?: IMiscItem[];
|
MiscItems?: IMiscItem[];
|
||||||
|
ShipDecorations?: ITypeCount[];
|
||||||
EmailItems?: ITypeCount[];
|
EmailItems?: ITypeCount[];
|
||||||
CrewShipRawSalvage?: ITypeCount[];
|
CrewShipRawSalvage?: ITypeCount[];
|
||||||
Nemesis?: Partial<INemesisClient>;
|
Nemesis?: Partial<INemesisClient>;
|
||||||
|
@ -431,7 +431,7 @@
|
|||||||
{ "ItemType": "/Lotus/StoreItems/Types/Items/SongItems/KuvaLichLoginSongItem", "PrimePrice": 140, "RegularPrice": 170000 },
|
{ "ItemType": "/Lotus/StoreItems/Types/Items/SongItems/KuvaLichLoginSongItem", "PrimePrice": 140, "RegularPrice": 170000 },
|
||||||
{ "ItemType": "/Lotus/StoreItems/Types/Items/ShipDecos/Plushies/PlushyBaro", "PrimePrice": 100, "RegularPrice": 125000 },
|
{ "ItemType": "/Lotus/StoreItems/Types/Items/ShipDecos/Plushies/PlushyBaro", "PrimePrice": 100, "RegularPrice": 125000 },
|
||||||
{ "ItemType": "/Lotus/StoreItems/Types/Items/ShipDecos/Plushies/PlushyInaros", "PrimePrice": 120, "RegularPrice": 90000 },
|
{ "ItemType": "/Lotus/StoreItems/Types/Items/ShipDecos/Plushies/PlushyInaros", "PrimePrice": 120, "RegularPrice": 90000 },
|
||||||
{ "ItemType": "/Lotus/Upgrades/Mods/Pistol/Expert/WeaponPistolFactionDamageMurmursExpert", "PrimePrice": 375, "RegularPrice": 130000 }
|
{ "ItemType": "/Lotus/StoreItems/Upgrades/Mods/Pistol/Expert/WeaponPistolFactionDamageMurmursExpert", "PrimePrice": 375, "RegularPrice": 130000 }
|
||||||
],
|
],
|
||||||
"allIfAny": [
|
"allIfAny": [
|
||||||
[
|
[
|
||||||
|
@ -926,8 +926,12 @@
|
|||||||
<label class="form-check-label" for="worldState.resourceBoost" data-loc="worldState_resourceBoost"></label>
|
<label class="form-check-label" for="worldState.resourceBoost" data-loc="worldState_resourceBoost"></label>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-check">
|
<div class="form-check">
|
||||||
<input class="form-check-input" type="checkbox" id="worldState.starDays" />
|
<input class="form-check-input" type="checkbox" id="worldState.tennoLiveRelay" />
|
||||||
<label class="form-check-label" for="worldState.starDays" data-loc="worldState_starDays"></label>
|
<label class="form-check-label" for="worldState.tennoLiveRelay" data-loc="worldState_tennoLiveRelay"></label>
|
||||||
|
</div>
|
||||||
|
<div class="form-check">
|
||||||
|
<input class="form-check-input" type="checkbox" id="worldState.baroTennoConRelay" />
|
||||||
|
<label class="form-check-label" for="worldState.baroTennoConRelay" data-loc="worldState_baroTennoConRelay"></label>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-check">
|
<div class="form-check">
|
||||||
<input class="form-check-input" type="checkbox" id="worldState.varziaFullyStocked" />
|
<input class="form-check-input" type="checkbox" id="worldState.varziaFullyStocked" />
|
||||||
@ -942,6 +946,14 @@
|
|||||||
<option value="3" data-loc="worldState_we3"></option>
|
<option value="3" data-loc="worldState_we3"></option>
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="form-group mt-2">
|
||||||
|
<label class="form-label" for="worldState.starDaysOverride" data-loc="worldState_starDays"></label>
|
||||||
|
<select class="form-control" id="worldState.starDaysOverride" data-default="null">
|
||||||
|
<option value="null" data-loc="normal"></option>
|
||||||
|
<option value="true" data-loc="enabled"></option>
|
||||||
|
<option value="false" data-loc="disabled"></option>
|
||||||
|
</select>
|
||||||
|
</div>
|
||||||
<div class="form-group mt-2">
|
<div class="form-group mt-2">
|
||||||
<label class="form-label" for="worldState.eidolonOverride" data-loc="worldState_eidolonOverride"></label>
|
<label class="form-label" for="worldState.eidolonOverride" data-loc="worldState_eidolonOverride"></label>
|
||||||
<select class="form-control" id="worldState.eidolonOverride" data-default="">
|
<select class="form-control" id="worldState.eidolonOverride" data-default="">
|
||||||
|
@ -2098,7 +2098,13 @@ for (const id of uiConfigs) {
|
|||||||
if (elm.tagName == "SELECT") {
|
if (elm.tagName == "SELECT") {
|
||||||
elm.onchange = function () {
|
elm.onchange = function () {
|
||||||
let value = this.value;
|
let value = this.value;
|
||||||
if (!isNaN(parseInt(value))) {
|
if (value == "true") {
|
||||||
|
value = true;
|
||||||
|
} else if (value == "false") {
|
||||||
|
value = false;
|
||||||
|
} else if (value == "null") {
|
||||||
|
value = null;
|
||||||
|
} else if (!isNaN(parseInt(value))) {
|
||||||
value = parseInt(value);
|
value = parseInt(value);
|
||||||
}
|
}
|
||||||
$.post({
|
$.post({
|
||||||
|
@ -242,8 +242,11 @@ dict = {
|
|||||||
worldState_creditBoost: `Event Booster: Credit`,
|
worldState_creditBoost: `Event Booster: Credit`,
|
||||||
worldState_affinityBoost: `Event Booster: Erfahrung`,
|
worldState_affinityBoost: `Event Booster: Erfahrung`,
|
||||||
worldState_resourceBoost: `Event Booster: Ressourcen`,
|
worldState_resourceBoost: `Event Booster: Ressourcen`,
|
||||||
|
worldState_tennoLiveRelay: `[UNTRANSLATED] TennoLive Relay`,
|
||||||
|
worldState_baroTennoConRelay: `[UNTRANSLATED] Baro's TennoCon Relay`,
|
||||||
worldState_starDays: `Sternen-Tage`,
|
worldState_starDays: `Sternen-Tage`,
|
||||||
worldState_galleonOfGhouls: `Galeone der Ghule`,
|
worldState_galleonOfGhouls: `Galeone der Ghule`,
|
||||||
|
enabled: `[UNTRANSLATED] Enabled`,
|
||||||
disabled: `Deaktiviert`,
|
disabled: `Deaktiviert`,
|
||||||
worldState_we1: `Wochenende 1`,
|
worldState_we1: `Wochenende 1`,
|
||||||
worldState_we2: `Wochenende 2`,
|
worldState_we2: `Wochenende 2`,
|
||||||
|
@ -241,15 +241,18 @@ dict = {
|
|||||||
worldState_creditBoost: `Credit Boost`,
|
worldState_creditBoost: `Credit Boost`,
|
||||||
worldState_affinityBoost: `Affinity Boost`,
|
worldState_affinityBoost: `Affinity Boost`,
|
||||||
worldState_resourceBoost: `Resource Boost`,
|
worldState_resourceBoost: `Resource Boost`,
|
||||||
|
worldState_tennoLiveRelay: `TennoLive Relay`,
|
||||||
|
worldState_baroTennoConRelay: `Baro's TennoCon Relay`,
|
||||||
worldState_starDays: `Star Days`,
|
worldState_starDays: `Star Days`,
|
||||||
worldState_galleonOfGhouls: `Galleon of Ghouls`,
|
worldState_galleonOfGhouls: `Galleon of Ghouls`,
|
||||||
|
enabled: `Enabled`,
|
||||||
disabled: `Disabled`,
|
disabled: `Disabled`,
|
||||||
worldState_we1: `Weekend 1`,
|
worldState_we1: `Weekend 1`,
|
||||||
worldState_we2: `Weekend 2`,
|
worldState_we2: `Weekend 2`,
|
||||||
worldState_we3: `Weekend 3`,
|
worldState_we3: `Weekend 3`,
|
||||||
worldState_eidolonOverride: `Eidolon Override`,
|
worldState_eidolonOverride: `Eidolon/Deimos Override`,
|
||||||
worldState_day: `Day`,
|
worldState_day: `Day/Fass`,
|
||||||
worldState_night: `Night`,
|
worldState_night: `Night/Vome`,
|
||||||
worldState_vallisOverride: `Orb Vallis Override`,
|
worldState_vallisOverride: `Orb Vallis Override`,
|
||||||
worldState_warm: `Warm`,
|
worldState_warm: `Warm`,
|
||||||
worldState_cold: `Cold`,
|
worldState_cold: `Cold`,
|
||||||
|
@ -242,8 +242,11 @@ dict = {
|
|||||||
worldState_creditBoost: `Potenciador de Créditos`,
|
worldState_creditBoost: `Potenciador de Créditos`,
|
||||||
worldState_affinityBoost: `Potenciador de Afinidad`,
|
worldState_affinityBoost: `Potenciador de Afinidad`,
|
||||||
worldState_resourceBoost: `Potenciador de Recursos`,
|
worldState_resourceBoost: `Potenciador de Recursos`,
|
||||||
|
worldState_tennoLiveRelay: `[UNTRANSLATED] TennoLive Relay`,
|
||||||
|
worldState_baroTennoConRelay: `[UNTRANSLATED] Baro's TennoCon Relay`,
|
||||||
worldState_starDays: `Días estelares`,
|
worldState_starDays: `Días estelares`,
|
||||||
worldState_galleonOfGhouls: `Galeón de Gules`,
|
worldState_galleonOfGhouls: `Galeón de Gules`,
|
||||||
|
enabled: `[UNTRANSLATED] Enabled`,
|
||||||
disabled: `Desactivado`,
|
disabled: `Desactivado`,
|
||||||
worldState_we1: `Semana 1`,
|
worldState_we1: `Semana 1`,
|
||||||
worldState_we2: `Semana 2`,
|
worldState_we2: `Semana 2`,
|
||||||
|
@ -242,8 +242,11 @@ dict = {
|
|||||||
worldState_creditBoost: `Booster de Crédit`,
|
worldState_creditBoost: `Booster de Crédit`,
|
||||||
worldState_affinityBoost: `Booster d'Affinité`,
|
worldState_affinityBoost: `Booster d'Affinité`,
|
||||||
worldState_resourceBoost: `Booster de Ressource`,
|
worldState_resourceBoost: `Booster de Ressource`,
|
||||||
|
worldState_tennoLiveRelay: `[UNTRANSLATED] TennoLive Relay`,
|
||||||
|
worldState_baroTennoConRelay: `[UNTRANSLATED] Baro's TennoCon Relay`,
|
||||||
worldState_starDays: `Jours Stellaires`,
|
worldState_starDays: `Jours Stellaires`,
|
||||||
worldState_galleonOfGhouls: `Galion des Goules`,
|
worldState_galleonOfGhouls: `Galion des Goules`,
|
||||||
|
enabled: `[UNTRANSLATED] Enabled`,
|
||||||
disabled: `Désactivé`,
|
disabled: `Désactivé`,
|
||||||
worldState_we1: `Weekend 1`,
|
worldState_we1: `Weekend 1`,
|
||||||
worldState_we2: `Weekend 2`,
|
worldState_we2: `Weekend 2`,
|
||||||
|
@ -242,15 +242,18 @@ dict = {
|
|||||||
worldState_creditBoost: `[UNTRANSLATED] Credit Boost`,
|
worldState_creditBoost: `[UNTRANSLATED] Credit Boost`,
|
||||||
worldState_affinityBoost: `[UNTRANSLATED] Affinity Boost`,
|
worldState_affinityBoost: `[UNTRANSLATED] Affinity Boost`,
|
||||||
worldState_resourceBoost: `[UNTRANSLATED] Resource Boost`,
|
worldState_resourceBoost: `[UNTRANSLATED] Resource Boost`,
|
||||||
|
worldState_tennoLiveRelay: `[UNTRANSLATED] TennoLive Relay`,
|
||||||
|
worldState_baroTennoConRelay: `[UNTRANSLATED] Baro's TennoCon Relay`,
|
||||||
worldState_starDays: `[UNTRANSLATED] Star Days`,
|
worldState_starDays: `[UNTRANSLATED] Star Days`,
|
||||||
worldState_galleonOfGhouls: `[UNTRANSLATED] Galleon of Ghouls`,
|
worldState_galleonOfGhouls: `[UNTRANSLATED] Galleon of Ghouls`,
|
||||||
|
enabled: `[UNTRANSLATED] Enabled`,
|
||||||
disabled: `[UNTRANSLATED] Disabled`,
|
disabled: `[UNTRANSLATED] Disabled`,
|
||||||
worldState_we1: `[UNTRANSLATED] Weekend 1`,
|
worldState_we1: `[UNTRANSLATED] Weekend 1`,
|
||||||
worldState_we2: `[UNTRANSLATED] Weekend 2`,
|
worldState_we2: `[UNTRANSLATED] Weekend 2`,
|
||||||
worldState_we3: `[UNTRANSLATED] Weekend 3`,
|
worldState_we3: `[UNTRANSLATED] Weekend 3`,
|
||||||
worldState_eidolonOverride: `[UNTRANSLATED] Eidolon Override`,
|
worldState_eidolonOverride: `[UNTRANSLATED] Eidolon/Deimos Override`,
|
||||||
worldState_day: `[UNTRANSLATED] Day`,
|
worldState_day: `[UNTRANSLATED] Day/Fass`,
|
||||||
worldState_night: `[UNTRANSLATED] Night`,
|
worldState_night: `[UNTRANSLATED] Night/Vome`,
|
||||||
worldState_vallisOverride: `[UNTRANSLATED] Orb Vallis Override`,
|
worldState_vallisOverride: `[UNTRANSLATED] Orb Vallis Override`,
|
||||||
worldState_warm: `[UNTRANSLATED] Warm`,
|
worldState_warm: `[UNTRANSLATED] Warm`,
|
||||||
worldState_cold: `[UNTRANSLATED] Cold`,
|
worldState_cold: `[UNTRANSLATED] Cold`,
|
||||||
|
@ -156,8 +156,8 @@ dict = {
|
|||||||
invigorations_defensiveLabel: `功能型属性`,
|
invigorations_defensiveLabel: `功能型属性`,
|
||||||
invigorations_expiryLabel: `活化时效(可选)`,
|
invigorations_expiryLabel: `活化时效(可选)`,
|
||||||
|
|
||||||
abilityOverride_label: `[UNTRANSLATED] Ability Override`,
|
abilityOverride_label: `技能替换`,
|
||||||
abilityOverride_onSlot: `[UNTRANSLATED] on slot`,
|
abilityOverride_onSlot: `槽位`,
|
||||||
|
|
||||||
mods_addRiven: `添加裂罅MOD`,
|
mods_addRiven: `添加裂罅MOD`,
|
||||||
mods_fingerprint: `印记`,
|
mods_fingerprint: `印记`,
|
||||||
@ -242,8 +242,11 @@ dict = {
|
|||||||
worldState_creditBoost: `现金加成`,
|
worldState_creditBoost: `现金加成`,
|
||||||
worldState_affinityBoost: `经验加成`,
|
worldState_affinityBoost: `经验加成`,
|
||||||
worldState_resourceBoost: `资源加成`,
|
worldState_resourceBoost: `资源加成`,
|
||||||
|
worldState_tennoLiveRelay: `TennoLive 中继站`,
|
||||||
|
worldState_baroTennoConRelay: `[UNTRANSLATED] Baro's TennoCon Relay`,
|
||||||
worldState_starDays: `活动:星日`,
|
worldState_starDays: `活动:星日`,
|
||||||
worldState_galleonOfGhouls: `战术警报:尸鬼的帆船战舰`,
|
worldState_galleonOfGhouls: `战术警报:尸鬼的帆船战舰`,
|
||||||
|
enabled: `启用`,
|
||||||
disabled: `关闭/取消配置`,
|
disabled: `关闭/取消配置`,
|
||||||
worldState_we1: `活动阶段:第一周`,
|
worldState_we1: `活动阶段:第一周`,
|
||||||
worldState_we2: `活动阶段:第二周`,
|
worldState_we2: `活动阶段:第二周`,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user