allow hatching potions to have a release date

This commit is contained in:
Phillip Thelen
2024-06-10 14:24:59 +02:00
parent 89a3ac3dde
commit 3333f8f0f5
7 changed files with 39 additions and 22 deletions
+5 -13
View File
@@ -2,17 +2,9 @@ import each from 'lodash/each';
import moment from 'moment';
import { EVENTS } from './constants/events';
import allEggs from './eggs';
import {
drops as dropPotions,
premium as premiumPotions,
wacky as wackyPotions,
} from './hatching-potions';
import allPotions from './hatching-potions';
import t from './translation';
const STABLE_RELEASE_DATES = {
};
const petInfo = {};
const mountInfo = {};
@@ -131,10 +123,10 @@ const canFindSpecial = {
},
};
const [dropPets, dropMounts] = constructSet('drop', allEggs.drops, dropPotions);
const [premiumPets, premiumMounts] = constructSet('premium', allEggs.drops, premiumPotions);
const [questPets, questMounts] = constructSet('quest', allEggs.quests, dropPotions);
const wackyPets = constructSet('wacky', allEggs.drops, wackyPotions, false);
const [dropPets, dropMounts] = constructSet('drop', allEggs.drops, allPotions.drops);
const [premiumPets, premiumMounts] = constructSet('premium', allEggs.drops, allPotions.premium);
const [questPets, questMounts] = constructSet('quest', allEggs.quests, allPotions.drops);
const wackyPets = constructSet('wacky', allEggs.drops, allPotions.wacky, false);
const specialPets = {
'Wolf-Veteran': 'veteranWolf',