147 lines
4.8 KiB
Go
Raw Normal View History

2017-10-04 11:39:59 +00:00
package main
import "github.com/animenotifier/arn"
2018-03-27 23:59:14 +00:00
var items = []*arn.ShopItem{
2018-04-05 18:28:31 +00:00
// 1 month
&arn.ShopItem{
ID: "pro-account-1",
2018-04-08 20:10:45 +00:00
Name: "PRO Account - 1 month",
2018-04-08 08:21:40 +00:00
Price: 300,
2018-04-05 18:28:31 +00:00
Description: `PRO status for 1 month.
1 month equals 300 gems.
Includes:
* Dark theme for the website and extension
* Upload your own cover image
* PRO star on your profile
* Special highlight on the forums
* Access to the VIP channel on Discord
* Early access to new features`,
Icon: "star",
Rarity: arn.ShopItemRaritySuperior,
Order: 1,
Consumable: true,
},
// 3 months
2018-03-27 23:59:14 +00:00
&arn.ShopItem{
2017-10-04 11:39:59 +00:00
ID: "pro-account-3",
2018-04-08 20:10:45 +00:00
Name: "PRO Account - 3 months",
2017-10-04 11:39:59 +00:00
Price: 900,
2017-11-05 06:29:13 +00:00
Description: `PRO status for 1 anime season (3 months).
2017-10-04 11:39:59 +00:00
2017-10-06 07:35:59 +00:00
1 month equals 300 gems.
2017-10-04 11:39:59 +00:00
Includes:
* Dark theme for the website and extension
* Upload your own cover image
2017-10-07 08:18:50 +00:00
* PRO star on your profile
* Special highlight on the forums
2018-03-04 16:21:27 +00:00
* Access to the VIP channel on Discord
2017-10-06 04:49:11 +00:00
* Early access to new features`,
2017-10-04 11:39:59 +00:00
Icon: "star",
2018-03-27 23:59:14 +00:00
Rarity: arn.ShopItemRaritySuperior,
2018-04-05 18:28:31 +00:00
Order: 2,
2017-10-04 11:39:59 +00:00
Consumable: true,
},
2018-04-05 18:28:31 +00:00
// 6 months
2018-03-27 23:59:14 +00:00
&arn.ShopItem{
2017-10-04 11:39:59 +00:00
ID: "pro-account-6",
2018-04-08 20:10:45 +00:00
Name: "PRO Account - 6 months",
2017-10-04 11:39:59 +00:00
Price: 1600,
2017-11-05 06:29:13 +00:00
Description: `PRO status for 2 anime seasons (6 months).
2017-10-04 11:39:59 +00:00
2017-11-05 06:29:13 +00:00
11% less monthly costs compared to 1 season.
2017-10-06 07:35:59 +00:00
2017-10-04 11:39:59 +00:00
Includes:
* Dark theme for the website and extension
* Upload your own cover image
2017-10-07 08:18:50 +00:00
* PRO star on your profile
* Special highlight on the forums
2018-03-04 16:21:27 +00:00
* Access to the VIP channel on Discord
2017-10-06 04:49:11 +00:00
* Early access to new features`,
2017-10-04 11:39:59 +00:00
Icon: "star",
2018-03-27 23:59:14 +00:00
Rarity: arn.ShopItemRarityRare,
2018-04-05 18:28:31 +00:00
Order: 3,
2017-10-04 11:39:59 +00:00
Consumable: true,
},
2018-03-27 23:59:14 +00:00
&arn.ShopItem{
2017-10-04 11:39:59 +00:00
ID: "pro-account-12",
2018-04-08 20:10:45 +00:00
Name: "PRO Account - 1 year",
2017-10-04 11:39:59 +00:00
Price: 3000,
2017-11-05 06:29:13 +00:00
Description: `PRO status for 4 anime seasons (12 months).
2017-10-04 11:39:59 +00:00
2017-11-05 06:29:13 +00:00
16% less monthly costs compared to 1 season.
2017-10-06 07:35:59 +00:00
2017-10-04 11:39:59 +00:00
Includes:
* Dark theme for the website and extension
* Upload your own cover image
2017-10-07 08:18:50 +00:00
* PRO star on your profile
* Special highlight on the forums
2018-03-04 16:21:27 +00:00
* Access to the VIP channel on Discord
2017-10-06 04:49:11 +00:00
* Early access to new features`,
2017-10-04 11:39:59 +00:00
Icon: "star",
2018-03-27 23:59:14 +00:00
Rarity: arn.ShopItemRarityUnique,
2018-04-05 18:28:31 +00:00
Order: 4,
2017-10-04 11:39:59 +00:00
Consumable: true,
},
2018-03-27 23:59:14 +00:00
&arn.ShopItem{
2017-10-04 11:39:59 +00:00
ID: "pro-account-24",
2018-04-08 20:10:45 +00:00
Name: "PRO Account - 2 years",
2017-10-04 11:39:59 +00:00
Price: 5900,
2017-11-05 06:29:13 +00:00
Description: `PRO status for 8 anime seasons (24 months).
2017-10-04 11:39:59 +00:00
2017-11-05 06:29:13 +00:00
18% less monthly costs compared to 1 season.
2017-10-06 07:35:59 +00:00
2017-10-04 11:39:59 +00:00
Includes:
* Dark theme for the website and extension
* Upload your own cover image
2017-10-07 08:18:50 +00:00
* PRO star on your profile
* Special highlight on the forums
2018-03-04 16:21:27 +00:00
* Access to the VIP channel on Discord
2017-10-06 04:49:11 +00:00
* Early access to new features`,
2017-10-04 11:39:59 +00:00
Icon: "star",
2018-03-27 23:59:14 +00:00
Rarity: arn.ShopItemRarityLegendary,
2018-04-05 18:28:31 +00:00
Order: 5,
2017-10-04 11:39:59 +00:00
Consumable: true,
},
2018-03-28 00:06:23 +00:00
// &arn.ShopItem{
2017-11-17 11:53:59 +00:00
// ID: "anime-support-ticket",
// Name: "Anime Support Ticket",
// Price: 100,
// Description: `Support the makers of your favourite anime by using an anime support ticket.
// Anime Notifier uses 15% of the money to handle the transaction fees while the remaining 85% go directly
// to the studios involved in the creation of your favourite anime.
// *This feature is work in progress.*`,
// Icon: "ticket",
2018-03-28 00:06:23 +00:00
// Rarity: arn.ShopItemRarityRare,
2017-11-17 11:53:59 +00:00
// Order: 5,
// Consumable: false,
// },
2017-10-04 11:39:59 +00:00
}
func main() {
2017-11-15 11:07:23 +00:00
defer arn.Node.Close()
2017-10-04 11:39:59 +00:00
for _, item := range items {
item.Save()
}
}
//- ShopItem("PRO Account", "6 months", "1600", "star", strings.Replace(strings.Replace(proAccountMarkdown, "3 months", "6 months", 1), "1 anime season", "2 anime seasons", 1))
//- ShopItem("PRO Account", "1 year", "3000", "star", strings.Replace(strings.Replace(proAccountMarkdown, "3 months", "12 months", 1), "1 anime season", "4 anime seasons", 1))
//- ShopItem("PRO Account", "2 years", "5900", "star", strings.Replace(strings.Replace(proAccountMarkdown, "3 months", "24 months", 1), "1 anime season", "8 anime seasons", 1))
//- ShopItem("Anime Support Ticket", "", "100", "ticket", "Support the makers of your favourite anime by using an anime support ticket. Anime Notifier uses 8% of the money to handle the transaction fees while the remaining 92% go directly to the studios involved in the creation of your favourite anime.")
//- ShopItem("Artwork Support Ticket", "", "100", "ticket", "Support the makers of your favourite artwork by using an artwork support ticket. Anime Notifier uses 8% of the money to handle the transaction fees while the remaining 92% go directly to the creator.")
//- ShopItem("Soundtrack Support Ticket", "", "100", "ticket", "Support the makers of your favourite soundtrack by using a soundtrack support ticket. Anime Notifier uses 8% of the money to handle the transaction fees while the remaining 92% go directly to the creator.")
//- ShopItem("AMV Support Ticket", "", "100", "ticket", "Support the makers of your favourite AMV by using an AMV support ticket. Anime Notifier uses 8% of the money to handle the transaction fees while the remaining 92% go directly to the creator.")