Commit graph

18 commits

Author SHA1 Message Date
j-weissen
93809f5052 fixed SelectedItem when no item 2022-06-09 09:27:35 +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
s-prechtl
f4e44714c1 Sprites working for mouse 2022-06-03 08:49:32 +02:00
s-prechtl
52fa93fc36 Money and Day UI finished 2022-06-02 14:58:47 +02:00
s-prechtl
9e082537d8 money and daycount ui added 2022-06-02 14:48:24 +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
97b6ce7497 voigas 2022-05-19 16:54:36 +02:00
dhain
d2c90c3b7f fixes 2022-05-19 16:41:05 +02:00
dhain
470aeff3f3 runnable 2022-05-19 16:13:53 +02:00
dhain
7a04d79aba Merge branch 'dhain' into develop
# Conflicts:
#	Assets/Scenes/MainScene.unity
#	Assets/Scripts/PlayerController.cs
2022-05-19 16:07:18 +02:00
dhain
2ff7fc2c12 diesmal wirklich 2022-05-19 16:03:20 +02:00
j-weissen
1e2ae28c12 Added TerraformingTools & functionality 2022-05-19 15:00:55 +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
j-weissen
4612938b54 added Player GameObject, updated GrassTile.Clicked() 2022-05-18 23:59:49 +02:00
s-prechtl
3466d25dbb PlayerController.cs select Item 2022-05-10 00:01:21 +02:00
s-prechtl
d84a815d74 UsableItem.cs 2022-05-09 23:38:56 +02:00
s-prechtl
0554440fd5 PlayerController.cs init 2022-05-09 23:08:18 +02:00