allow eggs to have a release date

This commit is contained in:
Phillip Thelen
2024-06-10 14:11:38 +02:00
parent c2b370f4d3
commit 6d13a257dd
11 changed files with 144 additions and 87 deletions

View File

@@ -1,9 +1,9 @@
import { drops as eggs } from '../content/eggs';
import allEggs from '../content/eggs';
import { drops as hatchingPotions } from '../content/hatching-potions';
import randomVal from '../libs/randomVal';
export default function firstDrops (user) {
const eggDrop = randomVal(eggs);
const eggDrop = randomVal(allEggs.drops);
const potionDrop = randomVal(hatchingPotions);
user.items.eggs = {