feat: mission status tracks actual currency and requirements from the vuex store.

This commit is contained in:
John McCardle 2022-01-09 13:12:52 -05:00 committed by pskfyi
parent 4bbdb03263
commit 6d9486763b
2 changed files with 6 additions and 4 deletions

View File

@ -5,8 +5,8 @@
:key="index"
:label="mission.name"
:description="mission.description"
:max="100"
:value="50 * (2 - index)"
:max="mission.completionCriteria.cost"
:value="$store.state.currency"
/>
</template>
</div>

View File

@ -107,7 +107,7 @@ export const state = () => ({
name: 'Create the Time Machine',
description: 'Soon you will be able to control time itself.',
completionCriteria: {
cost: 1000,
cost: 50000,
},
available: true,
viewed: false,
@ -122,7 +122,9 @@ export const state = () => ({
appearanceCriteria: {
age: 100,
},
completionCriteria: null,
completionCriteria: {
cost: 150000,
},
available: true,
viewed: false,
complete: false,