{"action":"created","comment":{"url":"https://api.github.com/repos/Baystation12/Baystation12/pulls/comments/135405219","pull_request_review_id":58816425,"id":135405219,"diff_hunk":"@@ -0,0 +1,474 @@\n+/obj/machinery/cash_register\n+\tname = \"cash register\"\n+\tdesc = \"Swipe your ID card to make purchases electronically.\"\n+\ticon = 'icons/obj/stationobjs.dmi'\n+\ticon_state = \"register_idle\"\n+\tflags = NOBLUDGEON\n+\treq_access = list(access_heads)\n+\tanchored = 1\n+\n+\tvar/locked = 1\n+\tvar/cash_locked = 1\n+\tvar/cash_open = 0\n+\tvar/machine_id = \"\"\n+\tvar/transaction_amount = 0 // cumulatd amount of money to pay in a single purchase\n+\tvar/transaction_purpose = null // text that gets used in ATM transaction logs\n+\tvar/list/transaction_logs = list() // list of strings using html code to visualise data\n+\tvar/list/item_list = list()  // entities and according\n+\tvar/list/price_list = list() // prices for each purchase\n+\tvar/manipulating = 0\n+\n+\tvar/cash_stored = 0\n+\tvar/obj/item/confirm_item\n+\tvar/datum/money_account/linked_account\n+\n+\n+// Claim machine ID\n+/obj/machinery/cash_register/New()\n+\tmachine_id = \"[station_name()] RETAIL #[num_financial_terminals++]\"\n+\tcash_stored = rand(10, 70)*10\n+\n+\n+/obj/machinery/cash_register/examine(mob/user as mob)\n+\t..(user)\n+\tif(cash_open)\n+\t\tif(cash_stored)\n+\t\t\tuser << \"It holds [cash_stored] Thaler\\s of money.\"\n+\t\telse\n+\t\t\tuser << \"It's completely empty.\"\n+\n+\n+/obj/machinery/cash_register/attack_hand(mob/user as mob)\n+\tif(cash_open)\n+\t\tif(cash_stored)\n+\t\t\tspawn_money(cash_stored, loc, user)\n+\t\t\tcash_stored = 0\n+\t\t\toverlays -= \"register_cash\"\n+\t\telse\n+\t\t\topen_cash_box()\n+\t// Reset if necessary\n+\telse if(transaction_amount)\n+\t\treset_memory()\n+\t\tuser << \"<span class='notice'>You reset the machine's memory.</span>\"\n+\telse\n+\t\tcustom_interface(user)\n+\n+\n+/obj/machinery/cash_register/AltClick(mob/user)\n+\tif(Adjacent(user))\n+\t\topen_cash_box()\n+\n+\n+/obj/machinery/cash_register/proc/custom_interface(mob/user as mob)\n+\tvar/dat = \"<h2>Retail Scanner<hr></h2>\"\n+\tif (locked)\n+\t\tdat += \"<a href='?src=\\ref[src];choice=toggle_lock'>Unlock</a><br>\"\n+\t\tdat += \"Linked account: <b>[linked_account ? linked_account.owner_name : \"None\"]</b><br>\"\n+\t\tdat += \"<b>[cash_locked? \"Unlock\" : \"Lock\"] Cash Box</b> | \"\n+\telse\n+\t\tdat += \"<a href='?src=\\ref[src];choice=toggle_lock'>Lock</a><br>\"\n+\t\tdat += \"Linked account: <a href='?src=\\ref[src];choice=link_account'>[linked_account ? linked_account.owner_name : \"None\"]</a><br>\"\n+\t\tdat += \"<a href='?src=\\ref[src];choice=toggle_cash_lock'>[cash_locked? \"Unlock\" : \"Lock\"] Cash Box</a> | \"\n+\tdat += \"<a href='?src=\\ref[src];choice=custom_order'>Custom Order</a><hr>\"\n+\tfor(var/i=1, i<=transaction_logs.len, i++)\n+\t\tdat += \"[transaction_logs[i]]<br>\"\n+\n+\tif(transaction_logs.len)\n+\t\tdat += locked ? \"<br>\" : \"<a href='?src=\\ref[src];choice=reset_log'>Reset Log</a><br>\"\n+\t\tdat += \"<br>\"\n+\tdat += \"<i>Device ID:</i> [machine_id]\"\n+\tuser << browse(dat, \"window=retail;size=350x500\")\n+\n+\n+/obj/machinery/cash_register/Topic(var/href, var/href_list)\n+\tif(href_list[\"choice\"])\n+\t\tswitch(href_list[\"choice\"])\n+\t\t\tif(\"toggle_lock\")\n+\t\t\t\tif(allowed(usr))\n+\t\t\t\t\tlocked = !locked\n+\t\t\t\telse\n+\t\t\t\t\tusr << \"\\icon[src]<span class='warning'>Insufficient access.</span>\"\n+\t\t\tif(\"toggle_cash_lock\")\n+\t\t\t\tcash_locked = !cash_locked\n+\t\t\tif(\"link_account\")\n+\t\t\t\tvar/attempt_account_num = input(\"Enter account number\", \"New account number\") as num\n+\t\t\t\tvar/attempt_pin = input(\"Enter PIN\", \"Account PIN\") as num\n+\t\t\t\tlinked_account = attempt_account_access(attempt_account_num, attempt_pin, 1)\n+\t\t\t\tif(linked_account)\n+\t\t\t\t\tif(linked_account.suspended)\n+\t\t\t\t\t\tlinked_account = null\n+\t\t\t\t\t\tsrc.visible_message(\"\\icon[src]<span class='warning'>Account has been suspended.</span>\")\n+\t\t\t\telse\n+\t\t\t\t\tusr << \"\\icon[src]<span class='warning'>Account not found.</span>\"\n+\t\t\tif(\"custom_order\")\n+\t\t\t\tvar/t_purpose = sanitize(input(\"Enter purpose\", \"New purpose\") as text)\n+\t\t\t\tif (!t_purpose || !Adjacent(usr)) return\n+\t\t\t\ttransaction_purpose = t_purpose\n+\t\t\t\titem_list += t_purpose\n+\t\t\t\tvar/t_amount = input(\"Enter price\", \"New price\") as num\n+\t\t\t\tif (!t_amount || !Adjacent(usr)) return\n+\t\t\t\ttransaction_amount += t_amount\n+\t\t\t\tprice_list += t_amount\n+\t\t\t\tplaysound(src, 'sound/machines/twobeep.ogg', 25)\n+\t\t\t\tsrc.visible_message(\"\\icon[src][transaction_purpose]: [transaction_amount] Thaler\\s.\")\n+\t\t\tif(\"reset_log\")\n+\t\t\t\ttransaction_logs.Cut()\n+\t\t\t\tusr << \"\\icon[src]<span class='notice'>Transaction log reset.</span>\"\n+\tcustom_interface(usr)\n+\n+\n+\n+/obj/machinery/cash_register/attackby(obj/O as obj, user as mob)\n+\t// Check for a method of paying (ID, PDA, e-wallet, cash, ect.)\n+\tvar/obj/item/weapon/card/id/I = O.GetIdCard()\n+\tif(I)\n+\t\tscan_card(I, O)\n+\telse if (istype(O, /obj/item/weapon/spacecash/ewallet))\n+\t\tvar/obj/item/weapon/spacecash/ewallet/E = O\n+\t\tscan_wallet(E)\n+\telse if (istype(O, /obj/item/weapon/spacecash))\n+\t\tvar/obj/item/weapon/spacecash/SC = O\n+\t\tif(cash_open)\n+\t\t\tuser << \"You neatly sort the cash into the box.\"\n+\t\t\tcash_stored += SC.worth\n+\t\t\toverlays |= \"register_cash\"\n+\t\t\tif(ishuman(user))\n+\t\t\t\tvar/mob/living/carbon/human/H = user\n+\t\t\t\tH.drop_from_inventory(SC)\n+\t\t\tqdel(SC)\n+\t\telse\n+\t\t\tscan_cash(SC)\n+\telse if(istype(O, /obj/item/weapon/card/emag))\n+\t\treturn ..()\n+\telse if(istype(O, /obj/item/weapon/wrench))\n+\t\tvar/obj/item/weapon/wrench/W = O\n+\t\ttoggle_anchors(W, user)\n+\t// Not paying: Look up price and add it to transaction_amount\n+\telse\n+\t\tscan_item_price(O)\n+\n+\n+/obj/machinery/cash_register/MouseDrop_T(atom/dropping, mob/user)\n+\tif(Adjacent(dropping) && Adjacent(user) && !user.stat)\n+\t\tattackby(dropping, user)\n+\n+\n+/obj/machinery/cash_register/proc/confirm(obj/item/I)\n+\tif(confirm_item == I)\n+\t\treturn 1\n+\telse\n+\t\tconfirm_item = I\n+\t\tsrc.visible_message(\"\\icon[src]<b>Total price:</b> [transaction_amount] Thaler\\s. Swipe again to confirm.\")\n+\t\tplaysound(src, 'sound/machines/twobeep.ogg', 25)\n+\t\treturn 0\n+\n+\n+/obj/machinery/cash_register/proc/scan_card(obj/item/weapon/card/id/I, obj/item/ID_container)\n+\tif (!transaction_amount)\n+\t\treturn\n+\n+\tif(!confirm(I))\n+\t\treturn\n+\n+\tif (!linked_account)\n+\t\tusr.visible_message(\"\\icon[src]<span class='warning'>Unable to connect to linked account.</span>\")\n+\t\treturn\n+\n+\tif (cash_open)\n+\t\tplaysound(src, 'sound/machines/buzz-sigh.ogg', 25)\n+\t\tusr << \"\\icon[src]<span class='warning'>The cash box is open.</span>\"\n+\t\treturn\n+\n+\t// Access account for transaction\n+\tif(check_account())\n+\t\tvar/datum/money_account/D = get_account(I.associated_account_number)\n+\t\tvar/attempt_pin = \"\"\n+\t\tif(D && D.security_level)\n+\t\t\tattempt_pin = input(\"Enter PIN\", \"Transaction\") as num\n+\t\t\tD = null\n+\t\tD = attempt_account_access(I.associated_account_number, attempt_pin, 2)\n+\n+\t\tif(!D)\n+\t\t\tsrc.visible_message(\"\\icon[src]<span class='warning'>Unable to access account. Check security settings and try again.</span>\")\n+\t\telse\n+\t\t\tif(D.suspended)\n+\t\t\t\tsrc.visible_message(\"\\icon[src]<span class='warning'>Your account has been suspended.</span>\")\n+\t\t\telse\n+\t\t\t\tif(transaction_amount > D.money)\n+\t\t\t\t\tsrc.visible_message(\"\\icon[src]<span class='warning'>Not enough funds.</span>\")\n+\t\t\t\telse\n+\t\t\t\t\t// Transfer the money\n+\t\t\t\t\tD.money -= transaction_amount\n+\t\t\t\t\tlinked_account.money += transaction_amount\n+\n+\t\t\t\t\t// Create log entry in client's account\n+\t\t\t\t\tvar/datum/transaction/T = new()\n+\t\t\t\t\tT.target_name = \"[linked_account.owner_name]\"\n+\t\t\t\t\tT.purpose = transaction_purpose\n+\t\t\t\t\tT.amount = \"([transaction_amount])\"\n+\t\t\t\t\tT.source_terminal = machine_id\n+\t\t\t\t\tT.date = current_date_string\n+\t\t\t\t\tT.time = stationtime2text()\n+\t\t\t\t\tD.transaction_log.Add(T)\n+\n+\t\t\t\t\t// Create log entry in owner's account\n+\t\t\t\t\tT = new()\n+\t\t\t\t\tT.target_name = D.owner_name\n+\t\t\t\t\tT.purpose = transaction_purpose\n+\t\t\t\t\tT.amount = \"[transaction_amount]\"\n+\t\t\t\t\tT.source_terminal = machine_id\n+\t\t\t\t\tT.date = current_date_string\n+\t\t\t\t\tT.time = stationtime2text()\n+\t\t\t\t\tlinked_account.transaction_log.Add(T)\n+\n+\t\t\t\t\t// Save log\n+\t\t\t\t\tadd_transaction_log(I.registered_name ? I.registered_name : \"n/A\", \"ID Card\", transaction_amount)\n+\n+\t\t\t\t\t// Confirm and reset\n+\t\t\t\t\ttransaction_complete()\n+\n+\n+/obj/machinery/cash_register/proc/scan_wallet(obj/item/weapon/spacecash/ewallet/E)\n+\tif (!transaction_amount)\n+\t\treturn\n+\n+\tif(!confirm(E))\n+\t\treturn\n+\n+\tif (cash_open)\n+\t\tplaysound(src, 'sound/machines/buzz-sigh.ogg', 25)\n+\t\tusr << \"\\icon[src]<span class='warning'>The cash box is open.</span>\"\n+\t\treturn\n+\n+\t// Access account for transaction\n+\tif(check_account())\n+\t\tif(transaction_amount > E.worth)\n+\t\t\tsrc.visible_message(\"\\icon[src]<span class='warning'>Not enough funds.</span>\")\n+\t\telse\n+\t\t\t// Transfer the money\n+\t\t\tE.worth -= transaction_amount\n+\t\t\tlinked_account.money += transaction_amount\n+\n+\t\t\t// Create log entry in owner's account\n+\t\t\tvar/datum/transaction/T = new()\n+\t\t\tT.target_name = E.owner_name\n+\t\t\tT.purpose = transaction_purpose\n+\t\t\tT.amount = \"[transaction_amount]\"\n+\t\t\tT.source_terminal = machine_id\n+\t\t\tT.date = current_date_string\n+\t\t\tT.time = stationtime2text()\n+\t\t\tlinked_account.transaction_log.Add(T)\n+\n+\t\t\t// Save log\n+\t\t\tadd_transaction_log(E.owner_name, \"E-Wallet\", transaction_amount)\n+\n+\t\t\t// Confirm and reset\n+\t\t\ttransaction_complete()\n+\n+\n+/obj/machinery/cash_register/proc/scan_cash(obj/item/weapon/spacecash/SC)\n+\tif (!transaction_amount)\n+\t\treturn\n+\n+\tif(!confirm(SC))\n+\t\treturn\n+\n+\tif (cash_open)\n+\t\tplaysound(src, 'sound/machines/buzz-sigh.ogg', 25)\n+\t\tusr << \"\\icon[src]<span class='warning'>The cash box is open.</span>\"\n+\t\treturn\n+\n+\t// Access account for transaction\n+\tif(check_account())\n+\t\tif(transaction_amount > SC.worth)\n+\t\t\tsrc.visible_message(\"\\icon[src]<span class='warning'>Not enough money.</span>\")\n+\t\telse\n+\t\t\t// Insert cash into magical slot\n+\t\t\tSC.worth -= transaction_amount\n+\t\t\tSC.update_icon()\n+\t\t\tif(!SC.worth)\n+\t\t\t\tif(ishuman(SC.loc))\n+\t\t\t\t\tvar/mob/living/carbon/human/H = SC.loc\n+\t\t\t\t\tH.drop_from_inventory(SC)\n+\t\t\t\tqdel(SC)\n+\t\t\tcash_stored += transaction_amount\n+\n+\t\t\t// Save log\n+\t\t\tadd_transaction_log(\"n/A\", \"Cash\", transaction_amount)\n+\n+\t\t\t// Confirm and reset\n+\t\t\ttransaction_complete()\n+\n+\n+/obj/machinery/cash_register/proc/scan_item_price(obj/O)\n+\tif(!istype(O))\treturn\n+\tif (cash_open)\n+\t\tplaysound(src, 'sound/machines/buzz-sigh.ogg', 25)\n+\t\tusr << \"\\icon[src]<span class='warning'>The cash box is open.</span>\"\n+\t\treturn\n+\n+\t// First check if item has a valid price\n+\tvar/price = O.get_item_cost()\n+\tif(isnull(price))\n+\t\tsrc.visible_message(\"\\icon[src]<span class='warning'>Unable to find item in database.</span>\")\n+\t\treturn\n+\t// Call out item cost\n+\tsrc.visible_message(\"\\icon[src]\\A [O]: [price ? \"[price] Thaler\\s\" : \"free of charge\"].\")\n+\t// Note the transaction purpose for later use\n+\tif(transaction_purpose)\n+\t\ttransaction_purpose += \"<br>\"\n+\ttransaction_purpose += \"[O]: [price] Thaler\\s\"\n+\ttransaction_amount += price\n+\titem_list += \"[O]\"\n+\tprice_list += \"[price] &thorn\"\n+\t// Animation and sound\n+\tplaysound(src, 'sound/machines/twobeep.ogg', 25)\n+\t// Reset confirmation\n+\tconfirm_item = null\n+\n+\n+/obj/machinery/cash_register/proc/add_transaction_log(var/c_name, var/p_method, var/t_amount)\n+\tvar/dat = {\"\n+\t<head><style>\n+\t\t.tx-table {border: 1px solid black;}\n+\t\t.tx-title {text-align: center; background-color:#ddddff; font-weight: bold}\n+\t\t.tx-name {background-color: #bbbbee}\n+\t\t.tx-data {text-align: right; background-color: #ccccff;}\n+\t</head></style>\n+\t<table width=300>\n+\t<tr><td colspan=\"2\" class=\"tx-title\">Transaction #[transaction_logs.len+1]</td></tr>\n+\t<tr></tr>\n+\t<tr><td class=\"tx-name\">Customer</td><td class=\"tx-data\">[c_name]</td></tr>\n+\t<tr><td class=\"tx-name\">Pay Method</td><td class=\"tx-data\">[p_method]</td></tr>\n+\t<tr><td class=\"tx-name\">Station Time</td><td class=\"tx-data\">[stationtime2text()]</td></tr>\n+\t</table>\n+\t<table width=300>\n+\t\"}\n+\tfor(var/i=1, i<=item_list.len, i++)\n+\t\tdat += \"<tr><td class=\\\"tx-name\\\">[item_list[i]]</td><td class=\\\"tx-data\\\" width=50>[price_list[i]]</td></tr>\"\n+\tdat += \"<tr></tr><tr><td colspan=\\\"2\\\" class=\\\"tx-name\\\" style='text-align: right'><b>Total Amount: [transaction_amount] &thorn</b></td></tr>\"\n+\tdat += \"</table>\"\n+\n+\ttransaction_logs += dat\n+\n+\n+/obj/machinery/cash_register/proc/check_account()\n+\tif (!linked_account)\n+\t\tusr.visible_message(\"\\icon[src]<span class='warning'>Unable to connect to linked account.</span>\")\n+\t\treturn 0\n+\n+\tif(linked_account.suspended)\n+\t\tsrc.visible_message(\"\\icon[src]<span class='warning'>Connected account has been suspended.</span>\")\n+\t\treturn 0\n+\treturn 1\n+\n+\n+/obj/machinery/cash_register/proc/transaction_complete()\n+\t/// Visible confirmation\n+\tplaysound(src, 'sound/machines/chime.ogg', 25)\n+\tsrc.visible_message(\"\\icon[src]<span class='notice'>Transaction complete.</span>\")\n+\tflick(\"register_approve\", src)\n+\treset_memory()\n+\n+/obj/machinery/cash_register/proc/reset_memory()\n+\ttransaction_amount = null\n+\ttransaction_purpose = \"\"\n+\titem_list.Cut()\n+\tprice_list.Cut()\n+\tconfirm_item = null\n+\n+\n+/obj/machinery/cash_register/verb/open_cash_box()\n+\tset category = \"Object\"\n+\tset name = \"Open Cash Box\"\n+\tset desc = \"Open/closes the register's cash box.\"\n+\tset src in view(1)\n+\n+\tif(usr.stat) return","path":"code/modules/economy/cash_register.dm","position":387,"original_position":387,"commit_id":"2df57c606837b5ef5425023792c3672648159a50","original_commit_id":"2df57c606837b5ef5425023792c3672648159a50","user":{"login":"PsiOmegaDelta","id":496895,"avatar_url":"https://avatars2.githubusercontent.com/u/496895?v=4","gravatar_id":"","url":"https://api.github.com/users/PsiOmegaDelta","html_url":"https://github.com/PsiOmegaDelta","followers_url":"https://api.github.com/users/PsiOmegaDelta/followers","following_url":"https://api.github.com/users/PsiOmegaDelta/following{/other_user}","gists_url":"https://api.github.com/users/PsiOmegaDelta/gists{/gist_id}","starred_url":"https://api.github.com/users/PsiOmegaDelta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PsiOmegaDelta/subscriptions","organizations_url":"https://api.github.com/users/PsiOmegaDelta/orgs","repos_url":"https://api.github.com/users/PsiOmegaDelta/repos","events_url":"https://api.github.com/users/PsiOmegaDelta/events{/privacy}","received_events_url":"https://api.github.com/users/PsiOmegaDelta/received_events","type":"User","site_admin":false},"body":"`if(!CanPhysicallyInteract(usr)`","created_at":"2017-08-27T07:56:19Z","updated_at":"2017-08-27T07:56:19Z","html_url":"https://github.com/Baystation12/Baystation12/pull/18372#discussion_r135405219","pull_request_url":"https://api.github.com/repos/Baystation12/Baystation12/pulls/18372","_links":{"self":{"href":"https://api.github.com/repos/Baystation12/Baystation12/pulls/comments/135405219"},"html":{"href":"https://github.com/Baystation12/Baystation12/pull/18372#discussion_r135405219"},"pull_request":{"href":"https://api.github.com/repos/Baystation12/Baystation12/pulls/18372"}}},"pull_request":{"url":"https://api.github.com/repos/Baystation12/Baystation12/pulls/18372","id":137811255,"html_url":"https://github.com/Baystation12/Baystation12/pull/18372","diff_url":"https://github.com/Baystation12/Baystation12/pull/18372.diff","patch_url":"https://github.com/Baystation12/Baystation12/pull/18372.patch","issue_url":"https://api.github.com/repos/Baystation12/Baystation12/issues/18372","number":18372,"state":"open","locked":false,"title":"Ports Hubble's money changes from Polaris.","user":{"login":"Zuhayr","id":2468979,"avatar_url":"https://avatars1.githubusercontent.com/u/2468979?v=4","gravatar_id":"","url":"https://api.github.com/users/Zuhayr","html_url":"https://github.com/Zuhayr","followers_url":"https://api.github.com/users/Zuhayr/followers","following_url":"https://api.github.com/users/Zuhayr/following{/other_user}","gists_url":"https://api.github.com/users/Zuhayr/gists{/gist_id}","starred_url":"https://api.github.com/users/Zuhayr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Zuhayr/subscriptions","organizations_url":"https://api.github.com/users/Zuhayr/orgs","repos_url":"https://api.github.com/users/Zuhayr/repos","events_url":"https://api.github.com/users/Zuhayr/events{/privacy}","received_events_url":"https://api.github.com/users/Zuhayr/received_events","type":"User","site_admin":false},"body":"@Earthcrusher \r\n\r\nDNM, opening for diff and Travis.","created_at":"2017-08-26T20:37:31Z","updated_at":"2017-08-27T07:56:19Z","closed_at":null,"merged_at":null,"merge_commit_sha":"537a26c434ea7a19d98d82e4727988e7a3bd9e7a","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/Baystation12/Baystation12/pulls/18372/commits","review_comments_url":"https://api.github.com/repos/Baystation12/Baystation12/pulls/18372/comments","review_comment_url":"https://api.github.com/repos/Baystation12/Baystation12/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Baystation12/Baystation12/issues/18372/comments","statuses_url":"https://api.github.com/repos/Baystation12/Baystation12/statuses/2df57c606837b5ef5425023792c3672648159a50","head":{"label":"Zuhayr:hubblemoney","ref":"hubblemoney","sha":"2df57c606837b5ef5425023792c3672648159a50","user":{"login":"Zuhayr","id":2468979,"avatar_url":"https://avatars1.githubusercontent.com/u/2468979?v=4","gravatar_id":"","url":"https://api.github.com/users/Zuhayr","html_url":"https://github.com/Zuhayr","followers_url":"https://api.github.com/users/Zuhayr/followers","following_url":"https://api.github.com/users/Zuhayr/following{/other_user}","gists_url":"https://api.github.com/users/Zuhayr/gists{/gist_id}","starred_url":"https://api.github.com/users/Zuhayr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Zuhayr/subscriptions","organizations_url":"https://api.github.com/users/Zuhayr/orgs","repos_url":"https://api.github.com/users/Zuhayr/repos","events_url":"https://api.github.com/users/Zuhayr/events{/privacy}","received_events_url":"https://api.github.com/users/Zuhayr/received_events","type":"User","site_admin":false},"repo":{"id":6039946,"name":"Baystation12","full_name":"Zuhayr/Baystation12","owner":{"login":"Zuhayr","id":2468979,"avatar_url":"https://avatars1.githubusercontent.com/u/2468979?v=4","gravatar_id":"","url":"https://api.github.com/users/Zuhayr","html_url":"https://github.com/Zuhayr","followers_url":"https://api.github.com/users/Zuhayr/followers","following_url":"https://api.github.com/users/Zuhayr/following{/other_user}","gists_url":"https://api.github.com/users/Zuhayr/gists{/gist_id}","starred_url":"https://api.github.com/users/Zuhayr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Zuhayr/subscriptions","organizations_url":"https://api.github.com/users/Zuhayr/orgs","repos_url":"https://api.github.com/users/Zuhayr/repos","events_url":"https://api.github.com/users/Zuhayr/events{/privacy}","received_events_url":"https://api.github.com/users/Zuhayr/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Zuhayr/Baystation12","description":"The code for Baystation12's branch of SS13. Developers: please don't forget to update the changelog. Thanks!","fork":true,"url":"https://api.github.com/repos/Zuhayr/Baystation12","forks_url":"https://api.github.com/repos/Zuhayr/Baystation12/forks","keys_url":"https://api.github.com/repos/Zuhayr/Baystation12/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Zuhayr/Baystation12/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Zuhayr/Baystation12/teams","hooks_url":"https://api.github.com/repos/Zuhayr/Baystation12/hooks","issue_events_url":"https://api.github.com/repos/Zuhayr/Baystation12/issues/events{/number}","events_url":"https://api.github.com/repos/Zuhayr/Baystation12/events","assignees_url":"https://api.github.com/repos/Zuhayr/Baystation12/assignees{/user}","branches_url":"https://api.github.com/repos/Zuhayr/Baystation12/branches{/branch}","tags_url":"https://api.github.com/repos/Zuhayr/Baystation12/tags","blobs_url":"https://api.github.com/repos/Zuhayr/Baystation12/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Zuhayr/Baystation12/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Zuhayr/Baystation12/git/refs{/sha}","trees_url":"https://api.github.com/repos/Zuhayr/Baystation12/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Zuhayr/Baystation12/statuses/{sha}","languages_url":"https://api.github.com/repos/Zuhayr/Baystation12/languages","stargazers_url":"https://api.github.com/repos/Zuhayr/Baystation12/stargazers","contributors_url":"https://api.github.com/repos/Zuhayr/Baystation12/contributors","subscribers_url":"https://api.github.com/repos/Zuhayr/Baystation12/subscribers","subscription_url":"https://api.github.com/repos/Zuhayr/Baystation12/subscription","commits_url":"https://api.github.com/repos/Zuhayr/Baystation12/commits{/sha}","git_commits_url":"https://api.github.com/repos/Zuhayr/Baystation12/git/commits{/sha}","comments_url":"https://api.github.com/repos/Zuhayr/Baystation12/comments{/number}","issue_comment_url":"https://api.github.com/repos/Zuhayr/Baystation12/issues/comments{/number}","contents_url":"https://api.github.com/repos/Zuhayr/Baystation12/contents/{+path}","compare_url":"https://api.github.com/repos/Zuhayr/Baystation12/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Zuhayr/Baystation12/merges","archive_url":"https://api.github.com/repos/Zuhayr/Baystation12/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Zuhayr/Baystation12/downloads","issues_url":"https://api.github.com/repos/Zuhayr/Baystation12/issues{/number}","pulls_url":"https://api.github.com/repos/Zuhayr/Baystation12/pulls{/number}","milestones_url":"https://api.github.com/repos/Zuhayr/Baystation12/milestones{/number}","notifications_url":"https://api.github.com/repos/Zuhayr/Baystation12/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Zuhayr/Baystation12/labels{/name}","releases_url":"https://api.github.com/repos/Zuhayr/Baystation12/releases{/id}","deployments_url":"https://api.github.com/repos/Zuhayr/Baystation12/deployments","created_at":"2012-10-02T04:00:17Z","updated_at":"2017-06-19T00:17:31Z","pushed_at":"2017-08-26T20:36:40Z","git_url":"git://github.com/Zuhayr/Baystation12.git","ssh_url":"git@github.com:Zuhayr/Baystation12.git","clone_url":"https://github.com/Zuhayr/Baystation12.git","svn_url":"https://github.com/Zuhayr/Baystation12","homepage":"http://baystation12.net/","size":762344,"stargazers_count":4,"watchers_count":4,"language":"DM","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":4,"default_branch":"master"}},"base":{"label":"Baystation12:dev","ref":"dev","sha":"7a8d485b9ab7060b70d1da5e4bd4c9aee9dfdd8a","user":{"login":"Baystation12","id":1174322,"avatar_url":"https://avatars0.githubusercontent.com/u/1174322?v=4","gravatar_id":"","url":"https://api.github.com/users/Baystation12","html_url":"https://github.com/Baystation12","followers_url":"https://api.github.com/users/Baystation12/followers","following_url":"https://api.github.com/users/Baystation12/following{/other_user}","gists_url":"https://api.github.com/users/Baystation12/gists{/gist_id}","starred_url":"https://api.github.com/users/Baystation12/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Baystation12/subscriptions","organizations_url":"https://api.github.com/users/Baystation12/orgs","repos_url":"https://api.github.com/users/Baystation12/repos","events_url":"https://api.github.com/users/Baystation12/events{/privacy}","received_events_url":"https://api.github.com/users/Baystation12/received_events","type":"Organization","site_admin":false},"repo":{"id":2715933,"name":"Baystation12","full_name":"Baystation12/Baystation12","owner":{"login":"Baystation12","id":1174322,"avatar_url":"https://avatars0.githubusercontent.com/u/1174322?v=4","gravatar_id":"","url":"https://api.github.com/users/Baystation12","html_url":"https://github.com/Baystation12","followers_url":"https://api.github.com/users/Baystation12/followers","following_url":"https://api.github.com/users/Baystation12/following{/other_user}","gists_url":"https://api.github.com/users/Baystation12/gists{/gist_id}","starred_url":"https://api.github.com/users/Baystation12/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Baystation12/subscriptions","organizations_url":"https://api.github.com/users/Baystation12/orgs","repos_url":"https://api.github.com/users/Baystation12/repos","events_url":"https://api.github.com/users/Baystation12/events{/privacy}","received_events_url":"https://api.github.com/users/Baystation12/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Baystation12/Baystation12","description":"The code for Baystation12's branch of SS13","fork":false,"url":"https://api.github.com/repos/Baystation12/Baystation12","forks_url":"https://api.github.com/repos/Baystation12/Baystation12/forks","keys_url":"https://api.github.com/repos/Baystation12/Baystation12/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Baystation12/Baystation12/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Baystation12/Baystation12/teams","hooks_url":"https://api.github.com/repos/Baystation12/Baystation12/hooks","issue_events_url":"https://api.github.com/repos/Baystation12/Baystation12/issues/events{/number}","events_url":"https://api.github.com/repos/Baystation12/Baystation12/events","assignees_url":"https://api.github.com/repos/Baystation12/Baystation12/assignees{/user}","branches_url":"https://api.github.com/repos/Baystation12/Baystation12/branches{/branch}","tags_url":"https://api.github.com/repos/Baystation12/Baystation12/tags","blobs_url":"https://api.github.com/repos/Baystation12/Baystation12/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Baystation12/Baystation12/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Baystation12/Baystation12/git/refs{/sha}","trees_url":"https://api.github.com/repos/Baystation12/Baystation12/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Baystation12/Baystation12/statuses/{sha}","languages_url":"https://api.github.com/repos/Baystation12/Baystation12/languages","stargazers_url":"https://api.github.com/repos/Baystation12/Baystation12/stargazers","contributors_url":"https://api.github.com/repos/Baystation12/Baystation12/contributors","subscribers_url":"https://api.github.com/repos/Baystation12/Baystation12/subscribers","subscription_url":"https://api.github.com/repos/Baystation12/Baystation12/subscription","commits_url":"https://api.github.com/repos/Baystation12/Baystation12/commits{/sha}","git_commits_url":"https://api.github.com/repos/Baystation12/Baystation12/git/commits{/sha}","comments_url":"https://api.github.com/repos/Baystation12/Baystation12/comments{/number}","issue_comment_url":"https://api.github.com/repos/Baystation12/Baystation12/issues/comments{/number}","contents_url":"https://api.github.com/repos/Baystation12/Baystation12/contents/{+path}","compare_url":"https://api.github.com/repos/Baystation12/Baystation12/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Baystation12/Baystation12/merges","archive_url":"https://api.github.com/repos/Baystation12/Baystation12/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Baystation12/Baystation12/downloads","issues_url":"https://api.github.com/repos/Baystation12/Baystation12/issues{/number}","pulls_url":"https://api.github.com/repos/Baystation12/Baystation12/pulls{/number}","milestones_url":"https://api.github.com/repos/Baystation12/Baystation12/milestones{/number}","notifications_url":"https://api.github.com/repos/Baystation12/Baystation12/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Baystation12/Baystation12/labels{/name}","releases_url":"https://api.github.com/repos/Baystation12/Baystation12/releases{/id}","deployments_url":"https://api.github.com/repos/Baystation12/Baystation12/deployments","created_at":"2011-11-05T16:12:41Z","updated_at":"2017-08-26T22:14:21Z","pushed_at":"2017-08-27T07:41:49Z","git_url":"git://github.com/Baystation12/Baystation12.git","ssh_url":"git@github.com:Baystation12/Baystation12.git","clone_url":"https://github.com/Baystation12/Baystation12.git","svn_url":"https://github.com/Baystation12/Baystation12","homepage":"http://baystation12.net/","size":691488,"stargazers_count":261,"watchers_count":261,"language":"DM","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":853,"mirror_url":null,"open_issues_count":1430,"forks":853,"open_issues":1430,"watchers":261,"default_branch":"dev"}},"_links":{"self":{"href":"https://api.github.com/repos/Baystation12/Baystation12/pulls/18372"},"html":{"href":"https://github.com/Baystation12/Baystation12/pull/18372"},"issue":{"href":"https://api.github.com/repos/Baystation12/Baystation12/issues/18372"},"comments":{"href":"https://api.github.com/repos/Baystation12/Baystation12/issues/18372/comments"},"review_comments":{"href":"https://api.github.com/repos/Baystation12/Baystation12/pulls/18372/comments"},"review_comment":{"href":"https://api.github.com/repos/Baystation12/Baystation12/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Baystation12/Baystation12/pulls/18372/commits"},"statuses":{"href":"https://api.github.com/repos/Baystation12/Baystation12/statuses/2df57c606837b5ef5425023792c3672648159a50"}}}}
{"actor":{"display_login":"PsiOmegaDelta"}}