Commit graph

15 commits

Author SHA1 Message Date
d-hain
441ffb900a Animals can now be bought in AnimalShop
if bought they will be placed somewhere random on the map
2022-06-23 22:18:32 +02:00
d-hain
e160867e7e Generified ElementStorage.cs and ElementStorageSlot.cs 2022-06-17 14:51:44 +02:00
dhain
38efeb6af6 Merge branch 'develop' into dhain
# Conflicts:
#	Assets/Scenes/MainScene.unity
#	Assets/Scripts/TileBehaviour.cs
2022-06-09 16:52:46 +02:00
dhain
7b286bcfd9 day transition is now working 2022-06-09 16:49:15 +02:00
j-weissen
35ecec04ef Merge branch 'jweissen' into develop
# Conflicts:
#	Assets/Scripts/FishingController.cs
2022-06-09 16:48:38 +02:00
j-weissen
afaddd940c Refactored to ActionInvoker.cs 2022-06-09 16:47:17 +02:00
s-prechtl
d492a9efbb Deselect item on empty InventorySlot.cs clicked 2022-06-09 10:13:09 +02:00
d-hain
cdd8ae7441 Items adjusted prices
fixed some Tile sheeesh
selling overflowing Items in Inventory (over 999)
2022-06-09 00:42:36 +02:00
d-hain
ba9be3d96b you can now sell Items with Right Mouse Click on an InventorySlot for the Item.SellPrice
and it gets put into the Shop for full price

renamed Item.cost to Item.price
2022-06-08 22:52:28 +02:00
d-hain
64b25a2029 you can now undo a purchase after buying an item from the shop 2022-06-08 21:47:00 +02:00
dhain
ee6704abc1 added ItemStorage.cs, ItemStorageSlot.cs, ItemStorageUI.cs
* Inventory, InventorySlot, InventoryUI, Shop, ShopSlot, ShopUI are extending them
2022-06-02 15:08:21 +02:00
d-hain
ce1f6ed389 added cost amount to items
added Shop UI
added Shop.cs
 * you now can buy items and you lose the cost when bought
 * shop is scrollable

added comments in Inventory.cs, InventorySlot.cs, InventoryUI.cs
now showing description when hovering over items in shop or inventory
2022-06-02 00:08:37 +02:00
dhain
bc9af1d8d5 worked on inventory hover 2022-05-20 09:44:08 +02:00
dhain
2ff7fc2c12 diesmal wirklich 2022-05-19 16:03:20 +02:00
d-hain
aacdd80fdf added Inventory UI
added logic to inventory
 * it is very possible to be reworked in the near future
 * With
   - ScriptableItem
   - an own Inventory class maybe
   - if necessary no Dictionary anymore
2022-05-19 02:30:21 +02:00