forked from OpenWF/SpaceNinjaServer
Compare commits
7 Commits
4fa07a1319
...
32c95b6715
| Author | SHA1 | Date | |
|---|---|---|---|
| 32c95b6715 | |||
| 6f8b14fb2d | |||
| 3d8aa60838 | |||
| 87da94658d | |||
| 05fbefa7f4 | |||
| a2abf6db8f | |||
| 64a1c8b276 |
@ -10,7 +10,8 @@ export const giveKeyChainTriggeredItemsController: RequestHandler = async (req,
|
||||
const keyChainInfo = getJSONfromString<IKeyChainRequest>((req.body as string).toString());
|
||||
|
||||
const inventory = await getInventory(accountId);
|
||||
const inventoryChanges = await giveKeyChainItem(inventory, keyChainInfo);
|
||||
const questKey = inventory.QuestKeys.find(qk => qk.ItemType === keyChainInfo.KeyChain)!;
|
||||
const inventoryChanges = await giveKeyChainItem(inventory, keyChainInfo, questKey);
|
||||
await inventory.save();
|
||||
|
||||
res.send(inventoryChanges);
|
||||
|
||||
@ -9,7 +9,8 @@ export const giveKeyChainTriggeredMessageController: RequestHandler = async (req
|
||||
const keyChainInfo = JSON.parse((req.body as Buffer).toString()) as IKeyChainRequest;
|
||||
|
||||
const inventory = await getInventory(accountId, "QuestKeys accountOwnerId");
|
||||
await giveKeyChainMessage(inventory, keyChainInfo);
|
||||
const questKey = inventory.QuestKeys.find(qk => qk.ItemType === keyChainInfo.KeyChain)!;
|
||||
await giveKeyChainMessage(inventory, keyChainInfo, questKey);
|
||||
await inventory.save();
|
||||
|
||||
res.send(1);
|
||||
|
||||
@ -17,7 +17,7 @@ export const startCollectibleEntryController: RequestHandler = async (req, res)
|
||||
IncentiveStates: request.other
|
||||
});
|
||||
await inventory.save();
|
||||
res.status(200).end();
|
||||
res.send(`target = ${request.target}key = 0key = 1{"Target":"${request.target}"}`);
|
||||
};
|
||||
|
||||
interface IStartCollectibleEntryRequest {
|
||||
|
||||
@ -37,10 +37,10 @@ interface ListedItem {
|
||||
chainLength?: number;
|
||||
parazon?: boolean;
|
||||
alwaysAvailable?: boolean;
|
||||
maxLevelCap?: number;
|
||||
}
|
||||
|
||||
interface ItemLists {
|
||||
uniqueLevelCaps: Record<string, number>;
|
||||
Suits: ListedItem[];
|
||||
LongGuns: ListedItem[];
|
||||
Melee: ListedItem[];
|
||||
@ -83,7 +83,6 @@ const toTitleCase = (str: string): string => {
|
||||
const getItemListsController: RequestHandler = (req, response) => {
|
||||
const lang = getDict(typeof req.query.lang == "string" ? req.query.lang : "en");
|
||||
const res: ItemLists = {
|
||||
uniqueLevelCaps: {},
|
||||
Suits: [],
|
||||
LongGuns: [],
|
||||
Melee: [],
|
||||
@ -144,7 +143,8 @@ const getItemListsController: RequestHandler = (req, response) => {
|
||||
res[item.productCategory].push({
|
||||
uniqueName,
|
||||
name: getString(item.name, lang),
|
||||
exalted: item.exalted
|
||||
exalted: item.exalted,
|
||||
maxLevelCap: item.maxLevelCap
|
||||
});
|
||||
item.abilities.forEach(ability => {
|
||||
res.Abilities.push({
|
||||
@ -152,9 +152,6 @@ const getItemListsController: RequestHandler = (req, response) => {
|
||||
name: getString(ability.name || uniqueName, lang)
|
||||
});
|
||||
});
|
||||
if (item.maxLevelCap) {
|
||||
res.uniqueLevelCaps[uniqueName] = item.maxLevelCap;
|
||||
}
|
||||
}
|
||||
for (const [uniqueName, item] of Object.entries(ExportSentinels)) {
|
||||
if (item.productCategory == "Sentinels" || item.productCategory == "KubrowPets") {
|
||||
@ -195,7 +192,8 @@ const getItemListsController: RequestHandler = (req, response) => {
|
||||
) {
|
||||
res[item.productCategory].push({
|
||||
uniqueName,
|
||||
name: getString(item.name, lang)
|
||||
name: getString(item.name, lang),
|
||||
maxLevelCap: item.maxLevelCap
|
||||
});
|
||||
}
|
||||
} else if (!item.excludeFromCodex) {
|
||||
@ -204,9 +202,6 @@ const getItemListsController: RequestHandler = (req, response) => {
|
||||
name: getString(item.name, lang)
|
||||
});
|
||||
}
|
||||
if (item.maxLevelCap) {
|
||||
res.uniqueLevelCaps[uniqueName] = item.maxLevelCap;
|
||||
}
|
||||
}
|
||||
for (const [uniqueName, item] of Object.entries(ExportResources)) {
|
||||
let name = getString(item.name, lang);
|
||||
|
||||
25
src/controllers/custom/unlockLevelCapController.ts
Normal file
25
src/controllers/custom/unlockLevelCapController.ts
Normal file
@ -0,0 +1,25 @@
|
||||
import type { RequestHandler } from "express";
|
||||
import { getAccountIdForRequest } from "../../services/loginService.ts";
|
||||
import { broadcastInventoryUpdate } from "../../services/wsService.ts";
|
||||
import { getInventory } from "../../services/inventoryService.ts";
|
||||
import type { TEquipmentKey } from "../../types/inventoryTypes/inventoryTypes.ts";
|
||||
|
||||
export const unlockLevelCapController: RequestHandler = async (req, res) => {
|
||||
const accountId = await getAccountIdForRequest(req);
|
||||
const data = req.body as IunlockLevelCapRequest;
|
||||
const inventory = await getInventory(accountId, data.Category);
|
||||
const equipment = inventory[data.Category].id(data.ItemId)!;
|
||||
|
||||
equipment.Polarized ??= 0;
|
||||
equipment.Polarized = data.Polarized;
|
||||
|
||||
await inventory.save();
|
||||
res.end();
|
||||
broadcastInventoryUpdate(req);
|
||||
};
|
||||
|
||||
interface IunlockLevelCapRequest {
|
||||
Category: TEquipmentKey;
|
||||
ItemId: string;
|
||||
Polarized: number;
|
||||
}
|
||||
@ -41,6 +41,7 @@ import { manageQuestsController } from "../controllers/custom/manageQuestsContro
|
||||
import { setEvolutionProgressController } from "../controllers/custom/setEvolutionProgressController.ts";
|
||||
import { setBoosterController } from "../controllers/custom/setBoosterController.ts";
|
||||
import { updateFingerprintController } from "../controllers/custom/updateFingerprintController.ts";
|
||||
import { unlockLevelCapController } from "../controllers/custom/unlockLevelCapController.ts";
|
||||
import { changeModularPartsController } from "../controllers/custom/changeModularPartsController.ts";
|
||||
import { editSuitInvigorationUpgradeController } from "../controllers/custom/editSuitInvigorationUpgradeController.ts";
|
||||
import { setAccountCheatController } from "../controllers/custom/setAccountCheatController.ts";
|
||||
@ -89,6 +90,7 @@ customRouter.post("/manageQuests", manageQuestsController);
|
||||
customRouter.post("/setEvolutionProgress", setEvolutionProgressController);
|
||||
customRouter.post("/setBooster", setBoosterController);
|
||||
customRouter.post("/updateFingerprint", updateFingerprintController);
|
||||
customRouter.post("/unlockLevelCap", unlockLevelCapController);
|
||||
customRouter.post("/changeModularParts", changeModularPartsController);
|
||||
customRouter.post("/editSuitInvigorationUpgrade", editSuitInvigorationUpgradeController);
|
||||
customRouter.post("/setAccountCheat", setAccountCheatController);
|
||||
|
||||
@ -159,7 +159,7 @@ export const completeQuest = async (inventory: TInventoryDatabaseDocument, quest
|
||||
|
||||
for (let i = 0; i < chainStageTotal; i++) {
|
||||
const stage = existingQuestKey.Progress[i];
|
||||
if (stage.c < run) {
|
||||
if (stage.c <= run) {
|
||||
stage.c = run;
|
||||
await giveKeyChainStageTriggered(inventory, { KeyChain: questKey, ChainStage: i });
|
||||
await giveKeyChainMissionReward(inventory, { KeyChain: questKey, ChainStage: i });
|
||||
@ -298,11 +298,11 @@ const handleQuestCompletion = async (
|
||||
export const giveKeyChainItem = async (
|
||||
inventory: TInventoryDatabaseDocument,
|
||||
keyChainInfo: IKeyChainRequest,
|
||||
isRerun: boolean = false
|
||||
questKey: IQuestKeyDatabase
|
||||
): Promise<IInventoryChanges> => {
|
||||
let inventoryChanges: IInventoryChanges = {};
|
||||
|
||||
if (!isRerun) {
|
||||
if (!questKey.Progress?.[keyChainInfo.ChainStage]?.i) {
|
||||
inventoryChanges = await addKeyChainItems(inventory, keyChainInfo);
|
||||
|
||||
if (isEmptyObject(inventoryChanges)) {
|
||||
@ -327,11 +327,11 @@ export const giveKeyChainItem = async (
|
||||
export const giveKeyChainMessage = async (
|
||||
inventory: TInventoryDatabaseDocument,
|
||||
keyChainInfo: IKeyChainRequest,
|
||||
isRerun: boolean = false
|
||||
questKey: IQuestKeyDatabase
|
||||
): Promise<void> => {
|
||||
const keyChainMessage = getKeyChainMessage(keyChainInfo);
|
||||
|
||||
if (!isRerun) {
|
||||
if (questKey.Progress![0].c > 0) {
|
||||
keyChainMessage.att = [];
|
||||
keyChainMessage.countedAtt = [];
|
||||
}
|
||||
@ -391,14 +391,12 @@ export const giveKeyChainStageTriggered = async (
|
||||
const questKey = inventory.QuestKeys.find(qk => qk.ItemType === keyChainInfo.KeyChain);
|
||||
|
||||
if (chainStages && questKey) {
|
||||
const run = questKey.Progress?.[0]?.c ?? 0;
|
||||
|
||||
if (chainStages[keyChainInfo.ChainStage].itemsToGiveWhenTriggered.length > 0) {
|
||||
await giveKeyChainItem(inventory, keyChainInfo, run > 0);
|
||||
await giveKeyChainItem(inventory, keyChainInfo, questKey);
|
||||
}
|
||||
|
||||
if (chainStages[keyChainInfo.ChainStage].messageToSendWhenTriggered) {
|
||||
await giveKeyChainMessage(inventory, keyChainInfo, run > 0);
|
||||
await giveKeyChainMessage(inventory, keyChainInfo, questKey);
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
@ -108,9 +108,9 @@
|
||||
<div class="card-body">
|
||||
<div class="tab-content">
|
||||
<div class="tab-pane" id="miscItems-tab-content">
|
||||
<form class="card-body input-group" onsubmit="doAcquireCountItems('miscitem');return false;">
|
||||
<input class="form-control" id="miscitem-count" type="number" value="1" />
|
||||
<input class="form-control w-50" id="acquire-type-miscitem" list="datalist-miscitems" />
|
||||
<form class="card-body input-group" onsubmit="doAcquireCountItems('miscitems');return false;">
|
||||
<input class="form-control" id="miscitems-count" type="number" value="1" />
|
||||
<input class="form-control w-50" id="acquire-type-miscitems" list="datalist-miscitems" />
|
||||
<button class="btn btn-primary" type="submit" data-loc="general_addButton"></button>
|
||||
</form>
|
||||
</div>
|
||||
@ -180,33 +180,37 @@
|
||||
<div class="col-lg-6">
|
||||
<div class="card" style="height: 400px;">
|
||||
<h5 class="card-header" data-loc="inventory_suits"></h5>
|
||||
<div class="card-body overflow-auto">
|
||||
<div class="card-body d-flex flex-column">
|
||||
<form class="input-group mb-3" onsubmit="doAcquireEquipment('Suits');return false;">
|
||||
<input class="form-control" id="acquire-type-Suits" list="datalist-Suits" />
|
||||
<button class="btn btn-primary" type="submit" data-loc="general_addButton"></button>
|
||||
</form>
|
||||
<table class="table table-hover w-100">
|
||||
<tbody id="Suits-list"></tbody>
|
||||
</table>
|
||||
<div class="overflow-auto">
|
||||
<table class="table table-hover w-100">
|
||||
<tbody id="Suits-list"></tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-lg-6">
|
||||
<div class="card" style="height: 400px;">
|
||||
<h5 class="card-header" data-loc="inventory_longGuns"></h5>
|
||||
<div class="card-body overflow-auto">
|
||||
<div class="card-body d-flex flex-column">
|
||||
<form class="input-group mb-3" onsubmit="handleModularSelection('LongGuns');return false;">
|
||||
<input class="form-control" id="acquire-type-LongGuns" list="datalist-LongGuns" />
|
||||
<button class="btn btn-primary" type="submit" data-loc="general_addButton"></button>
|
||||
</form>
|
||||
<form class="input-group mb-3" id="modular-LongGuns" style="display: none;">
|
||||
<form class="input-group mb-3 d-none" id="modular-LongGuns">
|
||||
<input class="form-control" id="acquire-type-LongGuns-GUN_BARREL" list="datalist-ModularParts-GUN_BARREL" />
|
||||
<input class="form-control" id="acquire-type-LongGuns-GUN_PRIMARY_HANDLE" list="datalist-ModularParts-GUN_PRIMARY_HANDLE" />
|
||||
<input class="form-control" id="acquire-type-LongGuns-GUN_CLIP" list="datalist-ModularParts-GUN_CLIP" />
|
||||
</form>
|
||||
<table class="table table-hover w-100">
|
||||
<tbody id="LongGuns-list"></tbody>
|
||||
</table>
|
||||
<div class="overflow-auto">
|
||||
<table class="table table-hover w-100">
|
||||
<tbody id="LongGuns-list"></tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@ -215,38 +219,42 @@
|
||||
<div class="col-lg-6">
|
||||
<div class="card" style="height: 400px;">
|
||||
<h5 class="card-header" data-loc="inventory_pistols"></h5>
|
||||
<div class="card-body overflow-auto">
|
||||
<div class="card-body d-flex flex-column">
|
||||
<form class="input-group mb-3" onsubmit="handleModularSelection('Pistols');return false;">
|
||||
<input class="form-control" id="acquire-type-Pistols" list="datalist-Pistols" />
|
||||
<button class="btn btn-primary" type="submit" data-loc="general_addButton"></button>
|
||||
</form>
|
||||
<form class="input-group mb-3" id="modular-Pistols" style="display: none;">
|
||||
<form class="input-group mb-3 d-none" id="modular-Pistols">
|
||||
<input class="form-control" id="acquire-type-Pistols-GUN_BARREL" list="datalist-ModularParts-GUN_BARREL" />
|
||||
<input class="form-control" id="acquire-type-Pistols-GUN_SECONDARY_HANDLE" list="datalist-ModularParts-GUN_SECONDARY_HANDLE" />
|
||||
<input class="form-control" id="acquire-type-Pistols-GUN_CLIP" list="datalist-ModularParts-GUN_CLIP" />
|
||||
</form>
|
||||
<table class="table table-hover w-100">
|
||||
<tbody id="Pistols-list"></tbody>
|
||||
</table>
|
||||
<div class="overflow-auto">
|
||||
<table class="table table-hover w-100">
|
||||
<tbody id="Pistols-list"></tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-lg-6">
|
||||
<div class="card" style="height: 400px;">
|
||||
<h5 class="card-header" data-loc="inventory_melee"></h5>
|
||||
<div class="card-body overflow-auto">
|
||||
<div class="card-body d-flex flex-column">
|
||||
<form class="input-group mb-3" onsubmit="handleModularSelection('Melee');return false;">
|
||||
<input class="form-control" id="acquire-type-Melee" list="datalist-Melee" />
|
||||
<button class="btn btn-primary" type="submit" data-loc="general_addButton"></button>
|
||||
</form>
|
||||
<form class="input-group mb-3" id="modular-Melee" style="display: none;">
|
||||
<form class="input-group mb-3 d-none" id="modular-Melee">
|
||||
<input class="form-control" id="acquire-type-Melee-BLADE" list="datalist-ModularParts-BLADE" />
|
||||
<input class="form-control" id="acquire-type-Melee-HILT" list="datalist-ModularParts-HILT" />
|
||||
<input class="form-control" id="acquire-type-Melee-HILT_WEIGHT" list="datalist-ModularParts-HILT_WEIGHT" />
|
||||
</form>
|
||||
<table class="table table-hover w-100">
|
||||
<tbody id="Melee-list"></tbody>
|
||||
</table>
|
||||
<div class="overflow-auto">
|
||||
<table class="table table-hover w-100">
|
||||
<tbody id="Melee-list"></tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@ -255,28 +263,32 @@
|
||||
<div class="col-lg-6">
|
||||
<div class="card" style="height: 400px;">
|
||||
<h5 class="card-header" data-loc="inventory_spaceSuits"></h5>
|
||||
<div class="card-body overflow-auto">
|
||||
<div class="card-body d-flex flex-column">
|
||||
<form class="input-group mb-3" onsubmit="doAcquireEquipment('SpaceSuits');return false;">
|
||||
<input class="form-control" id="acquire-type-SpaceSuits" list="datalist-SpaceSuits" />
|
||||
<button class="btn btn-primary" type="submit" data-loc="general_addButton"></button>
|
||||
</form>
|
||||
<table class="table table-hover w-100">
|
||||
<tbody id="SpaceSuits-list"></tbody>
|
||||
</table>
|
||||
<div class="overflow-auto">
|
||||
<table class="table table-hover w-100">
|
||||
<tbody id="SpaceSuits-list"></tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-lg-6">
|
||||
<div class="card" style="height: 400px;">
|
||||
<h5 class="card-header" data-loc="inventory_spaceGuns"></h5>
|
||||
<div class="card-body overflow-auto">
|
||||
<div class="card-body d-flex flex-column">
|
||||
<form class="input-group mb-3" onsubmit="doAcquireEquipment('SpaceGuns');return false;">
|
||||
<input class="form-control" id="acquire-type-SpaceGuns" list="datalist-SpaceGuns" />
|
||||
<button class="btn btn-primary" type="submit" data-loc="general_addButton"></button>
|
||||
</form>
|
||||
<table class="table table-hover w-100">
|
||||
<tbody id="SpaceGuns-list"></tbody>
|
||||
</table>
|
||||
<div class="overflow-auto">
|
||||
<table class="table table-hover w-100">
|
||||
<tbody id="SpaceGuns-list"></tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@ -285,28 +297,32 @@
|
||||
<div class="col-lg-6">
|
||||
<div class="card" style="height: 400px;">
|
||||
<h5 class="card-header" data-loc="inventory_spaceMelee"></h5>
|
||||
<div class="card-body overflow-auto">
|
||||
<div class="card-body d-flex flex-column">
|
||||
<form class="input-group mb-3" onsubmit="doAcquireEquipment('SpaceMelee');return false;">
|
||||
<input class="form-control" id="acquire-type-SpaceMelee" list="datalist-SpaceMelee" />
|
||||
<button class="btn btn-primary" type="submit" data-loc="general_addButton"></button>
|
||||
</form>
|
||||
<table class="table table-hover w-100">
|
||||
<tbody id="SpaceMelee-list"></tbody>
|
||||
</table>
|
||||
<div class="overflow-auto">
|
||||
<table class="table table-hover w-100">
|
||||
<tbody id="SpaceMelee-list"></tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-lg-6">
|
||||
<div class="card" style="height: 400px;">
|
||||
<h5 class="card-header" data-loc="inventory_mechSuits"></h5>
|
||||
<div class="card-body overflow-auto">
|
||||
<div class="card-body d-flex flex-column">
|
||||
<form class="input-group mb-3" onsubmit="doAcquireEquipment('MechSuits');return false;">
|
||||
<input class="form-control" id="acquire-type-MechSuits" list="datalist-MechSuits" />
|
||||
<button class="btn btn-primary" type="submit" data-loc="general_addButton"></button>
|
||||
</form>
|
||||
<table class="table table-hover w-100">
|
||||
<tbody id="MechSuits-list"></tbody>
|
||||
</table>
|
||||
<div class="overflow-auto">
|
||||
<table class="table table-hover w-100">
|
||||
<tbody id="MechSuits-list"></tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@ -315,40 +331,44 @@
|
||||
<div class="col-lg-6">
|
||||
<div class="card" style="height: 400px;">
|
||||
<h5 class="card-header" data-loc="inventory_sentinels"></h5>
|
||||
<div class="card-body overflow-auto">
|
||||
<div class="card-body d-flex flex-column">
|
||||
<form class="input-group mb-3" onsubmit="doAcquireEquipment('Sentinels');return false;">
|
||||
<input class="form-control" id="acquire-type-Sentinels" list="datalist-Sentinels" />
|
||||
<button class="btn btn-primary" type="submit" data-loc="general_addButton"></button>
|
||||
</form>
|
||||
<table class="table table-hover w-100">
|
||||
<tbody id="Sentinels-list"></tbody>
|
||||
</table>
|
||||
<div class="overflow-auto">
|
||||
<table class="table table-hover w-100">
|
||||
<tbody id="Sentinels-list"></tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-lg-6">
|
||||
<div class="card" style="height: 400px;">
|
||||
<h5 class="card-header" data-loc="inventory_moaPets"></h5>
|
||||
<div class="card-body overflow-auto">
|
||||
<div class="card-body d-flex flex-column">
|
||||
<form class="input-group mb-3" onsubmit="handleModularSelection('MoaPets');return false;">
|
||||
<input class="form-control" id="acquire-type-MoaPets" list="datalist-MoaPets" />
|
||||
<button class="btn btn-primary" type="submit" data-loc="general_addButton"></button>
|
||||
</form>
|
||||
<form class="input-group mb-3" id="modular-MoaPets-Moa" style="display: none;">
|
||||
<form class="input-group mb-3 d-none" id="modular-MoaPets-Moa">
|
||||
<input class="form-control" id="acquire-type-MoaPets-MOA_ENGINE" list="datalist-ModularParts-MOA_ENGINE" />
|
||||
<input class="form-control" id="acquire-type-MoaPets-MOA_PAYLOAD" list="datalist-ModularParts-MOA_PAYLOAD" />
|
||||
<input class="form-control" id="acquire-type-MoaPets-MOA_HEAD" list="datalist-ModularParts-MOA_HEAD" />
|
||||
<input class="form-control" id="acquire-type-MoaPets-MOA_LEG" list="datalist-ModularParts-MOA_LEG" />
|
||||
</form>
|
||||
<form class="input-group mb-3" id="modular-MoaPets-Zanuka" style="display: none;">
|
||||
<form class="input-group mb-3 d-none" id="modular-MoaPets-Zanuka">
|
||||
<input class="form-control" id="acquire-type-MoaPets-ZANUKA_HEAD" list="datalist-ModularParts-ZANUKA_HEAD" />
|
||||
<input class="form-control" id="acquire-type-MoaPets-ZANUKA_BODY" list="datalist-ModularParts-ZANUKA_BODY" />
|
||||
<input class="form-control" id="acquire-type-MoaPets-ZANUKA_LEG" list="datalist-ModularParts-ZANUKA_LEG" />
|
||||
<input class="form-control" id="acquire-type-MoaPets-ZANUKA_TAIL" list="datalist-ModularParts-ZANUKA_TAIL" />
|
||||
</form>
|
||||
<table class="table table-hover w-100">
|
||||
<tbody id="MoaPets-list"></tbody>
|
||||
</table>
|
||||
<div class="overflow-auto">
|
||||
<table class="table table-hover w-100">
|
||||
<tbody id="MoaPets-list"></tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@ -357,36 +377,40 @@
|
||||
<div class="col-lg-6">
|
||||
<div class="card" style="height: 400px;">
|
||||
<h5 class="card-header" data-loc="inventory_kubrowPets"></h5>
|
||||
<div class="card-body overflow-auto">
|
||||
<div class="card-body d-flex flex-column">
|
||||
<form class="input-group mb-3" onsubmit="handleModularSelection('KubrowPets');return false;">
|
||||
<input class="form-control" id="acquire-type-KubrowPets" list="datalist-KubrowPets" />
|
||||
<button class="btn btn-primary" type="submit" data-loc="general_addButton"></button>
|
||||
</form>
|
||||
<form class="input-group mb-3" id="modular-KubrowPets-Catbrow" style="display: none;">
|
||||
<form class="input-group mb-3 d-none" id="modular-KubrowPets-Catbrow">
|
||||
<input class="form-control" id="acquire-type-KubrowPets-CATBROW_ANTIGEN" list="datalist-ModularParts-CATBROW_ANTIGEN" />
|
||||
<input class="form-control" id="acquire-type-KubrowPets-CATBROW_MUTAGEN" list="datalist-ModularParts-CATBROW_MUTAGEN" />
|
||||
</form>
|
||||
<form class="input-group mb-3" id="modular-KubrowPets-Kubrow" style="display: none;">
|
||||
<form class="input-group mb-3 d-none" id="modular-KubrowPets-Kubrow">
|
||||
<input class="form-control" id="acquire-type-KubrowPets-KUBROW_ANTIGEN" list="datalist-ModularParts-KUBROW_ANTIGEN" />
|
||||
<input class="form-control" id="acquire-type-KubrowPets-KUBROW_MUTAGEN" list="datalist-ModularParts-KUBROW_MUTAGEN" />
|
||||
</form>
|
||||
<table class="table table-hover w-100">
|
||||
<tbody id="KubrowPets-list"></tbody>
|
||||
</table>
|
||||
<div class="overflow-auto">
|
||||
<table class="table table-hover w-100">
|
||||
<tbody id="KubrowPets-list"></tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-lg-6">
|
||||
<div class="card" style="height: 400px;">
|
||||
<h5 class="card-header" data-loc="inventory_sentinelWeapons"></h5>
|
||||
<div class="card-body overflow-auto">
|
||||
<div class="card-body d-flex flex-column">
|
||||
<form class="input-group mb-3" onsubmit="doAcquireEquipment('SentinelWeapons');return false;">
|
||||
<input class="form-control" id="acquire-type-SentinelWeapons" list="datalist-SentinelWeapons" />
|
||||
<button class="btn btn-primary" type="submit" data-loc="general_addButton"></button>
|
||||
</form>
|
||||
<table class="table table-hover w-100">
|
||||
<tbody id="SentinelWeapons-list"></tbody>
|
||||
</table>
|
||||
<div class="overflow-auto">
|
||||
<table class="table table-hover w-100">
|
||||
<tbody id="SentinelWeapons-list"></tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@ -395,26 +419,28 @@
|
||||
<div class="col-lg-6">
|
||||
<div class="card" style="height: 400px;">
|
||||
<h5 class="card-header" data-loc="inventory_operatorAmps"></h5>
|
||||
<div class="card-body overflow-auto">
|
||||
<div class="card-body d-flex flex-column">
|
||||
<form class="input-group mb-3" onsubmit="handleModularSelection('OperatorAmps');return false;">
|
||||
<input class="form-control" id="acquire-type-OperatorAmps" list="datalist-OperatorAmps" />
|
||||
<button class="btn btn-primary" type="submit" data-loc="general_addButton"></button>
|
||||
</form>
|
||||
<form class="input-group mb-3" id="modular-OperatorAmps" style="display: none;">
|
||||
<form class="input-group mb-3 d-none" id="modular-OperatorAmps">
|
||||
<input class="form-control" id="acquire-type-OperatorAmps-AMP_OCULUS" list="datalist-ModularParts-AMP_OCULUS" />
|
||||
<input class="form-control" id="acquire-type-OperatorAmps-AMP_CORE" list="datalist-ModularParts-AMP_CORE" />
|
||||
<input class="form-control" id="acquire-type-OperatorAmps-AMP_BRACE" list="datalist-ModularParts-AMP_BRACE" />
|
||||
</form>
|
||||
<table class="table table-hover w-100">
|
||||
<tbody id="OperatorAmps-list"></tbody>
|
||||
</table>
|
||||
<div class="overflow-auto">
|
||||
<table class="table table-hover w-100">
|
||||
<tbody id="OperatorAmps-list"></tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-lg-6">
|
||||
<div class="card" style="height: 400px;">
|
||||
<h5 class="card-header" data-loc="inventory_hoverboards"></h5>
|
||||
<div class="card-body overflow-auto">
|
||||
<div class="card-body d-flex flex-column">
|
||||
<form class="input-group mb-3" onsubmit="doAcquireModularEquipment('Hoverboards');return false;">
|
||||
<input class="form-control" id="acquire-type-Hoverboards-HB_DECK" list="datalist-ModularParts-HB_DECK" />
|
||||
<input class="form-control" id="acquire-type-Hoverboards-HB_ENGINE" list="datalist-ModularParts-HB_ENGINE" />
|
||||
@ -422,9 +448,11 @@
|
||||
<input class="form-control" id="acquire-type-Hoverboards-HB_JET" list="datalist-ModularParts-HB_JET" />
|
||||
<button class="btn btn-primary" type="submit" data-loc="general_addButton"></button>
|
||||
</form>
|
||||
<table class="table table-hover w-100">
|
||||
<tbody id="Hoverboards-list"></tbody>
|
||||
</table>
|
||||
<div class="overflow-auto">
|
||||
<table class="table table-hover w-100">
|
||||
<tbody id="Hoverboards-list"></tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@ -433,28 +461,32 @@
|
||||
<div class="col-lg-6">
|
||||
<div class="card" style="height: 400px;">
|
||||
<h5 class="card-header" data-loc="inventory_evolutionProgress"></h5>
|
||||
<div class="card-body overflow-auto">
|
||||
<div class="card-body d-flex flex-column">
|
||||
<form class="input-group mb-3" onsubmit="doAcquireEvolution();return false;">
|
||||
<input class="form-control" id="acquire-type-EvolutionProgress" list="datalist-EvolutionProgress" />
|
||||
<button class="btn btn-primary" type="submit" data-loc="general_addButton"></button>
|
||||
</form>
|
||||
<table class="table table-hover w-100">
|
||||
<tbody id="EvolutionProgress-list"></tbody>
|
||||
</table>
|
||||
<div class="overflow-auto">
|
||||
<table class="table table-hover w-100">
|
||||
<tbody id="EvolutionProgress-list"></tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-lg-6">
|
||||
<div class="card" style="height: 400px;">
|
||||
<h5 class="card-header" data-loc="inventory_Boosters"></h5>
|
||||
<div class="card-body overflow-auto">
|
||||
<div class="card-body d-flex flex-column">
|
||||
<form class="input-group mb-3" onsubmit="doAcquireBoosters();return false;">
|
||||
<input class="form-control" id="acquire-type-Boosters" list="datalist-Boosters" />
|
||||
<button class="btn btn-primary" type="submit" data-loc="general_addButton"></button>
|
||||
</form>
|
||||
<table class="table table-hover w-100">
|
||||
<tbody id="Boosters-list"></tbody>
|
||||
</table>
|
||||
<div class="overflow-auto">
|
||||
<table class="table table-hover w-100">
|
||||
<tbody id="Boosters-list"></tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@ -463,29 +495,33 @@
|
||||
<div class="col-lg-6">
|
||||
<div class="card" style="height: 400px;">
|
||||
<h5 class="card-header" data-loc="inventory_flavourItems"></h5>
|
||||
<div class="card-body overflow-auto">
|
||||
<div class="card-body d-flex flex-column">
|
||||
<form class="input-group mb-3" onsubmit="doAcquireEquipment('FlavourItems');return false;">
|
||||
<input class="form-control" id="acquire-type-FlavourItems" list="datalist-FlavourItems" />
|
||||
<button class="btn btn-primary" type="submit" data-loc="general_addButton"></button>
|
||||
</form>
|
||||
<table class="table table-hover w-100">
|
||||
<tbody id="FlavourItems-list"></tbody>
|
||||
</table>
|
||||
<div class="overflow-auto">
|
||||
<table class="table table-hover w-100">
|
||||
<tbody id="FlavourItems-list"></tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-lg-6">
|
||||
<div class="card" style="height: 400px;">
|
||||
<h5 class="card-header" data-loc="inventory_shipDecorations"></h5>
|
||||
<div class="card-body overflow-auto">
|
||||
<form class="card-body input-group" onsubmit="doAcquireCountItems('ShipDecorations');return false;">
|
||||
<div class="card-body d-flex flex-column">
|
||||
<form class="input-group mb-3" onsubmit="doAcquireCountItems('ShipDecorations');return false;">
|
||||
<input class="form-control" id="ShipDecorations-count" type="number" value="1" />
|
||||
<input class="form-control w-50" id="acquire-type-ShipDecorations" list="datalist-ShipDecorations" />
|
||||
<button class="btn btn-primary" type="submit" data-loc="general_addButton"></button>
|
||||
</form>
|
||||
<table class="table table-hover w-100">
|
||||
<tbody id="ShipDecorations-list"></tbody>
|
||||
</table>
|
||||
<div class="overflow-auto">
|
||||
<table class="table table-hover w-100">
|
||||
<tbody id="ShipDecorations-list"></tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@ -552,28 +588,32 @@
|
||||
<div class="col-lg-6">
|
||||
<div class="card" style="height: 400px;">
|
||||
<h5 class="card-header" data-loc="guildView_techProjects"></h5>
|
||||
<div class="card-body overflow-auto">
|
||||
<div class="card-body d-flex flex-column">
|
||||
<form id="techProjects-form" class="input-group mb-3 d-none" onsubmit="addGuildTechProject();return false;">
|
||||
<input class="form-control" id="acquire-type-TechProjects" list="datalist-TechProjects" />
|
||||
<button class="btn btn-primary" type="submit" data-loc="general_addButton"></button>
|
||||
</form>
|
||||
<table class="table table-hover w-100">
|
||||
<tbody id="TechProjects-list"></tbody>
|
||||
</table>
|
||||
<div class="overflow-auto">
|
||||
<table class="table table-hover w-100">
|
||||
<tbody id="TechProjects-list"></tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-lg-6">
|
||||
<div class="card" style="height: 400px;">
|
||||
<h5 class="card-header" data-loc="guildView_vaultDecoRecipes"></h5>
|
||||
<div class="card-body overflow-auto">
|
||||
<div class="card-body d-flex flex-column">
|
||||
<form id="vaultDecoRecipes-form" class="input-group mb-3 d-none" onsubmit="addVaultDecoRecipe();return false;">
|
||||
<input class="form-control" id="acquire-type-VaultDecoRecipes" list="datalist-VaultDecoRecipes" />
|
||||
<button class="btn btn-primary" type="submit" data-loc="general_addButton"></button>
|
||||
</form>
|
||||
<table class="table table-hover w-100">
|
||||
<tbody id="VaultDecoRecipes-list"></tbody>
|
||||
</table>
|
||||
<div class="overflow-auto">
|
||||
<table class="table table-hover w-100">
|
||||
<tbody id="VaultDecoRecipes-list"></tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@ -807,16 +847,18 @@
|
||||
<p class="mb-3 inventory-update-note"></p>
|
||||
<div class="row g-3">
|
||||
<div class="col-md-6">
|
||||
<div class="card">
|
||||
<div class="card" style="height: 800px;">
|
||||
<h5 class="card-header" data-loc="quests_list"></h5>
|
||||
<div class="card-body">
|
||||
<div class="card-body d-flex flex-column">
|
||||
<form class="input-group mb-3" onsubmit="doAcquireEquipment('QuestKeys');return false;">
|
||||
<input class="form-control" id="acquire-type-QuestKeys" list="datalist-QuestKeys" />
|
||||
<button class="btn btn-primary" type="submit" data-loc="general_addButton"></button>
|
||||
</form>
|
||||
<table class="table table-hover w-100">
|
||||
<tbody id="QuestKeys-list"></tbody>
|
||||
</table>
|
||||
<div class="overflow-auto">
|
||||
<table class="table table-hover w-100">
|
||||
<tbody id="QuestKeys-list"></tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -311,7 +311,6 @@ const permanentEvolutionWeapons = new Set([
|
||||
"/Lotus/Weapons/Tenno/Zariman/Melee/HeavyScythe/ZarimanHeavyScythe/ZarimanHeavyScytheWeapon"
|
||||
]);
|
||||
|
||||
let uniqueLevelCaps = {};
|
||||
function fetchItemList() {
|
||||
window.itemListPromise = new Promise(resolve => {
|
||||
const req = $.get("/custom/getItemLists?lang=" + window.lang);
|
||||
@ -558,8 +557,6 @@ function fetchItemList() {
|
||||
option.textContent = item.name;
|
||||
document.getElementById("worldState.varziaOverride").appendChild(option);
|
||||
});
|
||||
} else if (type == "uniqueLevelCaps") {
|
||||
uniqueLevelCaps = items;
|
||||
} else if (type == "Syndicates") {
|
||||
items.forEach(item => {
|
||||
if (item.uniqueName === "ConclaveSyndicate") {
|
||||
@ -791,7 +788,7 @@ function updateInventory() {
|
||||
const td = document.createElement("td");
|
||||
td.classList = "text-end text-nowrap";
|
||||
|
||||
let maxXP = Math.pow(uniqueLevelCaps[item.ItemType] ?? 30, 2) * 1000;
|
||||
let maxXP = Math.pow(itemMap[item.ItemType].maxLevelCap ?? 30, 2) * 1000;
|
||||
if (
|
||||
category != "Suits" &&
|
||||
category != "SpaceSuits" &&
|
||||
@ -817,6 +814,24 @@ function updateInventory() {
|
||||
}
|
||||
}
|
||||
}
|
||||
if (
|
||||
itemMap[item.ItemType].maxLevelCap > 30 &&
|
||||
(item.Polarized ?? 0) < (itemMap[item.ItemType].maxLevelCap - 30) / 2
|
||||
) {
|
||||
const a = document.createElement("a");
|
||||
a.href = "#";
|
||||
a.onclick = function (event) {
|
||||
event.preventDefault();
|
||||
unlockLevelCap(
|
||||
category,
|
||||
item.ItemId.$oid,
|
||||
(itemMap[item.ItemType].maxLevelCap - 30) / 2
|
||||
);
|
||||
};
|
||||
a.title = loc("code_unlockLevelCap");
|
||||
a.innerHTML = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 576 512"><!--!Font Awesome Free v7.0.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2025 Fonticons, Inc.--><path d="M48 195.8l209.2 86.1c9.8 4 20.2 6.1 30.8 6.1s21-2.1 30.8-6.1l242.4-99.8c9-3.7 14.8-12.4 14.8-22.1s-5.8-18.4-14.8-22.1L318.8 38.1C309 34.1 298.6 32 288 32s-21 2.1-30.8 6.1L14.8 137.9C5.8 141.6 0 150.3 0 160L0 456c0 13.3 10.7 24 24 24s24-10.7 24-24l0-260.2zm48 71.7L96 384c0 53 86 96 192 96s192-43 192-96l0-116.6-142.9 58.9c-15.6 6.4-32.2 9.7-49.1 9.7s-33.5-3.3-49.1-9.7L96 267.4z"/></svg>`;
|
||||
td.appendChild(a);
|
||||
}
|
||||
if (item.XP < maxXP || anyExaltedMissingXP) {
|
||||
const a = document.createElement("a");
|
||||
a.href = "#";
|
||||
@ -2205,18 +2220,13 @@ function doAcquireModularEquipment(category, WeaponType) {
|
||||
if (mainInput) {
|
||||
mainInput.value = "";
|
||||
if (category === "MoaPets") {
|
||||
const modularFieldsMoa = document.getElementById("modular-MoaPets-Moa");
|
||||
const modularFieldsZanuka = document.getElementById("modular-MoaPets-Zanuka");
|
||||
modularFieldsZanuka.style.display = "none";
|
||||
modularFieldsMoa.style.display = "none";
|
||||
document.getElementById("modular-MoaPets-Zanuka").classList.add("d-none");
|
||||
document.getElementById("modular-MoaPets-Moa").classList.add("d-none");
|
||||
} else if (category === "KubrowPets") {
|
||||
const modularFieldsCatbrow = document.getElementById("modular-KubrowPets-Catbrow");
|
||||
const modularFieldsKubrow = document.getElementById("modular-KubrowPets-Kubrow");
|
||||
modularFieldsCatbrow.style.display = "none";
|
||||
modularFieldsKubrow.style.display = "none";
|
||||
document.getElementById("modular-KubrowPets-Catbrow").classList.add("d-none");
|
||||
document.getElementById("modular-KubrowPets-Kubrow").classList.add("d-none");
|
||||
} else {
|
||||
const modularFields = document.getElementById("modular-" + category);
|
||||
modularFields.style.display = "none";
|
||||
document.getElementById("modular-" + category).classList.add("d-none");
|
||||
}
|
||||
}
|
||||
requiredParts.forEach(part => {
|
||||
@ -2759,6 +2769,22 @@ function gildEquipment(category, oid) {
|
||||
});
|
||||
}
|
||||
|
||||
function unlockLevelCap(category, oid, formas) {
|
||||
revalidateAuthz().then(() => {
|
||||
$.post({
|
||||
url: "/custom/unlockLevelCap?" + window.authz,
|
||||
contentType: "application/json",
|
||||
data: JSON.stringify({
|
||||
Category: category,
|
||||
ItemId: oid,
|
||||
Polarized: formas
|
||||
})
|
||||
}).done(function () {
|
||||
updateInventory();
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
function maturePet(oid, revert) {
|
||||
revalidateAuthz().then(() => {
|
||||
$.post({
|
||||
@ -2791,7 +2817,7 @@ function setEvolutionProgress(requests) {
|
||||
}
|
||||
|
||||
function doAcquireCountItems(category) {
|
||||
const uniqueName = getKey(document.getElementById(category + "-type"));
|
||||
const uniqueName = getKey(document.getElementById("acquire-type-" + category));
|
||||
if (!uniqueName) {
|
||||
$(`#acquire-type-${category}`).addClass("is-invalid").focus();
|
||||
return;
|
||||
@ -2814,7 +2840,7 @@ function doAcquireCountItems(category) {
|
||||
} else {
|
||||
toast(loc("code_succRemoved"));
|
||||
}
|
||||
if (category != "miscitem") updateInventory();
|
||||
if (category != "miscitems") updateInventory();
|
||||
});
|
||||
});
|
||||
}
|
||||
@ -3481,35 +3507,35 @@ function handleModularSelection(category) {
|
||||
if (webUiModularWeapons.includes(key)) {
|
||||
if (inventoryCategory === "MoaPets") {
|
||||
if (key === "/Lotus/Types/Friendly/Pets/ZanukaPets/ZanukaPetPowerSuit") {
|
||||
modularFieldsMoa.style.display = "none";
|
||||
modularFieldsZanuka.style.display = "";
|
||||
modularFieldsMoa.classList.add("d-none");
|
||||
modularFieldsZanuka.classList.remove("d-none");
|
||||
} else if (key === "/Lotus/Types/Friendly/Pets/MoaPets/MoaPetPowerSuit") {
|
||||
modularFieldsMoa.style.display = "";
|
||||
modularFieldsZanuka.style.display = "none";
|
||||
modularFieldsMoa.classList.remove("d-none");
|
||||
modularFieldsZanuka.classList.add("d-none");
|
||||
}
|
||||
} else if (inventoryCategory === "KubrowPets") {
|
||||
if (key.endsWith("InfestedCatbrowPetPowerSuit")) {
|
||||
modularFieldsCatbrow.style.display = "";
|
||||
modularFieldsKubrow.style.display = "none";
|
||||
modularFieldsCatbrow.classList.remove("d-none");
|
||||
modularFieldsKubrow.classList.add("d-none");
|
||||
} else if (key.endsWith("PredatorKubrowPetPowerSuit")) {
|
||||
modularFieldsCatbrow.style.display = "none";
|
||||
modularFieldsKubrow.style.display = "";
|
||||
modularFieldsCatbrow.classList.add("d-none");
|
||||
modularFieldsKubrow.classList.remove("d-none");
|
||||
} else {
|
||||
modularFieldsCatbrow.style.display = "none";
|
||||
modularFieldsKubrow.style.display = "none";
|
||||
modularFieldsCatbrow.classList.add("d-none");
|
||||
modularFieldsKubrow.classList.add("d-none");
|
||||
}
|
||||
} else {
|
||||
modularFields.style.display = "";
|
||||
modularFields.classList.remove("d-none");
|
||||
}
|
||||
} else {
|
||||
if (inventoryCategory === "MoaPets") {
|
||||
modularFieldsZanuka.style.display = "none";
|
||||
modularFieldsMoa.style.display = "none";
|
||||
modularFieldsMoa.classList.add("d-none");
|
||||
modularFieldsZanuka.classList.add("d-none");
|
||||
} else if (inventoryCategory === "KubrowPets") {
|
||||
modularFieldsCatbrow.style.display = "none";
|
||||
modularFieldsKubrow.style.display = "none";
|
||||
modularFieldsCatbrow.classList.add("d-none");
|
||||
modularFieldsKubrow.classList.add("d-none");
|
||||
} else {
|
||||
modularFields.style.display = "none";
|
||||
modularFields.classList.add("d-none");
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
@ -45,6 +45,7 @@ dict = {
|
||||
code_rank: `Rang`,
|
||||
code_rankUp: `Rang erhöhen`,
|
||||
code_rankDown: `Rang verringern`,
|
||||
code_unlockLevelCap: `[UNTRANSLATED] Unlock level cap`,
|
||||
code_count: `Anzahl`,
|
||||
code_focusAllUnlocked: `Alle Fokus-Schulen sind bereits freigeschaltet.`,
|
||||
code_focusUnlocked: `|COUNT| neue Fokus-Schulen freigeschaltet! Ein Inventar-Update wird benötigt, damit die Änderungen im Spiel sichtbar werden. Die Sternenkarte zu besuchen, sollte der einfachste Weg sein, dies auszulösen.`,
|
||||
|
||||
@ -44,6 +44,7 @@ dict = {
|
||||
code_rank: `Rank`,
|
||||
code_rankUp: `Rank up`,
|
||||
code_rankDown: `Rank down`,
|
||||
code_unlockLevelCap: `Unlock level cap`,
|
||||
code_count: `Count`,
|
||||
code_focusAllUnlocked: `All focus schools are already unlocked.`,
|
||||
code_focusUnlocked: `Unlocked |COUNT| new focus schools! An inventory update will be needed for the changes to be reflected in-game. Visiting the navigation should be the easiest way to trigger that.`,
|
||||
|
||||
@ -45,6 +45,7 @@ dict = {
|
||||
code_rank: `Rango`,
|
||||
code_rankUp: `Subir de rango`,
|
||||
code_rankDown: `Bajar de rango`,
|
||||
code_unlockLevelCap: `[UNTRANSLATED] Unlock level cap`,
|
||||
code_count: `Cantidad`,
|
||||
code_focusAllUnlocked: `Todas las escuelas de enfoque ya están desbloqueadas.`,
|
||||
code_focusUnlocked: `¡Desbloqueadas |COUNT| nuevas escuelas de enfoque! Se necesita una actualización del inventario para reflejar los cambios en el juego. Visitar la navegación debería ser la forma más sencilla de activarlo.`,
|
||||
|
||||
@ -45,6 +45,7 @@ dict = {
|
||||
code_rank: `Rang`,
|
||||
code_rankUp: `Monter de rang`,
|
||||
code_rankDown: `Baisser de rang`,
|
||||
code_unlockLevelCap: `[UNTRANSLATED] Unlock level cap`,
|
||||
code_count: `Quantité`,
|
||||
code_focusAllUnlocked: `Les écoles de Focus sont déjà déverrouillées.`,
|
||||
code_focusUnlocked: `|COUNT| écoles de Focus déverrouillées ! Synchronisation de l'inventaire nécessaire.`,
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
// Russian translation by AMelonInsideLemon, LoseFace
|
||||
dict = {
|
||||
general_inventoryUpdateNote: `Примечание: Чтобы увидеть изменения в игре, вам нужно повторно синхронизировать свой инвентарь, например, используя команду /sync загрузчика, посетив Додзё/Реле или перезагрузив игру.`,
|
||||
general_inventoryUpdateNoteGameWs: `[UNTRANSLATED] Note: You may need to reopen any menu you are on for changes to be reflected.`,
|
||||
general_inventoryUpdateNote: `Примечание: Чтобы увидеть изменения в игре, вам нужно повторно синхронизировать свой инвентарь, например, используя команду /sync в программе bootstrapper, посетив Додзё/Реле или перезагрузив игру.`,
|
||||
general_inventoryUpdateNoteGameWs: `Примечание: для того, чтобы изменения вступили в силу, может потребоваться повторно открыть меню, в котором вы находитесь.`,
|
||||
general_addButton: `Добавить`,
|
||||
general_setButton: `Установить`,
|
||||
general_none: `Отсутствует`,
|
||||
@ -45,6 +45,7 @@ dict = {
|
||||
code_rank: `Ранг`,
|
||||
code_rankUp: `Повысить ранг`,
|
||||
code_rankDown: `Понизить ранг`,
|
||||
code_unlockLevelCap: `[UNTRANSLATED] Unlock level cap`,
|
||||
code_count: `Количество`,
|
||||
code_focusAllUnlocked: `Все школы Фокуса уже разблокированы.`,
|
||||
code_focusUnlocked: `Разблокировано |COUNT| новых школ Фокуса! Для отображения изменений в игре потребуется обновление инвентаря. Посещение навигации — самый простой способ этого добиться.`,
|
||||
@ -91,7 +92,7 @@ dict = {
|
||||
navbar_cheats: `Читы`,
|
||||
navbar_import: `Импорт`,
|
||||
inventory_addItems: `Добавить предметы`,
|
||||
inventory_addItemByItemType: `[UNTRANSLATED] Raw`,
|
||||
inventory_addItemByItemType: `Необработанные данные`,
|
||||
inventory_addItemByItemType_warning: `Используйте эту функцию на свой страх и риск. Она может повредить ваш инвентарь, и в случае проблем вам придётся удалять предметы вручную.`,
|
||||
inventory_suits: `Варфреймы`,
|
||||
inventory_longGuns: `Основное оружие`,
|
||||
@ -117,7 +118,7 @@ dict = {
|
||||
inventory_bulkAddSpaceWeapons: `Добавить отсутствующее оружие Арчвингов`,
|
||||
inventory_bulkAddSentinels: `Добавить отсутствующих Стражей`,
|
||||
inventory_bulkAddSentinelWeapons: `Добавить отсутствующее оружие Стражей`,
|
||||
inventory_bulkAddFlavourItems: `Добавить отсутствующие Уникальные предметы`,
|
||||
inventory_bulkAddFlavourItems: `Добавить отсутствующие уникальные предметы`,
|
||||
inventory_bulkAddShipDecorations: `Добавить отсутствующие украшения корабля`,
|
||||
inventory_bulkAddEvolutionProgress: `Добавить отсутствующий прогресс эволюции Инкарнонов`,
|
||||
inventory_bulkRankUpSuits: `Макс. ранг всех Варфреймов`,
|
||||
@ -192,7 +193,7 @@ dict = {
|
||||
cheats_skipTutorial: `Пропустить обучение`,
|
||||
cheats_skipAllDialogue: `Пропустить все диалоги`,
|
||||
cheats_unlockAllScans: `Разблокировать все сканирования`,
|
||||
cheats_unlockSuccRelog: `[UNTRANSLATED] Success. Please that you'll need to relog for the client to refresh this.`,
|
||||
cheats_unlockSuccRelog: `Успех. Вам необходимо повторно войти в игру, чтобы клиент обновил эту информацию.`,
|
||||
cheats_unlockAllMissions: `Разблокировать все миссии`,
|
||||
cheats_unlockAllMissions_ok: `Успех. Пожалуйста, обратите внимание, что вам нужно будет войти в Додзё/Реле или перезайти, чтобы клиент обновил звездную карту.`,
|
||||
cheats_infiniteCredits: `Бесконечные Кредиты`,
|
||||
@ -226,7 +227,7 @@ dict = {
|
||||
cheats_baroFullyStocked: `Баро полностью укомплектован`,
|
||||
cheats_syndicateMissionsRepeatable: `Повторять миссии синдиката`,
|
||||
cheats_unlockAllProfitTakerStages: `Разблокировать все этапы Сферы извлечения прибыли`,
|
||||
cheats_unlockSuccInventory: `[UNTRANSLATED] Success. Please note that you'll need to resync your inventory, e.g. using the bootstrapper's /sync command, visiting a dojo/relay, or relogging..`,
|
||||
cheats_unlockSuccInventory: `Успех. Обратите внимание, что вам необходимо будет повторно синхронизировать свой инвентарь, например, с помощью команды /sync в программе bootstrapper, посетив Додзё/Реле или повторно войдя в игру.`,
|
||||
cheats_instantFinishRivenChallenge: `Мгновенное завершение испытания мода Разлома`,
|
||||
cheats_instantResourceExtractorDrones: `Мгновенно добывающие Дроны-сборщики`,
|
||||
cheats_noResourceExtractorDronesDamage: `Без урона по Дронам-сборщикам`,
|
||||
@ -401,7 +402,7 @@ dict = {
|
||||
theme_light: `Светлая тема`,
|
||||
|
||||
guildView_cheats: `Читы Клана`,
|
||||
guildView_techProjects: `Иследовения`,
|
||||
guildView_techProjects: `Исследовения`,
|
||||
guildView_vaultDecoRecipes: `Рецепты декораций Додзё`,
|
||||
guildView_alliance: `Альянс`,
|
||||
guildView_members: `Товарищи`,
|
||||
@ -423,10 +424,10 @@ dict = {
|
||||
guildView_rank_utility: `Инженер`,
|
||||
guildView_rank_warlord: `Военачальник`,
|
||||
guildView_currency_owned: `В хранилище |COUNT|.`,
|
||||
guildView_bulkAddTechProjects: `Добавить отсутствующие Иследования`,
|
||||
guildView_bulkAddTechProjects: `Добавить отсутствующие исследования`,
|
||||
guildView_bulkAddVaultDecoRecipes: `Добавить отсутствующие рецепты декораций Дoдзё`,
|
||||
guildView_bulkFundTechProjects: `Профинансировать все Иследования`,
|
||||
guildView_bulkCompleteTechProjects: `Завершить все Иследования`,
|
||||
guildView_bulkFundTechProjects: `Профинансировать все исследования`,
|
||||
guildView_bulkCompleteTechProjects: `Завершить все исследования`,
|
||||
guildView_promote: `Повысить`,
|
||||
guildView_demote: `Понизить`,
|
||||
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
// Ukrainian translation by LoseFace
|
||||
dict = {
|
||||
general_inventoryUpdateNote: `Пам'ятка: Щоб побачити зміни в грі, вам потрібно повторно синхронізувати своє спорядження, наприклад, використовуючи команду /sync завантажувача, відвідавши Доджьо/Реле або перезавантаживши гру.`,
|
||||
general_inventoryUpdateNoteGameWs: `[UNTRANSLATED] Note: You may need to reopen any menu you are on for changes to be reflected.`,
|
||||
general_inventoryUpdateNote: `Пам'ятка: Щоб побачити зміни в грі, вам потрібно повторно синхронізувати своє спорядження, наприклад, використовуючи команду /sync в програмі bootstrapper, відвідавши Доджьо/Реле або перезавантаживши гру.`,
|
||||
general_inventoryUpdateNoteGameWs: `Примітка: для відображення змін може знадобитися повторно відкрити меню, в якому ви перебуваєте.`,
|
||||
general_addButton: `Добавити`,
|
||||
general_setButton: `Встановити`,
|
||||
general_none: `Відсутній`,
|
||||
@ -32,8 +32,8 @@ dict = {
|
||||
code_renamePrompt: `Введіть нове ім'я:`,
|
||||
code_remove: `Видалити`,
|
||||
code_addItemsConfirm: `Ви впевнені, що хочете додати |COUNT| предметів на ваш обліковий запис?`,
|
||||
code_addTechProjectsConfirm: `[UNTRANSLATED] Are you sure you want to add |COUNT| research to your clan?`,
|
||||
code_addDecoRecipesConfirm: `[UNTRANSLATED] Are you sure you want to add |COUNT| deco recipes to your clan?`,
|
||||
code_addTechProjectsConfirm: `Ви впевнені, що хочете додати |COUNT| досліджень до свого клану?`,
|
||||
code_addDecoRecipesConfirm: `Ви впевнені, що хочете додати |COUNT| рецептів оздоблень до свого клану?`,
|
||||
code_succRankUp: `Рівень успішно підвищено`,
|
||||
code_noEquipmentToRankUp: `Немає спорядження для підвищення рівня.`,
|
||||
code_succAdded: `Успішно додано.`,
|
||||
@ -45,6 +45,7 @@ dict = {
|
||||
code_rank: `Рівень`,
|
||||
code_rankUp: `Підвищити рівень`,
|
||||
code_rankDown: `Понизити рівень`,
|
||||
code_unlockLevelCap: `[UNTRANSLATED] Unlock level cap`,
|
||||
code_count: `Кількість`,
|
||||
code_focusAllUnlocked: `Всі школи Фокусу вже розблоковані.`,
|
||||
code_focusUnlocked: `Розблоковано |COUNT| нових шкіл Фокусу! Для відображення змін в грі знадобиться оновлення спорядження. Відвідування навігації — найпростіший спосіб цього досягти.`,
|
||||
@ -64,15 +65,15 @@ dict = {
|
||||
code_completed: `Завершено`,
|
||||
code_active: `Активний`,
|
||||
code_pigment: `Барвник`,
|
||||
code_controller: `[UNTRANSLATED] Controller cursor`,
|
||||
code_mouseLine: `[UNTRANSLATED] Line cursor`,
|
||||
code_mouse: `[UNTRANSLATED] Cursor`,
|
||||
code_controller: `Курсор контролера`,
|
||||
code_mouseLine: `Лінійний курсор`,
|
||||
code_mouse: `Курсор`,
|
||||
code_itemColorPalette: `Палітра кольорів «|ITEM|»`,
|
||||
code_mature: `Виростити для бою`,
|
||||
code_unmature: `Обернути старіння`,
|
||||
code_fund: `[UNTRANSLATED] Fund`,
|
||||
code_funded: `[UNTRANSLATED] Funded`,
|
||||
code_replays: `[UNTRANSLATED] Replays`,
|
||||
code_fund: `Профінансувати`,
|
||||
code_funded: `Профінансовано`,
|
||||
code_replays: `Повтори`,
|
||||
code_stalker: `Сталкер`,
|
||||
code_succChange: `Успішно змінено.`,
|
||||
code_requiredInvigorationUpgrade: `Ви повинні вибрати як атакуюче, так і допоміжне вдосконалення.`,
|
||||
@ -91,8 +92,8 @@ dict = {
|
||||
navbar_cheats: `Чити`,
|
||||
navbar_import: `Імпорт`,
|
||||
inventory_addItems: `Додати предмети`,
|
||||
inventory_addItemByItemType: `[UNTRANSLATED] Raw`,
|
||||
inventory_addItemByItemType_warning: `[UNTRANSLATED] Use this feature at your own risk. It may break your inventory, and you will need to remove items manually if something goes wrong.`,
|
||||
inventory_addItemByItemType: `Необроблені дані`,
|
||||
inventory_addItemByItemType_warning: `Використовуйте цю функцію на власний ризик. Вона може пошкодити ваше спорядження, і вам доведеться видаляти предмети вручну, якщо щось піде не так.`,
|
||||
inventory_suits: `Ворфрейми`,
|
||||
inventory_longGuns: `Основна зброя`,
|
||||
inventory_pistols: `Допоміжна зброя`,
|
||||
@ -117,8 +118,8 @@ dict = {
|
||||
inventory_bulkAddSpaceWeapons: `Додати відсутню зброю Арквінґів`,
|
||||
inventory_bulkAddSentinels: `Додати відсутніх Вартових`,
|
||||
inventory_bulkAddSentinelWeapons: `Додати відсутню зброю Вартових`,
|
||||
inventory_bulkAddFlavourItems: `[UNTRANSLATED] Add Missing Flavour Items`,
|
||||
inventory_bulkAddShipDecorations: `[UNTRANSLATED] Add Missing Ship Decorations`,
|
||||
inventory_bulkAddFlavourItems: `Додати відсутні унікальні предмети`,
|
||||
inventory_bulkAddShipDecorations: `Додати відсутні оздоби корабля`,
|
||||
inventory_bulkAddEvolutionProgress: `Додати відсутній прогрес еволюції Інкарнонів`,
|
||||
inventory_bulkRankUpSuits: `Макс. рівень всіх Ворфреймів`,
|
||||
inventory_bulkRankUpWeapons: `Макс. рівень всієї зброї`,
|
||||
@ -192,7 +193,7 @@ dict = {
|
||||
cheats_skipTutorial: `Пропустити навчання`,
|
||||
cheats_skipAllDialogue: `Пропустити всі діалоги`,
|
||||
cheats_unlockAllScans: `Розблокувати всі сканування`,
|
||||
cheats_unlockSuccRelog: `[UNTRANSLATED] Success. Please that you'll need to relog for the client to refresh this.`,
|
||||
cheats_unlockSuccRelog: `Успіх. Вам потрібно буде повторно увійти в гру, щоб клієнт оновив цю інформацію.`,
|
||||
cheats_unlockAllMissions: `Розблокувати всі місії`,
|
||||
cheats_unlockAllMissions_ok: `Успіх. Будь ласка, зверніть увагу, що вам потрібно буде увійти в Доджьо/Реле або перезайти, щоб клієнт оновив Зоряну мапу.`,
|
||||
cheats_infiniteCredits: `Бескінечні Кредити`,
|
||||
@ -226,7 +227,7 @@ dict = {
|
||||
cheats_baroFullyStocked: `Баро повністю укомплектований`,
|
||||
cheats_syndicateMissionsRepeatable: `Повторювати місії синдиката`,
|
||||
cheats_unlockAllProfitTakerStages: `Розблокувати всі етапи Привласнювачки`,
|
||||
cheats_unlockSuccInventory: `[UNTRANSLATED] Success. Please note that you'll need to resync your inventory, e.g. using the bootstrapper's /sync command, visiting a dojo/relay, or relogging..`,
|
||||
cheats_unlockSuccInventory: `Успішно. Зверніть увагу, що вам потрібно буде повторно синхронізувати своє спорядження, наприклад, за допомогою команди /sync в програмі bootstrapper, відвідавши Доджьо/Реле або повторно увійшовши в гру.`,
|
||||
cheats_instantFinishRivenChallenge: `Миттєве завершення випробування модифікатора Розколу`,
|
||||
cheats_instantResourceExtractorDrones: `Миттєво добуваючі Дрони-видобувачі`,
|
||||
cheats_noResourceExtractorDronesDamage: `Без шкоди по Дронам-видобувачам`,
|
||||
@ -400,9 +401,9 @@ dict = {
|
||||
theme_dark: `Темна тема`,
|
||||
theme_light: `Світла тема`,
|
||||
|
||||
guildView_cheats: `[UNTRANSLATED] Clan Cheats`,
|
||||
guildView_cheats: `Кланові чити`,
|
||||
guildView_techProjects: `Дослідження`,
|
||||
guildView_vaultDecoRecipes: `[UNTRANSLATED] Dojo Deco Recipes`,
|
||||
guildView_vaultDecoRecipes: `Рецепти оздоблень Доджьо`,
|
||||
guildView_alliance: `Альянс`,
|
||||
guildView_members: `Учасники`,
|
||||
guildView_pending: `Очікування`,
|
||||
@ -422,11 +423,11 @@ dict = {
|
||||
guildView_rank_soldier: `Солдат`,
|
||||
guildView_rank_utility: `Наймит`,
|
||||
guildView_rank_warlord: `Воєвода`,
|
||||
guildView_currency_owned: `[UNTRANSLATED] |COUNT| in Vault.`,
|
||||
guildView_bulkAddTechProjects: `[UNTRANSLATED] Add Missing Research`,
|
||||
guildView_bulkAddVaultDecoRecipes: `[UNTRANSLATED] Add Missing Dojo Deco Recipes`,
|
||||
guildView_bulkFundTechProjects: `[UNTRANSLATED] Fund All Research`,
|
||||
guildView_bulkCompleteTechProjects: `[UNTRANSLATED] Complete All Research`,
|
||||
guildView_currency_owned: `В сховищі |COUNT|.`,
|
||||
guildView_bulkAddTechProjects: `Додати відсутні дослідження`,
|
||||
guildView_bulkAddVaultDecoRecipes: `Додати відсутні рецепти оздоблень Доджьо`,
|
||||
guildView_bulkFundTechProjects: `Фінансувати всі дослідження`,
|
||||
guildView_bulkCompleteTechProjects: `Завершити всі дослідження`,
|
||||
guildView_promote: `Підвищити звання`,
|
||||
guildView_demote: `Понизити звання`,
|
||||
|
||||
|
||||
@ -45,6 +45,7 @@ dict = {
|
||||
code_rank: `等级`,
|
||||
code_rankUp: `等级提升`,
|
||||
code_rankDown: `等级下降`,
|
||||
code_unlockLevelCap: `[UNTRANSLATED] Unlock level cap`,
|
||||
code_count: `数量`,
|
||||
code_focusAllUnlocked: `所有专精学派均已解锁`,
|
||||
code_focusUnlocked: `已解锁 |COUNT| 个新专精学派!需要游戏内仓库更新才能生效,您可以通过访问星图来触发仓库更新.`,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user