forked from OpenWF/SpaceNinjaServer
feat: worldState.tennoLiveRelay config (#2568)
Re #2531 Reviewed-on: OpenWF/SpaceNinjaServer#2568 Co-authored-by: Sainan <63328889+Sainan@users.noreply.github.com> Co-committed-by: Sainan <63328889+Sainan@users.noreply.github.com>
This commit is contained in:
parent
8e639a16bd
commit
0a28eab65d
@ -70,6 +70,7 @@
|
|||||||
"creditBoost": false,
|
"creditBoost": false,
|
||||||
"affinityBoost": false,
|
"affinityBoost": false,
|
||||||
"resourceBoost": false,
|
"resourceBoost": false,
|
||||||
|
"tennoLiveRelay": false,
|
||||||
"starDays": true,
|
"starDays": true,
|
||||||
"galleonOfGhouls": 0,
|
"galleonOfGhouls": 0,
|
||||||
"eidolonOverride": "",
|
"eidolonOverride": "",
|
||||||
|
@ -81,6 +81,7 @@ export interface IConfig {
|
|||||||
creditBoost?: boolean;
|
creditBoost?: boolean;
|
||||||
affinityBoost?: boolean;
|
affinityBoost?: boolean;
|
||||||
resourceBoost?: boolean;
|
resourceBoost?: boolean;
|
||||||
|
tennoLiveRelay?: boolean;
|
||||||
starDays?: boolean;
|
starDays?: boolean;
|
||||||
galleonOfGhouls?: number;
|
galleonOfGhouls?: number;
|
||||||
eidolonOverride?: string;
|
eidolonOverride?: string;
|
||||||
|
@ -1375,6 +1375,32 @@ export const getWorldState = (buildLabel?: string): IWorldState => {
|
|||||||
worldState.PVPChallengeInstances = [];
|
worldState.PVPChallengeInstances = [];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (config.worldState?.tennoLiveRelay) {
|
||||||
|
worldState.Goals.push({
|
||||||
|
_id: {
|
||||||
|
$oid: "687bf9400000000000000000"
|
||||||
|
},
|
||||||
|
Activation: {
|
||||||
|
$date: {
|
||||||
|
$numberLong: "1752955200000"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
Expiry: {
|
||||||
|
$date: {
|
||||||
|
$numberLong: "2000000000000"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
Count: 0,
|
||||||
|
Goal: 0,
|
||||||
|
Success: 0,
|
||||||
|
Personal: true,
|
||||||
|
Desc: "/Lotus/Language/Locations/RelayStationTennoConB",
|
||||||
|
ToolTip: "/Lotus/Language/Locations/RelayStationTennoConDescB",
|
||||||
|
Icon: "/Lotus/Interface/Icons/Categories/IconTennoLive.png",
|
||||||
|
Tag: "TennoConRelayB",
|
||||||
|
Node: "TennoConBHUB6"
|
||||||
|
});
|
||||||
|
}
|
||||||
if (config.worldState?.starDays) {
|
if (config.worldState?.starDays) {
|
||||||
worldState.Goals.push({
|
worldState.Goals.push({
|
||||||
_id: { $oid: "67a4dcce2a198564d62e1647" },
|
_id: { $oid: "67a4dcce2a198564d62e1647" },
|
||||||
|
@ -925,6 +925,10 @@
|
|||||||
<input class="form-check-input" type="checkbox" id="worldState.resourceBoost" />
|
<input class="form-check-input" type="checkbox" id="worldState.resourceBoost" />
|
||||||
<label class="form-check-label" for="worldState.resourceBoost" data-loc="worldState_resourceBoost"></label>
|
<label class="form-check-label" for="worldState.resourceBoost" data-loc="worldState_resourceBoost"></label>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="form-check">
|
||||||
|
<input class="form-check-input" type="checkbox" id="worldState.tennoLiveRelay" />
|
||||||
|
<label class="form-check-label" for="worldState.tennoLiveRelay" data-loc="worldState_tennoLiveRelay"></label>
|
||||||
|
</div>
|
||||||
<div class="form-check">
|
<div class="form-check">
|
||||||
<input class="form-check-input" type="checkbox" id="worldState.starDays" />
|
<input class="form-check-input" type="checkbox" id="worldState.starDays" />
|
||||||
<label class="form-check-label" for="worldState.starDays" data-loc="worldState_starDays"></label>
|
<label class="form-check-label" for="worldState.starDays" data-loc="worldState_starDays"></label>
|
||||||
|
@ -242,6 +242,7 @@ dict = {
|
|||||||
worldState_creditBoost: `Event Booster: Credit`,
|
worldState_creditBoost: `Event Booster: Credit`,
|
||||||
worldState_affinityBoost: `Event Booster: Erfahrung`,
|
worldState_affinityBoost: `Event Booster: Erfahrung`,
|
||||||
worldState_resourceBoost: `Event Booster: Ressourcen`,
|
worldState_resourceBoost: `Event Booster: Ressourcen`,
|
||||||
|
worldState_tennoLiveRelay: `[UNTRANSLATED] TennoLive Relay`,
|
||||||
worldState_starDays: `Sternen-Tage`,
|
worldState_starDays: `Sternen-Tage`,
|
||||||
worldState_galleonOfGhouls: `Galeone der Ghule`,
|
worldState_galleonOfGhouls: `Galeone der Ghule`,
|
||||||
disabled: `Deaktiviert`,
|
disabled: `Deaktiviert`,
|
||||||
|
@ -241,6 +241,7 @@ dict = {
|
|||||||
worldState_creditBoost: `Credit Boost`,
|
worldState_creditBoost: `Credit Boost`,
|
||||||
worldState_affinityBoost: `Affinity Boost`,
|
worldState_affinityBoost: `Affinity Boost`,
|
||||||
worldState_resourceBoost: `Resource Boost`,
|
worldState_resourceBoost: `Resource Boost`,
|
||||||
|
worldState_tennoLiveRelay: `TennoLive Relay`,
|
||||||
worldState_starDays: `Star Days`,
|
worldState_starDays: `Star Days`,
|
||||||
worldState_galleonOfGhouls: `Galleon of Ghouls`,
|
worldState_galleonOfGhouls: `Galleon of Ghouls`,
|
||||||
disabled: `Disabled`,
|
disabled: `Disabled`,
|
||||||
|
@ -242,6 +242,7 @@ dict = {
|
|||||||
worldState_creditBoost: `Potenciador de Créditos`,
|
worldState_creditBoost: `Potenciador de Créditos`,
|
||||||
worldState_affinityBoost: `Potenciador de Afinidad`,
|
worldState_affinityBoost: `Potenciador de Afinidad`,
|
||||||
worldState_resourceBoost: `Potenciador de Recursos`,
|
worldState_resourceBoost: `Potenciador de Recursos`,
|
||||||
|
worldState_tennoLiveRelay: `[UNTRANSLATED] TennoLive Relay`,
|
||||||
worldState_starDays: `Días estelares`,
|
worldState_starDays: `Días estelares`,
|
||||||
worldState_galleonOfGhouls: `Galeón de Gules`,
|
worldState_galleonOfGhouls: `Galeón de Gules`,
|
||||||
disabled: `Desactivado`,
|
disabled: `Desactivado`,
|
||||||
|
@ -242,6 +242,7 @@ dict = {
|
|||||||
worldState_creditBoost: `Booster de Crédit`,
|
worldState_creditBoost: `Booster de Crédit`,
|
||||||
worldState_affinityBoost: `Booster d'Affinité`,
|
worldState_affinityBoost: `Booster d'Affinité`,
|
||||||
worldState_resourceBoost: `Booster de Ressource`,
|
worldState_resourceBoost: `Booster de Ressource`,
|
||||||
|
worldState_tennoLiveRelay: `[UNTRANSLATED] TennoLive Relay`,
|
||||||
worldState_starDays: `Jours Stellaires`,
|
worldState_starDays: `Jours Stellaires`,
|
||||||
worldState_galleonOfGhouls: `Galion des Goules`,
|
worldState_galleonOfGhouls: `Galion des Goules`,
|
||||||
disabled: `Désactivé`,
|
disabled: `Désactivé`,
|
||||||
|
@ -242,6 +242,7 @@ dict = {
|
|||||||
worldState_creditBoost: `[UNTRANSLATED] Credit Boost`,
|
worldState_creditBoost: `[UNTRANSLATED] Credit Boost`,
|
||||||
worldState_affinityBoost: `[UNTRANSLATED] Affinity Boost`,
|
worldState_affinityBoost: `[UNTRANSLATED] Affinity Boost`,
|
||||||
worldState_resourceBoost: `[UNTRANSLATED] Resource Boost`,
|
worldState_resourceBoost: `[UNTRANSLATED] Resource Boost`,
|
||||||
|
worldState_tennoLiveRelay: `[UNTRANSLATED] TennoLive Relay`,
|
||||||
worldState_starDays: `[UNTRANSLATED] Star Days`,
|
worldState_starDays: `[UNTRANSLATED] Star Days`,
|
||||||
worldState_galleonOfGhouls: `[UNTRANSLATED] Galleon of Ghouls`,
|
worldState_galleonOfGhouls: `[UNTRANSLATED] Galleon of Ghouls`,
|
||||||
disabled: `[UNTRANSLATED] Disabled`,
|
disabled: `[UNTRANSLATED] Disabled`,
|
||||||
|
@ -242,6 +242,7 @@ dict = {
|
|||||||
worldState_creditBoost: `现金加成`,
|
worldState_creditBoost: `现金加成`,
|
||||||
worldState_affinityBoost: `经验加成`,
|
worldState_affinityBoost: `经验加成`,
|
||||||
worldState_resourceBoost: `资源加成`,
|
worldState_resourceBoost: `资源加成`,
|
||||||
|
worldState_tennoLiveRelay: `[UNTRANSLATED] TennoLive Relay`,
|
||||||
worldState_starDays: `活动:星日`,
|
worldState_starDays: `活动:星日`,
|
||||||
worldState_galleonOfGhouls: `战术警报:尸鬼的帆船战舰`,
|
worldState_galleonOfGhouls: `战术警报:尸鬼的帆船战舰`,
|
||||||
disabled: `关闭/取消配置`,
|
disabled: `关闭/取消配置`,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user