feat: Nights of Naberus #2817
@ -38,6 +38,7 @@
|
|||||||
"anniversary": null,
|
"anniversary": null,
|
||||||
"hallowedNightmares": false,
|
"hallowedNightmares": false,
|
||||||
"hallowedNightmaresRewardsOverride": 0,
|
"hallowedNightmaresRewardsOverride": 0,
|
||||||
|
"naberusNightsOverride": null,
|
||||||
"proxyRebellion": false,
|
"proxyRebellion": false,
|
||||||
"proxyRebellionRewardsOverride": 0,
|
"proxyRebellionRewardsOverride": 0,
|
||||||
"galleonOfGhouls": 0,
|
"galleonOfGhouls": 0,
|
||||||
|
|||||||
@ -48,6 +48,7 @@ export interface IConfig {
|
|||||||
anniversary?: number;
|
anniversary?: number;
|
||||||
hallowedNightmares?: boolean;
|
hallowedNightmares?: boolean;
|
||||||
hallowedNightmaresRewardsOverride?: number;
|
hallowedNightmaresRewardsOverride?: number;
|
||||||
|
naberusNightsOverride?: boolean;
|
||||||
proxyRebellion?: boolean;
|
proxyRebellion?: boolean;
|
||||||
proxyRebellionRewardsOverride?: number;
|
proxyRebellionRewardsOverride?: number;
|
||||||
galleonOfGhouls?: number;
|
galleonOfGhouls?: number;
|
||||||
|
|||||||
@ -2504,6 +2504,37 @@ export const getWorldState = (buildLabel?: string): IWorldState => {
|
|||||||
BonusReward: { items: ["/Lotus/StoreItems/Upgrades/Skins/Clan/BountyHunterBadgeItem"] }
|
BonusReward: { items: ["/Lotus/StoreItems/Upgrades/Skins/Clan/BountyHunterBadgeItem"] }
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const isOctober = date.getUTCMonth() == 9; // October = month index 9
|
||||||
|
if (config.worldState?.naberusNightsOverride ?? isOctober) {
|
||||||
|
worldState.Goals.push({
|
||||||
|
_id: { $oid: "66fd602de1778d583419e8e7" },
|
||||||
|
Activation: {
|
||||||
|
$date: {
|
||||||
|
$numberLong: config.worldState?.naberusNightsOverride
|
||||||
|
? "1727881200000"
|
||||||
|
: Date.UTC(date.getUTCFullYear(), date.getUTCMonth(), 1).toString()
|
||||||
|
}
|
||||||
|
},
|
||||||
|
Expiry: {
|
||||||
|
$date: {
|
||||||
|
$numberLong: config.worldState?.naberusNightsOverride
|
||||||
|
? "2000000000000"
|
||||||
|
: Date.UTC(date.getUTCFullYear(), date.getUTCMonth() + 1, 1).toString()
|
||||||
|
}
|
||||||
|
},
|
||||||
|
Count: 0,
|
||||||
|
Goal: 0,
|
||||||
|
Success: 0,
|
||||||
|
Personal: true,
|
||||||
|
Desc: "/Lotus/Language/Events/HalloweenNaberusName",
|
||||||
|
ToolTip: "/Lotus/Language/Events/HalloweenNaberusDesc",
|
||||||
|
Icon: "/Lotus/Interface/Icons/JackOLanternColour.png",
|
||||||
|
Tag: "DeimosHalloween",
|
||||||
|
Node: "DeimosHub"
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
if (config.worldState?.bellyOfTheBeast) {
|
if (config.worldState?.bellyOfTheBeast) {
|
||||||
worldState.Goals.push({
|
worldState.Goals.push({
|
||||||
_id: { $oid: "67a5035c2a198564d62e165e" },
|
_id: { $oid: "67a5035c2a198564d62e165e" },
|
||||||
|
|||||||
@ -1207,6 +1207,14 @@
|
|||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="form-group mt-2">
|
||||||
|
<label class="form-label" for="worldState.naberusNightsOverride" data-loc="worldState_naberusNights"></label>
|
||||||
|
Slayer55555 marked this conversation as resolved
Outdated
|
|||||||
|
<select class="form-control" id="worldState.naberusNightsOverride" data-default="null">
|
||||||
|
<option value="null" data-loc="normal"></option>
|
||||||
|
<option value="true" data-loc="enabled"></option>
|
||||||
|
<option value="false" data-loc="disabled"></option>
|
||||||
|
</select>
|
||||||
|
</div>
|
||||||
<div class="form-group mt-2 d-flex gap-2">
|
<div class="form-group mt-2 d-flex gap-2">
|
||||||
<div class="flex-fill">
|
<div class="flex-fill">
|
||||||
<label class="form-label" for="worldState.proxyRebellion" data-loc="worldState_proxyRebellion"></label>
|
<label class="form-label" for="worldState.proxyRebellion" data-loc="worldState_proxyRebellion"></label>
|
||||||
|
|||||||
@ -284,6 +284,7 @@ dict = {
|
|||||||
worldState_hallowedFlame: `Geweihte Flamme`,
|
worldState_hallowedFlame: `Geweihte Flamme`,
|
||||||
worldState_hallowedNightmares: `Geweihte Albträume`,
|
worldState_hallowedNightmares: `Geweihte Albträume`,
|
||||||
worldState_hallowedNightmaresRewards: `[UNTRANSLATED] Hallowed Nightmares Rewards`,
|
worldState_hallowedNightmaresRewards: `[UNTRANSLATED] Hallowed Nightmares Rewards`,
|
||||||
|
worldState_naberusNights: `[UNTRANSLATED] Nights of Naberus`,
|
||||||
worldState_proxyRebellion: `Proxy-Rebellion`,
|
worldState_proxyRebellion: `Proxy-Rebellion`,
|
||||||
worldState_proxyRebellionRewards: `[UNTRANSLATED] Proxy Rebellion Rewards`,
|
worldState_proxyRebellionRewards: `[UNTRANSLATED] Proxy Rebellion Rewards`,
|
||||||
worldState_bellyOfTheBeast: `Das Innere der Bestie`,
|
worldState_bellyOfTheBeast: `Das Innere der Bestie`,
|
||||||
|
|||||||
@ -283,6 +283,7 @@ dict = {
|
|||||||
worldState_hallowedFlame: `Hallowed Flame`,
|
worldState_hallowedFlame: `Hallowed Flame`,
|
||||||
worldState_hallowedNightmares: `Hallowed Nightmares`,
|
worldState_hallowedNightmares: `Hallowed Nightmares`,
|
||||||
worldState_hallowedNightmaresRewards: `Hallowed Nightmares Rewards`,
|
worldState_hallowedNightmaresRewards: `Hallowed Nightmares Rewards`,
|
||||||
|
worldState_naberusNights: `Nights of Naberus`,
|
||||||
worldState_proxyRebellion: `Proxy Rebellion`,
|
worldState_proxyRebellion: `Proxy Rebellion`,
|
||||||
worldState_proxyRebellionRewards: `Proxy Rebellion Rewards`,
|
worldState_proxyRebellionRewards: `Proxy Rebellion Rewards`,
|
||||||
worldState_bellyOfTheBeast: `Belly of the Beast`,
|
worldState_bellyOfTheBeast: `Belly of the Beast`,
|
||||||
|
|||||||
@ -284,6 +284,7 @@ dict = {
|
|||||||
worldState_hallowedFlame: `Llama Sagrada`,
|
worldState_hallowedFlame: `Llama Sagrada`,
|
||||||
worldState_hallowedNightmares: `Pesadillas Sagradas`,
|
worldState_hallowedNightmares: `Pesadillas Sagradas`,
|
||||||
worldState_hallowedNightmaresRewards: `Recompensas de Pesadillas Sagradas`,
|
worldState_hallowedNightmaresRewards: `Recompensas de Pesadillas Sagradas`,
|
||||||
|
worldState_naberusNights: `Noches de Naberus`,
|
||||||
worldState_proxyRebellion: `Rebelión Proxy`,
|
worldState_proxyRebellion: `Rebelión Proxy`,
|
||||||
worldState_proxyRebellionRewards: `Recompensas de Rebelión Proxy`,
|
worldState_proxyRebellionRewards: `Recompensas de Rebelión Proxy`,
|
||||||
worldState_bellyOfTheBeast: `Vientre de la Bestia`,
|
worldState_bellyOfTheBeast: `Vientre de la Bestia`,
|
||||||
|
|||||||
@ -284,6 +284,7 @@ dict = {
|
|||||||
worldState_hallowedFlame: `Flamme Hantée`,
|
worldState_hallowedFlame: `Flamme Hantée`,
|
||||||
worldState_hallowedNightmares: `Cauchemars Hantés`,
|
worldState_hallowedNightmares: `Cauchemars Hantés`,
|
||||||
worldState_hallowedNightmaresRewards: `Récompenses Flamme Hantée Cauchemar`,
|
worldState_hallowedNightmaresRewards: `Récompenses Flamme Hantée Cauchemar`,
|
||||||
|
worldState_naberusNights: `[UNTRANSLATED] Nights of Naberus`,
|
||||||
worldState_proxyRebellion: `Rébellion Proxy`,
|
worldState_proxyRebellion: `Rébellion Proxy`,
|
||||||
worldState_proxyRebellionRewards: `Récompenses Rébellion Proxy`,
|
worldState_proxyRebellionRewards: `Récompenses Rébellion Proxy`,
|
||||||
worldState_bellyOfTheBeast: `Ventre de la Bête`,
|
worldState_bellyOfTheBeast: `Ventre de la Bête`,
|
||||||
|
|||||||
@ -284,6 +284,7 @@ dict = {
|
|||||||
worldState_hallowedFlame: `Священное пламя`,
|
worldState_hallowedFlame: `Священное пламя`,
|
||||||
worldState_hallowedNightmares: `Священные кошмары`,
|
worldState_hallowedNightmares: `Священные кошмары`,
|
||||||
worldState_hallowedNightmaresRewards: `Награды Священных кошмаров`,
|
worldState_hallowedNightmaresRewards: `Награды Священных кошмаров`,
|
||||||
|
worldState_naberusNights: `[UNTRANSLATED] Nights of Naberus`,
|
||||||
worldState_proxyRebellion: `Восстание роботов`,
|
worldState_proxyRebellion: `Восстание роботов`,
|
||||||
worldState_proxyRebellionRewards: `Награды Восстания роботов`,
|
worldState_proxyRebellionRewards: `Награды Восстания роботов`,
|
||||||
worldState_bellyOfTheBeast: `Чрево зверя`,
|
worldState_bellyOfTheBeast: `Чрево зверя`,
|
||||||
|
|||||||
@ -284,6 +284,7 @@ dict = {
|
|||||||
worldState_hallowedFlame: `Священне полум'я`,
|
worldState_hallowedFlame: `Священне полум'я`,
|
||||||
worldState_hallowedNightmares: `Священні жахіття`,
|
worldState_hallowedNightmares: `Священні жахіття`,
|
||||||
worldState_hallowedNightmaresRewards: `Нагороди Священних жахіть`,
|
worldState_hallowedNightmaresRewards: `Нагороди Священних жахіть`,
|
||||||
|
worldState_naberusNights: `[UNTRANSLATED] Nights of Naberus`,
|
||||||
worldState_proxyRebellion: `Повстання роботів`,
|
worldState_proxyRebellion: `Повстання роботів`,
|
||||||
worldState_proxyRebellionRewards: `Нагороди Повстання роботів`,
|
worldState_proxyRebellionRewards: `Нагороди Повстання роботів`,
|
||||||
worldState_bellyOfTheBeast: `У лігві звіра`,
|
worldState_bellyOfTheBeast: `У лігві звіра`,
|
||||||
|
|||||||
@ -284,6 +284,7 @@ dict = {
|
|||||||
worldState_hallowedFlame: `万圣之焰`,
|
worldState_hallowedFlame: `万圣之焰`,
|
||||||
worldState_hallowedNightmares: `万圣噩梦`,
|
worldState_hallowedNightmares: `万圣噩梦`,
|
||||||
worldState_hallowedNightmaresRewards: `万圣噩梦奖励设置`,
|
worldState_hallowedNightmaresRewards: `万圣噩梦奖励设置`,
|
||||||
|
worldState_naberusNights: `[UNTRANSLATED] Nights of Naberus`,
|
||||||
worldState_proxyRebellion: `机械叛乱`,
|
worldState_proxyRebellion: `机械叛乱`,
|
||||||
worldState_proxyRebellionRewards: `机械叛乱奖励设置`,
|
worldState_proxyRebellionRewards: `机械叛乱奖励设置`,
|
||||||
worldState_bellyOfTheBeast: `兽之腹`,
|
worldState_bellyOfTheBeast: `兽之腹`,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user
worldState_naberusNightsOverride is missing in translations