mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-17 14:47:53 +01:00
27 lines
428 B
JavaScript
27 lines
428 B
JavaScript
let each = require('lodash').each;
|
|
let t = require('../helpers/translator');
|
|
|
|
const DROP_EGGS = [
|
|
'Wolf',
|
|
'TigerCub',
|
|
'PandaCub',
|
|
'LionCub',
|
|
'Fox',
|
|
'FlyingPig',
|
|
'Dragon',
|
|
'Cactus',
|
|
'BearCub',
|
|
];
|
|
|
|
let eggs = { };
|
|
|
|
each(DROP_EGGS, (pet) => {
|
|
eggs[pet] = {
|
|
text: t(`dropEgg${pet}Text`),
|
|
mountText: t(`dropEgg${pet}MountText`),
|
|
adjective: t(`dropEgg${pet}Adjective`),
|
|
}
|
|
});
|
|
|
|
module.exports = eggs;
|