Commit graph

7 commits

Author SHA1 Message Date
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