diff --git a/common/script/src/content/food/index.js b/common/script/src/content/food/index.js index 537551ea87..5186831761 100644 --- a/common/script/src/content/food/index.js +++ b/common/script/src/content/food/index.js @@ -4,6 +4,29 @@ import { 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';