From b09ef0f21bda554e8b481db6abe536ac28c9ba3e Mon Sep 17 00:00:00 2001 From: AMelonInsideLemon <166175391+AMelonInsideLemon@users.noreply.github.com> Date: Mon, 17 Nov 2025 00:04:53 -0800 Subject: [PATCH] feat(webui): revive booster (#3018) Co-authored-by: Sainan <63328889+Sainan@users.noreply.github.com> Reviewed-on: https://onlyg.it/OpenWF/SpaceNinjaServer/pulls/3018 Reviewed-by: Sainan <63328889+sainan@users.noreply.github.com> Co-authored-by: AMelonInsideLemon <166175391+AMelonInsideLemon@users.noreply.github.com> Co-committed-by: AMelonInsideLemon <166175391+AMelonInsideLemon@users.noreply.github.com> --- static/webui/script.js | 13 +++++++++++++ static/webui/translations/de.js | 2 ++ static/webui/translations/en.js | 2 ++ static/webui/translations/es.js | 2 ++ static/webui/translations/fr.js | 2 ++ static/webui/translations/ru.js | 2 ++ static/webui/translations/uk.js | 2 ++ static/webui/translations/zh.js | 2 ++ 8 files changed, 27 insertions(+) diff --git a/static/webui/script.js b/static/webui/script.js index 7eabcebe..9c00d30e 100644 --- a/static/webui/script.js +++ b/static/webui/script.js @@ -472,6 +472,12 @@ function fetchItemList() { name: loc("disabled") }); + data.Boosters ??= []; + data.Boosters.push({ + uniqueName: "/Lotus/Types/Boosters/ReviveBooster", + name: loc("code_reviveBooster") + }); + const itemMap = { // Generics for rivens "/Lotus/Weapons/Tenno/Archwing/Primary/ArchGun": { name: loc("code_archgun") }, @@ -1053,6 +1059,13 @@ function updateInventory() { const td = document.createElement("td"); td.textContent = itemMap[item.ItemType]?.name ?? item.ItemType; tr.appendChild(td); + if (item.ItemType == "/Lotus/Types/Boosters/ReviveBooster") { + td.textContent += " "; + const abbr = document.createElement("abbr"); + abbr.innerHTML = ``; + abbr.title = loc("code_reviveBoosterDesc"); + td.appendChild(abbr); + } } { const td = document.createElement("td"); diff --git a/static/webui/translations/de.js b/static/webui/translations/de.js index 37fb291c..65d94ec8 100644 --- a/static/webui/translations/de.js +++ b/static/webui/translations/de.js @@ -79,6 +79,8 @@ dict = { code_drifterBeardName: `Drifter-Bart: |INDEX|`, code_drifterFaceName: `Drifter-Gesicht: |INDEX|`, code_operatorFaceName: `Operator-Gesicht: |INDEX|`, + code_reviveBooster: `Wiederbelebungsbooster`, + code_reviveBoosterDesc: `[UNTRANSLATED] Sets revive count to 4, which allows self-revive in Archon Hunts.`, code_succChange: `Erfolgreich geändert.`, code_requiredInvigorationUpgrade: `Du musst sowohl ein Offensiv- als auch ein Support-Upgrade auswählen.`, code_feature_1: `[UNTRANSLATED] Orokin Reactor`, diff --git a/static/webui/translations/en.js b/static/webui/translations/en.js index 47ef0d1d..890782b5 100644 --- a/static/webui/translations/en.js +++ b/static/webui/translations/en.js @@ -78,6 +78,8 @@ dict = { code_drifterBeardName: `Drifter Beard |INDEX|`, code_drifterFaceName: `Drifter Visage |INDEX|`, code_operatorFaceName: `Operator Visage |INDEX|`, + code_reviveBooster: `Revive Booster`, + code_reviveBoosterDesc: `Sets revive count to 4, which allows self-revive in Archon Hunts.`, code_succChange: `Successfully changed.`, code_requiredInvigorationUpgrade: `You must select both an offensive & utility upgrade.`, code_feature_1: `Orokin Reactor`, diff --git a/static/webui/translations/es.js b/static/webui/translations/es.js index e8109a60..3938ddf2 100644 --- a/static/webui/translations/es.js +++ b/static/webui/translations/es.js @@ -79,6 +79,8 @@ dict = { code_drifterBeardName: `Barba del Viajero: |INDEX|`, code_drifterFaceName: `Rostro del Viajero |INDEX|`, code_operatorFaceName: `Rostro del operador |INDEX|`, + code_reviveBooster: `Potenciador de reanimaciones`, + code_reviveBoosterDesc: `[UNTRANSLATED] Sets revive count to 4, which allows self-revive in Archon Hunts.`, code_succChange: `Cambiado correctamente`, code_requiredInvigorationUpgrade: `Debes seleccionar una mejora ofensiva y una mejora de utilidad.`, code_feature_1: `[UNTRANSLATED] Orokin Reactor`, diff --git a/static/webui/translations/fr.js b/static/webui/translations/fr.js index 606d68f8..bed177cb 100644 --- a/static/webui/translations/fr.js +++ b/static/webui/translations/fr.js @@ -79,6 +79,8 @@ dict = { code_drifterBeardName: `Barbe du Voyageur |INDEX|`, code_drifterFaceName: `Visage du Voyageur |INDEX|`, code_operatorFaceName: `Visage de l'Opérateur |INDEX|`, + code_reviveBooster: `Booster de Réanimation`, + code_reviveBoosterDesc: `[UNTRANSLATED] Sets revive count to 4, which allows self-revive in Archon Hunts.`, code_succChange: `Changement effectué.`, code_requiredInvigorationUpgrade: `Invigoration offensive et défensive requises.`, code_feature_1: `[UNTRANSLATED] Orokin Reactor`, diff --git a/static/webui/translations/ru.js b/static/webui/translations/ru.js index 727d8d3f..d5b0c633 100644 --- a/static/webui/translations/ru.js +++ b/static/webui/translations/ru.js @@ -79,6 +79,8 @@ dict = { code_drifterBeardName: `Борода скитальца: |INDEX|`, code_drifterFaceName: `Внешность скитальца: |INDEX|`, code_operatorFaceName: `Внешность оператора: |INDEX|`, + code_reviveBooster: `Усилитель возрождения`, + code_reviveBoosterDesc: `Устанавливает количество возрождений на 4. Снимает ограничение на самовоскрешение на миссиях Охоты на архонтов.`, code_succChange: `Успешно изменено.`, code_requiredInvigorationUpgrade: `Вы должны выбрать как атакующее, так и вспомогательное улучшение.`, code_feature_1: `Реактор Орокин`, diff --git a/static/webui/translations/uk.js b/static/webui/translations/uk.js index 49fa93b1..8c79c51d 100644 --- a/static/webui/translations/uk.js +++ b/static/webui/translations/uk.js @@ -79,6 +79,8 @@ dict = { code_drifterBeardName: `Борода мандрівника: |INDEX|`, code_drifterFaceName: `Зовнішність мандрівника: |INDEX|`, code_operatorFaceName: `Зовнішність оператора: |INDEX|`, + code_reviveBooster: `Збільшувач зцілення`, + code_reviveBoosterDesc: `[UNTRANSLATED] Sets revive count to 4, which allows self-revive in Archon Hunts.`, code_succChange: `Успішно змінено.`, code_requiredInvigorationUpgrade: `Ви повинні вибрати як атакуюче, так і допоміжне вдосконалення.`, code_feature_1: `[UNTRANSLATED] Orokin Reactor`, diff --git a/static/webui/translations/zh.js b/static/webui/translations/zh.js index a5df62fc..e95904c0 100644 --- a/static/webui/translations/zh.js +++ b/static/webui/translations/zh.js @@ -79,6 +79,8 @@ dict = { code_drifterBeardName: `漂泊者胡须 |INDEX|`, code_drifterFaceName: `漂泊者面部 |INDEX|`, code_operatorFaceName: `指挥官面部 |INDEX|`, + code_reviveBooster: `复活加速器`, + code_reviveBoosterDesc: `[UNTRANSLATED] Sets revive count to 4, which allows self-revive in Archon Hunts.`, code_succChange: `更改成功`, code_requiredInvigorationUpgrade: `[UNTRANSLATED] You must select both an offensive & utility upgrade.`, code_feature_1: `[UNTRANSLATED] Orokin Reactor`,