diff --git a/js/game/shop/items.js b/js/game/shop/items.js index 68a9fd8..f0a84b9 100644 --- a/js/game/shop/items.js +++ b/js/game/shop/items.js @@ -1,20 +1,50 @@ +// Enum - item categories +const Types = { + FOOD: "FOOD", + FURNITURE: "FURNITURE", + BACKGROUND: "BACKGROUND", +} + // shop items const APPLE = { id: '1', name: 'Apple', - price: 50, + price: 100, + type: Types.FOOD, + data: { + effects: { + hunger: 2 + } + }, description: 'This is an apple', } const ORANGE = { id: '2', name: 'Orange', - price: 50, + price: 175, + data: { + effects: { + hunger: 4 + } + }, description: 'This is an orange', } +const FILET_MIGNOM = { + id: '3', + name: 'Filet Mignom', + price: 400, + data: { + effects: { + hunger: 9 + } + }, + description: 'Eating luxurious', +} export const items = { - 1: APPLE, - 2: ORANGE, + '1': APPLE, + '2': ORANGE, + '3': FILET_MIGNOM, } export const getItemById = (id) => {