Browse Source

add economy info to item info; update concept;

master
Nero Ignis 3 years ago
parent
commit
8893f17d43
  1. 13
      concept.md
  2. 13
      src/components/InventoryView.vue

13
concept.md

@ -1,14 +1,15 @@ @@ -1,14 +1,15 @@
### Roadmap
- [x] Planting / harvest crops
- [x] Info when click on non-ready crop
- [ ] Fertilizers
- [ ] Watering of crops
- [ ] Quick access on field for crops and later tools
- [ ] Switch system from field -> crop to crop -> fields
- [ ] Removing planted crops and regaining of removed crop
- [ ] Revision of crop-assets
- [ ] Farm animals
- [ ] Animal products (egg, milk, wool, etc.)
- [x] Farm animals
- [x] Animal products (egg, milk, wool, etc.)
- [ ] Some way of animal-leveling
- [ ] Breeding of animals (CF)
- [ ] The Town, a place from where players can access different stores, the casino, the pond and more
@ -25,7 +26,7 @@ @@ -25,7 +26,7 @@
- [ ] Mini blackjack
- [ ] Mini slotmachine
- [x] Stores
- [ ] Each store has tabs [buy / sell]
- [x] Each store has tabs [buy / sell]
- [ ] Depending on store-itemtype, sell-price is 100% or 70%
- [x] Crop-Store
- [ ] Animal Store
@ -37,9 +38,9 @@ @@ -37,9 +38,9 @@
- [x] Inventory system
- [x] Sorting
- [x] Grouping
- [ ] Trash items
- [ ] Display item-info
- [ ] Way to sell harvested goods
- [x] Trash items
- [x] Display item-info
- [x] Way to sell harvested goods
- [ ] Quests
- [ ] Item-quests
- [ ] Action-quests

13
src/components/InventoryView.vue

@ -75,6 +75,19 @@ @@ -75,6 +75,19 @@
{{ selectedItem.description }}
<hr>
</div>
<template v-if="selectedItem.economy">
<div class="col-6">
<small class="text-muted">Can be sold for</small><br>
{{ selectedItem.economy.sell }}$
</div>
<div class="col-6">
<small class="text-muted">Store-price</small><br>
{{ selectedItem.economy.buy }}$
</div>
<div class="col-12">
<hr>
</div>
</template>
<div class="col-12" v-if="selectedItem.cropData">
<div class="float-end">
<img :src="selectedSeedFieldProductIcon" alt="">

Loading…
Cancel
Save