feat: worldState.tennoLiveRelay config
All checks were successful
Build / build (pull_request) Successful in 1m29s
All checks were successful
Build / build (pull_request) Successful in 1m29s
This commit is contained in:
parent
8f77c722cb
commit
25f8d3d583
@ -70,6 +70,7 @@
|
||||
"creditBoost": false,
|
||||
"affinityBoost": false,
|
||||
"resourceBoost": false,
|
||||
"tennoLiveRelay": false,
|
||||
"starDays": true,
|
||||
"galleonOfGhouls": 0,
|
||||
"eidolonOverride": "",
|
||||
|
@ -81,6 +81,7 @@ export interface IConfig {
|
||||
creditBoost?: boolean;
|
||||
affinityBoost?: boolean;
|
||||
resourceBoost?: boolean;
|
||||
tennoLiveRelay?: boolean;
|
||||
starDays?: boolean;
|
||||
galleonOfGhouls?: number;
|
||||
eidolonOverride?: string;
|
||||
|
@ -1367,6 +1367,32 @@ export const getWorldState = (buildLabel?: string): IWorldState => {
|
||||
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) {
|
||||
worldState.Goals.push({
|
||||
_id: { $oid: "67a4dcce2a198564d62e1647" },
|
||||
|
@ -925,6 +925,10 @@
|
||||
<input class="form-check-input" type="checkbox" id="worldState.resourceBoost" />
|
||||
<label class="form-check-label" for="worldState.resourceBoost" data-loc="worldState_resourceBoost"></label>
|
||||
</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">
|
||||
<input class="form-check-input" type="checkbox" id="worldState.starDays" />
|
||||
<label class="form-check-label" for="worldState.starDays" data-loc="worldState_starDays"></label>
|
||||
|
@ -242,6 +242,7 @@ dict = {
|
||||
worldState_creditBoost: `Event Booster: Credit`,
|
||||
worldState_affinityBoost: `Event Booster: Erfahrung`,
|
||||
worldState_resourceBoost: `Event Booster: Ressourcen`,
|
||||
worldState_tennoLiveRelay: `[UNTRANSLATED] TennoLive Relay`,
|
||||
worldState_starDays: `Sternen-Tage`,
|
||||
worldState_galleonOfGhouls: `Galeone der Ghule`,
|
||||
disabled: `Deaktiviert`,
|
||||
|
@ -241,6 +241,7 @@ dict = {
|
||||
worldState_creditBoost: `Credit Boost`,
|
||||
worldState_affinityBoost: `Affinity Boost`,
|
||||
worldState_resourceBoost: `Resource Boost`,
|
||||
worldState_tennoLiveRelay: `TennoLive Relay`,
|
||||
worldState_starDays: `Star Days`,
|
||||
worldState_galleonOfGhouls: `Galleon of Ghouls`,
|
||||
disabled: `Disabled`,
|
||||
|
@ -242,6 +242,7 @@ dict = {
|
||||
worldState_creditBoost: `Potenciador de Créditos`,
|
||||
worldState_affinityBoost: `Potenciador de Afinidad`,
|
||||
worldState_resourceBoost: `Potenciador de Recursos`,
|
||||
worldState_tennoLiveRelay: `[UNTRANSLATED] TennoLive Relay`,
|
||||
worldState_starDays: `Días estelares`,
|
||||
worldState_galleonOfGhouls: `Galeón de Gules`,
|
||||
disabled: `Desactivado`,
|
||||
|
@ -242,6 +242,7 @@ dict = {
|
||||
worldState_creditBoost: `Booster de Crédit`,
|
||||
worldState_affinityBoost: `Booster d'Affinité`,
|
||||
worldState_resourceBoost: `Booster de Ressource`,
|
||||
worldState_tennoLiveRelay: `[UNTRANSLATED] TennoLive Relay`,
|
||||
worldState_starDays: `Jours Stellaires`,
|
||||
worldState_galleonOfGhouls: `Galion des Goules`,
|
||||
disabled: `Désactivé`,
|
||||
|
@ -242,6 +242,7 @@ dict = {
|
||||
worldState_creditBoost: `[UNTRANSLATED] Credit Boost`,
|
||||
worldState_affinityBoost: `[UNTRANSLATED] Affinity Boost`,
|
||||
worldState_resourceBoost: `[UNTRANSLATED] Resource Boost`,
|
||||
worldState_tennoLiveRelay: `[UNTRANSLATED] TennoLive Relay`,
|
||||
worldState_starDays: `[UNTRANSLATED] Star Days`,
|
||||
worldState_galleonOfGhouls: `[UNTRANSLATED] Galleon of Ghouls`,
|
||||
disabled: `[UNTRANSLATED] Disabled`,
|
||||
|
@ -242,6 +242,7 @@ dict = {
|
||||
worldState_creditBoost: `现金加成`,
|
||||
worldState_affinityBoost: `经验加成`,
|
||||
worldState_resourceBoost: `资源加成`,
|
||||
worldState_tennoLiveRelay: `[UNTRANSLATED] TennoLive Relay`,
|
||||
worldState_starDays: `活动:星日`,
|
||||
worldState_galleonOfGhouls: `战术警报:尸鬼的帆船战舰`,
|
||||
disabled: `关闭/取消配置`,
|
||||
|
Loading…
x
Reference in New Issue
Block a user