import {each, defaults} from 'lodash'; import { translator as t, merge } from '../helpers'; //-------------------------------------------------- // Food are series objects that have defaults applied if not provided // // : { // key: , // text: t(food), // notes: t(foodNotes), // article:
, // target: , // value: , // canBuy: , // canDrop: , // } // // is the name of the food // is a screeaming camelCase version of the key //
is whether the food requires an indefinite article ('a', 'an', '') // is the potion key that this food targets // is the price of the food - defaults to 1 // is a boolean passed in as part of an options object // is a boolean passed in as part of an options object //-------------------------------------------------- import baseFood from './base'; import saddle from './saddle'; import cake from './birthday'; import candy from './fall'; let allFood = merge([baseFood, saddle, cake, candy]); export default allFood;