Finished shop system

This commit is contained in:
2017-10-05 13:48:16 +02:00
parent 71303ef351
commit a52668ada5
9 changed files with 127 additions and 11 deletions

View File

@ -1,6 +1,8 @@
component Inventory(inventory *arn.Inventory, viewUser *arn.User, user *arn.User)
ShopTabs(user)
h1.page-title Inventory
.inventory(data-api="/api/inventory/" + viewUser.ID)
for index, slot := range inventory.Slots
if slot.ItemID == ""