Compare commits
No commits in common. "a3da7685b4a2f92b52bbd7b3254043195264d2f5" and "1c82b90033eb97d801b294ae2ed3bca5a16e519a" have entirely different histories.
a3da7685b4
...
1c82b90033
@ -9,8 +9,7 @@
|
|||||||
"build": "tsc && copyfiles static/webui/** build",
|
"build": "tsc && copyfiles static/webui/** build",
|
||||||
"lint": "eslint --ext .ts .",
|
"lint": "eslint --ext .ts .",
|
||||||
"lint:fix": "eslint --fix --ext .ts .",
|
"lint:fix": "eslint --fix --ext .ts .",
|
||||||
"prettier": "prettier --write .",
|
"prettier": "prettier --write ."
|
||||||
"update-translations": "cd scripts && node update-translations.js"
|
|
||||||
},
|
},
|
||||||
"license": "GNU",
|
"license": "GNU",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
@ -1,46 +0,0 @@
|
|||||||
// Based on http://209.141.38.3/OpenWF/Translations/src/branch/main/update.php
|
|
||||||
// Converted via ChatGPT-4o
|
|
||||||
|
|
||||||
const fs = require('fs');
|
|
||||||
|
|
||||||
function extractStrings(content) {
|
|
||||||
const regex = /([a-zA-Z_]+): `([^`]*)`,/g;
|
|
||||||
let matches;
|
|
||||||
const strings = {};
|
|
||||||
while ((matches = regex.exec(content)) !== null) {
|
|
||||||
strings[matches[1]] = matches[2];
|
|
||||||
}
|
|
||||||
return strings;
|
|
||||||
}
|
|
||||||
|
|
||||||
const source = fs.readFileSync("../static/webui/translations/en.js", "utf8");
|
|
||||||
const sourceStrings = extractStrings(source);
|
|
||||||
const sourceLines = source.split("\n");
|
|
||||||
|
|
||||||
fs.readdirSync("../static/webui/translations").forEach(file => {
|
|
||||||
if (fs.lstatSync(`../static/webui/translations/${file}`).isFile() && file !== "en.js") {
|
|
||||||
const content = fs.readFileSync(`../static/webui/translations/${file}`, "utf8");
|
|
||||||
const targetStrings = extractStrings(content);
|
|
||||||
const contentLines = content.split("\n");
|
|
||||||
|
|
||||||
const fileHandle = fs.openSync(`../static/webui/translations/${file}`, "w");
|
|
||||||
fs.writeSync(fileHandle, contentLines[0] + "\n");
|
|
||||||
|
|
||||||
sourceLines.forEach(line => {
|
|
||||||
const strings = extractStrings(line);
|
|
||||||
if (Object.keys(strings).length > 0) {
|
|
||||||
Object.entries(strings).forEach(([key, value]) => {
|
|
||||||
if (targetStrings.hasOwnProperty(key)) {
|
|
||||||
fs.writeSync(fileHandle, `\t${key}: \`${targetStrings[key]}\`,\n`);
|
|
||||||
} else {
|
|
||||||
fs.writeSync(fileHandle, `\t${key}: \`[UNTRANSLATED] ${value}\`,\n`);
|
|
||||||
}
|
|
||||||
});
|
|
||||||
} else {
|
|
||||||
fs.writeSync(fileHandle, line + "\n");
|
|
||||||
}
|
|
||||||
});
|
|
||||||
|
|
||||||
fs.closeSync(fileHandle);
|
|
||||||
}
|
|
||||||
});
|
|
@ -54,9 +54,4 @@ webuiRouter.get("/webui/riven-tool/RivenParser.js", (_req, res) => {
|
|||||||
res.sendFile(path.join(repoDir, "node_modules/warframe-riven-info/RivenParser.js"));
|
res.sendFile(path.join(repoDir, "node_modules/warframe-riven-info/RivenParser.js"));
|
||||||
});
|
});
|
||||||
|
|
||||||
// Serve translations
|
|
||||||
webuiRouter.get("/translations/:file", (req, res) => {
|
|
||||||
res.sendFile(path.join(rootDir, `static/webui/translations/${req.params.file}`));
|
|
||||||
});
|
|
||||||
|
|
||||||
export { webuiRouter };
|
export { webuiRouter };
|
||||||
|
@ -34,13 +34,13 @@
|
|||||||
<li><a class="dropdown-item" href="#" data-lang="th" onclick="event.preventDefault();setLanguage('th');">แบบไทย</a></li>
|
<li><a class="dropdown-item" href="#" data-lang="th" onclick="event.preventDefault();setLanguage('th');">แบบไทย</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li class="nav-item dropdown user-dropdown">
|
<li class="nav-item dropdown">
|
||||||
<button class="nav-link dropdown-toggle displayname" data-bs-toggle="dropdown" aria-expanded="false"></button>
|
<button class="nav-link dropdown-toggle displayname" data-bs-toggle="dropdown" aria-expanded="false"></button>
|
||||||
<ul class="dropdown-menu dropdown-menu-end">
|
<ul class="dropdown-menu dropdown-menu-end">
|
||||||
<li><a class="dropdown-item" href="/webui/" onclick="logout();" data-loc="navbar_logout"></a></li>
|
<li><a class="dropdown-item" href="/webui/" onclick="logout();">Logout</a></li>
|
||||||
<li><hr class="dropdown-divider"></li>
|
<li><hr class="dropdown-divider"></li>
|
||||||
<li><a class="dropdown-item" href="#" onclick="event.preventDefault();renameAccount();" data-loc="navbar_renameAccount"></a></li>
|
<li><a class="dropdown-item" href="#" onclick="event.preventDefault();renameAccount();">Rename Account</a></li>
|
||||||
<li><a class="dropdown-item" href="#" onclick="event.preventDefault();deleteAccount();" data-loc="navbar_deleteAccount"></a></li>
|
<li><a class="dropdown-item" href="#" onclick="event.preventDefault();deleteAccount();">Delete Account</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
@ -56,16 +56,16 @@
|
|||||||
<div class="navbar p-0">
|
<div class="navbar p-0">
|
||||||
<ul class="navbar-nav justify-content-end">
|
<ul class="navbar-nav justify-content-end">
|
||||||
<li class="nav-item">
|
<li class="nav-item">
|
||||||
<a class="nav-link" href="/webui/inventory" data-bs-dismiss="offcanvas" data-bs-target="#sidebar" data-loc="navbar_inventory"></a>
|
<a class="nav-link" href="/webui/inventory" data-bs-dismiss="offcanvas" data-bs-target="#sidebar">Inventory</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="nav-item">
|
<li class="nav-item">
|
||||||
<a class="nav-link" href="/webui/mods" data-bs-dismiss="offcanvas" data-bs-target="#sidebar" data-loc="navbar_mods"></a>
|
<a class="nav-link" href="/webui/mods" data-bs-dismiss="offcanvas" data-bs-target="#sidebar">Mods</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="nav-item">
|
<li class="nav-item">
|
||||||
<a class="nav-link" href="/webui/cheats" data-bs-dismiss="offcanvas" data-bs-target="#sidebar" data-loc="navbar_cheats"></a>
|
<a class="nav-link" href="/webui/cheats" data-bs-dismiss="offcanvas" data-bs-target="#sidebar">Cheats</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="nav-item">
|
<li class="nav-item">
|
||||||
<a class="nav-link" href="/webui/import" data-bs-dismiss="offcanvas" data-bs-target="#sidebar" data-loc="navbar_import"></a>
|
<a class="nav-link" href="/webui/import" data-bs-dismiss="offcanvas" data-bs-target="#sidebar">Import</a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
@ -73,35 +73,38 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="w-100">
|
<div class="w-100">
|
||||||
<div data-route="/webui/" data-title="Login | OpenWF WebUI">
|
<div data-route="/webui/" data-title="Login | OpenWF WebUI">
|
||||||
<p data-loc="login_description"></p>
|
<p>Login using your OpenWF account credentials (same as in-game when connecting to this server).</p>
|
||||||
<form onsubmit="doLogin();return false;">
|
<form onsubmit="doLogin();return false;">
|
||||||
<label for="email" data-loc="login_emailLabel"></label>
|
<label for="email">Email address</label>
|
||||||
<input class="form-control" type="email" id="email" required />
|
<input class="form-control" type="email" id="email" required />
|
||||||
<br />
|
<br />
|
||||||
<label for="password" data-loc="login_passwordLabel"></label>
|
<label for="password">Password</label>
|
||||||
<input class="form-control" type="password" id="password" required />
|
<input class="form-control" type="password" id="password" required />
|
||||||
<br />
|
<br />
|
||||||
<button class="btn btn-primary" type="submit" data-loc="login_loginButton"></button>
|
<button class="btn btn-primary" type="submit">Login</button>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
<div data-route="/webui/inventory" data-title="Inventory | OpenWF WebUI">
|
<div data-route="/webui/inventory" data-title="Inventory | OpenWF WebUI">
|
||||||
<p class="mb-3" data-loc="general_inventoryUpdateNote"></p>
|
<p class="mb-3">
|
||||||
|
Note: Changes made here will only be reflected in-game when the game re-downloads your
|
||||||
|
inventory. Visiting the navigation should be the easiest way to trigger that.
|
||||||
|
</p>
|
||||||
<div class="card mb-3">
|
<div class="card mb-3">
|
||||||
<h5 class="card-header" data-loc="inventory_addItems"></h5>
|
<h5 class="card-header">Add Items</h5>
|
||||||
<form class="card-body input-group" onsubmit="doAcquireMiscItems();return false;">
|
<form class="card-body input-group" onsubmit="doAcquireMiscItems();return false;">
|
||||||
<input class="form-control" id="miscitem-count" type="number" min="1" value="1" />
|
<input class="form-control" id="miscitem-count" type="number" min="1" value="1" />
|
||||||
<input class="form-control w-50" id="miscitem-type" list="datalist-miscitems" />
|
<input class="form-control w-50" id="miscitem-type" list="datalist-miscitems" />
|
||||||
<button class="btn btn-primary" type="submit" data-loc="general_addButton"></button>
|
<button class="btn btn-primary" type="submit">Add</button>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
<div class="row g-3">
|
<div class="row g-3">
|
||||||
<div class="col-lg-6">
|
<div class="col-lg-6">
|
||||||
<div class="card mb-3" style="height: 400px;">
|
<div class="card mb-3" style="height: 400px;">
|
||||||
<h5 class="card-header" data-loc="inventory_suits"></h5>
|
<h5 class="card-header">Warframes</h5>
|
||||||
<div class="card-body overflow-auto">
|
<div class="card-body overflow-auto">
|
||||||
<form class="input-group mb-3" onsubmit="doAcquireEquipment('Suits');return false;">
|
<form class="input-group mb-3" onsubmit="doAcquireEquipment('Suits');return false;">
|
||||||
<input class="form-control" id="acquire-type-Suits" list="datalist-Suits" />
|
<input class="form-control" id="acquire-type-Suits" list="datalist-Suits" />
|
||||||
<button class="btn btn-primary" type="submit" data-loc="general_addButton"></button>
|
<button class="btn btn-primary" type="submit">Add</button>
|
||||||
</form>
|
</form>
|
||||||
<table class="table table-hover w-100">
|
<table class="table table-hover w-100">
|
||||||
<tbody id="Suits-list"></tbody>
|
<tbody id="Suits-list"></tbody>
|
||||||
@ -111,11 +114,11 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="col-lg-6">
|
<div class="col-lg-6">
|
||||||
<div class="card mb-3" style="height: 400px;">
|
<div class="card mb-3" style="height: 400px;">
|
||||||
<h5 class="card-header" data-loc="inventory_longGuns"></h5>
|
<h5 class="card-header">Primary Weapons</h5>
|
||||||
<div class="card-body overflow-auto">
|
<div class="card-body overflow-auto">
|
||||||
<form class="input-group mb-3" onsubmit="doAcquireEquipment('LongGuns');return false;">
|
<form class="input-group mb-3" onsubmit="doAcquireEquipment('LongGuns');return false;">
|
||||||
<input class="form-control" id="acquire-type-LongGuns" list="datalist-LongGuns" />
|
<input class="form-control" id="acquire-type-LongGuns" list="datalist-LongGuns" />
|
||||||
<button class="btn btn-primary" type="submit" data-loc="general_addButton"></button>
|
<button class="btn btn-primary" type="submit">Add</button>
|
||||||
</form>
|
</form>
|
||||||
<table class="table table-hover w-100">
|
<table class="table table-hover w-100">
|
||||||
<tbody id="LongGuns-list"></tbody>
|
<tbody id="LongGuns-list"></tbody>
|
||||||
@ -127,11 +130,11 @@
|
|||||||
<div class="row g-3">
|
<div class="row g-3">
|
||||||
<div class="col-lg-6">
|
<div class="col-lg-6">
|
||||||
<div class="card mb-3" style="height: 400px;">
|
<div class="card mb-3" style="height: 400px;">
|
||||||
<h5 class="card-header" data-loc="inventory_pistols"></h5>
|
<h5 class="card-header">Secondary Weapons</h5>
|
||||||
<div class="card-body overflow-auto">
|
<div class="card-body overflow-auto">
|
||||||
<form class="input-group mb-3" onsubmit="doAcquireEquipment('Pistols');return false;">
|
<form class="input-group mb-3" onsubmit="doAcquireEquipment('Pistols');return false;">
|
||||||
<input class="form-control" id="acquire-type-Pistols" list="datalist-Pistols" />
|
<input class="form-control" id="acquire-type-Pistols" list="datalist-Pistols" />
|
||||||
<button class="btn btn-primary" type="submit" data-loc="general_addButton"></button>
|
<button class="btn btn-primary" type="submit">Add</button>
|
||||||
</form>
|
</form>
|
||||||
<table class="table table-hover w-100">
|
<table class="table table-hover w-100">
|
||||||
<tbody id="Pistols-list"></tbody>
|
<tbody id="Pistols-list"></tbody>
|
||||||
@ -141,11 +144,11 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="col-lg-6">
|
<div class="col-lg-6">
|
||||||
<div class="card mb-3" style="height: 400px;">
|
<div class="card mb-3" style="height: 400px;">
|
||||||
<h5 class="card-header" data-loc="inventory_melee"></h5>
|
<h5 class="card-header">Melee Weapons</h5>
|
||||||
<div class="card-body overflow-auto">
|
<div class="card-body overflow-auto">
|
||||||
<form class="input-group mb-3" onsubmit="doAcquireEquipment('Melee');return false;">
|
<form class="input-group mb-3" onsubmit="doAcquireEquipment('Melee');return false;">
|
||||||
<input class="form-control" id="acquire-type-Melee" list="datalist-Melee" />
|
<input class="form-control" id="acquire-type-Melee" list="datalist-Melee" />
|
||||||
<button class="btn btn-primary" type="submit" data-loc="general_addButton"></button>
|
<button class="btn btn-primary" type="submit">Add</button>
|
||||||
</form>
|
</form>
|
||||||
<table class="table table-hover w-100">
|
<table class="table table-hover w-100">
|
||||||
<tbody id="Melee-list"></tbody>
|
<tbody id="Melee-list"></tbody>
|
||||||
@ -157,11 +160,11 @@
|
|||||||
<div class="row g-3">
|
<div class="row g-3">
|
||||||
<div class="col-lg-6">
|
<div class="col-lg-6">
|
||||||
<div class="card mb-3" style="height: 400px;">
|
<div class="card mb-3" style="height: 400px;">
|
||||||
<h5 class="card-header" data-loc="inventory_spaceSuits"></h5>
|
<h5 class="card-header">Archwing</h5>
|
||||||
<div class="card-body overflow-auto">
|
<div class="card-body overflow-auto">
|
||||||
<form class="input-group mb-3" onsubmit="doAcquireEquipment('SpaceSuits');return false;">
|
<form class="input-group mb-3" onsubmit="doAcquireEquipment('SpaceSuits');return false;">
|
||||||
<input class="form-control" id="acquire-type-SpaceSuits" list="datalist-SpaceSuits" />
|
<input class="form-control" id="acquire-type-SpaceSuits" list="datalist-SpaceSuits" />
|
||||||
<button class="btn btn-primary" type="submit" data-loc="general_addButton"></button>
|
<button class="btn btn-primary" type="submit">Add</button>
|
||||||
</form>
|
</form>
|
||||||
<table class="table table-hover w-100">
|
<table class="table table-hover w-100">
|
||||||
<tbody id="SpaceSuits-list"></tbody>
|
<tbody id="SpaceSuits-list"></tbody>
|
||||||
@ -171,11 +174,11 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="col-lg-6">
|
<div class="col-lg-6">
|
||||||
<div class="card mb-3" style="height: 400px;">
|
<div class="card mb-3" style="height: 400px;">
|
||||||
<h5 class="card-header" data-loc="inventory_spaceGuns"></h5>
|
<h5 class="card-header">Archwing Primary Weapons</h5>
|
||||||
<div class="card-body overflow-auto">
|
<div class="card-body overflow-auto">
|
||||||
<form class="input-group mb-3" onsubmit="doAcquireEquipment('SpaceGuns');return false;">
|
<form class="input-group mb-3" onsubmit="doAcquireEquipment('SpaceGuns');return false;">
|
||||||
<input class="form-control" id="acquire-type-SpaceGuns" list="datalist-SpaceGuns" />
|
<input class="form-control" id="acquire-type-SpaceGuns" list="datalist-SpaceGuns" />
|
||||||
<button class="btn btn-primary" type="submit" data-loc="general_addButton"></button>
|
<button class="btn btn-primary" type="submit">Add</button>
|
||||||
</form>
|
</form>
|
||||||
<table class="table table-hover w-100">
|
<table class="table table-hover w-100">
|
||||||
<tbody id="SpaceGuns-list"></tbody>
|
<tbody id="SpaceGuns-list"></tbody>
|
||||||
@ -187,11 +190,11 @@
|
|||||||
<div class="row g-3">
|
<div class="row g-3">
|
||||||
<div class="col-lg-6">
|
<div class="col-lg-6">
|
||||||
<div class="card mb-3" style="height: 400px;">
|
<div class="card mb-3" style="height: 400px;">
|
||||||
<h5 class="card-header" data-loc="inventory_spaceMelee"></h5>
|
<h5 class="card-header">Archwing Melee Weapons</h5>
|
||||||
<div class="card-body overflow-auto">
|
<div class="card-body overflow-auto">
|
||||||
<form class="input-group mb-3" onsubmit="doAcquireEquipment('SpaceMelee');return false;">
|
<form class="input-group mb-3" onsubmit="doAcquireEquipment('SpaceMelee');return false;">
|
||||||
<input class="form-control" id="acquire-type-SpaceMelee" list="datalist-SpaceMelee" />
|
<input class="form-control" id="acquire-type-SpaceMelee" list="datalist-SpaceMelee" />
|
||||||
<button class="btn btn-primary" type="submit" data-loc="general_addButton"></button>
|
<button class="btn btn-primary" type="submit">Add</button>
|
||||||
</form>
|
</form>
|
||||||
<table class="table table-hover w-100">
|
<table class="table table-hover w-100">
|
||||||
<tbody id="SpaceMelee-list"></tbody>
|
<tbody id="SpaceMelee-list"></tbody>
|
||||||
@ -201,11 +204,11 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="col-lg-6">
|
<div class="col-lg-6">
|
||||||
<div class="card mb-3" style="height: 400px;">
|
<div class="card mb-3" style="height: 400px;">
|
||||||
<h5 class="card-header" data-loc="inventory_mechSuits"></h5>
|
<h5 class="card-header">Necramechs</h5>
|
||||||
<div class="card-body overflow-auto">
|
<div class="card-body overflow-auto">
|
||||||
<form class="input-group mb-3" onsubmit="doAcquireEquipment('MechSuits');return false;">
|
<form class="input-group mb-3" onsubmit="doAcquireEquipment('MechSuits');return false;">
|
||||||
<input class="form-control" id="acquire-type-MechSuits" list="datalist-MechSuits" />
|
<input class="form-control" id="acquire-type-MechSuits" list="datalist-MechSuits" />
|
||||||
<button class="btn btn-primary" type="submit" data-loc="general_addButton"></button>
|
<button class="btn btn-primary" type="submit">Add</button>
|
||||||
</form>
|
</form>
|
||||||
<table class="table table-hover w-100">
|
<table class="table table-hover w-100">
|
||||||
<tbody id="MechSuits-list"></tbody>
|
<tbody id="MechSuits-list"></tbody>
|
||||||
@ -217,11 +220,11 @@
|
|||||||
<div class="row g-3">
|
<div class="row g-3">
|
||||||
<div class="col-lg-6">
|
<div class="col-lg-6">
|
||||||
<div class="card mb-3" style="height: 400px;">
|
<div class="card mb-3" style="height: 400px;">
|
||||||
<h5 class="card-header" data-loc="inventory_sentinels"></h5>
|
<h5 class="card-header">Sentinels</h5>
|
||||||
<div class="card-body overflow-auto">
|
<div class="card-body overflow-auto">
|
||||||
<form class="input-group mb-3" onsubmit="doAcquireEquipment('Sentinels');return false;">
|
<form class="input-group mb-3" onsubmit="doAcquireEquipment('Sentinels');return false;">
|
||||||
<input class="form-control" id="acquire-type-Sentinels" list="datalist-Sentinels" />
|
<input class="form-control" id="acquire-type-Sentinels" list="datalist-Sentinels" />
|
||||||
<button class="btn btn-primary" type="submit" data-loc="general_addButton"></button>
|
<button class="btn btn-primary" type="submit">Add</button>
|
||||||
</form>
|
</form>
|
||||||
<table class="table table-hover w-100">
|
<table class="table table-hover w-100">
|
||||||
<tbody id="Sentinels-list"></tbody>
|
<tbody id="Sentinels-list"></tbody>
|
||||||
@ -231,11 +234,11 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="col-lg-6">
|
<div class="col-lg-6">
|
||||||
<div class="card mb-3" style="height: 400px;">
|
<div class="card mb-3" style="height: 400px;">
|
||||||
<h5 class="card-header" data-loc="inventory_sentinelWeapons"></h5>
|
<h5 class="card-header">Sentinel Weapons</h5>
|
||||||
<div class="card-body overflow-auto">
|
<div class="card-body overflow-auto">
|
||||||
<form class="input-group mb-3" onsubmit="doAcquireEquipment('SentinelWeapons');return false;">
|
<form class="input-group mb-3" onsubmit="doAcquireEquipment('SentinelWeapons');return false;">
|
||||||
<input class="form-control" id="acquire-type-SentinelWeapons" list="datalist-SentinelWeapons" />
|
<input class="form-control" id="acquire-type-SentinelWeapons" list="datalist-SentinelWeapons" />
|
||||||
<button class="btn btn-primary" type="submit" data-loc="general_addButton"></button>
|
<button class="btn btn-primary" type="submit">Add</button>
|
||||||
</form>
|
</form>
|
||||||
<table class="table table-hover w-100">
|
<table class="table table-hover w-100">
|
||||||
<tbody id="SentinelWeapons-list"></tbody>
|
<tbody id="SentinelWeapons-list"></tbody>
|
||||||
@ -247,7 +250,7 @@
|
|||||||
<div class="row g-3">
|
<div class="row g-3">
|
||||||
<div class="col-lg-6">
|
<div class="col-lg-6">
|
||||||
<div class="card mb-3" style="height: 400px;">
|
<div class="card mb-3" style="height: 400px;">
|
||||||
<h5 class="card-header" data-loc="inventory_operatorAmps"></h5>
|
<h5 class="card-header">Amps</h5>
|
||||||
<div class="card-body overflow-auto">
|
<div class="card-body overflow-auto">
|
||||||
<table class="table table-hover w-100">
|
<table class="table table-hover w-100">
|
||||||
<tbody id="OperatorAmps-list"></tbody>
|
<tbody id="OperatorAmps-list"></tbody>
|
||||||
@ -257,7 +260,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="col-lg-6">
|
<div class="col-lg-6">
|
||||||
<div class="card mb-3" style="height: 400px;">
|
<div class="card mb-3" style="height: 400px;">
|
||||||
<h5 class="card-header" data-loc="inventory_hoverboards"></h5>
|
<h5 class="card-header">K-Drives</h5>
|
||||||
<div class="card-body overflow-auto">
|
<div class="card-body overflow-auto">
|
||||||
<table class="table table-hover w-100">
|
<table class="table table-hover w-100">
|
||||||
<tbody id="Hoverboards-list"></tbody>
|
<tbody id="Hoverboards-list"></tbody>
|
||||||
@ -267,23 +270,23 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="card mb-3">
|
<div class="card mb-3">
|
||||||
<h5 class="card-header" data-loc="general_bulkActions"></h5>
|
<h5 class="card-header">Bulk Actions</h5>
|
||||||
<div class="card-body">
|
<div class="card-body">
|
||||||
<div class="mb-2 d-flex flex-wrap gap-2">
|
<div class="mb-2 d-flex flex-wrap gap-2">
|
||||||
<button class="btn btn-primary" onclick="addMissingEquipment(['Suits']);" data-loc="inventory_bulkAddSuits"></button>
|
<button class="btn btn-primary" onclick="addMissingEquipment(['Suits']);">Add Missing Warframes</button>
|
||||||
<button class="btn btn-primary" onclick="addMissingEquipment(['Melee', 'LongGuns', 'Pistols']);" data-loc="inventory_bulkAddWeapons"></button>
|
<button class="btn btn-primary" onclick="addMissingEquipment(['Melee', 'LongGuns', 'Pistols']);">Add Missing Weapons</button>
|
||||||
<button class="btn btn-primary" onclick="addMissingEquipment(['SpaceSuits']);" data-loc="inventory_bulkAddSpaceSuits"></button>
|
<button class="btn btn-primary" onclick="addMissingEquipment(['SpaceSuits']);">Add Missing Archwings</button>
|
||||||
<button class="btn btn-primary" onclick="addMissingEquipment(['SpaceGuns', 'SpaceMelee']);" data-loc="inventory_bulkAddSpaceWeapons"></button>
|
<button class="btn btn-primary" onclick="addMissingEquipment(['SpaceGuns', 'SpaceMelee']);">Add Missing Archwing Weapons</button>
|
||||||
<button class="btn btn-primary" onclick="addMissingEquipment(['Sentinels']);" data-loc="inventory_bulkAddSentinels"></button>
|
<button class="btn btn-primary" onclick="addMissingEquipment(['Sentinels']);">Add Missing Sentinels</button>
|
||||||
<button class="btn btn-primary" onclick="addMissingEquipment(['SentinelWeapons']);" data-loc="inventory_bulkAddSentinelWeapons"></button>
|
<button class="btn btn-primary" onclick="addMissingEquipment(['SentinelWeapons']);">Add Missing Sentinel Weapons</button>
|
||||||
</div>
|
</div>
|
||||||
<div class="mb-2 d-flex flex-wrap gap-2">
|
<div class="mb-2 d-flex flex-wrap gap-2">
|
||||||
<button class="btn btn-success" onclick="maxRankAllEquipment(['Suits']);" data-loc="inventory_bulkRankUpSuits"></button>
|
<button class="btn btn-success" onclick="maxRankAllEquipment(['Suits']);">Max Rank All Warframes</button>
|
||||||
<button class="btn btn-success" onclick="maxRankAllEquipment(['Melee', 'LongGuns', 'Pistols']);" data-loc="inventory_bulkRankUpWeapons"></button>
|
<button class="btn btn-success" onclick="maxRankAllEquipment(['Melee', 'LongGuns', 'Pistols']);">Max Rank All Weapons</button>
|
||||||
<button class="btn btn-success" onclick="maxRankAllEquipment(['SpaceSuits']);" data-loc="inventory_bulkRankUpSpaceSuits"></button>
|
<button class="btn btn-success" onclick="maxRankAllEquipment(['SpaceSuits']);">Max Rank All Archwings</button>
|
||||||
<button class="btn btn-success" onclick="maxRankAllEquipment(['SpaceGuns', 'SpaceMelee']);" data-loc="inventory_bulkRankUpSpaceWeapons"></button>
|
<button class="btn btn-success" onclick="maxRankAllEquipment(['SpaceGuns', 'SpaceMelee']);">Max Rank All Archwing Weapons</button>
|
||||||
<button class="btn btn-success" onclick="maxRankAllEquipment(['Sentinels']);" data-loc="inventory_bulkRankUpSentinels"></button>
|
<button class="btn btn-success" onclick="maxRankAllEquipment(['Sentinels']);">Max Rank All Sentinels</button>
|
||||||
<button class="btn btn-success" onclick="maxRankAllEquipment(['SentinelWeapons']);" data-loc="inventory_bulkRankUpSentinelWeapons"></button>
|
<button class="btn btn-success" onclick="maxRankAllEquipment(['SentinelWeapons']);">Max Rank All Sentinel Weapons</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -292,14 +295,14 @@
|
|||||||
<h3 class="mb-0"></h3>
|
<h3 class="mb-0"></h3>
|
||||||
<p class="text-body-secondary"></p>
|
<p class="text-body-secondary"></p>
|
||||||
<div class="card mb-3">
|
<div class="card mb-3">
|
||||||
<h5 class="card-header" data-loc="powersuit_archonShardsLabel"></h5>
|
<h5 class="card-header">Archon Shard Slots</h5>
|
||||||
<div class="card-body">
|
<div class="card-body">
|
||||||
<p data-loc="powersuit_archonShardsDescription"></p>
|
<p>You can use these unlimited slots to apply a wide range of upgrades.</p>
|
||||||
<form class="input-group mb-3" onsubmit="doPushArchonCrystalUpgrade();return false;">
|
<form class="input-group mb-3" onsubmit="doPushArchonCrystalUpgrade();return false;">
|
||||||
<input type="number" id="archon-crystal-add-count" min="1" max="10000" value="1" class="form-control" style="max-width:100px" />
|
<input type="number" id="archon-crystal-add-count" min="1" max="10000" value="1" class="form-control" style="max-width:100px" />
|
||||||
<span class="input-group-text">x</span>
|
<span class="input-group-text">x</span>
|
||||||
<input class="form-control" list="datalist-archonCrystalUpgrades" />
|
<input class="form-control" list="datalist-archonCrystalUpgrades" />
|
||||||
<button class="btn btn-primary" type="submit" data-loc="general_addButton"></button>
|
<button class="btn btn-primary" type="submit">Add</button>
|
||||||
</form>
|
</form>
|
||||||
<table class="table table-hover w-100">
|
<table class="table table-hover w-100">
|
||||||
<tbody id="crystals-list"></tbody>
|
<tbody id="crystals-list"></tbody>
|
||||||
@ -308,11 +311,14 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div data-route="/webui/mods" data-title="Mods | OpenWF WebUI">
|
<div data-route="/webui/mods" data-title="Mods | OpenWF WebUI">
|
||||||
<p class="mb-3" data-loc="general_inventoryUpdateNote"></p>
|
<p class="mb-3">
|
||||||
|
Note: Changes made here will only be reflected in-game when the game re-downloads your
|
||||||
|
inventory. Visiting the navigation should be the easiest way to trigger that.
|
||||||
|
</p>
|
||||||
<div class="row g-3">
|
<div class="row g-3">
|
||||||
<div class="col-xxl-6">
|
<div class="col-xxl-6">
|
||||||
<div class="card mb-3">
|
<div class="card mb-3">
|
||||||
<h5 class="card-header" data-loc="mods_addRiven"></h5>
|
<h5 class="card-header">Add Riven</h5>
|
||||||
<form class="card-body" onsubmit="doAcquireRiven();return false;">
|
<form class="card-body" onsubmit="doAcquireRiven();return false;">
|
||||||
<select class="form-control mb-3" id="addriven-type">
|
<select class="form-control mb-3" id="addriven-type">
|
||||||
<option value="LotusArchgunRandomModRare">LotusArchgunRandomModRare</option>
|
<option value="LotusArchgunRandomModRare">LotusArchgunRandomModRare</option>
|
||||||
@ -323,13 +329,13 @@
|
|||||||
<option value="LotusShotgunRandomModRare">LotusShotgunRandomModRare</option>
|
<option value="LotusShotgunRandomModRare">LotusShotgunRandomModRare</option>
|
||||||
<option value="PlayerMeleeWeaponRandomModRare">PlayerMeleeWeaponRandomModRare</option>
|
<option value="PlayerMeleeWeaponRandomModRare">PlayerMeleeWeaponRandomModRare</option>
|
||||||
</select>
|
</select>
|
||||||
<textarea id="addriven-fingerprint" class="form-control mb-3" data-loc-placeholder_"mods.fingerprint"></textarea>
|
<textarea id="addriven-fingerprint" class="form-control mb-3" placeholder="Fingerprint"></textarea>
|
||||||
<button class="btn btn-primary" style="margin-right: 5px" type="submit" data-loc="general_addButton"></button>
|
<button class="btn btn-primary" style="margin-right: 5px" type="submit">Add</button>
|
||||||
<a href="riven-tool/" target="_blank" data-loc="mods_fingerprintHelp"></a>
|
<a href="riven-tool/" target="_blank">Need help with the fingerprint?</a>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
<div class="card mb-3">
|
<div class="card mb-3">
|
||||||
<h5 class="card-header" data-loc="mods_rivens"></h5>
|
<h5 class="card-header">Rivens</h5>
|
||||||
<div class="card-body">
|
<div class="card-body">
|
||||||
<table class="table table-hover w-100">
|
<table class="table table-hover w-100">
|
||||||
<tbody id="riven-list"></tbody>
|
<tbody id="riven-list"></tbody>
|
||||||
@ -339,12 +345,12 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="col-xxl-6">
|
<div class="col-xxl-6">
|
||||||
<div class="card mb-3">
|
<div class="card mb-3">
|
||||||
<h5 class="card-header" data-loc="mods_mods"></h5>
|
<h5 class="card-header">Mods</h5>
|
||||||
<div class="card-body">
|
<div class="card-body">
|
||||||
<form class="input-group mb-3" onsubmit="doAcquireMod();return false;">
|
<form class="input-group mb-3" onsubmit="doAcquireMod();return false;">
|
||||||
<input class="form-control" id="mod-count" type="number" min="1" value="1"/>
|
<input class="form-control" id="mod-count" type="number" min="1" value="1"/>
|
||||||
<input class="form-control w-50" id="mod-to-acquire" list="datalist-mods" />
|
<input class="form-control w-50" id="mod-to-acquire" list="datalist-mods" />
|
||||||
<button class="btn btn-primary" type="submit" data-loc="general_addButton"></button>
|
<button class="btn btn-primary" type="submit">Add</button>
|
||||||
</form>
|
</form>
|
||||||
<table class="table table-hover w-100">
|
<table class="table table-hover w-100">
|
||||||
<tbody id="mods-list"></tbody>
|
<tbody id="mods-list"></tbody>
|
||||||
@ -352,9 +358,9 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="card mb-3">
|
<div class="card mb-3">
|
||||||
<h5 class="card-header" data-loc="general_bulkActions"></h5>
|
<h5 class="card-header">Bulk Actions</h5>
|
||||||
<div class="card-body">
|
<div class="card-body">
|
||||||
<button class="btn btn-primary" onclick="doAddAllMods();" data-loc="mods_bulkAddMods"></button>
|
<button class="btn btn-primary" onclick="doAddAllMods();">Add Missing Mods</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -367,113 +373,127 @@
|
|||||||
<h5 class="card-header">Server</h5>
|
<h5 class="card-header">Server</h5>
|
||||||
<div class="card-body">
|
<div class="card-body">
|
||||||
<div id="server-settings-no-perms" class="d-none">
|
<div id="server-settings-no-perms" class="d-none">
|
||||||
<p class="card-text" data-loc="cheats_administratorRequirement"></p>
|
<p class="card-text">You must be an administrator to use this feature. To become an administrator, add <code>"<span class="displayname"></span>"</code> to <code>administratorNames</code> in the config.json.</p>
|
||||||
</div>
|
</div>
|
||||||
<form id="server-settings" class="d-none" onsubmit="doChangeSettings();return false;">
|
<form id="server-settings" class="d-none" onsubmit="doChangeSettings();return false;">
|
||||||
<div class="form-check">
|
<div class="form-check">
|
||||||
<input class="form-check-input" type="checkbox" id="skipTutorial" />
|
<input class="form-check-input" type="checkbox" id="skipTutorial" />
|
||||||
<label class="form-check-label" for="skipTutorial" data-loc="cheats_skipTutorial"></label>
|
<label class="form-check-label" for="skipTutorial">Skip Tutorial</label>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-check">
|
<div class="form-check">
|
||||||
<input class="form-check-input" type="checkbox" id="skipAllDialogue" />
|
<input class="form-check-input" type="checkbox" id="skipAllDialogue" />
|
||||||
<label class="form-check-label" for="skipAllDialogue" data-loc="cheats_skipAllDialogue"></label>
|
<label class="form-check-label" for="skipAllDialogue">Skip All Dialogue</label>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-check">
|
<div class="form-check">
|
||||||
<input class="form-check-input" type="checkbox" id="unlockAllScans" />
|
<input class="form-check-input" type="checkbox" id="unlockAllScans" />
|
||||||
<label class="form-check-label" for="unlockAllScans" data-loc="cheats_unlockAllScans"></label>
|
<label class="form-check-label" for="unlockAllScans">Unlock All Scans</label>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-check">
|
<div class="form-check">
|
||||||
<input class="form-check-input" type="checkbox" id="unlockAllMissions" />
|
<input class="form-check-input" type="checkbox" id="unlockAllMissions" />
|
||||||
<label class="form-check-label" for="unlockAllMissions" data-loc="cheats_unlockAllMissions"></label>
|
<label class="form-check-label" for="unlockAllMissions">Unlock All Missions</label>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-check">
|
<div class="form-check">
|
||||||
<input class="form-check-input" type="checkbox" id="unlockAllQuests" />
|
<input class="form-check-input" type="checkbox" id="unlockAllQuests" />
|
||||||
<label class="form-check-label" for="unlockAllQuests" data-loc="cheats_unlockAllQuests"></label>
|
<label class="form-check-label" for="unlockAllQuests">Unlock All Quests</label>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-check">
|
<div class="form-check">
|
||||||
<input class="form-check-input" type="checkbox" id="completeAllQuests" />
|
<input class="form-check-input" type="checkbox" id="completeAllQuests" />
|
||||||
<label class="form-check-label" for="completeAllQuests" data-loc="cheats_completeAllQuests"></label>
|
<label class="form-check-label" for="completeAllQuests">Complete All Quests</label>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-check">
|
<div class="form-check">
|
||||||
<input class="form-check-input" type="checkbox" id="infiniteCredits" />
|
<input class="form-check-input" type="checkbox" id="infiniteCredits" />
|
||||||
<label class="form-check-label" for="infiniteCredits" data-loc="cheats_infiniteCredits"></label>
|
<label class="form-check-label" for="infiniteCredits">Infinite Credits</label>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-check">
|
<div class="form-check">
|
||||||
<input class="form-check-input" type="checkbox" id="infinitePlatinum" />
|
<input class="form-check-input" type="checkbox" id="infinitePlatinum" />
|
||||||
<label class="form-check-label" for="infinitePlatinum" data-loc="cheats_infinitePlatinum"></label>
|
<label class="form-check-label" for="infinitePlatinum">Infinite Platinum</label>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-check">
|
<div class="form-check">
|
||||||
<input class="form-check-input" type="checkbox" id="infiniteEndo" />
|
<input class="form-check-input" type="checkbox" id="infiniteEndo" />
|
||||||
<label class="form-check-label" for="infiniteEndo" data-loc="cheats_infiniteEndo"></label>
|
<label class="form-check-label" for="infiniteEndo">Infinite Endo</label>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-check">
|
<div class="form-check">
|
||||||
<input class="form-check-input" type="checkbox" id="infiniteRegalAya" />
|
<input class="form-check-input" type="checkbox" id="infiniteRegalAya" />
|
||||||
<label class="form-check-label" for="infiniteRegalAya" data-loc="cheats_infiniteRegalAya"></label>
|
<label class="form-check-label" for="infiniteRegalAya">Infinite Regal Aya</label>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-check">
|
<div class="form-check">
|
||||||
<input class="form-check-input" type="checkbox" id="unlockAllShipFeatures" />
|
<input class="form-check-input" type="checkbox" id="unlockAllShipFeatures" />
|
||||||
<label class="form-check-label" for="unlockAllShipFeatures" data-loc="cheats_unlockAllShipFeatures"></label>
|
<label class="form-check-label" for="unlockAllShipFeatures">Unlock All Ship Features</label>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-check">
|
<div class="form-check">
|
||||||
<input class="form-check-input" type="checkbox" id="unlockAllShipDecorations" />
|
<input class="form-check-input" type="checkbox" id="unlockAllShipDecorations" />
|
||||||
<label class="form-check-label" for="unlockAllShipDecorations" data-loc="cheats_unlockAllShipDecorations"></label>
|
<label class="form-check-label" for="unlockAllShipDecorations">Unlock All Ship Decorations</label>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-check">
|
<div class="form-check">
|
||||||
<input class="form-check-input" type="checkbox" id="unlockAllFlavourItems" />
|
<input class="form-check-input" type="checkbox" id="unlockAllFlavourItems" />
|
||||||
<label class="form-check-label" for="unlockAllFlavourItems" data-loc="cheats_unlockAllFlavourItems"></label>
|
<label class="form-check-label" for="unlockAllFlavourItems">
|
||||||
|
Unlock All <abbr title="Animation Sets, Glyphs, Plattes, etc.">Flavor Items</abbr>
|
||||||
|
</label>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-check">
|
<div class="form-check">
|
||||||
<input class="form-check-input" type="checkbox" id="unlockAllSkins" />
|
<input class="form-check-input" type="checkbox" id="unlockAllSkins" />
|
||||||
<label class="form-check-label" for="unlockAllSkins" data-loc="cheats_unlockAllSkins"></label>
|
<label class="form-check-label" for="unlockAllSkins">Unlock All Skins</label>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-check">
|
<div class="form-check">
|
||||||
<input class="form-check-input" type="checkbox" id="unlockAllCapturaScenes" />
|
<input class="form-check-input" type="checkbox" id="unlockAllCapturaScenes" />
|
||||||
<label class="form-check-label" for="unlockAllCapturaScenes" data-loc="cheats_unlockAllCapturaScenes"></label>
|
<label class="form-check-label" for="unlockAllCapturaScenes">Unlock All Captura Scenes</label>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-check">
|
<div class="form-check">
|
||||||
<input class="form-check-input" type="checkbox" id="universalPolarityEverywhere" />
|
<input class="form-check-input" type="checkbox" id="universalPolarityEverywhere" />
|
||||||
<label class="form-check-label" for="universalPolarityEverywhere" data-loc="cheats_universalPolarityEverywhere"></label>
|
<label class="form-check-label" for="universalPolarityEverywhere">
|
||||||
|
Universal Polarity Everywhere
|
||||||
|
</label>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-check">
|
<div class="form-check">
|
||||||
<input class="form-check-input" type="checkbox" id="unlockDoubleCapacityPotatoesEverywhere" />
|
<input class="form-check-input" type="checkbox" id="unlockDoubleCapacityPotatoesEverywhere" />
|
||||||
<label class="form-check-label" for="unlockDoubleCapacityPotatoesEverywhere" data-loc="cheats_unlockDoubleCapacityPotatoesEverywhere"></label>
|
<label class="form-check-label" for="unlockDoubleCapacityPotatoesEverywhere">
|
||||||
|
Potatoes Everywhere
|
||||||
|
</label>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-check">
|
<div class="form-check">
|
||||||
<input class="form-check-input" type="checkbox" id="unlockExilusEverywhere" />
|
<input class="form-check-input" type="checkbox" id="unlockExilusEverywhere" />
|
||||||
<label class="form-check-label" for="unlockExilusEverywhere" data-loc="cheats_unlockExilusEverywhere"></label>
|
<label class="form-check-label" for="unlockExilusEverywhere">
|
||||||
|
Exilus Adapters Everywhere
|
||||||
|
</label>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-check">
|
<div class="form-check">
|
||||||
<input class="form-check-input" type="checkbox" id="unlockArcanesEverywhere" />
|
<input class="form-check-input" type="checkbox" id="unlockArcanesEverywhere" />
|
||||||
<label class="form-check-label" for="unlockArcanesEverywhere" data-loc="cheats_unlockArcanesEverywhere"></label>
|
<label class="form-check-label" for="unlockArcanesEverywhere">
|
||||||
|
Arcane Adapters Everywhere
|
||||||
|
</label>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-check">
|
<div class="form-check">
|
||||||
<input class="form-check-input" type="checkbox" id="noDailyStandingLimits" />
|
<input class="form-check-input" type="checkbox" id="noDailyStandingLimits" />
|
||||||
<label class="form-check-label" for="noDailyStandingLimits" data-loc="cheats_noDailyStandingLimits"></label>
|
<label class="form-check-label" for="noDailyStandingLimits">
|
||||||
|
No Daily Standing Limits
|
||||||
|
</label>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group mt-2">
|
<div class="form-group mt-2">
|
||||||
<label class="form-label" for="spoofMasteryRank" data-loc="cheats_spoofMasteryRank"></label>
|
<label class="form-label" for="spoofMasteryRank">
|
||||||
|
Spoofed Mastery Rank (-1 to disable)
|
||||||
|
</label>
|
||||||
<input class="form-control" id="spoofMasteryRank" type="number" min="-1" max="65535" />
|
<input class="form-control" id="spoofMasteryRank" type="number" min="-1" max="65535" />
|
||||||
</div>
|
</div>
|
||||||
<button class="btn btn-primary mt-3" type="submit" data-loc="cheats_saveSettings"></button>
|
<button class="btn btn-primary mt-3" type="submit">Save Settings</button>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-6">
|
<div class="col-md-6">
|
||||||
<div class="card mb-3">
|
<div class="card mb-3">
|
||||||
<h5 class="card-header" data-loc="cheats_account"></h5>
|
<h5 class="card-header">Account</h5>
|
||||||
<div class="card-body">
|
<div class="card-body">
|
||||||
<p><button class="btn btn-primary" onclick="doUnlockAllFocusSchools();" data-loc="cheats_unlockAllFocusSchools"></button></p>
|
<p><button class="btn btn-primary" onclick="doUnlockAllFocusSchools();">Unlock All Focus Schools</button></p>
|
||||||
<button class="btn btn-primary" onclick="doHelminthUnlockAll();" data-loc="cheats_helminthUnlockAll"></button>
|
<button class="btn btn-primary" onclick="doHelminthUnlockAll();">Fully Level Up Helminth</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div data-route="/webui/import" data-title="Import | OpenWF WebUI">
|
<div data-route="/webui/import" data-title="Import | OpenWF WebUI">
|
||||||
<p data-loc="import_importNote"></p>
|
<p>You can provide a full or partial inventory response (client respresentation) here. All fields that are supported by the importer <b>will be overwritten</b> in your account.</p>
|
||||||
<textarea class="form-control" id="import-inventory"></textarea>
|
<textarea class="form-control" id="import-inventory"></textarea>
|
||||||
<button class="btn btn-primary mt-3" onclick="doImport();" data-loc="import_submit"></button>
|
<button class="btn btn-primary mt-3" onclick="doImport();">Submit</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -14,9 +14,6 @@ function loginFromLocalStorage() {
|
|||||||
$(".displayname").text(data.DisplayName);
|
$(".displayname").text(data.DisplayName);
|
||||||
window.accountId = data.id;
|
window.accountId = data.id;
|
||||||
window.authz = "accountId=" + data.id + "&nonce=" + data.Nonce;
|
window.authz = "accountId=" + data.id + "&nonce=" + data.Nonce;
|
||||||
if (window.dict) {
|
|
||||||
updateLocElements();
|
|
||||||
}
|
|
||||||
updateInventory();
|
updateInventory();
|
||||||
},
|
},
|
||||||
() => {
|
() => {
|
||||||
@ -53,7 +50,7 @@ function revalidateAuthz(succ_cb) {
|
|||||||
},
|
},
|
||||||
() => {
|
() => {
|
||||||
logout();
|
logout();
|
||||||
alert(loc("code_nonValidAuthz"));
|
alert("Your credentials are no longer valid.");
|
||||||
single.loadRoute("/webui/"); // Show login screen
|
single.loadRoute("/webui/"); // Show login screen
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
@ -65,17 +62,24 @@ function logout() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function renameAccount() {
|
function renameAccount() {
|
||||||
const newname = window.prompt(loc("code_changeNameConfirm"));
|
const newname = window.prompt("What would you like to change your account name to?");
|
||||||
if (newname) {
|
if (newname) {
|
||||||
fetch("/custom/renameAccount?" + window.authz + "&newname=" + newname).then(() => {
|
fetch("/custom/renameAccount?" + window.authz + "&newname=" + newname).then(() => {
|
||||||
$(".displayname").text(newname);
|
$(".displayname").text(newname);
|
||||||
updateLocElements();
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
function deleteAccount() {
|
function deleteAccount() {
|
||||||
if (window.confirm(loc("code_deleteAccountConfirm"))) {
|
if (
|
||||||
|
window.confirm(
|
||||||
|
"Are you sure you want to delete your account " +
|
||||||
|
document.querySelector(".displayname").textContent +
|
||||||
|
" (" +
|
||||||
|
localStorage.getItem("email") +
|
||||||
|
")? This action cannot be undone."
|
||||||
|
)
|
||||||
|
) {
|
||||||
fetch("/custom/deleteAccount?" + window.authz).then(() => {
|
fetch("/custom/deleteAccount?" + window.authz).then(() => {
|
||||||
logout();
|
logout();
|
||||||
single.loadRoute("/webui/"); // Show login screen
|
single.loadRoute("/webui/"); // Show login screen
|
||||||
@ -106,80 +110,55 @@ single.on("route_load", function (event) {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
function loc(tag) {
|
|
||||||
return ((window.dict ?? {})[tag] ?? tag)
|
|
||||||
.split("|DISPLAYNAME|").join(document.querySelector(".displayname").textContent)
|
|
||||||
.split("|EMAIL|").join(localStorage.getItem("email"));
|
|
||||||
}
|
|
||||||
|
|
||||||
function updateLocElements() {
|
|
||||||
document.querySelectorAll("[data-loc]").forEach(elm => {
|
|
||||||
elm.innerHTML = loc(elm.getAttribute("data-loc"));
|
|
||||||
});
|
|
||||||
}
|
|
||||||
|
|
||||||
function setActiveLanguage(lang) {
|
function setActiveLanguage(lang) {
|
||||||
window.lang = lang;
|
window.lang = lang;
|
||||||
const lang_name = document.querySelector("[data-lang=" + lang + "]").textContent;
|
const lang_name = document.querySelector("[data-lang=" + lang + "]").textContent;
|
||||||
document.getElementById("active-lang-name").textContent = lang_name;
|
document.getElementById("active-lang-name").textContent = lang_name;
|
||||||
document.querySelector("[data-lang].active").classList.remove("active");
|
document.querySelector("[data-lang].active").classList.remove("active");
|
||||||
document.querySelector("[data-lang=" + lang + "]").classList.add("active");
|
document.querySelector("[data-lang=" + lang + "]").classList.add("active");
|
||||||
|
|
||||||
window.dictPromise = new Promise(resolve => {
|
|
||||||
const webui_lang = ["en", "ru"].indexOf(lang) == -1 ? "en" : lang;
|
|
||||||
const script = document.createElement("script");
|
|
||||||
script.src = "/translations/" + webui_lang + ".js";
|
|
||||||
script.onload = function() {
|
|
||||||
updateLocElements();
|
|
||||||
resolve(window.dict);
|
|
||||||
};
|
|
||||||
document.documentElement.appendChild(script);
|
|
||||||
});
|
|
||||||
}
|
}
|
||||||
setActiveLanguage(localStorage.getItem("lang") ?? "en");
|
setActiveLanguage(localStorage.getItem("lang") ?? "en");
|
||||||
|
|
||||||
function setLanguage(lang) {
|
function setLanguage(lang) {
|
||||||
setActiveLanguage(lang);
|
setActiveLanguage(lang);
|
||||||
localStorage.setItem("lang", lang);
|
localStorage.setItem("lang", lang);
|
||||||
if (window.authz) { // Not in prelogin state?
|
|
||||||
fetchItemList();
|
fetchItemList();
|
||||||
updateInventory();
|
updateInventory();
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
let uniqueLevelCaps = {};
|
let uniqueLevelCaps = {};
|
||||||
function fetchItemList() {
|
function fetchItemList() {
|
||||||
window.itemListPromise = new Promise(resolve => {
|
window.itemListPromise = new Promise(resolve => {
|
||||||
const req = $.get("/custom/getItemLists?lang=" + window.lang);
|
const req = $.get("/custom/getItemLists?lang=" + window.lang);
|
||||||
req.done(async (data) => {
|
req.done(data => {
|
||||||
await dictPromise;
|
|
||||||
|
|
||||||
window.archonCrystalUpgrades = data.archonCrystalUpgrades;
|
window.archonCrystalUpgrades = data.archonCrystalUpgrades;
|
||||||
|
|
||||||
const itemMap = {
|
const itemMap = {
|
||||||
// Generics for rivens
|
// Generics for rivens
|
||||||
"/Lotus/Weapons/Tenno/Archwing/Primary/ArchGun": { name: loc("code_archgun") },
|
"/Lotus/Weapons/Tenno/Archwing/Primary/ArchGun": { name: "Archgun" },
|
||||||
"/Lotus/Weapons/Tenno/Melee/PlayerMeleeWeapon": { name: loc("code_melee") },
|
"/Lotus/Weapons/Tenno/Melee/PlayerMeleeWeapon": { name: "Melee" },
|
||||||
"/Lotus/Weapons/Tenno/Pistol/LotusPistol": { name: loc("code_pistol") },
|
"/Lotus/Weapons/Tenno/Pistol/LotusPistol": { name: "Pistol" },
|
||||||
"/Lotus/Weapons/Tenno/Rifle/LotusRifle": { name: loc("code_rifle") },
|
"/Lotus/Weapons/Tenno/Rifle/LotusRifle": { name: "Rifle" },
|
||||||
"/Lotus/Weapons/Tenno/Shotgun/LotusShotgun": { name: loc("code_shotgun") },
|
"/Lotus/Weapons/Tenno/Shotgun/LotusShotgun": { name: "Shotgun" },
|
||||||
// Modular weapons
|
// Modular weapons
|
||||||
"/Lotus/Weapons/SolarisUnited/Primary/LotusModularPrimary": { name: loc("code_kitgun") },
|
"/Lotus/Weapons/SolarisUnited/Primary/LotusModularPrimary": { name: "Kitgun" },
|
||||||
"/Lotus/Weapons/SolarisUnited/Primary/LotusModularPrimaryBeam": { name: loc("code_kitgun") },
|
"/Lotus/Weapons/SolarisUnited/Primary/LotusModularPrimaryBeam": { name: "Kitgun" },
|
||||||
"/Lotus/Weapons/SolarisUnited/Primary/LotusModularPrimaryLauncher": { name: loc("code_kitgun") },
|
"/Lotus/Weapons/SolarisUnited/Primary/LotusModularPrimaryLauncher": { name: "Kitgun" },
|
||||||
"/Lotus/Weapons/SolarisUnited/Primary/LotusModularPrimaryShotgun": { name: loc("code_kitgun") },
|
"/Lotus/Weapons/SolarisUnited/Primary/LotusModularPrimaryShotgun": { name: "Kitgun" },
|
||||||
"/Lotus/Weapons/SolarisUnited/Primary/LotusModularPrimarySniper": { name: loc("code_kitgun") },
|
"/Lotus/Weapons/SolarisUnited/Primary/LotusModularPrimarySniper": { name: "Kitgun" },
|
||||||
"/Lotus/Weapons/SolarisUnited/Secondary/LotusModularSecondary": { name: loc("code_kitgun") },
|
"/Lotus/Weapons/SolarisUnited/Secondary/LotusModularSecondary": { name: "Kitgun" },
|
||||||
"/Lotus/Weapons/SolarisUnited/Secondary/LotusModularSecondaryBeam": { name: loc("code_kitgun") },
|
"/Lotus/Weapons/SolarisUnited/Secondary/LotusModularSecondaryBeam": { name: "Kitgun" },
|
||||||
"/Lotus/Weapons/SolarisUnited/Secondary/LotusModularSecondaryShotgun": { name: loc("code_kitgun") },
|
"/Lotus/Weapons/SolarisUnited/Secondary/LotusModularSecondaryShotgun": { name: "Kitgun" },
|
||||||
"/Lotus/Weapons/Ostron/Melee/LotusModularWeapon": { name: loc("code_zaw") },
|
"/Lotus/Weapons/Ostron/Melee/LotusModularWeapon": { name: "Zaw" },
|
||||||
"/Lotus/Weapons/Sentients/OperatorAmplifiers/SentTrainingAmplifier/OperatorTrainingAmpWeapon": { name: loc("code_moteAmp") },
|
"/Lotus/Weapons/Sentients/OperatorAmplifiers/SentTrainingAmplifier/OperatorTrainingAmpWeapon": {
|
||||||
"/Lotus/Weapons/Sentients/OperatorAmplifiers/OperatorAmpWeapon": { name: loc("code_amp") },
|
name: "Mote Amp"
|
||||||
"/Lotus/Weapons/Operator/Pistols/DrifterPistol/DrifterPistolPlayerWeapon": { name: loc("code_sirocco") },
|
},
|
||||||
"/Lotus/Types/Vehicles/Hoverboard/HoverboardSuit": { name: loc("code_kdrive") },
|
"/Lotus/Weapons/Sentients/OperatorAmplifiers/OperatorAmpWeapon": { name: "Amp" },
|
||||||
|
"/Lotus/Weapons/Operator/Pistols/DrifterPistol/DrifterPistolPlayerWeapon": { name: "Sirocco" },
|
||||||
|
"/Lotus/Types/Vehicles/Hoverboard/HoverboardSuit": { name: "K-Drive" },
|
||||||
// Missing in data sources
|
// Missing in data sources
|
||||||
"/Lotus/Upgrades/Mods/Fusers/LegendaryModFuser": { name: loc("code_legendaryCore") },
|
"/Lotus/Upgrades/Mods/Fusers/LegendaryModFuser": { name: "Legendary Core" },
|
||||||
"/Lotus/Upgrades/CosmeticEnhancers/Peculiars/CyoteMod": { name: loc("code_traumaticPeculiar") }
|
"/Lotus/Upgrades/CosmeticEnhancers/Peculiars/CyoteMod": { name: "Traumatic Peculiar" }
|
||||||
};
|
};
|
||||||
for (const [type, items] of Object.entries(data)) {
|
for (const [type, items] of Object.entries(data)) {
|
||||||
if (type == "archonCrystalUpgrades") {
|
if (type == "archonCrystalUpgrades") {
|
||||||
@ -194,7 +173,7 @@ function fetchItemList() {
|
|||||||
} else if (type != "badItems") {
|
} else if (type != "badItems") {
|
||||||
items.forEach(item => {
|
items.forEach(item => {
|
||||||
if (item.uniqueName in data.badItems) {
|
if (item.uniqueName in data.badItems) {
|
||||||
item.name += " " + loc("code_badItem");
|
item.name += " (Imposter)";
|
||||||
} else if (item.uniqueName.substr(0, 18) != "/Lotus/Types/Game/") {
|
} else if (item.uniqueName.substr(0, 18) != "/Lotus/Types/Game/") {
|
||||||
const option = document.createElement("option");
|
const option = document.createElement("option");
|
||||||
option.setAttribute("data-key", item.uniqueName);
|
option.setAttribute("data-key", item.uniqueName);
|
||||||
@ -293,7 +272,7 @@ function updateInventory() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
a.title = loc("code_maxRank");
|
a.title = "Max Rank";
|
||||||
a.innerHTML = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 384 512"><!--!Font Awesome Free 6.5.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2024 Fonticons, Inc.--><path d="M214.6 41.4c-12.5-12.5-32.8-12.5-45.3 0l-160 160c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L160 141.2V448c0 17.7 14.3 32 32 32s32-14.3 32-32V141.2L329.4 246.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3l-160-160z"/></svg>`;
|
a.innerHTML = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 384 512"><!--!Font Awesome Free 6.5.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2024 Fonticons, Inc.--><path d="M214.6 41.4c-12.5-12.5-32.8-12.5-45.3 0l-160 160c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L160 141.2V448c0 17.7 14.3 32 32 32s32-14.3 32-32V141.2L329.4 246.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3l-160-160z"/></svg>`;
|
||||||
td.appendChild(a);
|
td.appendChild(a);
|
||||||
}
|
}
|
||||||
@ -308,12 +287,12 @@ function updateInventory() {
|
|||||||
a.href = "#";
|
a.href = "#";
|
||||||
a.onclick = function (event) {
|
a.onclick = function (event) {
|
||||||
event.preventDefault();
|
event.preventDefault();
|
||||||
const name = prompt(loc("code_renamePrompt"));
|
const name = prompt("Enter new custom name:");
|
||||||
if (name !== null) {
|
if (name !== null) {
|
||||||
renameGear(category, item.ItemId.$oid, name);
|
renameGear(category, item.ItemId.$oid, name);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
a.title = loc("code_rename");
|
a.title = "Rename";
|
||||||
a.innerHTML = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><!--!Font Awesome Free 6.5.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2024 Fonticons, Inc.--><path d="M0 80V229.5c0 17 6.7 33.3 18.7 45.3l176 176c25 25 65.5 25 90.5 0L418.7 317.3c25-25 25-65.5 0-90.5l-176-176c-12-12-28.3-18.7-45.3-18.7H48C21.5 32 0 53.5 0 80zm112 32a32 32 0 1 1 0 64 32 32 0 1 1 0-64z"/></svg>`;
|
a.innerHTML = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><!--!Font Awesome Free 6.5.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2024 Fonticons, Inc.--><path d="M0 80V229.5c0 17 6.7 33.3 18.7 45.3l176 176c25 25 65.5 25 90.5 0L418.7 317.3c25-25 25-65.5 0-90.5l-176-176c-12-12-28.3-18.7-45.3-18.7H48C21.5 32 0 53.5 0 80zm112 32a32 32 0 1 1 0 64 32 32 0 1 1 0-64z"/></svg>`;
|
||||||
td.appendChild(a);
|
td.appendChild(a);
|
||||||
}
|
}
|
||||||
@ -324,7 +303,7 @@ function updateInventory() {
|
|||||||
event.preventDefault();
|
event.preventDefault();
|
||||||
disposeOfGear(category, item.ItemId.$oid);
|
disposeOfGear(category, item.ItemId.$oid);
|
||||||
};
|
};
|
||||||
a.title = loc("code_remove");
|
a.title = "Remove";
|
||||||
a.innerHTML = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><!--!Font Awesome Free 6.5.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2024 Fonticons, Inc.--><path d="M135.2 17.7L128 32H32C14.3 32 0 46.3 0 64S14.3 96 32 96H416c17.7 0 32-14.3 32-32s-14.3-32-32-32H320l-7.2-14.3C307.4 6.8 296.3 0 284.2 0H163.8c-12.1 0-23.2 6.8-28.6 17.7zM416 128H32L53.2 467c1.6 25.3 22.6 45 47.9 45H346.9c25.3 0 46.3-19.7 47.9-45L416 128z"/></svg>`;
|
a.innerHTML = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><!--!Font Awesome Free 6.5.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2024 Fonticons, Inc.--><path d="M135.2 17.7L128 32H32C14.3 32 0 46.3 0 64S14.3 96 32 96H416c17.7 0 32-14.3 32-32s-14.3-32-32-32H320l-7.2-14.3C307.4 6.8 296.3 0 284.2 0H163.8c-12.1 0-23.2 6.8-28.6 17.7zM416 128H32L53.2 467c1.6 25.3 22.6 45 47.9 45H346.9c25.3 0 46.3-19.7 47.9-45L416 128z"/></svg>`;
|
||||||
td.appendChild(a);
|
td.appendChild(a);
|
||||||
}
|
}
|
||||||
@ -348,11 +327,11 @@ function updateInventory() {
|
|||||||
const td = document.createElement("td");
|
const td = document.createElement("td");
|
||||||
td.textContent = itemMap[fingerprint.compat]?.name ?? fingerprint.compat;
|
td.textContent = itemMap[fingerprint.compat]?.name ?? fingerprint.compat;
|
||||||
td.textContent += " " + RivenParser.parseRiven(rivenType, fingerprint, 1).name;
|
td.textContent += " " + RivenParser.parseRiven(rivenType, fingerprint, 1).name;
|
||||||
td.innerHTML += " <span title='" + loc("code_buffsNumber") + "'>▲ " + fingerprint.buffs.length + "</span>";
|
td.innerHTML += " <span title='Number of buffs'>▲ " + fingerprint.buffs.length + "</span>";
|
||||||
td.innerHTML +=
|
td.innerHTML +=
|
||||||
" <span title='" + loc("code_cursesNumber") + "'>▼ " + fingerprint.curses.length + "</span>";
|
" <span title='Number of curses'>▼ " + fingerprint.curses.length + "</span>";
|
||||||
td.innerHTML +=
|
td.innerHTML +=
|
||||||
" <span title='" + loc("code_rerollsNumber") + "'>⟳ " + parseInt(fingerprint.rerolls) + "</span>";
|
" <span title='Number of rerolls'>⟳ " + parseInt(fingerprint.rerolls) + "</span>";
|
||||||
tr.appendChild(td);
|
tr.appendChild(td);
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
@ -370,7 +349,7 @@ function updateInventory() {
|
|||||||
})
|
})
|
||||||
);
|
);
|
||||||
a.target = "_blank";
|
a.target = "_blank";
|
||||||
a.title = loc("code_viewStats");
|
a.title = "View Stats";
|
||||||
a.innerHTML = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><!--!Font Awesome Free 6.5.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2024 Fonticons, Inc.--><path d="M160 80c0-26.5 21.5-48 48-48h32c26.5 0 48 21.5 48 48V432c0 26.5-21.5 48-48 48H208c-26.5 0-48-21.5-48-48V80zM0 272c0-26.5 21.5-48 48-48H80c26.5 0 48 21.5 48 48V432c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V272zM368 96h32c26.5 0 48 21.5 48 48V432c0 26.5-21.5 48-48 48H368c-26.5 0-48-21.5-48-48V144c0-26.5 21.5-48 48-48z"/></svg>`;
|
a.innerHTML = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><!--!Font Awesome Free 6.5.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2024 Fonticons, Inc.--><path d="M160 80c0-26.5 21.5-48 48-48h32c26.5 0 48 21.5 48 48V432c0 26.5-21.5 48-48 48H208c-26.5 0-48-21.5-48-48V80zM0 272c0-26.5 21.5-48 48-48H80c26.5 0 48 21.5 48 48V432c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V272zM368 96h32c26.5 0 48 21.5 48 48V432c0 26.5-21.5 48-48 48H368c-26.5 0-48-21.5-48-48V144c0-26.5 21.5-48 48-48z"/></svg>`;
|
||||||
td.appendChild(a);
|
td.appendChild(a);
|
||||||
}
|
}
|
||||||
@ -381,7 +360,7 @@ function updateInventory() {
|
|||||||
event.preventDefault();
|
event.preventDefault();
|
||||||
disposeOfGear("Upgrades", item.ItemId.$oid);
|
disposeOfGear("Upgrades", item.ItemId.$oid);
|
||||||
};
|
};
|
||||||
a.title = loc("code_remove");
|
a.title = "Remove";
|
||||||
a.innerHTML = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><!--!Font Awesome Free 6.5.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2024 Fonticons, Inc.--><path d="M135.2 17.7L128 32H32C14.3 32 0 46.3 0 64S14.3 96 32 96H416c17.7 0 32-14.3 32-32s-14.3-32-32-32H320l-7.2-14.3C307.4 6.8 296.3 0 284.2 0H163.8c-12.1 0-23.2 6.8-28.6 17.7zM416 128H32L53.2 467c1.6 25.3 22.6 45 47.9 45H346.9c25.3 0 46.3-19.7 47.9-45L416 128z"/></svg>`;
|
a.innerHTML = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><!--!Font Awesome Free 6.5.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2024 Fonticons, Inc.--><path d="M135.2 17.7L128 32H32C14.3 32 0 46.3 0 64S14.3 96 32 96H416c17.7 0 32-14.3 32-32s-14.3-32-32-32H320l-7.2-14.3C307.4 6.8 296.3 0 284.2 0H163.8c-12.1 0-23.2 6.8-28.6 17.7zM416 128H32L53.2 467c1.6 25.3 22.6 45 47.9 45H346.9c25.3 0 46.3-19.7 47.9-45L416 128z"/></svg>`;
|
||||||
td.appendChild(a);
|
td.appendChild(a);
|
||||||
}
|
}
|
||||||
@ -397,7 +376,7 @@ function updateInventory() {
|
|||||||
{
|
{
|
||||||
const td = document.createElement("td");
|
const td = document.createElement("td");
|
||||||
td.textContent = itemMap[item.ItemType]?.name ?? item.ItemType;
|
td.textContent = itemMap[item.ItemType]?.name ?? item.ItemType;
|
||||||
td.innerHTML += " <span title='" + loc("code_rank") + "'>★ " + rank + "/" + maxRank + "</span>";
|
td.innerHTML += " <span title='Rank'>★ " + rank + "/" + maxRank + "</span>";
|
||||||
tr.appendChild(td);
|
tr.appendChild(td);
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
@ -410,7 +389,7 @@ function updateInventory() {
|
|||||||
event.preventDefault();
|
event.preventDefault();
|
||||||
setFingerprint(item.ItemType, item.ItemId, { lvl: maxRank });
|
setFingerprint(item.ItemType, item.ItemId, { lvl: maxRank });
|
||||||
};
|
};
|
||||||
a.title = loc("code_maxRank");
|
a.title = "Max Rank";
|
||||||
a.innerHTML = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 384 512"><!--!Font Awesome Free 6.5.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2024 Fonticons, Inc.--><path d="M214.6 41.4c-12.5-12.5-32.8-12.5-45.3 0l-160 160c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L160 141.2V448c0 17.7 14.3 32 32 32s32-14.3 32-32V141.2L329.4 246.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3l-160-160z"/></svg>`;
|
a.innerHTML = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 384 512"><!--!Font Awesome Free 6.5.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2024 Fonticons, Inc.--><path d="M214.6 41.4c-12.5-12.5-32.8-12.5-45.3 0l-160 160c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L160 141.2V448c0 17.7 14.3 32 32 32s32-14.3 32-32V141.2L329.4 246.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3l-160-160z"/></svg>`;
|
||||||
td.appendChild(a);
|
td.appendChild(a);
|
||||||
}
|
}
|
||||||
@ -421,7 +400,7 @@ function updateInventory() {
|
|||||||
event.preventDefault();
|
event.preventDefault();
|
||||||
disposeOfGear("Upgrades", item.ItemId.$oid);
|
disposeOfGear("Upgrades", item.ItemId.$oid);
|
||||||
};
|
};
|
||||||
a.title = loc("code_remove");
|
a.title = "Remove";
|
||||||
a.innerHTML = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><!--!Font Awesome Free 6.5.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2024 Fonticons, Inc.--><path d="M135.2 17.7L128 32H32C14.3 32 0 46.3 0 64S14.3 96 32 96H416c17.7 0 32-14.3 32-32s-14.3-32-32-32H320l-7.2-14.3C307.4 6.8 296.3 0 284.2 0H163.8c-12.1 0-23.2 6.8-28.6 17.7zM416 128H32L53.2 467c1.6 25.3 22.6 45 47.9 45H346.9c25.3 0 46.3-19.7 47.9-45L416 128z"/></svg>`;
|
a.innerHTML = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><!--!Font Awesome Free 6.5.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2024 Fonticons, Inc.--><path d="M135.2 17.7L128 32H32C14.3 32 0 46.3 0 64S14.3 96 32 96H416c17.7 0 32-14.3 32-32s-14.3-32-32-32H320l-7.2-14.3C307.4 6.8 296.3 0 284.2 0H163.8c-12.1 0-23.2 6.8-28.6 17.7zM416 128H32L53.2 467c1.6 25.3 22.6 45 47.9 45H346.9c25.3 0 46.3-19.7 47.9-45L416 128z"/></svg>`;
|
||||||
td.appendChild(a);
|
td.appendChild(a);
|
||||||
}
|
}
|
||||||
@ -436,7 +415,7 @@ function updateInventory() {
|
|||||||
{
|
{
|
||||||
const td = document.createElement("td");
|
const td = document.createElement("td");
|
||||||
td.textContent = itemMap[item.ItemType]?.name ?? item.ItemType;
|
td.textContent = itemMap[item.ItemType]?.name ?? item.ItemType;
|
||||||
td.innerHTML += " <span title='" + loc("code_rank") + "'>★ 0/" + maxRank + "</span>";
|
td.innerHTML += " <span title='Rank'>★ 0/" + maxRank + "</span>";
|
||||||
if (item.ItemCount > 1) {
|
if (item.ItemCount > 1) {
|
||||||
td.innerHTML += " <span title='Count'>🗍 " + parseInt(item.ItemCount) + "</span>";
|
td.innerHTML += " <span title='Count'>🗍 " + parseInt(item.ItemCount) + "</span>";
|
||||||
}
|
}
|
||||||
@ -452,7 +431,7 @@ function updateInventory() {
|
|||||||
event.preventDefault();
|
event.preventDefault();
|
||||||
setFingerprint(item.ItemType, item.LastAdded, { lvl: maxRank });
|
setFingerprint(item.ItemType, item.LastAdded, { lvl: maxRank });
|
||||||
};
|
};
|
||||||
a.title = loc("code_maxRank");
|
a.title = "Max Rank";
|
||||||
a.innerHTML = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 384 512"><!--!Font Awesome Free 6.5.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2024 Fonticons, Inc.--><path d="M214.6 41.4c-12.5-12.5-32.8-12.5-45.3 0l-160 160c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L160 141.2V448c0 17.7 14.3 32 32 32s32-14.3 32-32V141.2L329.4 246.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3l-160-160z"/></svg>`;
|
a.innerHTML = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 384 512"><!--!Font Awesome Free 6.5.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2024 Fonticons, Inc.--><path d="M214.6 41.4c-12.5-12.5-32.8-12.5-45.3 0l-160 160c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L160 141.2V448c0 17.7 14.3 32 32 32s32-14.3 32-32V141.2L329.4 246.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3l-160-160z"/></svg>`;
|
||||||
td.appendChild(a);
|
td.appendChild(a);
|
||||||
}
|
}
|
||||||
@ -463,7 +442,7 @@ function updateInventory() {
|
|||||||
event.preventDefault();
|
event.preventDefault();
|
||||||
disposeOfItems("Upgrades", item.ItemType, item.ItemCount);
|
disposeOfItems("Upgrades", item.ItemType, item.ItemCount);
|
||||||
};
|
};
|
||||||
a.title = loc("code_remove");
|
a.title = "Remove";
|
||||||
a.innerHTML = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><!--!Font Awesome Free 6.5.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2024 Fonticons, Inc.--><path d="M135.2 17.7L128 32H32C14.3 32 0 46.3 0 64S14.3 96 32 96H416c17.7 0 32-14.3 32-32s-14.3-32-32-32H320l-7.2-14.3C307.4 6.8 296.3 0 284.2 0H163.8c-12.1 0-23.2 6.8-28.6 17.7zM416 128H32L53.2 467c1.6 25.3 22.6 45 47.9 45H346.9c25.3 0 46.3-19.7 47.9-45L416 128z"/></svg>`;
|
a.innerHTML = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><!--!Font Awesome Free 6.5.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2024 Fonticons, Inc.--><path d="M135.2 17.7L128 32H32C14.3 32 0 46.3 0 64S14.3 96 32 96H416c17.7 0 32-14.3 32-32s-14.3-32-32-32H320l-7.2-14.3C307.4 6.8 296.3 0 284.2 0H163.8c-12.1 0-23.2 6.8-28.6 17.7zM416 128H32L53.2 467c1.6 25.3 22.6 45 47.9 45H346.9c25.3 0 46.3-19.7 47.9-45L416 128z"/></svg>`;
|
||||||
td.appendChild(a);
|
td.appendChild(a);
|
||||||
}
|
}
|
||||||
@ -512,7 +491,7 @@ function updateInventory() {
|
|||||||
event.preventDefault();
|
event.preventDefault();
|
||||||
doPopArchonCrystalUpgrade(upgradeType);
|
doPopArchonCrystalUpgrade(upgradeType);
|
||||||
};
|
};
|
||||||
a.title = loc("code_remove");
|
a.title = "Remove";
|
||||||
a.innerHTML = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><!--!Font Awesome Free 6.5.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2024 Fonticons, Inc.--><path d="M135.2 17.7L128 32H32C14.3 32 0 46.3 0 64S14.3 96 32 96H416c17.7 0 32-14.3 32-32s-14.3-32-32-32H320l-7.2-14.3C307.4 6.8 296.3 0 284.2 0H163.8c-12.1 0-23.2 6.8-28.6 17.7zM416 128H32L53.2 467c1.6 25.3 22.6 45 47.9 45H346.9c25.3 0 46.3-19.7 47.9-45L416 128z"/></svg>`;
|
a.innerHTML = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><!--!Font Awesome Free 6.5.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2024 Fonticons, Inc.--><path d="M135.2 17.7L128 32H32C14.3 32 0 46.3 0 64S14.3 96 32 96H416c17.7 0 32-14.3 32-32s-14.3-32-32-32H320l-7.2-14.3C307.4 6.8 296.3 0 284.2 0H163.8c-12.1 0-23.2 6.8-28.6 17.7zM416 128H32L53.2 467c1.6 25.3 22.6 45 47.9 45H346.9c25.3 0 46.3-19.7 47.9-45L416 128z"/></svg>`;
|
||||||
td.appendChild(a);
|
td.appendChild(a);
|
||||||
}
|
}
|
||||||
@ -593,7 +572,7 @@ function addMissingEquipment(categories) {
|
|||||||
});
|
});
|
||||||
if (
|
if (
|
||||||
requests.length != 0 &&
|
requests.length != 0 &&
|
||||||
window.confirm(loc("code_addItemsConfirm").split("|COUNT|").join(requests.length))
|
window.confirm("Are you sure you want to add " + requests.length + " items to your account?")
|
||||||
) {
|
) {
|
||||||
dispatchAddItemsRequestsBatch(requests);
|
dispatchAddItemsRequestsBatch(requests);
|
||||||
}
|
}
|
||||||
@ -648,7 +627,7 @@ function maxRankAllEquipment(categories) {
|
|||||||
return sendBatchGearExp(batchData);
|
return sendBatchGearExp(batchData);
|
||||||
}
|
}
|
||||||
|
|
||||||
alert(loc("code_noEquipmentToRankUp"));
|
alert("No equipment to rank up.");
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
@ -764,7 +743,7 @@ function doAcquireMiscItems() {
|
|||||||
}
|
}
|
||||||
])
|
])
|
||||||
}).done(function () {
|
}).done(function () {
|
||||||
alert(loc("code_succAdded"));
|
alert("Successfully added.");
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
@ -959,9 +938,13 @@ function doUnlockAllFocusSchools() {
|
|||||||
await unlockFocusSchool(upgradeType);
|
await unlockFocusSchool(upgradeType);
|
||||||
}
|
}
|
||||||
if (Object.keys(missingFocusUpgrades).length == 0) {
|
if (Object.keys(missingFocusUpgrades).length == 0) {
|
||||||
alert(loc("code_focusAllUnlocked"));
|
alert("All focus schools are already unlocked.");
|
||||||
} else {
|
} else {
|
||||||
alert(loc("code_focusUnlocked").split("|COUNT|").join(Object.keys(missingFocusUpgrades).length));
|
alert(
|
||||||
|
"Unlocked " +
|
||||||
|
Object.keys(missingFocusUpgrades).length +
|
||||||
|
" 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."
|
||||||
|
);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
@ -1013,7 +996,7 @@ function doAddAllMods() {
|
|||||||
modsAll = Array.from(modsAll);
|
modsAll = Array.from(modsAll);
|
||||||
if (
|
if (
|
||||||
modsAll.length != 0 &&
|
modsAll.length != 0 &&
|
||||||
window.confirm(loc("code_addModsConfirm").split("|COUNT|").join(modsAll.length))
|
window.confirm("Are you sure you want to add " + modsAll.length + " mods to your account?")
|
||||||
) {
|
) {
|
||||||
$.post({
|
$.post({
|
||||||
url: "/custom/addItems?" + window.authz,
|
url: "/custom/addItems?" + window.authz,
|
||||||
@ -1088,7 +1071,7 @@ function doImport() {
|
|||||||
inventory: JSON.parse($("#import-inventory").val())
|
inventory: JSON.parse($("#import-inventory").val())
|
||||||
})
|
})
|
||||||
}).then(function () {
|
}).then(function () {
|
||||||
alert(loc("code_succImport"));
|
alert("Successfully imported.");
|
||||||
updateInventory();
|
updateInventory();
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
@ -14,7 +14,9 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
body:not(.logged-in) .user-dropdown {
|
body:not(.logged-in) .navbar-toggler,
|
||||||
|
body:not(.logged-in) .nav-item.dropdown,
|
||||||
|
body:not(.logged-in) #refresh-note {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,111 +0,0 @@
|
|||||||
dict = {
|
|
||||||
general_inventoryUpdateNote: `Note: Changes made here will only be reflected in-game when the game re-downloads your inventory. Visiting the navigation should be the easiest way to trigger that.`,
|
|
||||||
general_addButton: `Add`,
|
|
||||||
general_bulkActions: `Bulk Actions`,
|
|
||||||
code_nonValidAuthz: `Your credentials are no longer valid.`,
|
|
||||||
code_changeNameConfirm: `What would you like to change your account name to?`,
|
|
||||||
code_deleteAccountConfirm: `Are you sure you want to delete your account |DISPLAYNAME| (|EMAIL|)? This action cannot be undone.`,
|
|
||||||
code_archgun: `Archgun`,
|
|
||||||
code_melee: `Melee`,
|
|
||||||
code_pistol: `Pistol`,
|
|
||||||
code_rifle: `Rifle`,
|
|
||||||
code_shotgun: `Shotgun`,
|
|
||||||
code_kitgun: `Kitgun`,
|
|
||||||
code_zaw: `Zaw`,
|
|
||||||
code_moteAmp: `Mote Amp`,
|
|
||||||
code_amp: `Amp`,
|
|
||||||
code_sirocco: `Sirocco`,
|
|
||||||
code_kDrive: `K-Drive`,
|
|
||||||
code_legendaryCore: `Legendary Core`,
|
|
||||||
code_traumaticPeculiar: `Traumatic Peculiar`,
|
|
||||||
code_badItem: `(Imposter)`,
|
|
||||||
code_maxRank: `Max Rank`,
|
|
||||||
code_rename: `Rename`,
|
|
||||||
code_renamePrompt: `Enter new custom name:`,
|
|
||||||
code_remove: `Remove`,
|
|
||||||
code_addItemsConfirm: `Are you sure you want to add |COUNT| items to your account?`,
|
|
||||||
code_noEquipmentToRankUp: `No equipment to rank up.`,
|
|
||||||
code_succAdded: `Successfully added.`,
|
|
||||||
code_buffsNumber: `Number of buffs`,
|
|
||||||
code_cursesNumber: `Number of curses`,
|
|
||||||
code_rerollsNumber: `Number of rerolls`,
|
|
||||||
code_viewStats: `View Stats`,
|
|
||||||
code_rank: `Rank`,
|
|
||||||
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.`,
|
|
||||||
code_addModsConfirm: `Are you sure you want to add |COUNT| mods to your account?`,
|
|
||||||
code_succImport: `Successfully imported.`,
|
|
||||||
login_description: `Login using your OpenWF account credentials (same as in-game when connecting to this server).`,
|
|
||||||
login_emailLabel: `Email address`,
|
|
||||||
login_passwordLabel: `Password`,
|
|
||||||
login_loginButton: `Login`,
|
|
||||||
navbar_logout: `Logout`,
|
|
||||||
navbar_renameAccount: `Rename Account`,
|
|
||||||
navbar_deleteAccount: `Delete Account`,
|
|
||||||
navbar_inventory: `Inventory`,
|
|
||||||
navbar_mods: `Mods`,
|
|
||||||
navbar_cheats: `Cheats`,
|
|
||||||
navbar_import: `Import`,
|
|
||||||
inventory_addItems: `Add Items`,
|
|
||||||
inventory_suits: `Warframes`,
|
|
||||||
inventory_longGuns: `Primary Weapons`,
|
|
||||||
inventory_pistols: `Secondary Weapons`,
|
|
||||||
inventory_melee: `Melee Weapons`,
|
|
||||||
inventory_spaceSuits: `Archwings`,
|
|
||||||
inventory_spaceGuns: `Archwing Primary Weapons`,
|
|
||||||
inventory_spaceMelee: `Archwing Melee Weapons`,
|
|
||||||
inventory_mechSuits: `Necramechs`,
|
|
||||||
inventory_sentinels: `Sentinels`,
|
|
||||||
inventory_sentinelWeapons: `Sentinel Weapons`,
|
|
||||||
inventory_operatorAmps: `Amps`,
|
|
||||||
inventory_hoverboards: `K-Drives`,
|
|
||||||
inventory_bulkAddSuits: `Add Missing Warframes`,
|
|
||||||
inventory_bulkAddWeapons: `Add Missing Weapons`,
|
|
||||||
inventory_bulkAddSpaceSuits: `Add Missing Archwings`,
|
|
||||||
inventory_bulkAddSpaceWeapons: `Add Missing Archwing Weapons`,
|
|
||||||
inventory_bulkAddSentinels: `Add Missing Sentinels`,
|
|
||||||
inventory_bulkAddSentinelWeapons: `Add Missing Sentinel Weapons`,
|
|
||||||
inventory_bulkRankUpSuits: `Max Rank All Warframes`,
|
|
||||||
inventory_bulkRankUpWeapons: `Max Rank All Weapons`,
|
|
||||||
inventory_bulkRankUpSpaceSuits: `Max Rank All Archwings`,
|
|
||||||
inventory_bulkRankUpSpaceWeapons: `Max Rank All Archwing Weapons`,
|
|
||||||
inventory_bulkRankUpSentinels: `Max Rank All Sentinels`,
|
|
||||||
inventory_bulkRankUpSentinelWeapons: `Max Rank All Sentinel Weapons`,
|
|
||||||
powersuit_archonShardsLabel: `Archon Shard Slots`,
|
|
||||||
powersuit_archonShardsDescription: `You can use these unlimited slots to apply a wide range of upgrades`,
|
|
||||||
mods_addRiven: `Add Riven`,
|
|
||||||
mods_fingerprint: `Fingerprint`,
|
|
||||||
mods_fingerprintHelp: `Need help with the fingerprint?`,
|
|
||||||
mods_rivens: `Rivens`,
|
|
||||||
mods_mods: `Mods`,
|
|
||||||
mods_bulkAddMods: `Add Missing Mods`,
|
|
||||||
cheats_administratorRequirement: `You must be an administrator to use this feature. To become an administrator, add <code>|DISPLAYNAME|</code> to <code>administratorNames</code> in the config.json.`,
|
|
||||||
cheats_skipTutorial: `Skip Tutorial`,
|
|
||||||
cheats_skipAllDialogue: `Skip All Dialogue`,
|
|
||||||
cheats_unlockAllScans: `Unlock All Scans`,
|
|
||||||
cheats_unlockAllMissions: `Unlock All Missions`,
|
|
||||||
cheats_unlockAllQuests: `Unlock All Quests`,
|
|
||||||
cheats_completeAllQuests: `Complete All Quests`,
|
|
||||||
cheats_infiniteCredits: `Infinite Credits`,
|
|
||||||
cheats_infinitePlatinum: `Infinite Platinum`,
|
|
||||||
cheats_infiniteEndo: `Infinite Endo`,
|
|
||||||
cheats_infiniteRegalAya: `Infinite Regal Aya`,
|
|
||||||
cheats_unlockAllShipFeatures: `Unlock All Ship Features`,
|
|
||||||
cheats_unlockAllShipDecorations: `Unlock All Ship Decorations`,
|
|
||||||
cheats_unlockAllFlavourItems: `Unlock All <abbr title=\"Animation Sets, Glyphs, Plattes, etc.\">Flavor Items</abbr>`,
|
|
||||||
cheats_unlockAllSkins: `Unlock All Skins`,
|
|
||||||
cheats_unlockAllCapturaScenes: `Unlock All Captura Scenes`,
|
|
||||||
cheats_universalPolarityEverywhere: `Universal Polarity Everywhere`,
|
|
||||||
cheats_unlockDoubleCapacityPotatoesEverywhere: `Potatoes Everywhere`,
|
|
||||||
cheats_unlockExilusEverywhere: `Exilus Adapters Everywhere`,
|
|
||||||
cheats_unlockArcanesEverywhere: `Arcane Adapters Everywhere`,
|
|
||||||
cheats_noDailyStandingLimits: `No Daily Standing Limits`,
|
|
||||||
cheats_spoofMasteryRank: `Spoofed Mastery Rank (-1 to disable)`,
|
|
||||||
cheats_saveSettings: `Save Settings`,
|
|
||||||
cheats_account: `Account`,
|
|
||||||
cheats_unlockAllFocusSchools: `Unlock All Focus Schools`,
|
|
||||||
cheats_helminthUnlockAll: `Fully Level Up Helminth`,
|
|
||||||
import_importNote: `You can provide a full or partial inventory response (client respresentation) here. All fields that are supported by the importer <b>will be overwritten</b> in your account.`,
|
|
||||||
import_submit: `Submit`,
|
|
||||||
}
|
|
@ -1,112 +0,0 @@
|
|||||||
// Russian translation by AMelonInsideLemon
|
|
||||||
dict = {
|
|
||||||
general_inventoryUpdateNote: `Примечание: изменения, внесенные здесь, отобразятся в игре только после повторной загрузки вашего инвентаря. Посещение навигации — самый простой способ этого добиться.`,
|
|
||||||
general_addButton: `Добавить`,
|
|
||||||
general_bulkActions: `Массовые действия`,
|
|
||||||
code_nonValidAuthz: `Ваши данные больше не действительны.`,
|
|
||||||
code_changeNameConfirm: `Какое имя вы хотите установить для своей учетной записи?`,
|
|
||||||
code_deleteAccountConfirm: `Вы уверены, что хотите удалить аккаунт |DISPLAYNAME| (|EMAIL|)? Это действие нельзя отменить.`,
|
|
||||||
code_archgun: `Арч-Пушка`,
|
|
||||||
code_melee: `Ближний бой`,
|
|
||||||
code_pistol: `Пистолет`,
|
|
||||||
code_rifle: `Винтовка`,
|
|
||||||
code_shotgun: `Дробовик`,
|
|
||||||
code_kitgun: `Китган`,
|
|
||||||
code_zaw: `Зо`,
|
|
||||||
code_moteAmp: `Пылинка`,
|
|
||||||
code_amp: `Усилитель`,
|
|
||||||
code_sirocco: `Сирокко`,
|
|
||||||
code_kDrive: `К-Драйв`,
|
|
||||||
code_legendaryCore: `Легендарное ядро`,
|
|
||||||
code_traumaticPeculiar: `Травмирующая Странность`,
|
|
||||||
code_badItem: `(Самозванец)`,
|
|
||||||
code_maxRank: `Максимальный ранг`,
|
|
||||||
code_rename: `Переименовать`,
|
|
||||||
code_renamePrompt: `Введите новое имя:`,
|
|
||||||
code_remove: `Удалить`,
|
|
||||||
code_addItemsConfirm: `Вы уверены, что хотите добавить |COUNT| предметов на ваш аккаунт?`,
|
|
||||||
code_noEquipmentToRankUp: `Нет снаряжения для повышения ранга.`,
|
|
||||||
code_succAdded: `Успешно добавлено.`,
|
|
||||||
code_buffsNumber: `Количество усилений`,
|
|
||||||
code_cursesNumber: `Количество проклятий`,
|
|
||||||
code_rerollsNumber: `Количество циклов`,
|
|
||||||
code_viewStats: `Просмотр характеристики`,
|
|
||||||
code_rank: `Ранг`,
|
|
||||||
code_count: `Количество`,
|
|
||||||
code_focusAllUnlocked: `Все школы фокуса уже разблокированы.`,
|
|
||||||
code_focusUnlocked: `Разблокировано |COUNT| новых школ фокуса! Для отображения изменений в игре потребуется обновление инвентаря. Посещение навигации — самый простой способ этого добиться.`,
|
|
||||||
code_addModsConfirm: `Вы уверены, что хотите добавить |COUNT| модов на ваш аккаунт?`,
|
|
||||||
code_succImport: `Успешно импортировано.`,
|
|
||||||
login_description: `Войдите, используя учетные данные OpenWF (те же, что и в игре при подключении к этому серверу).`,
|
|
||||||
login_emailLabel: `Адрес электронной почты`,
|
|
||||||
login_passwordLabel: `Пароль`,
|
|
||||||
login_loginButton: `Войти`,
|
|
||||||
navbar_logout: `Выйти`,
|
|
||||||
navbar_renameAccount: `Переименовать аккаунт`,
|
|
||||||
navbar_deleteAccount: `Удалить аккаунт`,
|
|
||||||
navbar_inventory: `Инвентарь`,
|
|
||||||
navbar_mods: `Моды`,
|
|
||||||
navbar_cheats: `Читы`,
|
|
||||||
navbar_import: `Импорт`,
|
|
||||||
inventory_addItems: `Добавить предметы`,
|
|
||||||
inventory_suits: `Варфреймы`,
|
|
||||||
inventory_longGuns: `Основное оружие`,
|
|
||||||
inventory_pistols: `Вторичное оружие`,
|
|
||||||
inventory_melee: `Оружие ближнего боя`,
|
|
||||||
inventory_spaceSuits: `Арчвинги`,
|
|
||||||
inventory_spaceGuns: `Оружие арчвинга`,
|
|
||||||
inventory_spaceMelee: `Оружие ближнего боя арчвинга`,
|
|
||||||
inventory_mechSuits: `Некрамехи`,
|
|
||||||
inventory_sentinels: `Стражи`,
|
|
||||||
inventory_sentinelWeapons: `Оружие стражей`,
|
|
||||||
inventory_operatorAmps: `Усилители`,
|
|
||||||
inventory_hoverboards: `К-Драйвы`,
|
|
||||||
inventory_bulkAddSuits: `Добавить отсутствующие варфреймы`,
|
|
||||||
inventory_bulkAddWeapons: `Добавить отсутствующее оружие`,
|
|
||||||
inventory_bulkAddSpaceSuits: `Добавить отсутствующие арчвинги`,
|
|
||||||
inventory_bulkAddSpaceWeapons: `Добавить отсутствующее оружие арчвингов`,
|
|
||||||
inventory_bulkAddSentinels: `Добавить отсутствующих стражей`,
|
|
||||||
inventory_bulkAddSentinelWeapons: `Добавить отсутствующее оружие стражей`,
|
|
||||||
inventory_bulkRankUpSuits: `Максимальный ранг всех варфреймов`,
|
|
||||||
inventory_bulkRankUpWeapons: `Максимальный ранг всего оружия`,
|
|
||||||
inventory_bulkRankUpSpaceSuits: `Максимальный ранг всех арчвингов`,
|
|
||||||
inventory_bulkRankUpSpaceWeapons: `Максимальный ранг всего оружия арчвингов`,
|
|
||||||
inventory_bulkRankUpSentinels: `Максимальный ранг всех стражей`,
|
|
||||||
inventory_bulkRankUpSentinelWeapons: `Максимальный ранг всего оружия стражей`,
|
|
||||||
powersuit_archonShardsLabel: `Ячейки осколков архонта`,
|
|
||||||
powersuit_archonShardsDescription: `Вы можете использовать эти неограниченные ячейки для установки множества улучшений.`,
|
|
||||||
mods_addRiven: `Добавить Мод Разлома`,
|
|
||||||
mods_fingerprint: `Отпечаток`,
|
|
||||||
mods_fingerprintHelp: `Нужна помощь с отпечатком?`,
|
|
||||||
mods_rivens: `Моды Разлома`,
|
|
||||||
mods_mods: `Моды`,
|
|
||||||
mods_bulkAddMods: `Добавить отсутствующие моды`,
|
|
||||||
cheats_administratorRequirement: `Вы должны быть администратором для использования этой функции. Чтобы стать администратором, добавьте <code>\"|DISPLAYNAME|\"</code> в <code>administratorNames</code> в config.json.`,
|
|
||||||
cheats_skipTutorial: `Пропустить обучение`,
|
|
||||||
cheats_skipAllDialogue: `Пропустить все диалоги`,
|
|
||||||
cheats_unlockAllScans: `Разблокировать все сканирования`,
|
|
||||||
cheats_unlockAllMissions: `Разблокировать все миссии`,
|
|
||||||
cheats_unlockAllQuests: `Разблокировать все квесты`,
|
|
||||||
cheats_completeAllQuests: `Завершить все квесты`,
|
|
||||||
cheats_infiniteCredits: `Бесконечные кредиты`,
|
|
||||||
cheats_infinitePlatinum: `Бесконечный платина`,
|
|
||||||
cheats_infiniteEndo: `Бесконечное эндо`,
|
|
||||||
cheats_infiniteRegalAya: `Бесконечная Королевская Айя`,
|
|
||||||
cheats_unlockAllShipFeatures: `Разблокировать все функции корабля`,
|
|
||||||
cheats_unlockAllShipDecorations: `Разблокировать все украшения корабля`,
|
|
||||||
cheats_unlockAllFlavourItems: `Разблокировать все <abbr title=\"Наборы анимаций, глифы, палитры и т. д.\">уникальные предметы</abbr>`,
|
|
||||||
cheats_unlockAllSkins: `Разблокировать все скины`,
|
|
||||||
cheats_unlockAllCapturaScenes: `Разблокировать все сцены Каптуры`,
|
|
||||||
cheats_universalPolarityEverywhere: `Универсальная полярность везде`,
|
|
||||||
cheats_unlockDoubleCapacityPotatoesEverywhere: `Катализаторы везде`,
|
|
||||||
cheats_unlockExilusEverywhere: `Адаптеры Эксилус везде`,
|
|
||||||
cheats_unlockArcanesEverywhere: `Адаптеры для мистификаторов везде`,
|
|
||||||
cheats_noDailyStandingLimits: `Без ежедневных ограничений репутации`,
|
|
||||||
cheats_spoofMasteryRank: `Подделанный ранг мастерства (-1 для отключения)`,
|
|
||||||
cheats_saveSettings: `Сохранить настройки`,
|
|
||||||
cheats_account: `Аккаунт`,
|
|
||||||
cheats_unlockAllFocusSchools: `Разблокировать все школы фокуса`,
|
|
||||||
cheats_helminthUnlockAll: `Полностью улучшить Гельминта`,
|
|
||||||
import_importNote: `Вы можете загрузить полный или частичный ответ инвентаря (клиентское представление) здесь. Все поддерживаемые поля <b>будут перезаписаны</b> в вашем аккаунте.`,
|
|
||||||
import_submit: `Отправить`,
|
|
||||||
}
|
|
Loading…
x
Reference in New Issue
Block a user