{"action":"created","comment":{"url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/pulls/comments/23062125","id":23062125,"diff_hunk":"@@ -144,70 +166,105 @@ void monster::plan(const mfactions &factions)\n             closest = -2;\n             selected_slope = bresenham_slope;\n         }\n+        if( angers_hostile_near && dist <= 5 ) {\n+            anger += 5;\n+        }\n     }\n \n     if( !docile ) {\n         for( size_t i = 0; i < g->active_npc.size(); i++ ) {\n             npc *me = (g->active_npc[i]);\n             float rating = rate_target( *me, bresenham_slope, electronic );\n-            if( rating < dist || ( !fleeing && is_fleeing( *me ) ) ) {\n-                if( is_fleeing( *me ) ) {\n-                    fleeing = true;\n-                    set_dest(posx() * 2 - me->posx, posy() * 2 - me->posy, bresenham_slope);\n-                    dist = rating;\n-                } else if( attitude( me ) == MATT_ATTACK ) {\n+            bool fleeing_from = is_fleeing( *me );\n+            // Switch targets if closer and hostile or scarier than current target\n+            if( ( rating < dist && fleeing ) ||\n+                ( rating < dist && attitude( me ) == MATT_ATTACK ) ||\n+                ( !fleeing && fleeing_from ) ) {\n                     closest = i;\n-                    selected_slope = bresenham_slope;\n                     dist = rating;\n-                }\n+                    selected_slope = bresenham_slope;\n+            }\n+            fleeing = fleeing || fleeing_from;\n+            if( angers_hostile_near && rating <= 5 ) {\n+                anger += 5;\n             }\n         }\n     }\n \n-    if( !fleeing ) {\n-        fleeing = attitude() == MATT_FLEE;\n-        if( friendly == 0 && can_see() ) {\n-            for( const auto &faction : factions ) {\n-                if( faction.first == monfaction() ) {\n-                    continue;\n+    fleeing = attitude() == MATT_FLEE;\n+    if( !docile && friendly == 0 ) {\n+        for( const auto &fac : factions ) {\n+            if( fac.first == faction->id ) {\n+                continue;\n+            }\n+\n+            for( int i : fac.second ) { // mon indices\n+                monster &mon = g->zombie( i );\n+                float rating = rate_target( mon, bresenham_slope, electronic );\n+                if( rating < dist ) {\n+                    dist = rating;\n+                    closest = -3 - i;\n+                    selected_slope = bresenham_slope;\n+                }\n+                if( angers_hostile_near && rating <= 5 ) {\n+                    anger += 5;\n                 }\n+            }\n+        }\n+    }\n \n-                for( int i : faction.second ) { // mon indices\n-                    monster &mon = g->zombie( i );\n-                    float rating = rate_target( mon, bresenham_slope, electronic );\n-                    if( rating < dist ) {\n-                        dist = rating;\n-                        if (fleeing) {\n-                            wandx = posx() * 2 - mon.posx();\n-                            wandy = posy() * 2 - mon.posy();\n-                            wandf = 40;\n-                        } else {\n-                            closest = -3 - i;\n-                            selected_slope = bresenham_slope;\n-                        }\n-                    }\n+    // Friendly monsters here\n+    // Avoid for hordes of same-faction stuff or it could get expensive\n+    auto myfaction = factions.find( faction->id )->second;","path":"src/monmove.cpp","position":128,"original_position":128,"commit_id":"9e25784df0bf1695cfc4d879b771e2d1e1264d52","original_commit_id":"9e25784df0bf1695cfc4d879b771e2d1e1264d52","user":{"login":"BevapDin","id":5095435,"avatar_url":"https://avatars.githubusercontent.com/u/5095435?v=3","gravatar_id":"","url":"https://api.github.com/users/BevapDin","html_url":"https://github.com/BevapDin","followers_url":"https://api.github.com/users/BevapDin/followers","following_url":"https://api.github.com/users/BevapDin/following{/other_user}","gists_url":"https://api.github.com/users/BevapDin/gists{/gist_id}","starred_url":"https://api.github.com/users/BevapDin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BevapDin/subscriptions","organizations_url":"https://api.github.com/users/BevapDin/orgs","repos_url":"https://api.github.com/users/BevapDin/repos","events_url":"https://api.github.com/users/BevapDin/events{/privacy}","received_events_url":"https://api.github.com/users/BevapDin/received_events","type":"User","site_admin":false},"body":"This is inconsistent with the changes in game.cpp. If the monster is friendly, there will be an entry -1 in the factions map, but no entry with `faction->id` of the monster itself. The find will return an invalid iterator, which is dereferenced and will cause a crash.\r\n\r\nMight be related to #10895 as it crashes at this line.","created_at":"2015-01-16T03:57:11Z","updated_at":"2015-01-16T03:57:11Z","html_url":"https://github.com/CleverRaven/Cataclysm-DDA/pull/10859#discussion_r23062125","pull_request_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/pulls/10859","_links":{"self":{"href":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/pulls/comments/23062125"},"html":{"href":"https://github.com/CleverRaven/Cataclysm-DDA/pull/10859#discussion_r23062125"},"pull_request":{"href":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/pulls/10859"}}},"pull_request":{"url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/pulls/10859","id":27316868,"html_url":"https://github.com/CleverRaven/Cataclysm-DDA/pull/10859","diff_url":"https://github.com/CleverRaven/Cataclysm-DDA/pull/10859.diff","patch_url":"https://github.com/CleverRaven/Cataclysm-DDA/pull/10859.patch","issue_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/issues/10859","number":10859,"state":"closed","locked":false,"title":"Infighting update: triggers and monster factions","user":{"login":"Coolthulhu","id":1878860,"avatar_url":"https://avatars.githubusercontent.com/u/1878860?v=3","gravatar_id":"","url":"https://api.github.com/users/Coolthulhu","html_url":"https://github.com/Coolthulhu","followers_url":"https://api.github.com/users/Coolthulhu/followers","following_url":"https://api.github.com/users/Coolthulhu/following{/other_user}","gists_url":"https://api.github.com/users/Coolthulhu/gists{/gist_id}","starred_url":"https://api.github.com/users/Coolthulhu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Coolthulhu/subscriptions","organizations_url":"https://api.github.com/users/Coolthulhu/orgs","repos_url":"https://api.github.com/users/Coolthulhu/repos","events_url":"https://api.github.com/users/Coolthulhu/events{/privacy}","received_events_url":"https://api.github.com/users/Coolthulhu/received_events","type":"User","site_admin":false},"body":"Allows monsters to get mad at non-player targets. Moves PLAYER_NEAR monster trigger processing to monster::plan and renames it to MTRIG_HOSTILE_NEAR.\r\n\r\nAdded 2 new behaviors: swarming and group morale.\r\nSwarming causes idle (target-less) monsters to go towards nearest ally or move away from the nearest ally that's too near.\r\nGroup morale boosts creature's morale when near allies.\r\nAdded both behaviors to wasps and bees and lowered their morale to make group morale effect show.\r\n\r\nMonster factions are first assigned to monster types: when loading an mtype, its json will be checked for \"default_faction\" member. If not found, first species' name will be used as faction's name.\r\n\r\nGenerated monster acquires its faction from its type, but the faction is not tied to mtype after that.\r\nMonsters keep their factions as ids and translate them to/from strings when saving/loading.\r\n\r\nIn-game effects will be:\r\n* Zed scientists will stop getting killed by their own manhacks (will spam them hard - maybe they should get them as ammo?)\r\n* Violent animals will fight back when attacked by zombies\r\n* Bees and wasps will prefer to fight in groups\r\n* Fixed a bug that prevented animals from fleeing from hostile monsters when the player or an NPC is visible (didn't catch that at first because I used Debug Invisibility when testing)\r\n\r\nJson stuff that could be done with it:\r\n* The possibility of splitting species into separate factions, like wolves and rabbits\r\n* Multi-species factions - blobs not fighting with zeds\r\n* Adding stuff to player's faction (not exactly the same effect as friendly = -1)\r\n\r\nPossible further development:\r\n* Monster faction relations (currently it's all \"us vs them\")\r\n* Multi-faction monsters (police zeds allied with zeds and policebots)\r\n* (Much later on) merging with NPC factions","created_at":"2015-01-14T00:07:43Z","updated_at":"2015-01-16T03:57:11Z","closed_at":"2015-01-15T03:55:07Z","merged_at":"2015-01-15T03:55:07Z","merge_commit_sha":"bcd226a60d275e66d5f9b76308317df5982556cb","assignee":{"login":"KA101","id":4195632,"avatar_url":"https://avatars.githubusercontent.com/u/4195632?v=3","gravatar_id":"","url":"https://api.github.com/users/KA101","html_url":"https://github.com/KA101","followers_url":"https://api.github.com/users/KA101/followers","following_url":"https://api.github.com/users/KA101/following{/other_user}","gists_url":"https://api.github.com/users/KA101/gists{/gist_id}","starred_url":"https://api.github.com/users/KA101/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KA101/subscriptions","organizations_url":"https://api.github.com/users/KA101/orgs","repos_url":"https://api.github.com/users/KA101/repos","events_url":"https://api.github.com/users/KA101/events{/privacy}","received_events_url":"https://api.github.com/users/KA101/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/pulls/10859/commits","review_comments_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/pulls/10859/comments","review_comment_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/pulls/comments/{number}","comments_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/issues/10859/comments","statuses_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/statuses/9e25784df0bf1695cfc4d879b771e2d1e1264d52","head":{"label":"Coolthulhu:infight-triggers","ref":"infight-triggers","sha":"9e25784df0bf1695cfc4d879b771e2d1e1264d52","user":{"login":"Coolthulhu","id":1878860,"avatar_url":"https://avatars.githubusercontent.com/u/1878860?v=3","gravatar_id":"","url":"https://api.github.com/users/Coolthulhu","html_url":"https://github.com/Coolthulhu","followers_url":"https://api.github.com/users/Coolthulhu/followers","following_url":"https://api.github.com/users/Coolthulhu/following{/other_user}","gists_url":"https://api.github.com/users/Coolthulhu/gists{/gist_id}","starred_url":"https://api.github.com/users/Coolthulhu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Coolthulhu/subscriptions","organizations_url":"https://api.github.com/users/Coolthulhu/orgs","repos_url":"https://api.github.com/users/Coolthulhu/repos","events_url":"https://api.github.com/users/Coolthulhu/events{/privacy}","received_events_url":"https://api.github.com/users/Coolthulhu/received_events","type":"User","site_admin":false},"repo":{"id":23649904,"name":"Cataclysm-DDA","full_name":"Coolthulhu/Cataclysm-DDA","owner":{"login":"Coolthulhu","id":1878860,"avatar_url":"https://avatars.githubusercontent.com/u/1878860?v=3","gravatar_id":"","url":"https://api.github.com/users/Coolthulhu","html_url":"https://github.com/Coolthulhu","followers_url":"https://api.github.com/users/Coolthulhu/followers","following_url":"https://api.github.com/users/Coolthulhu/following{/other_user}","gists_url":"https://api.github.com/users/Coolthulhu/gists{/gist_id}","starred_url":"https://api.github.com/users/Coolthulhu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Coolthulhu/subscriptions","organizations_url":"https://api.github.com/users/Coolthulhu/orgs","repos_url":"https://api.github.com/users/Coolthulhu/repos","events_url":"https://api.github.com/users/Coolthulhu/events{/privacy}","received_events_url":"https://api.github.com/users/Coolthulhu/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Coolthulhu/Cataclysm-DDA","description":"Cataclysm - Dark Days Ahead. A fork/variant of Cataclysm Roguelike by Whales.","fork":true,"url":"https://api.github.com/repos/Coolthulhu/Cataclysm-DDA","forks_url":"https://api.github.com/repos/Coolthulhu/Cataclysm-DDA/forks","keys_url":"https://api.github.com/repos/Coolthulhu/Cataclysm-DDA/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Coolthulhu/Cataclysm-DDA/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Coolthulhu/Cataclysm-DDA/teams","hooks_url":"https://api.github.com/repos/Coolthulhu/Cataclysm-DDA/hooks","issue_events_url":"https://api.github.com/repos/Coolthulhu/Cataclysm-DDA/issues/events{/number}","events_url":"https://api.github.com/repos/Coolthulhu/Cataclysm-DDA/events","assignees_url":"https://api.github.com/repos/Coolthulhu/Cataclysm-DDA/assignees{/user}","branches_url":"https://api.github.com/repos/Coolthulhu/Cataclysm-DDA/branches{/branch}","tags_url":"https://api.github.com/repos/Coolthulhu/Cataclysm-DDA/tags","blobs_url":"https://api.github.com/repos/Coolthulhu/Cataclysm-DDA/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Coolthulhu/Cataclysm-DDA/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Coolthulhu/Cataclysm-DDA/git/refs{/sha}","trees_url":"https://api.github.com/repos/Coolthulhu/Cataclysm-DDA/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Coolthulhu/Cataclysm-DDA/statuses/{sha}","languages_url":"https://api.github.com/repos/Coolthulhu/Cataclysm-DDA/languages","stargazers_url":"https://api.github.com/repos/Coolthulhu/Cataclysm-DDA/stargazers","contributors_url":"https://api.github.com/repos/Coolthulhu/Cataclysm-DDA/contributors","subscribers_url":"https://api.github.com/repos/Coolthulhu/Cataclysm-DDA/subscribers","subscription_url":"https://api.github.com/repos/Coolthulhu/Cataclysm-DDA/subscription","commits_url":"https://api.github.com/repos/Coolthulhu/Cataclysm-DDA/commits{/sha}","git_commits_url":"https://api.github.com/repos/Coolthulhu/Cataclysm-DDA/git/commits{/sha}","comments_url":"https://api.github.com/repos/Coolthulhu/Cataclysm-DDA/comments{/number}","issue_comment_url":"https://api.github.com/repos/Coolthulhu/Cataclysm-DDA/issues/comments/{number}","contents_url":"https://api.github.com/repos/Coolthulhu/Cataclysm-DDA/contents/{+path}","compare_url":"https://api.github.com/repos/Coolthulhu/Cataclysm-DDA/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Coolthulhu/Cataclysm-DDA/merges","archive_url":"https://api.github.com/repos/Coolthulhu/Cataclysm-DDA/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Coolthulhu/Cataclysm-DDA/downloads","issues_url":"https://api.github.com/repos/Coolthulhu/Cataclysm-DDA/issues{/number}","pulls_url":"https://api.github.com/repos/Coolthulhu/Cataclysm-DDA/pulls{/number}","milestones_url":"https://api.github.com/repos/Coolthulhu/Cataclysm-DDA/milestones{/number}","notifications_url":"https://api.github.com/repos/Coolthulhu/Cataclysm-DDA/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Coolthulhu/Cataclysm-DDA/labels{/name}","releases_url":"https://api.github.com/repos/Coolthulhu/Cataclysm-DDA/releases{/id}","created_at":"2014-09-04T05:39:34Z","updated_at":"2015-01-15T14:29:46Z","pushed_at":"2015-01-16T03:33:18Z","git_url":"git://github.com/Coolthulhu/Cataclysm-DDA.git","ssh_url":"git@github.com:Coolthulhu/Cataclysm-DDA.git","clone_url":"https://github.com/Coolthulhu/Cataclysm-DDA.git","svn_url":"https://github.com/Coolthulhu/Cataclysm-DDA","homepage":"http://en.cataclysmdda.com/","size":343211,"stargazers_count":0,"watchers_count":0,"language":"C++","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":"CleverRaven:master","ref":"master","sha":"21e8661638ec66144cf52bd68c2c01321095f117","user":{"login":"CleverRaven","id":4367009,"avatar_url":"https://avatars.githubusercontent.com/u/4367009?v=3","gravatar_id":"","url":"https://api.github.com/users/CleverRaven","html_url":"https://github.com/CleverRaven","followers_url":"https://api.github.com/users/CleverRaven/followers","following_url":"https://api.github.com/users/CleverRaven/following{/other_user}","gists_url":"https://api.github.com/users/CleverRaven/gists{/gist_id}","starred_url":"https://api.github.com/users/CleverRaven/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CleverRaven/subscriptions","organizations_url":"https://api.github.com/users/CleverRaven/orgs","repos_url":"https://api.github.com/users/CleverRaven/repos","events_url":"https://api.github.com/users/CleverRaven/events{/privacy}","received_events_url":"https://api.github.com/users/CleverRaven/received_events","type":"Organization","site_admin":false},"repo":{"id":5973855,"name":"Cataclysm-DDA","full_name":"CleverRaven/Cataclysm-DDA","owner":{"login":"CleverRaven","id":4367009,"avatar_url":"https://avatars.githubusercontent.com/u/4367009?v=3","gravatar_id":"","url":"https://api.github.com/users/CleverRaven","html_url":"https://github.com/CleverRaven","followers_url":"https://api.github.com/users/CleverRaven/followers","following_url":"https://api.github.com/users/CleverRaven/following{/other_user}","gists_url":"https://api.github.com/users/CleverRaven/gists{/gist_id}","starred_url":"https://api.github.com/users/CleverRaven/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CleverRaven/subscriptions","organizations_url":"https://api.github.com/users/CleverRaven/orgs","repos_url":"https://api.github.com/users/CleverRaven/repos","events_url":"https://api.github.com/users/CleverRaven/events{/privacy}","received_events_url":"https://api.github.com/users/CleverRaven/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/CleverRaven/Cataclysm-DDA","description":"Cataclysm - Dark Days Ahead. A fork/variant of Cataclysm Roguelike by Whales.","fork":false,"url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA","forks_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/forks","keys_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/teams","hooks_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/hooks","issue_events_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/issues/events{/number}","events_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/events","assignees_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/assignees{/user}","branches_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/branches{/branch}","tags_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/tags","blobs_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/git/refs{/sha}","trees_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/statuses/{sha}","languages_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/languages","stargazers_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/stargazers","contributors_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/contributors","subscribers_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/subscribers","subscription_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/subscription","commits_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/commits{/sha}","git_commits_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/git/commits{/sha}","comments_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/comments{/number}","issue_comment_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/issues/comments/{number}","contents_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/contents/{+path}","compare_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/merges","archive_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/downloads","issues_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/issues{/number}","pulls_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/pulls{/number}","milestones_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/milestones{/number}","notifications_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/labels{/name}","releases_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/releases{/id}","created_at":"2012-09-26T22:57:43Z","updated_at":"2015-01-16T03:49:01Z","pushed_at":"2015-01-16T03:49:00Z","git_url":"git://github.com/CleverRaven/Cataclysm-DDA.git","ssh_url":"git@github.com:CleverRaven/Cataclysm-DDA.git","clone_url":"https://github.com/CleverRaven/Cataclysm-DDA.git","svn_url":"https://github.com/CleverRaven/Cataclysm-DDA","homepage":"http://en.cataclysmdda.com/","size":413102,"stargazers_count":568,"watchers_count":568,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":632,"mirror_url":null,"open_issues_count":771,"forks":632,"open_issues":771,"watchers":568,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/pulls/10859"},"html":{"href":"https://github.com/CleverRaven/Cataclysm-DDA/pull/10859"},"issue":{"href":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/issues/10859"},"comments":{"href":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/issues/10859/comments"},"review_comments":{"href":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/pulls/10859/comments"},"review_comment":{"href":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/pulls/10859/commits"},"statuses":{"href":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/statuses/9e25784df0bf1695cfc4d879b771e2d1e1264d52"}}}}