Fixed shop items

This commit is contained in:
Eduard Urbach 2018-03-28 02:06:23 +02:00
parent bf6a28faca
commit aa67af4b71
2 changed files with 4 additions and 4 deletions

View File

@ -1,4 +1,4 @@
component Shop(user *arn.User, items []*arn.Item)
component Shop(user *arn.User, items []*arn.ShopItem)
ShopTabs(user)
h1.page-title Shop
@ -17,7 +17,7 @@ component ShopTabs(user *arn.User)
Tab("History", "history", "/shop/history")
Tab(strconv.Itoa(user.Balance), "diamond", "/charge")
component ShopItem(item *arn.Item)
component ShopItem(item *arn.ShopItem)
.shop-item.mountable(data-item-id=item.ID)
h3.shop-item-name
.item-icon

View File

@ -87,7 +87,7 @@ Includes:
Order: 4,
Consumable: true,
},
// &arn.Item{
// &arn.ShopItem{
// ID: "anime-support-ticket",
// Name: "Anime Support Ticket",
// Price: 100,
@ -97,7 +97,7 @@ Includes:
// *This feature is work in progress.*`,
// Icon: "ticket",
// Rarity: arn.ItemRarityRare,
// Rarity: arn.ShopItemRarityRare,
// Order: 5,
// Consumable: false,
// },