diff --git a/website/client/store/actions/shops.js b/website/client/store/actions/shops.js index acb2f46888..0d8359ef95 100644 --- a/website/client/store/actions/shops.js +++ b/website/client/store/actions/shops.js @@ -64,6 +64,12 @@ async function buyArmoire (store, params) { if (item.type === 'gear') { store.state.user.data.items.gear.owned[item.dropKey] = true; } + + if (item.type === 'food') { + if (!store.state.user.data.items.food[item.dropKey]) store.state.user.data.items.food[item.dropKey] = 0; + store.state.user.data.items.food[item.dropKey] += 1; + } + store.state.user.data.stats.gp -= armoire.value; // @TODO: We might need to abstract notifications to library rather than mixin