{"action":"created","issue":{"url":"https://api.github.com/repos/HabitRPG/habitrpg/issues/5875","labels_url":"https://api.github.com/repos/HabitRPG/habitrpg/issues/5875/labels{/name}","comments_url":"https://api.github.com/repos/HabitRPG/habitrpg/issues/5875/comments","events_url":"https://api.github.com/repos/HabitRPG/habitrpg/issues/5875/events","html_url":"https://github.com/HabitRPG/habitrpg/pull/5875","id":104389955,"number":5875,"title":"Conditional buy gem modal","user":{"login":"AnitaYCheng","id":6760632,"avatar_url":"https://avatars.githubusercontent.com/u/6760632?v=3","gravatar_id":"","url":"https://api.github.com/users/AnitaYCheng","html_url":"https://github.com/AnitaYCheng","followers_url":"https://api.github.com/users/AnitaYCheng/followers","following_url":"https://api.github.com/users/AnitaYCheng/following{/other_user}","gists_url":"https://api.github.com/users/AnitaYCheng/gists{/gist_id}","starred_url":"https://api.github.com/users/AnitaYCheng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AnitaYCheng/subscriptions","organizations_url":"https://api.github.com/users/AnitaYCheng/orgs","repos_url":"https://api.github.com/users/AnitaYCheng/repos","events_url":"https://api.github.com/users/AnitaYCheng/events{/privacy}","received_events_url":"https://api.github.com/users/AnitaYCheng/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2015-09-02T02:21:02Z","updated_at":"2015-10-19T00:13:51Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/HabitRPG/habitrpg/pulls/5875","html_url":"https://github.com/HabitRPG/habitrpg/pull/5875","diff_url":"https://github.com/HabitRPG/habitrpg/pull/5875.diff","patch_url":"https://github.com/HabitRPG/habitrpg/pull/5875.patch"},"body":"- Customizes buy-gems modal that originates from the header menu, depending on the subscription status of the user.\r\n- For non-subscriber, modal provides 3 methods of buying gems: by purchasing, subscribing to buy gems with gold, or suggestions about contributing or winning challenges.\r\n- Produces a shortcut to buy gems with gold for subscribers under their conversion cap.\r\n- If subscriber has exceeded their gold-to-gem conversion cap, modal provides shortcut to purchase gems.\r\n- Cleans up wording for subscription mixin.\r\n- Uses branded payment buttons if available."},"comment":{"url":"https://api.github.com/repos/HabitRPG/habitrpg/issues/comments/149066238","html_url":"https://github.com/HabitRPG/habitrpg/pull/5875#issuecomment-149066238","issue_url":"https://api.github.com/repos/HabitRPG/habitrpg/issues/5875","id":149066238,"user":{"login":"lemoness","id":3494081,"avatar_url":"https://avatars.githubusercontent.com/u/3494081?v=3","gravatar_id":"","url":"https://api.github.com/users/lemoness","html_url":"https://github.com/lemoness","followers_url":"https://api.github.com/users/lemoness/followers","following_url":"https://api.github.com/users/lemoness/following{/other_user}","gists_url":"https://api.github.com/users/lemoness/gists{/gist_id}","starred_url":"https://api.github.com/users/lemoness/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lemoness/subscriptions","organizations_url":"https://api.github.com/users/lemoness/orgs","repos_url":"https://api.github.com/users/lemoness/repos","events_url":"https://api.github.com/users/lemoness/events{/privacy}","received_events_url":"https://api.github.com/users/lemoness/received_events","type":"User","site_admin":false},"created_at":"2015-10-19T00:13:51Z","updated_at":"2015-10-19T00:13:51Z","body":"I think both of those are great ideas!\n\nPossible tex (feedback welcome)t:\n\n Thank You For Subscribing!\n\n[img: three subscriber boxes]\n\n You're the best! As a subscriber, you're helping Habitica stay strong. To\nshow our gratitude, you will receive:\n\n - Unique subscriber equipment for each month you subscribe\n - The ability to buy gems with gold\n - Double your daily drop cap\n\n Plus, for every 3 consecutive months that you subscribe, you will earn a\nMystic Hourglass, which unlocks exclusive items from the [Time Travelers]\n(link).\n\n How to Get Your Gems [img: three gems]\n\n- Go to the [Market] (Inventory > Market)\n- Scroll to the bottom\n- Click the gem to buy gems with 20 gold each!\n\nThe longer you stay a subscriber, the more gems you can buy each month.\nWant all your gems at once? Just go to Settings > Site > Fix Character\nValues and give yourself as much gold as you need to buy all your gems.\n\nThanks again for subscribing!\n\n\n\n\nOn Mon, Oct 12, 2015 at 4:15 PM, Alys <notifications@github.com> wrote:\n\n> @lemoness <https://github.com/lemoness> I like that idea a lot! Can it\n> have a big, obvious \"How to Get your Gems\" heading with a gem image next to\n> it, to really draw the user's attention?\n>\n> Should it mentioned using Fix Character Values to give yourself gold, to\n> help reduce anger in those who were expecting gems immediately?\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/HabitRPG/habitrpg/pull/5875#issuecomment-147546643>.\n>\n"}}