{"action":"created","issue":{"url":"https://api.github.com/repos/endless-sky/endless-sky/issues/1858","repository_url":"https://api.github.com/repos/endless-sky/endless-sky","labels_url":"https://api.github.com/repos/endless-sky/endless-sky/issues/1858/labels{/name}","comments_url":"https://api.github.com/repos/endless-sky/endless-sky/issues/1858/comments","events_url":"https://api.github.com/repos/endless-sky/endless-sky/issues/1858/events","html_url":"https://github.com/endless-sky/endless-sky/pull/1858","id":192036088,"number":1858,"title":"dialog random [Ref Issue #1856]","user":{"login":"kozbot","id":3952571,"avatar_url":"https://avatars.githubusercontent.com/u/3952571?v=3","gravatar_id":"","url":"https://api.github.com/users/kozbot","html_url":"https://github.com/kozbot","followers_url":"https://api.github.com/users/kozbot/followers","following_url":"https://api.github.com/users/kozbot/following{/other_user}","gists_url":"https://api.github.com/users/kozbot/gists{/gist_id}","starred_url":"https://api.github.com/users/kozbot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kozbot/subscriptions","organizations_url":"https://api.github.com/users/kozbot/orgs","repos_url":"https://api.github.com/users/kozbot/repos","events_url":"https://api.github.com/users/kozbot/events{/privacy}","received_events_url":"https://api.github.com/users/kozbot/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-11-28T15:32:33Z","updated_at":"2016-11-28T17:37:00Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/endless-sky/endless-sky/pulls/1858","html_url":"https://github.com/endless-sky/endless-sky/pull/1858","diff_url":"https://github.com/endless-sky/endless-sky/pull/1858.diff","patch_url":"https://github.com/endless-sky/endless-sky/pull/1858.patch"},"body":"Add random qualifier to dialog.  Used uniform distribution. \r\nReference Issue #1856 \r\nExample:\r\n\r\n```\r\non accept\r\n\tdialog random \"anything here is ignored when it sees random and will cause a PrintTrace\"\r\n\t\t\"This dialog will randomly be used.\"\r\n\t\t\"This is another random dialog.\"\r\n\t\t\"Huzzah for random variety!\"\r\n```"},"comment":{"url":"https://api.github.com/repos/endless-sky/endless-sky/issues/comments/263338386","html_url":"https://github.com/endless-sky/endless-sky/pull/1858#issuecomment-263338386","issue_url":"https://api.github.com/repos/endless-sky/endless-sky/issues/1858","id":263338386,"user":{"login":"kozbot","id":3952571,"avatar_url":"https://avatars.githubusercontent.com/u/3952571?v=3","gravatar_id":"","url":"https://api.github.com/users/kozbot","html_url":"https://github.com/kozbot","followers_url":"https://api.github.com/users/kozbot/followers","following_url":"https://api.github.com/users/kozbot/following{/other_user}","gists_url":"https://api.github.com/users/kozbot/gists{/gist_id}","starred_url":"https://api.github.com/users/kozbot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kozbot/subscriptions","organizations_url":"https://api.github.com/users/kozbot/orgs","repos_url":"https://api.github.com/users/kozbot/repos","events_url":"https://api.github.com/users/kozbot/events{/privacy}","received_events_url":"https://api.github.com/users/kozbot/received_events","type":"User","site_admin":false},"created_at":"2016-11-28T17:37:00Z","updated_at":"2016-11-28T17:37:00Z","body":"My concern with the extra indentation on random is other than conversation (which has it's own .Load) none of the other commands extend to the great grandchild.\r\n\r\nchild->grand->ggrand\r\ndialog->random->text_nodes\r\n\r\nSo maybe a 'randomdialog' or whatever would be accepted would be better than reusing 'dialog'.  In that instance if a dialog and 'randomdialog' were present in an action the 'randomdialog' would be ignored.\r\n\r\nI wrote it as multiple paragraphs could be used on same line and combined but I think the relative weight is a neat feature even if it limits you to a single token.  Most of these will probably be short anyway."}}
{"actor":{"display_login":"kozbot"}}