{"action":"created","issue":{"url":"https://api.github.com/repos/inkle/ink/issues/239","repository_url":"https://api.github.com/repos/inkle/ink","labels_url":"https://api.github.com/repos/inkle/ink/issues/239/labels{/name}","comments_url":"https://api.github.com/repos/inkle/ink/issues/239/comments","events_url":"https://api.github.com/repos/inkle/ink/issues/239/events","html_url":"https://github.com/inkle/ink/issues/239","id":195831230,"number":239,"title":"Adding Tips to Choices","user":{"login":"micabytes","id":3679327,"avatar_url":"https://avatars.githubusercontent.com/u/3679327?v=3","gravatar_id":"","url":"https://api.github.com/users/micabytes","html_url":"https://github.com/micabytes","followers_url":"https://api.github.com/users/micabytes/followers","following_url":"https://api.github.com/users/micabytes/following{/other_user}","gists_url":"https://api.github.com/users/micabytes/gists{/gist_id}","starred_url":"https://api.github.com/users/micabytes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/micabytes/subscriptions","organizations_url":"https://api.github.com/users/micabytes/orgs","repos_url":"https://api.github.com/users/micabytes/repos","events_url":"https://api.github.com/users/micabytes/events{/privacy}","received_events_url":"https://api.github.com/users/micabytes/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-12-15T15:16:36Z","updated_at":"2016-12-15T17:51:29Z","closed_at":null,"body":"May already have been discussed, but a couple of searches did not find anything.\r\n\r\nI'm a big fan of providing the player with as much information as possible, in order to give them the best possible basis for making their decisions. As an eample, one could have a tooltip pop up with additional information, when one mouses over a choice.\r\n\r\nE.g.,\r\n\r\n`* Agree to help Lord Cardigan {tip: +2 to your Noble faction reputation}`\r\n\r\nWould show a choice \"Agree to help Lord Cardigan\" and a tooltip \"+2 to your Noble faction reputation\" if the player moused over the choice.\r\n\r\nAny thoughts on what would be a good way to add this sort of thing to Ink? I'm not thinking of the practical implementation (I use my own, jInk), but I'm thinking that there has probably been some thought on this at some point during your work, and I'd like to add this to jInk's syntax in a way which is minimally problematic wrt future Ink expansions/development.\r\n\r\nOne might also consider this something that could be useful for other purposes (e.g., free-form text), but my primary concern right now is handling this for choices."},"comment":{"url":"https://api.github.com/repos/inkle/ink/issues/comments/267394528","html_url":"https://github.com/inkle/ink/issues/239#issuecomment-267394528","issue_url":"https://api.github.com/repos/inkle/ink/issues/239","id":267394528,"user":{"login":"joethephish","id":858967,"avatar_url":"https://avatars.githubusercontent.com/u/858967?v=3","gravatar_id":"","url":"https://api.github.com/users/joethephish","html_url":"https://github.com/joethephish","followers_url":"https://api.github.com/users/joethephish/followers","following_url":"https://api.github.com/users/joethephish/following{/other_user}","gists_url":"https://api.github.com/users/joethephish/gists{/gist_id}","starred_url":"https://api.github.com/users/joethephish/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joethephish/subscriptions","organizations_url":"https://api.github.com/users/joethephish/orgs","repos_url":"https://api.github.com/users/joethephish/repos","events_url":"https://api.github.com/users/joethephish/events{/privacy}","received_events_url":"https://api.github.com/users/joethephish/received_events","type":"User","site_admin":false},"created_at":"2016-12-15T17:51:29Z","updated_at":"2016-12-15T17:51:29Z","body":"I can see two possible approaches that we might consider for this:\n\n1. Standard text in a custom format, parsed by the game at runtime. This is usually our preferred approach since game-specific parsing is usually trivial after the hard problems have already been solved by the main ink system, and it keeps the ink engine itself lightweight.\n\n2. Use tags. But right now, unfortunately, tags can't added to choices! It's something I'd like to support in future though. E.g.:\n\n* choice # tip: you should choose this\n\nOn 15 Dec 2016, 15:16 +0000, MicaBytes <notifications@github.com>, wrote:\n>\n> May already have been discussed, but a couple of searches did not find anything.\n>\n>\n> I'm a big fan of providing the player with as much information as possible, in order to give them the best possible basis for making their decisions. As an eample, one could have a tooltip pop up with additional information, when one mouses over a choice.\n>\n>\n> E.g.,\n>\n>\n> * Agree to help Lord Cardigan {tip: +2 to your Noble faction reputation}\n>\n>\n> Would show a choice \"Agree to help Lord Cardigan\" and a tooltip \"+2 to your Noble faction reputation\" if the player moused over the choice.\n>\n>\n> Any thoughts on what would be a good way to add this sort of thing to Ink? I'm not thinking of the practical implementation (I use my own, jInk), but I'm thinking that there has probably been some thought on this at some point during your work, and I'd like to add this to jInk's syntax in a way which is minimally problematic wrt future Ink expansions/development.\n>\n>\n> One might also consider this something that could be useful for other purposes (e.g., free-form text), but my primary concern right now is handling this for choices.\n>\n>\n> —\n> You are receiving this because you are subscribed to this thread.\n> Reply to this email directly, view it on GitHub (https://github.com/inkle/ink/issues/239), or mute the thread (https://github.com/notifications/unsubscribe-auth/AA0bV0yht2V1kLlJm8pOUHmFrvsD2WkWks5rIVnVgaJpZM4LONNK).\n>\n>\n>\n\n"}}
{"actor":{"display_login":"joethephish"}}