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

13
src/components/InventoryView.vue

@ -75,6 +75,19 @@
{{ selectedItem.description }} {{ selectedItem.description }}
<hr> <hr>
</div> </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="col-12" v-if="selectedItem.cropData">
<div class="float-end"> <div class="float-end">
<img :src="selectedSeedFieldProductIcon" alt=""> <img :src="selectedSeedFieldProductIcon" alt="">

Loading…
Cancel
Save