chore: use consistent name for Nights of Naberus event #2894
@ -38,7 +38,7 @@
 | 
			
		||||
    "anniversary": null,
 | 
			
		||||
    "hallowedNightmares": false,
 | 
			
		||||
    "hallowedNightmaresRewardsOverride": 0,
 | 
			
		||||
    "naberusNightsOverride": null,
 | 
			
		||||
    "nightsOfNaberusOverride": null,
 | 
			
		||||
    "proxyRebellion": false,
 | 
			
		||||
    "proxyRebellionRewardsOverride": 0,
 | 
			
		||||
    "voidCorruption2025Week1": false,
 | 
			
		||||
 | 
			
		||||
@ -48,7 +48,7 @@ export interface IConfig {
 | 
			
		||||
        anniversary?: number;
 | 
			
		||||
        hallowedNightmares?: boolean;
 | 
			
		||||
        hallowedNightmaresRewardsOverride?: number;
 | 
			
		||||
        naberusNightsOverride?: boolean;
 | 
			
		||||
        nightsOfNaberusOverride?: boolean;
 | 
			
		||||
        proxyRebellion?: boolean;
 | 
			
		||||
        proxyRebellionRewardsOverride?: number;
 | 
			
		||||
        voidCorruption2025Week1?: boolean;
 | 
			
		||||
 | 
			
		||||
@ -2761,19 +2761,19 @@ export const getWorldState = (buildLabel?: string): IWorldState => {
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    const isOctober = date.getUTCMonth() == 9; // October = month index 9
 | 
			
		||||
    if (config.worldState?.naberusNightsOverride ?? isOctober) {
 | 
			
		||||
    if (config.worldState?.nightsOfNaberusOverride ?? isOctober) {
 | 
			
		||||
        worldState.Goals.push({
 | 
			
		||||
            _id: { $oid: "66fd602de1778d583419e8e7" },
 | 
			
		||||
            Activation: {
 | 
			
		||||
                $date: {
 | 
			
		||||
                    $numberLong: config.worldState?.naberusNightsOverride
 | 
			
		||||
                    $numberLong: config.worldState?.nightsOfNaberusOverride
 | 
			
		||||
                        ? "1727881200000"
 | 
			
		||||
                        : Date.UTC(date.getUTCFullYear(), date.getUTCMonth(), 1).toString()
 | 
			
		||||
                }
 | 
			
		||||
            },
 | 
			
		||||
            Expiry: {
 | 
			
		||||
                $date: {
 | 
			
		||||
                    $numberLong: config.worldState?.naberusNightsOverride
 | 
			
		||||
                    $numberLong: config.worldState?.nightsOfNaberusOverride
 | 
			
		||||
                        ? "2000000000000"
 | 
			
		||||
                        : Date.UTC(date.getUTCFullYear(), date.getUTCMonth() + 1, 1).toString()
 | 
			
		||||
                }
 | 
			
		||||
 | 
			
		||||
@ -1272,8 +1272,8 @@
 | 
			
		||||
                                    </div>
 | 
			
		||||
                                </div>
 | 
			
		||||
                                <div class="form-group mt-2">
 | 
			
		||||
                                    <label class="form-label" for="worldState.naberusNightsOverride" data-loc="worldState_naberusNights"></label>
 | 
			
		||||
                                    <select class="form-control" id="worldState.naberusNightsOverride" data-default="null">
 | 
			
		||||
                                    <label class="form-label" for="worldState.nightsOfNaberusOverride" data-loc="worldState_nightsOfNaberus"></label>
 | 
			
		||||
                                    <select class="form-control" id="worldState.nightsOfNaberusOverride" data-default="null">
 | 
			
		||||
                                        <option value="null" data-loc="normal"></option>
 | 
			
		||||
                                        <option value="true" data-loc="enabled"></option>
 | 
			
		||||
                                        <option value="false" data-loc="disabled"></option>
 | 
			
		||||
 | 
			
		||||
@ -291,7 +291,7 @@ dict = {
 | 
			
		||||
    worldState_hallowedFlame: `Geweihte Flamme`,
 | 
			
		||||
    worldState_hallowedNightmares: `Geweihte Albträume`,
 | 
			
		||||
    worldState_hallowedNightmaresRewards: `[UNTRANSLATED] Hallowed Nightmares Rewards`,
 | 
			
		||||
    worldState_naberusNights: `[UNTRANSLATED] Nights of Naberus`,
 | 
			
		||||
    worldState_nightsOfNaberus: `[UNTRANSLATED] Nights of Naberus`,
 | 
			
		||||
    worldState_proxyRebellion: `Proxy-Rebellion`,
 | 
			
		||||
    worldState_proxyRebellionRewards: `[UNTRANSLATED] Proxy Rebellion Rewards`,
 | 
			
		||||
    worldState_bellyOfTheBeast: `Das Innere der Bestie`,
 | 
			
		||||
 | 
			
		||||
@ -290,7 +290,7 @@ dict = {
 | 
			
		||||
    worldState_hallowedFlame: `Hallowed Flame`,
 | 
			
		||||
    worldState_hallowedNightmares: `Hallowed Nightmares`,
 | 
			
		||||
    worldState_hallowedNightmaresRewards: `Hallowed Nightmares Rewards`,
 | 
			
		||||
    worldState_naberusNights: `Nights of Naberus`,
 | 
			
		||||
    worldState_nightsOfNaberus: `Nights of Naberus`,
 | 
			
		||||
    worldState_proxyRebellion: `Proxy Rebellion`,
 | 
			
		||||
    worldState_proxyRebellionRewards: `Proxy Rebellion Rewards`,
 | 
			
		||||
    worldState_bellyOfTheBeast: `Belly of the Beast`,
 | 
			
		||||
 | 
			
		||||
@ -291,7 +291,7 @@ dict = {
 | 
			
		||||
    worldState_hallowedFlame: `Llama Sagrada`,
 | 
			
		||||
    worldState_hallowedNightmares: `Pesadillas Sagradas`,
 | 
			
		||||
    worldState_hallowedNightmaresRewards: `Recompensas de Pesadillas Sagradas`,
 | 
			
		||||
    worldState_naberusNights: `Noches de Naberus`,
 | 
			
		||||
    worldState_nightsOfNaberus: `Noches de Naberus`,
 | 
			
		||||
    worldState_proxyRebellion: `Rebelión Proxy`,
 | 
			
		||||
    worldState_proxyRebellionRewards: `Recompensas de Rebelión Proxy`,
 | 
			
		||||
    worldState_bellyOfTheBeast: `Vientre de la Bestia`,
 | 
			
		||||
 | 
			
		||||
@ -291,7 +291,7 @@ dict = {
 | 
			
		||||
    worldState_hallowedFlame: `Flamme Hantée`,
 | 
			
		||||
    worldState_hallowedNightmares: `Cauchemars Hantés`,
 | 
			
		||||
    worldState_hallowedNightmaresRewards: `Récompenses Flamme Hantée Cauchemar`,
 | 
			
		||||
    worldState_naberusNights: `[UNTRANSLATED] Nights of Naberus`,
 | 
			
		||||
    worldState_nightsOfNaberus: `[UNTRANSLATED] Nights of Naberus`,
 | 
			
		||||
    worldState_proxyRebellion: `Rébellion Proxy`,
 | 
			
		||||
    worldState_proxyRebellionRewards: `Récompenses Rébellion Proxy`,
 | 
			
		||||
    worldState_bellyOfTheBeast: `Ventre de la Bête`,
 | 
			
		||||
 | 
			
		||||
@ -291,7 +291,7 @@ dict = {
 | 
			
		||||
    worldState_hallowedFlame: `Священное пламя`,
 | 
			
		||||
    worldState_hallowedNightmares: `Священные кошмары`,
 | 
			
		||||
    worldState_hallowedNightmaresRewards: `Награды Священных кошмаров`,
 | 
			
		||||
    worldState_naberusNights: `Ночи Наберуса`,
 | 
			
		||||
    worldState_nightsOfNaberus: `Ночи Наберуса`,
 | 
			
		||||
    worldState_proxyRebellion: `Восстание роботов`,
 | 
			
		||||
    worldState_proxyRebellionRewards: `Награды Восстания роботов`,
 | 
			
		||||
    worldState_bellyOfTheBeast: `Чрево зверя`,
 | 
			
		||||
 | 
			
		||||
@ -291,7 +291,7 @@ dict = {
 | 
			
		||||
    worldState_hallowedFlame: `Священне полум'я`,
 | 
			
		||||
    worldState_hallowedNightmares: `Священні жахіття`,
 | 
			
		||||
    worldState_hallowedNightmaresRewards: `Нагороди Священних жахіть`,
 | 
			
		||||
    worldState_naberusNights: `Наберові ночі`,
 | 
			
		||||
    worldState_nightsOfNaberus: `Наберові ночі`,
 | 
			
		||||
    worldState_proxyRebellion: `Повстання роботів`,
 | 
			
		||||
    worldState_proxyRebellionRewards: `Нагороди Повстання роботів`,
 | 
			
		||||
    worldState_bellyOfTheBeast: `У лігві звіра`,
 | 
			
		||||
 | 
			
		||||
@ -291,7 +291,7 @@ dict = {
 | 
			
		||||
    worldState_hallowedFlame: `万圣之焰`,
 | 
			
		||||
    worldState_hallowedNightmares: `万圣噩梦`,
 | 
			
		||||
    worldState_hallowedNightmaresRewards: `万圣噩梦奖励设置`,
 | 
			
		||||
    worldState_naberusNights: `[UNTRANSLATED] Nights of Naberus`,
 | 
			
		||||
    worldState_nightsOfNaberus: `[UNTRANSLATED] Nights of Naberus`,
 | 
			
		||||
    worldState_proxyRebellion: `机械叛乱`,
 | 
			
		||||
    worldState_proxyRebellionRewards: `机械叛乱奖励设置`,
 | 
			
		||||
    worldState_bellyOfTheBeast: `兽之腹`,
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user