2022-01-07 06:30:15 +00:00
|
|
|
<template>
|
|
|
|
<div class="tab-content grid flex-col">
|
|
|
|
<div
|
2022-01-08 03:46:33 +00:00
|
|
|
v-for="(process, index) in $store.state.processes"
|
2022-01-07 06:30:15 +00:00
|
|
|
:key="index"
|
|
|
|
class="flex flex-col mb-4 p-4 rounded border"
|
|
|
|
:class="`border-${$store.getters.activeTab.darkColor}`"
|
2022-01-09 17:52:17 +00:00
|
|
|
@click="$store.commit('purchaseWorker', index)"
|
2022-01-07 06:30:15 +00:00
|
|
|
>
|
|
|
|
<span class="text-center font-bold pb-2 text-xl">
|
2022-01-09 17:52:17 +00:00
|
|
|
{{ process.workerCount }} {{ process.worker
|
|
|
|
}}<template v-if="process.workerCount != 1">s</template>
|
2022-01-07 06:30:15 +00:00
|
|
|
</span>
|
|
|
|
<span class="text-left font-semibold">
|
|
|
|
Each <b>{{ process.worker }}</b> makes your
|
2022-01-09 17:52:17 +00:00
|
|
|
<b>{{ process.device }}s</b> produce <b>spare time</b> at an increased
|
|
|
|
rate.
|
2022-01-07 06:30:15 +00:00
|
|
|
</span>
|
|
|
|
<span class="text-center text-md pt-2"
|
2022-01-09 17:52:17 +00:00
|
|
|
>Cost for next {{ process.worker }}: {{ process.nextWorkerCost }}
|
2022-01-07 06:30:15 +00:00
|
|
|
{{ process.buyWorkersWith }}</span
|
|
|
|
>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
|
|
|
export default {}
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<style>
|
|
|
|
.tab-content {
|
|
|
|
grid-template-columns: 1fr;
|
|
|
|
}
|
|
|
|
</style>
|