GitHub PullRequestReviewCommentEvent at 2014-07-02 19:34:04
Repository: -tg-station
Actor: Giacom
Payload: {"action":"created","comment":{"url":"https://api.github.com/repos/tgstation/-tg-station/pulls/comments/14478461","id":14478461,"diff_hunk":"@@ -0,0 +1,311 @@\n+/*******************************\\\n+|\t\t  Slot Machines\t\t  \t|\n+|\t  Original code by Glloyd\t|\n+|\t  Tgstation port by Miauw\t|\n+\\*******************************/\n+\n+#define SPIN_PRICE 5\n+#define SMALL_PRIZE 400\n+#define BIG_PRIZE 1000\n+#define JACKPOT 10000\n+#define SPIN_TIME 50 //As always, deciseconds.\n+#define REEL_DEACTIVATE_DELAY 7\n+\n+/obj/machinery/slot_machine\n+\tname = \"slot machine\"\n+\tdesc = \"Gambling for the antisocial.\"\n+\ticon = 'icons/obj/economy.dmi'\n+\ticon_state = \"slots-off\"\n+\tanchored = 1\n+\tdensity = 1\n+\tuse_power = 1\n+\tidle_power_usage = 5\n+\tvar/money = 3000 //How much money it has CONSUMED\n+\tvar/plays = 0\n+\tvar/working = 0\n+\tvar/balance = 0 //How much money is in the machine, ready to be CONSUMED.\n+\tvar/jackpots = 0\n+\tvar/list/coinvalues = list()\n+\tvar/list/reels = list(list(\"\", \"\", \"\"), list(\"\", \"\", \"\"), list(\"\", \"\", \"\"), list(\"\", \"\", \"\"), list(\"\", \"\", \"\"))\n+\tvar/list/spinning_reels = list(0, 0, 0, 0, 0) //Faster than an associative list.\n+\t//THE FONT ISNT WORKING ;-;\n+\tvar/list/symbols = list(\"7\", \"&\", \"@\", \"$\", \"?\", \"#\") //Six symbols, all weighted equally. Chance for 7 sevens is one in 7776. Remember that you influence the chances when adding more symbols\n+\n+/obj/machinery/slot_machine/New()\n+\t..()\n+\tjackpots = rand(1, 4) //false hope\n+\tplays = rand(75, 200)\n+\t\n+\ttoggle_reel_spin(1, 0) //The reels won't spin unless we activate them\n+\t\t\n+\tvar/list/reel = reels[1]\n+\tfor(var/i = 0, i < reel.len, i++) //Populate the reels.\n+\t\trandomize_reels()\n+\t\n+\ttoggle_reel_spin(0, 0)\n+\t\n+\tfor(var/cointype in typesof(/obj/item/weapon/coin))\n+\t\tvar/obj/item/weapon/coin/C = new cointype(src)\n+\t\tcoinvalues[\"[cointype]\"] = C.value\n+\t\tqdel(C)\n+\n+/obj/machinery/slot_machine/attackby(obj/item/I, mob/living/user)\n+\tif(istype(I, /obj/item/weapon/coin))\n+\t\tvar/obj/item/weapon/coin/C = I\n+\t\tif(prob(2))\n+\t\t\tuser.drop_item()\n+\t\t\tC.loc = loc\n+\t\t\tC.throw_at(user, 3, 10)\n+\t\t\tif(prob(10))\n+\t\t\t\tbalance = max(balance - SPIN_PRICE, 0)\n+\t\t\tuser << \"<span class='warning'>[src] spits your coin back out!</span>\"\n+\t\t\t\n+\t\telse\n+\t\t\tuser.drop_item()\n+\t\t\tuser << \"<span class='notice'>You insert a [C.cmineral] coin into [src]'s slot!</span>\"\n+\t\t\tbalance += C.value\n+\t\t\tqdel(C)\n+\t\t\t\n+\t\treturn\n+\t\t\n+\telse if(istype(I, /obj/item/weapon/card/emag) && !emagged)\n+\t\temagged = 1\n+\t\t\n+\t\tvar/datum/effect/effect/system/spark_spread/spark_system = new /datum/effect/effect/system/spark_spread()\n+\t\tspark_system.set_up(4, 0, src.loc)\n+\t\tspark_system.start()\n+\t\tplaysound(src.loc, \"sparks\", 50, 1)\n+\n+/obj/machinery/slot_machine/attack_hand(mob/living/user)\n+\t. = ..() //Sanity checks.\n+\tif(.)\n+\t\treturn .\n+\t\t\n+\tinteract(user)\n+\n+/obj/machinery/slot_machine/process()\n+\tmoney++ //SPESSH MAJICKS\n+\n+/obj/machinery/slot_machine/interact(mob/living/user)\n+\tvar/reeltext = {\"<center><font face=\\\"courier new\\\">\n+\t/*****^*****^*****^*****^*****\\\\<BR>\n+\t| \\[[reels[1][1]]\\] | \\[[reels[2][1]]\\] | \\[[reels[3][1]]\\] | \\[[reels[4][1]]\\] | \\[[reels[5][1]]\\] |<BR>\n+\t| \\[[reels[1][2]]\\] | \\[[reels[2][2]]\\] | \\[[reels[3][2]]\\] | \\[[reels[4][2]]\\] | \\[[reels[5][2]]\\] |<BR>\n+\t| \\[[reels[1][3]]\\] | \\[[reels[2][3]]\\] | \\[[reels[3][3]]\\] | \\[[reels[4][3]]\\] | \\[[reels[5][3]]\\] |<BR>\n+\t\\\\*****v*****v*****v*****v*****/<BR>\n+\t</center></font>\"}\n+\t\n+\tvar/dat\n+\tif(working)\n+\t\tdat = reeltext\n+\t\t\n+\telse\n+\t\tdat = {\"Five credits to play!<BR>\n+\t\t<B>Prize Money Available:</B> [money] (jackpot payout is ALWAYS 100%!)<BR>\n+\t\t<B>Credit Remaining:</B> [balance]<BR>\n+\t\t[plays] players have tried their luck today, and [jackpots] have won a jackpot!<BR>\n+\t\t<HR><BR>\n+\t\t<A href='?src=\\ref[src];spin=1'>Play!</A><BR>\n+\t\t<BR>\n+\t\t[reeltext]\n+\t\t<BR>\n+\t\t<BR>\n+\t\t<font size='1'><A href='?src=\\ref[src];refund=1'>Refund balance</A><BR>\"}\n+\n+\tvar/datum/browser/popup = new(user, \"slotmachine\", \"Slot Machine\")\n+\tpopup.set_content(dat)\n+\tpopup.set_title_image(user.browse_rsc_icon(icon, icon_state))\n+\tpopup.open()\n+\n+/obj/machinery/slot_machine/Topic(href, href_list)\n+\t. = ..() //Sanity checks.\n+\tif(.)\n+\t\treturn .\n+\n+\tif(href_list[\"spin\"])\n+\t\tspin(usr)\n+\n+\tif(href_list[\"refund\"])\n+\t\tgive_coins(balance)\n+\t\tbalance = 0\n+\n+/obj/machinery/slot_machine/update_icon() //super-heavy and advanced processing, absolutely required to be in it's own proc to avoid immense amounts of copypaste :^)\n+\tif(working)\n+\t\ticon_state = \"slots-on\"\n+\n+\telse\n+\t\ticon_state = \"slots-off\"\n+\n+/obj/machinery/slot_machine/emp_act(severity)\n+\tif(prob(15 * severity))\n+\t\treturn\n+\tif(prob(1)) // :^)\n+\t\temagged = 1\n+\tvar/severity_ascending = 4 - severity\n+\tmoney = max(rand(money - (200 * severity_ascending), money + (200 * severity_ascending)), 0)\n+\tbalance = max(rand(balance - (50 * severity_ascending), balance + (50 * severity_ascending)), 0)\n+\tmoney -= max(0, give_coins(min(rand(-50, 100 * severity_ascending)), money)) //This starts at -50 because it shouldn't always dispense coins yo\n+\tspin()\n+\n+//NONSTANDARD PROCS BELOW THIS POINT\n+\n+/obj/machinery/slot_machine/proc/spin(mob/user)\n+\tif(!can_spin())\n+\t\treturn\n+\t\n+\tvar/the_name\n+\tif(user)\n+\t\tthe_name = user.real_name\n+\telse\n+\t\tthe_name = \"Exaybachay\"\n+\n+\tvisible_message(\"<span class='notice'>You pull the lever and the slot machine starts spinning!</span>\")","path":"code/game/machinery/slotmachine.dm","position":162,"original_position":162,"commit_id":"7ba9f62743a1d9ffa99832870fb3abbfb0368ef9","original_commit_id":"7ba9f62743a1d9ffa99832870fb3abbfb0368ef9","user":{"login":"Giacom","id":1524810,"avatar_url":"https://avatars.githubusercontent.com/u/1524810?","gravatar_id":"5f3d22e88974d56da3f3705de7f96542","url":"https://api.github.com/users/Giacom","html_url":"https://github.com/Giacom","followers_url":"https://api.github.com/users/Giacom/followers","following_url":"https://api.github.com/users/Giacom/following{/other_user}","gists_url":"https://api.github.com/users/Giacom/gists{/gist_id}","starred_url":"https://api.github.com/users/Giacom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Giacom/subscriptions","organizations_url":"https://api.github.com/users/Giacom/orgs","repos_url":"https://api.github.com/users/Giacom/repos","events_url":"https://api.github.com/users/Giacom/events{/privacy}","received_events_url":"https://api.github.com/users/Giacom/received_events","type":"User","site_admin":false},"body":"Everyone is going to see \"You pull the lever!\" when they haven't.","created_at":"2014-07-02T19:34:04Z","updated_at":"2014-07-02T19:34:04Z","html_url":"https://github.com/tgstation/-tg-station/pull/4022#discussion_r14478461","pull_request_url":"https://api.github.com/repos/tgstation/-tg-station/pulls/4022","_links":{"self":{"href":"https://api.github.com/repos/tgstation/-tg-station/pulls/comments/14478461"},"html":{"href":"https://github.com/tgstation/-tg-station/pull/4022#discussion_r14478461"},"pull_request":{"href":"https://api.github.com/repos/tgstation/-tg-station/pulls/4022"}}},"pull_request":{"url":"https://api.github.com/repos/tgstation/-tg-station/pulls/4022","id":17740013,"html_url":"https://github.com/tgstation/-tg-station/pull/4022","diff_url":"https://github.com/tgstation/-tg-station/pull/4022.diff","patch_url":"https://github.com/tgstation/-tg-station/pull/4022.patch","issue_url":"https://api.github.com/repos/tgstation/-tg-station/issues/4022","number":4022,"state":"open","title":"Adds slot machines.","user":{"login":"Miauw62","id":3975713,"avatar_url":"https://avatars.githubusercontent.com/u/3975713?","gravatar_id":"8643bb52bedec42dc6e56325818b1c1d","url":"https://api.github.com/users/Miauw62","html_url":"https://github.com/Miauw62","followers_url":"https://api.github.com/users/Miauw62/followers","following_url":"https://api.github.com/users/Miauw62/following{/other_user}","gists_url":"https://api.github.com/users/Miauw62/gists{/gist_id}","starred_url":"https://api.github.com/users/Miauw62/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Miauw62/subscriptions","organizations_url":"https://api.github.com/users/Miauw62/orgs","repos_url":"https://api.github.com/users/Miauw62/repos","events_url":"https://api.github.com/users/Miauw62/events{/privacy}","received_events_url":"https://api.github.com/users/Miauw62/received_events","type":"User","site_admin":false},"body":"What it says on the tin.\r\nIt works with coins and shit.\r\n\r\nemagging it is top lyl and shoots the coins at you.\r\n\r\nProbabilities and values are currently completely arbitrary, feel free to suggest changes.\r\n\r\nThis does not place them on the map.\r\n\r\n![slotmachinebetter gif](https://cloud.githubusercontent.com/assets/3975713/3461118/cb52ef82-021e-11e4-989f-6e41d5040275.gif)\r\n","created_at":"2014-06-28T18:00:37Z","updated_at":"2014-07-02T19:34:04Z","closed_at":null,"merged_at":null,"merge_commit_sha":"11246fac3263f6bd762fad9a70ce0983c805c6e0","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/tgstation/-tg-station/pulls/4022/commits","review_comments_url":"https://api.github.com/repos/tgstation/-tg-station/pulls/4022/comments","review_comment_url":"https://api.github.com/repos/tgstation/-tg-station/pulls/comments/{number}","comments_url":"https://api.github.com/repos/tgstation/-tg-station/issues/4022/comments","statuses_url":"https://api.github.com/repos/tgstation/-tg-station/statuses/7ba9f62743a1d9ffa99832870fb3abbfb0368ef9","head":{"label":"Miauw62:slotmachine","ref":"slotmachine","sha":"7ba9f62743a1d9ffa99832870fb3abbfb0368ef9","user":{"login":"Miauw62","id":3975713,"avatar_url":"https://avatars.githubusercontent.com/u/3975713?","gravatar_id":"8643bb52bedec42dc6e56325818b1c1d","url":"https://api.github.com/users/Miauw62","html_url":"https://github.com/Miauw62","followers_url":"https://api.github.com/users/Miauw62/followers","following_url":"https://api.github.com/users/Miauw62/following{/other_user}","gists_url":"https://api.github.com/users/Miauw62/gists{/gist_id}","starred_url":"https://api.github.com/users/Miauw62/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Miauw62/subscriptions","organizations_url":"https://api.github.com/users/Miauw62/orgs","repos_url":"https://api.github.com/users/Miauw62/repos","events_url":"https://api.github.com/users/Miauw62/events{/privacy}","received_events_url":"https://api.github.com/users/Miauw62/received_events","type":"User","site_admin":false},"repo":{"id":12997458,"name":"-tg-station","full_name":"Miauw62/-tg-station","owner":{"login":"Miauw62","id":3975713,"avatar_url":"https://avatars.githubusercontent.com/u/3975713?","gravatar_id":"8643bb52bedec42dc6e56325818b1c1d","url":"https://api.github.com/users/Miauw62","html_url":"https://github.com/Miauw62","followers_url":"https://api.github.com/users/Miauw62/followers","following_url":"https://api.github.com/users/Miauw62/following{/other_user}","gists_url":"https://api.github.com/users/Miauw62/gists{/gist_id}","starred_url":"https://api.github.com/users/Miauw62/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Miauw62/subscriptions","organizations_url":"https://api.github.com/users/Miauw62/orgs","repos_url":"https://api.github.com/users/Miauw62/repos","events_url":"https://api.github.com/users/Miauw62/events{/privacy}","received_events_url":"https://api.github.com/users/Miauw62/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Miauw62/-tg-station","description":"cyborgs are magic","fork":true,"url":"https://api.github.com/repos/Miauw62/-tg-station","forks_url":"https://api.github.com/repos/Miauw62/-tg-station/forks","keys_url":"https://api.github.com/repos/Miauw62/-tg-station/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Miauw62/-tg-station/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Miauw62/-tg-station/teams","hooks_url":"https://api.github.com/repos/Miauw62/-tg-station/hooks","issue_events_url":"https://api.github.com/repos/Miauw62/-tg-station/issues/events{/number}","events_url":"https://api.github.com/repos/Miauw62/-tg-station/events","assignees_url":"https://api.github.com/repos/Miauw62/-tg-station/assignees{/user}","branches_url":"https://api.github.com/repos/Miauw62/-tg-station/branches{/branch}","tags_url":"https://api.github.com/repos/Miauw62/-tg-station/tags","blobs_url":"https://api.github.com/repos/Miauw62/-tg-station/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Miauw62/-tg-station/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Miauw62/-tg-station/git/refs{/sha}","trees_url":"https://api.github.com/repos/Miauw62/-tg-station/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Miauw62/-tg-station/statuses/{sha}","languages_url":"https://api.github.com/repos/Miauw62/-tg-station/languages","stargazers_url":"https://api.github.com/repos/Miauw62/-tg-station/stargazers","contributors_url":"https://api.github.com/repos/Miauw62/-tg-station/contributors","subscribers_url":"https://api.github.com/repos/Miauw62/-tg-station/subscribers","subscription_url":"https://api.github.com/repos/Miauw62/-tg-station/subscription","commits_url":"https://api.github.com/repos/Miauw62/-tg-station/commits{/sha}","git_commits_url":"https://api.github.com/repos/Miauw62/-tg-station/git/commits{/sha}","comments_url":"https://api.github.com/repos/Miauw62/-tg-station/comments{/number}","issue_comment_url":"https://api.github.com/repos/Miauw62/-tg-station/issues/comments/{number}","contents_url":"https://api.github.com/repos/Miauw62/-tg-station/contents/{+path}","compare_url":"https://api.github.com/repos/Miauw62/-tg-station/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Miauw62/-tg-station/merges","archive_url":"https://api.github.com/repos/Miauw62/-tg-station/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Miauw62/-tg-station/downloads","issues_url":"https://api.github.com/repos/Miauw62/-tg-station/issues{/number}","pulls_url":"https://api.github.com/repos/Miauw62/-tg-station/pulls{/number}","milestones_url":"https://api.github.com/repos/Miauw62/-tg-station/milestones{/number}","notifications_url":"https://api.github.com/repos/Miauw62/-tg-station/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Miauw62/-tg-station/labels{/name}","releases_url":"https://api.github.com/repos/Miauw62/-tg-station/releases{/id}","created_at":"2013-09-21T15:37:26Z","updated_at":"2014-06-28T17:46:05Z","pushed_at":"2014-07-02T19:20:54Z","git_url":"git://github.com/Miauw62/-tg-station.git","ssh_url":"git@github.com:Miauw62/-tg-station.git","clone_url":"https://github.com/Miauw62/-tg-station.git","svn_url":"https://github.com/Miauw62/-tg-station","homepage":"","size":353113,"stargazers_count":0,"watchers_count":0,"language":"DM","has_issues":false,"has_downloads":true,"has_wiki":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"tgstation:master","ref":"master","sha":"e5bc43d12e4d5446d8ce3146d6a19cec42906bde","user":{"login":"tgstation","id":1363778,"avatar_url":"https://avatars.githubusercontent.com/u/1363778?","gravatar_id":"5a759f8abfdfcaabc2cf5eedff8192a3","url":"https://api.github.com/users/tgstation","html_url":"https://github.com/tgstation","followers_url":"https://api.github.com/users/tgstation/followers","following_url":"https://api.github.com/users/tgstation/following{/other_user}","gists_url":"https://api.github.com/users/tgstation/gists{/gist_id}","starred_url":"https://api.github.com/users/tgstation/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tgstation/subscriptions","organizations_url":"https://api.github.com/users/tgstation/orgs","repos_url":"https://api.github.com/users/tgstation/repos","events_url":"https://api.github.com/users/tgstation/events{/privacy}","received_events_url":"https://api.github.com/users/tgstation/received_events","type":"Organization","site_admin":false},"repo":{"id":3234987,"name":"-tg-station","full_name":"tgstation/-tg-station","owner":{"login":"tgstation","id":1363778,"avatar_url":"https://avatars.githubusercontent.com/u/1363778?","gravatar_id":"5a759f8abfdfcaabc2cf5eedff8192a3","url":"https://api.github.com/users/tgstation","html_url":"https://github.com/tgstation","followers_url":"https://api.github.com/users/tgstation/followers","following_url":"https://api.github.com/users/tgstation/following{/other_user}","gists_url":"https://api.github.com/users/tgstation/gists{/gist_id}","starred_url":"https://api.github.com/users/tgstation/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tgstation/subscriptions","organizations_url":"https://api.github.com/users/tgstation/orgs","repos_url":"https://api.github.com/users/tgstation/repos","events_url":"https://api.github.com/users/tgstation/events{/privacy}","received_events_url":"https://api.github.com/users/tgstation/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/tgstation/-tg-station","description":"/tg/'s SS13 branch","fork":false,"url":"https://api.github.com/repos/tgstation/-tg-station","forks_url":"https://api.github.com/repos/tgstation/-tg-station/forks","keys_url":"https://api.github.com/repos/tgstation/-tg-station/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tgstation/-tg-station/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tgstation/-tg-station/teams","hooks_url":"https://api.github.com/repos/tgstation/-tg-station/hooks","issue_events_url":"https://api.github.com/repos/tgstation/-tg-station/issues/events{/number}","events_url":"https://api.github.com/repos/tgstation/-tg-station/events","assignees_url":"https://api.github.com/repos/tgstation/-tg-station/assignees{/user}","branches_url":"https://api.github.com/repos/tgstation/-tg-station/branches{/branch}","tags_url":"https://api.github.com/repos/tgstation/-tg-station/tags","blobs_url":"https://api.github.com/repos/tgstation/-tg-station/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tgstation/-tg-station/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tgstation/-tg-station/git/refs{/sha}","trees_url":"https://api.github.com/repos/tgstation/-tg-station/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tgstation/-tg-station/statuses/{sha}","languages_url":"https://api.github.com/repos/tgstation/-tg-station/languages","stargazers_url":"https://api.github.com/repos/tgstation/-tg-station/stargazers","contributors_url":"https://api.github.com/repos/tgstation/-tg-station/contributors","subscribers_url":"https://api.github.com/repos/tgstation/-tg-station/subscribers","subscription_url":"https://api.github.com/repos/tgstation/-tg-station/subscription","commits_url":"https://api.github.com/repos/tgstation/-tg-station/commits{/sha}","git_commits_url":"https://api.github.com/repos/tgstation/-tg-station/git/commits{/sha}","comments_url":"https://api.github.com/repos/tgstation/-tg-station/comments{/number}","issue_comment_url":"https://api.github.com/repos/tgstation/-tg-station/issues/comments/{number}","contents_url":"https://api.github.com/repos/tgstation/-tg-station/contents/{+path}","compare_url":"https://api.github.com/repos/tgstation/-tg-station/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tgstation/-tg-station/merges","archive_url":"https://api.github.com/repos/tgstation/-tg-station/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tgstation/-tg-station/downloads","issues_url":"https://api.github.com/repos/tgstation/-tg-station/issues{/number}","pulls_url":"https://api.github.com/repos/tgstation/-tg-station/pulls{/number}","milestones_url":"https://api.github.com/repos/tgstation/-tg-station/milestones{/number}","notifications_url":"https://api.github.com/repos/tgstation/-tg-station/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tgstation/-tg-station/labels{/name}","releases_url":"https://api.github.com/repos/tgstation/-tg-station/releases{/id}","created_at":"2012-01-21T17:32:47Z","updated_at":"2014-07-01T23:26:30Z","pushed_at":"2014-07-02T05:10:05Z","git_url":"git://github.com/tgstation/-tg-station.git","ssh_url":"git@github.com:tgstation/-tg-station.git","clone_url":"https://github.com/tgstation/-tg-station.git","svn_url":"https://github.com/tgstation/-tg-station","homepage":"","size":442312,"stargazers_count":153,"watchers_count":153,"language":"DM","has_issues":true,"has_downloads":true,"has_wiki":true,"forks_count":494,"mirror_url":null,"open_issues_count":406,"forks":494,"open_issues":406,"watchers":153,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/tgstation/-tg-station/pulls/4022"},"html":{"href":"https://github.com/tgstation/-tg-station/pull/4022"},"issue":{"href":"https://api.github.com/repos/tgstation/-tg-station/issues/4022"},"comments":{"href":"https://api.github.com/repos/tgstation/-tg-station/issues/4022/comments"},"review_comments":{"href":"https://api.github.com/repos/tgstation/-tg-station/pulls/4022/comments"},"review_comment":{"href":"https://api.github.com/repos/tgstation/-tg-station/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/tgstation/-tg-station/pulls/4022/commits"},"statuses":{"href":"https://api.github.com/repos/tgstation/-tg-station/statuses/7ba9f62743a1d9ffa99832870fb3abbfb0368ef9"}}}}