{"action":"created","comment":{"url":"https://api.github.com/repos/rpherbig/dr-scripts/pulls/comments/91861311","pull_request_review_id":12371360,"id":91861311,"diff_hunk":"@@ -35,6 +41,20 @@ class Astrology\n     result.compact.select { |data| data['circle'] <= DRStats.circle }\n   end\n \n+  def check_astral\n+    return unless DRStats.circle > 99\n+    return unless @ap_training\n+    return unless @ap_source\n+    return unless @ap_destination\n+\n+    if UserVars.astral_plane_timer.nil? || Time.now - UserVars.astral_plane_timer > 3600\n+      wait_for_script_to_complete('bescort', ['ways', @ap_destination])\n+      wait_for_script_to_complete('bescort', ['ways', @ap_source])\n+      UserVars.astral_plane_timer = Time.now","path":"astrology.lic","position":40,"original_position":40,"commit_id":"a5899114e46eb98a0d565c3a68f79b6fadc3f6a0","original_commit_id":"956a343d8609b8a7f935b8a3a29bded0bf81b788","user":{"login":"jandersson","id":606225,"avatar_url":"https://avatars.githubusercontent.com/u/606225?v=3","gravatar_id":"","url":"https://api.github.com/users/jandersson","html_url":"https://github.com/jandersson","followers_url":"https://api.github.com/users/jandersson/followers","following_url":"https://api.github.com/users/jandersson/following{/other_user}","gists_url":"https://api.github.com/users/jandersson/gists{/gist_id}","starred_url":"https://api.github.com/users/jandersson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jandersson/subscriptions","organizations_url":"https://api.github.com/users/jandersson/orgs","repos_url":"https://api.github.com/users/jandersson/repos","events_url":"https://api.github.com/users/jandersson/events{/privacy}","received_events_url":"https://api.github.com/users/jandersson/received_events","type":"User","site_admin":false},"body":"sounds more clear. should I add it to the crossing-trainer timers or shall it stand on its own?","created_at":"2016-12-11T18:10:04Z","updated_at":"2016-12-11T18:10:04Z","html_url":"https://github.com/rpherbig/dr-scripts/pull/1139#discussion_r91861311","pull_request_url":"https://api.github.com/repos/rpherbig/dr-scripts/pulls/1139","_links":{"self":{"href":"https://api.github.com/repos/rpherbig/dr-scripts/pulls/comments/91861311"},"html":{"href":"https://github.com/rpherbig/dr-scripts/pull/1139#discussion_r91861311"},"pull_request":{"href":"https://api.github.com/repos/rpherbig/dr-scripts/pulls/1139"}}},"pull_request":{"url":"https://api.github.com/repos/rpherbig/dr-scripts/pulls/1139","id":97460439,"html_url":"https://github.com/rpherbig/dr-scripts/pull/1139","diff_url":"https://github.com/rpherbig/dr-scripts/pull/1139.diff","patch_url":"https://github.com/rpherbig/dr-scripts/pull/1139.patch","issue_url":"https://api.github.com/repos/rpherbig/dr-scripts/issues/1139","number":1139,"state":"open","locked":false,"title":"Train Astrology in the Astral Plane","user":{"login":"jandersson","id":606225,"avatar_url":"https://avatars.githubusercontent.com/u/606225?v=3","gravatar_id":"","url":"https://api.github.com/users/jandersson","html_url":"https://github.com/jandersson","followers_url":"https://api.github.com/users/jandersson/followers","following_url":"https://api.github.com/users/jandersson/following{/other_user}","gists_url":"https://api.github.com/users/jandersson/gists{/gist_id}","starred_url":"https://api.github.com/users/jandersson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jandersson/subscriptions","organizations_url":"https://api.github.com/users/jandersson/orgs","repos_url":"https://api.github.com/users/jandersson/repos","events_url":"https://api.github.com/users/jandersson/events{/privacy}","received_events_url":"https://api.github.com/users/jandersson/received_events","type":"User","site_admin":false},"body":"Train astrology by walking the astral plane. A timer gets set on each round-trip from source to destination and back to source. A walk can be done once an hour","created_at":"2016-12-11T14:28:32Z","updated_at":"2016-12-11T18:10:04Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2f7e1370d195fce30c9e4eb8636b72042e34b882","assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/rpherbig/dr-scripts/milestones/8","html_url":"https://github.com/rpherbig/dr-scripts/milestone/8","labels_url":"https://api.github.com/repos/rpherbig/dr-scripts/milestones/8/labels","id":2009482,"number":8,"title":"v8","description":"","creator":{"login":"rpherbig","id":1181607,"avatar_url":"https://avatars.githubusercontent.com/u/1181607?v=3","gravatar_id":"","url":"https://api.github.com/users/rpherbig","html_url":"https://github.com/rpherbig","followers_url":"https://api.github.com/users/rpherbig/followers","following_url":"https://api.github.com/users/rpherbig/following{/other_user}","gists_url":"https://api.github.com/users/rpherbig/gists{/gist_id}","starred_url":"https://api.github.com/users/rpherbig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rpherbig/subscriptions","organizations_url":"https://api.github.com/users/rpherbig/orgs","repos_url":"https://api.github.com/users/rpherbig/repos","events_url":"https://api.github.com/users/rpherbig/events{/privacy}","received_events_url":"https://api.github.com/users/rpherbig/received_events","type":"User","site_admin":false},"open_issues":93,"closed_issues":315,"state":"open","created_at":"2016-09-16T15:57:38Z","updated_at":"2016-12-11T15:31:19Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/rpherbig/dr-scripts/pulls/1139/commits","review_comments_url":"https://api.github.com/repos/rpherbig/dr-scripts/pulls/1139/comments","review_comment_url":"https://api.github.com/repos/rpherbig/dr-scripts/pulls/comments{/number}","comments_url":"https://api.github.com/repos/rpherbig/dr-scripts/issues/1139/comments","statuses_url":"https://api.github.com/repos/rpherbig/dr-scripts/statuses/a5899114e46eb98a0d565c3a68f79b6fadc3f6a0","head":{"label":"jandersson:ap-train","ref":"ap-train","sha":"a5899114e46eb98a0d565c3a68f79b6fadc3f6a0","user":{"login":"jandersson","id":606225,"avatar_url":"https://avatars.githubusercontent.com/u/606225?v=3","gravatar_id":"","url":"https://api.github.com/users/jandersson","html_url":"https://github.com/jandersson","followers_url":"https://api.github.com/users/jandersson/followers","following_url":"https://api.github.com/users/jandersson/following{/other_user}","gists_url":"https://api.github.com/users/jandersson/gists{/gist_id}","starred_url":"https://api.github.com/users/jandersson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jandersson/subscriptions","organizations_url":"https://api.github.com/users/jandersson/orgs","repos_url":"https://api.github.com/users/jandersson/repos","events_url":"https://api.github.com/users/jandersson/events{/privacy}","received_events_url":"https://api.github.com/users/jandersson/received_events","type":"User","site_admin":false},"repo":{"id":61384122,"name":"dr-scripts","full_name":"jandersson/dr-scripts","owner":{"login":"jandersson","id":606225,"avatar_url":"https://avatars.githubusercontent.com/u/606225?v=3","gravatar_id":"","url":"https://api.github.com/users/jandersson","html_url":"https://github.com/jandersson","followers_url":"https://api.github.com/users/jandersson/followers","following_url":"https://api.github.com/users/jandersson/following{/other_user}","gists_url":"https://api.github.com/users/jandersson/gists{/gist_id}","starred_url":"https://api.github.com/users/jandersson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jandersson/subscriptions","organizations_url":"https://api.github.com/users/jandersson/orgs","repos_url":"https://api.github.com/users/jandersson/repos","events_url":"https://api.github.com/users/jandersson/events{/privacy}","received_events_url":"https://api.github.com/users/jandersson/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jandersson/dr-scripts","description":"A series of Lich (https://lichproject.org/) scripts for use in DragonRealms (http://www.play.net/dr/).","fork":true,"url":"https://api.github.com/repos/jandersson/dr-scripts","forks_url":"https://api.github.com/repos/jandersson/dr-scripts/forks","keys_url":"https://api.github.com/repos/jandersson/dr-scripts/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jandersson/dr-scripts/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jandersson/dr-scripts/teams","hooks_url":"https://api.github.com/repos/jandersson/dr-scripts/hooks","issue_events_url":"https://api.github.com/repos/jandersson/dr-scripts/issues/events{/number}","events_url":"https://api.github.com/repos/jandersson/dr-scripts/events","assignees_url":"https://api.github.com/repos/jandersson/dr-scripts/assignees{/user}","branches_url":"https://api.github.com/repos/jandersson/dr-scripts/branches{/branch}","tags_url":"https://api.github.com/repos/jandersson/dr-scripts/tags","blobs_url":"https://api.github.com/repos/jandersson/dr-scripts/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jandersson/dr-scripts/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jandersson/dr-scripts/git/refs{/sha}","trees_url":"https://api.github.com/repos/jandersson/dr-scripts/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jandersson/dr-scripts/statuses/{sha}","languages_url":"https://api.github.com/repos/jandersson/dr-scripts/languages","stargazers_url":"https://api.github.com/repos/jandersson/dr-scripts/stargazers","contributors_url":"https://api.github.com/repos/jandersson/dr-scripts/contributors","subscribers_url":"https://api.github.com/repos/jandersson/dr-scripts/subscribers","subscription_url":"https://api.github.com/repos/jandersson/dr-scripts/subscription","commits_url":"https://api.github.com/repos/jandersson/dr-scripts/commits{/sha}","git_commits_url":"https://api.github.com/repos/jandersson/dr-scripts/git/commits{/sha}","comments_url":"https://api.github.com/repos/jandersson/dr-scripts/comments{/number}","issue_comment_url":"https://api.github.com/repos/jandersson/dr-scripts/issues/comments{/number}","contents_url":"https://api.github.com/repos/jandersson/dr-scripts/contents/{+path}","compare_url":"https://api.github.com/repos/jandersson/dr-scripts/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jandersson/dr-scripts/merges","archive_url":"https://api.github.com/repos/jandersson/dr-scripts/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jandersson/dr-scripts/downloads","issues_url":"https://api.github.com/repos/jandersson/dr-scripts/issues{/number}","pulls_url":"https://api.github.com/repos/jandersson/dr-scripts/pulls{/number}","milestones_url":"https://api.github.com/repos/jandersson/dr-scripts/milestones{/number}","notifications_url":"https://api.github.com/repos/jandersson/dr-scripts/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jandersson/dr-scripts/labels{/name}","releases_url":"https://api.github.com/repos/jandersson/dr-scripts/releases{/id}","deployments_url":"https://api.github.com/repos/jandersson/dr-scripts/deployments","created_at":"2016-06-17T15:35:12Z","updated_at":"2016-06-17T15:35:13Z","pushed_at":"2016-12-11T17:44:55Z","git_url":"git://github.com/jandersson/dr-scripts.git","ssh_url":"git@github.com:jandersson/dr-scripts.git","clone_url":"https://github.com/jandersson/dr-scripts.git","svn_url":"https://github.com/jandersson/dr-scripts","homepage":"","size":4916,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"rpherbig:master","ref":"master","sha":"1c57cbb190489f2d2e917b1a87458c7659287757","user":{"login":"rpherbig","id":1181607,"avatar_url":"https://avatars.githubusercontent.com/u/1181607?v=3","gravatar_id":"","url":"https://api.github.com/users/rpherbig","html_url":"https://github.com/rpherbig","followers_url":"https://api.github.com/users/rpherbig/followers","following_url":"https://api.github.com/users/rpherbig/following{/other_user}","gists_url":"https://api.github.com/users/rpherbig/gists{/gist_id}","starred_url":"https://api.github.com/users/rpherbig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rpherbig/subscriptions","organizations_url":"https://api.github.com/users/rpherbig/orgs","repos_url":"https://api.github.com/users/rpherbig/repos","events_url":"https://api.github.com/users/rpherbig/events{/privacy}","received_events_url":"https://api.github.com/users/rpherbig/received_events","type":"User","site_admin":false},"repo":{"id":44390324,"name":"dr-scripts","full_name":"rpherbig/dr-scripts","owner":{"login":"rpherbig","id":1181607,"avatar_url":"https://avatars.githubusercontent.com/u/1181607?v=3","gravatar_id":"","url":"https://api.github.com/users/rpherbig","html_url":"https://github.com/rpherbig","followers_url":"https://api.github.com/users/rpherbig/followers","following_url":"https://api.github.com/users/rpherbig/following{/other_user}","gists_url":"https://api.github.com/users/rpherbig/gists{/gist_id}","starred_url":"https://api.github.com/users/rpherbig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rpherbig/subscriptions","organizations_url":"https://api.github.com/users/rpherbig/orgs","repos_url":"https://api.github.com/users/rpherbig/repos","events_url":"https://api.github.com/users/rpherbig/events{/privacy}","received_events_url":"https://api.github.com/users/rpherbig/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rpherbig/dr-scripts","description":"A series of Lich (https://lichproject.org/) scripts for use in DragonRealms (http://www.play.net/dr/). Donations are welcome (http://www.paypal.me/rcuhljr)!","fork":false,"url":"https://api.github.com/repos/rpherbig/dr-scripts","forks_url":"https://api.github.com/repos/rpherbig/dr-scripts/forks","keys_url":"https://api.github.com/repos/rpherbig/dr-scripts/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rpherbig/dr-scripts/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rpherbig/dr-scripts/teams","hooks_url":"https://api.github.com/repos/rpherbig/dr-scripts/hooks","issue_events_url":"https://api.github.com/repos/rpherbig/dr-scripts/issues/events{/number}","events_url":"https://api.github.com/repos/rpherbig/dr-scripts/events","assignees_url":"https://api.github.com/repos/rpherbig/dr-scripts/assignees{/user}","branches_url":"https://api.github.com/repos/rpherbig/dr-scripts/branches{/branch}","tags_url":"https://api.github.com/repos/rpherbig/dr-scripts/tags","blobs_url":"https://api.github.com/repos/rpherbig/dr-scripts/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rpherbig/dr-scripts/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rpherbig/dr-scripts/git/refs{/sha}","trees_url":"https://api.github.com/repos/rpherbig/dr-scripts/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rpherbig/dr-scripts/statuses/{sha}","languages_url":"https://api.github.com/repos/rpherbig/dr-scripts/languages","stargazers_url":"https://api.github.com/repos/rpherbig/dr-scripts/stargazers","contributors_url":"https://api.github.com/repos/rpherbig/dr-scripts/contributors","subscribers_url":"https://api.github.com/repos/rpherbig/dr-scripts/subscribers","subscription_url":"https://api.github.com/repos/rpherbig/dr-scripts/subscription","commits_url":"https://api.github.com/repos/rpherbig/dr-scripts/commits{/sha}","git_commits_url":"https://api.github.com/repos/rpherbig/dr-scripts/git/commits{/sha}","comments_url":"https://api.github.com/repos/rpherbig/dr-scripts/comments{/number}","issue_comment_url":"https://api.github.com/repos/rpherbig/dr-scripts/issues/comments{/number}","contents_url":"https://api.github.com/repos/rpherbig/dr-scripts/contents/{+path}","compare_url":"https://api.github.com/repos/rpherbig/dr-scripts/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rpherbig/dr-scripts/merges","archive_url":"https://api.github.com/repos/rpherbig/dr-scripts/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rpherbig/dr-scripts/downloads","issues_url":"https://api.github.com/repos/rpherbig/dr-scripts/issues{/number}","pulls_url":"https://api.github.com/repos/rpherbig/dr-scripts/pulls{/number}","milestones_url":"https://api.github.com/repos/rpherbig/dr-scripts/milestones{/number}","notifications_url":"https://api.github.com/repos/rpherbig/dr-scripts/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rpherbig/dr-scripts/labels{/name}","releases_url":"https://api.github.com/repos/rpherbig/dr-scripts/releases{/id}","deployments_url":"https://api.github.com/repos/rpherbig/dr-scripts/deployments","created_at":"2015-10-16T14:28:28Z","updated_at":"2016-10-22T12:23:33Z","pushed_at":"2016-12-11T17:44:55Z","git_url":"git://github.com/rpherbig/dr-scripts.git","ssh_url":"git@github.com:rpherbig/dr-scripts.git","clone_url":"https://github.com/rpherbig/dr-scripts.git","svn_url":"https://github.com/rpherbig/dr-scripts","homepage":"","size":5269,"stargazers_count":12,"watchers_count":12,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":20,"mirror_url":null,"open_issues_count":158,"forks":20,"open_issues":158,"watchers":12,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rpherbig/dr-scripts/pulls/1139"},"html":{"href":"https://github.com/rpherbig/dr-scripts/pull/1139"},"issue":{"href":"https://api.github.com/repos/rpherbig/dr-scripts/issues/1139"},"comments":{"href":"https://api.github.com/repos/rpherbig/dr-scripts/issues/1139/comments"},"review_comments":{"href":"https://api.github.com/repos/rpherbig/dr-scripts/pulls/1139/comments"},"review_comment":{"href":"https://api.github.com/repos/rpherbig/dr-scripts/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/rpherbig/dr-scripts/pulls/1139/commits"},"statuses":{"href":"https://api.github.com/repos/rpherbig/dr-scripts/statuses/a5899114e46eb98a0d565c3a68f79b6fadc3f6a0"}}}}
{"actor":{"display_login":"jandersson"}}