feat: purchase workers with currency, increase instrument speed, prices go up with each purchase

This commit is contained in:
John McCardle 2022-01-09 12:52:17 -05:00
commit 25a9c70663
2 changed files with 28 additions and 9 deletions

View file

@ -5,17 +5,19 @@
:key="index"
class="flex flex-col mb-4 p-4 rounded border"
:class="`border-${$store.getters.activeTab.darkColor}`"
@click="$store.commit('purchaseWorker', index)"
>
<span class="text-center font-bold pb-2 text-xl">
{{ process.workerCount }} {{ process.worker }}s
{{ process.workerCount }} {{ process.worker
}}<template v-if="process.workerCount != 1">s</template>
</span>
<span class="text-left font-semibold">
Each <b>{{ process.worker }}</b> makes your
<b>{{ process.device }}s</b> produce <b>{{ process.produces }}</b> at an
increased rate.
<b>{{ process.device }}s</b> produce <b>spare time</b> at an increased
rate.
</span>
<span class="text-center text-md pt-2"
>Cost for next {{ process.worker }}: 4
>Cost for next {{ process.worker }}: {{ process.nextWorkerCost }}
{{ process.buyWorkersWith }}</span
>
</div>