Add babel task and move to src directory

This commit is contained in:
Blade Barringer
2015-09-17 17:40:59 -05:00
parent 993b568ad8
commit 85a16b62e5
13 changed files with 31 additions and 10 deletions

View File

@@ -0,0 +1,26 @@
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;