Files
habitica/common/script/content/eggs/index.js
2015-09-17 08:45:35 -05:00

24 lines
466 B
JavaScript

// value & other defaults set below
let each = require('lodash').each;
let defaults = require('lodash').defaults;
let t = require('../helpers/translator');
let dropEggs = require('./drops');
each(dropEggs, (egg, key) => {
return defaults(egg, {
canBuy: true,
value: 3,
key: key,
notes: t('eggNotes', {
eggText: egg.text,
eggAdjective: egg.adjective
}),
mountText: egg.text
});
});
module.exports = {
dropEggs: dropEggs
}