feat: mission status tracks actual currency and requirements from the vuex store.
This commit is contained in:
parent
4bbdb03263
commit
6d9486763b
|
@ -5,8 +5,8 @@
|
||||||
:key="index"
|
:key="index"
|
||||||
:label="mission.name"
|
:label="mission.name"
|
||||||
:description="mission.description"
|
:description="mission.description"
|
||||||
:max="100"
|
:max="mission.completionCriteria.cost"
|
||||||
:value="50 * (2 - index)"
|
:value="$store.state.currency"
|
||||||
/>
|
/>
|
||||||
</template>
|
</template>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -107,7 +107,7 @@ export const state = () => ({
|
||||||
name: 'Create the Time Machine',
|
name: 'Create the Time Machine',
|
||||||
description: 'Soon you will be able to control time itself.',
|
description: 'Soon you will be able to control time itself.',
|
||||||
completionCriteria: {
|
completionCriteria: {
|
||||||
cost: 1000,
|
cost: 50000,
|
||||||
},
|
},
|
||||||
available: true,
|
available: true,
|
||||||
viewed: false,
|
viewed: false,
|
||||||
|
@ -122,7 +122,9 @@ export const state = () => ({
|
||||||
appearanceCriteria: {
|
appearanceCriteria: {
|
||||||
age: 100,
|
age: 100,
|
||||||
},
|
},
|
||||||
completionCriteria: null,
|
completionCriteria: {
|
||||||
|
cost: 150000,
|
||||||
|
},
|
||||||
available: true,
|
available: true,
|
||||||
viewed: false,
|
viewed: false,
|
||||||
complete: false,
|
complete: false,
|
||||||
|
|
Reference in New Issue