diff --git a/components/SixthTabContent.vue b/components/SixthTabContent.vue new file mode 100644 index 0000000..b599621 --- /dev/null +++ b/components/SixthTabContent.vue @@ -0,0 +1,46 @@ + + + + + diff --git a/pages/index.vue b/pages/index.vue index 21ae249..ef63feb 100644 --- a/pages/index.vue +++ b/pages/index.vue @@ -88,9 +88,7 @@ Tab 5 content - + diff --git a/store/index.js b/store/index.js index 7fa4526..186898a 100644 --- a/store/index.js +++ b/store/index.js @@ -148,6 +148,7 @@ export const state = () => ({ }, wisdomGained: 0, // wisdom gained so far on this run, not applied until player sends the book. wisdomApplied: 0, // wisdom from previous runs + totalLifetimes: 1, }) export const getters = { @@ -186,6 +187,9 @@ export const getters = { 12: 'Dec.', }[state.gameDate.month] }, + currencySpent: (state) => { + return Decimal.subtract(state.currencyTotal, state.currency) + }, } export const mutations = {