{"action":"created","comment":{"url":"https://api.github.com/repos/d3athrow/vgstation13/pulls/comments/33419637","id":33419637,"diff_hunk":"@@ -0,0 +1,86 @@\n+/datum/wires/jukebox\r\n+\tholder_type = /obj/machinery/media/jukebox\r\n+\twire_count = 8\r\n+\tvar/interference = 0 //Caused by pulsing the transmit wire\r\n+\r\n+var/const/JUKE_POWER_ONE = 1 //Power. Cut for shock and off. Pulse toggles.\r\n+var/const/JUKE_POWER_TWO = 2 //Power. Cut for shock and off. Pulse toggles increased lum.\r\n+var/const/JUKE_POWER_THREE = 4 //Power. Cut for shock and off. Pulse toggles decreased lum.\r\n+var/const/JUKE_SHUFFLE = 8 //Cut to disable shuffle and move to play_once. Pulse immediately shuffles.\r\n+var/const/JUKE_CAPITAL = 16 //Cut to disable song picking. Pulse randomizes song pick price 1-10.\r\n+var/const/JUKE_TRANSMIT = 32 //Cut shocks and disables multitool. Pulse emits burst of rads.\r\n+var/const/JUKE_CONFIG = 64 //Cut emags. Pulse plays IAMERROR.ogg\r\n+var/const/JUKE_SETTING = 128 //Cut shocks. Pulse toggles settings menu.\r\n+\r\n+/datum/wires/jukebox/CanUse(var/mob/living/L)\r\n+\tvar/obj/machinery/media/jukebox/J = holder\r\n+\tif(J.panel_open)\r\n+\t\treturn 1\r\n+\treturn 0\r\n+\r\n+/datum/wires/jukebox/GetInteractWindow()\r\n+\tvar/obj/machinery/media/jukebox/J = holder\r\n+\t. += ..()\r\n+\t. += \"<BR>The decorative tube with bubbles is [!J.any_power_cut() ? \"glowing\" : \"dim\"].<BR>\"\r","path":"code/datums/wires/jukebox.dm","position":24,"original_position":24,"commit_id":"b955996f2d139aacbca0640cf8268eb28cde37df","original_commit_id":"b955996f2d139aacbca0640cf8268eb28cde37df","user":{"login":"ComicIronic","id":7339857,"avatar_url":"https://avatars.githubusercontent.com/u/7339857?v=3","gravatar_id":"","url":"https://api.github.com/users/ComicIronic","html_url":"https://github.com/ComicIronic","followers_url":"https://api.github.com/users/ComicIronic/followers","following_url":"https://api.github.com/users/ComicIronic/following{/other_user}","gists_url":"https://api.github.com/users/ComicIronic/gists{/gist_id}","starred_url":"https://api.github.com/users/ComicIronic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ComicIronic/subscriptions","organizations_url":"https://api.github.com/users/ComicIronic/orgs","repos_url":"https://api.github.com/users/ComicIronic/repos","events_url":"https://api.github.com/users/ComicIronic/events{/privacy}","received_events_url":"https://api.github.com/users/ComicIronic/received_events","type":"User","site_admin":false},"body":"Use {}","created_at":"2015-06-28T07:20:12Z","updated_at":"2015-06-28T07:20:12Z","html_url":"https://github.com/d3athrow/vgstation13/pull/5171#discussion_r33419637","pull_request_url":"https://api.github.com/repos/d3athrow/vgstation13/pulls/5171","_links":{"self":{"href":"https://api.github.com/repos/d3athrow/vgstation13/pulls/comments/33419637"},"html":{"href":"https://github.com/d3athrow/vgstation13/pull/5171#discussion_r33419637"},"pull_request":{"href":"https://api.github.com/repos/d3athrow/vgstation13/pulls/5171"}}},"pull_request":{"url":"https://api.github.com/repos/d3athrow/vgstation13/pulls/5171","id":38719184,"html_url":"https://github.com/d3athrow/vgstation13/pull/5171","diff_url":"https://github.com/d3athrow/vgstation13/pull/5171.diff","patch_url":"https://github.com/d3athrow/vgstation13/pull/5171.patch","issue_url":"https://api.github.com/repos/d3athrow/vgstation13/issues/5171","number":5171,"state":"open","locked":false,"title":"[Content] [Bug Fix] DJ Update","user":{"login":"Kurfursten","id":9782036,"avatar_url":"https://avatars.githubusercontent.com/u/9782036?v=3","gravatar_id":"","url":"https://api.github.com/users/Kurfursten","html_url":"https://github.com/Kurfursten","followers_url":"https://api.github.com/users/Kurfursten/followers","following_url":"https://api.github.com/users/Kurfursten/following{/other_user}","gists_url":"https://api.github.com/users/Kurfursten/gists{/gist_id}","starred_url":"https://api.github.com/users/Kurfursten/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kurfursten/subscriptions","organizations_url":"https://api.github.com/users/Kurfursten/orgs","repos_url":"https://api.github.com/users/Kurfursten/repos","events_url":"https://api.github.com/users/Kurfursten/events{/privacy}","received_events_url":"https://api.github.com/users/Kurfursten/received_events","type":"User","site_admin":false},"body":"* Bug Fix: Fixed a bug in which the radio transmitter was not dense\r\n* Bug Fix: Fixed a bug in which you couldn't examine someone's ear slot\r\n* Bug Fix: Fixed a bug in which earmuffs wouldn't protect at all from flashbangs\r\n* Bug Fix: Fixed a bug in which earmuffs would cure their own deaf effect, then re-add it, ad naseum\r\n* Balance: Base radiation per tick from the radio transmitter has been lowered from 450 to 300.\r\n* Content: You can now repair the radio transmitter with a solder\r\n* Content: Earmuff Headset. It works like earmuffs, but also contains engineering and service radio keys. You can listen to music and radio, but can't hear local chatter!\r\n* Content: Jukebox wires. 8 in the set.\r\n  * JUKE_POWER_ONE: Power. Cut for shock and off. Pulse toggles playing on/off.\r\n  * JUKE_POWER_TWO: Power. Cut for shock and off. Pulse toggles playing on/off and increased lum.\r\n  * JUKE_POWER_THREE: Power. Cut for shock and off. Pulse toggles playing on/off and decreased lum.\r\n  * JUKE_SHUFFLE: Cut to disable shuffle and move to play_once. Pulse immediately shuffles.\r\n  * JUKE_CAPITAL: Cut to disable song picking. Pulse randomizes song pick price 0-20 credits.\r\n  * JUKE_TRANSMIT: Cut shocks and disables multitool. Pulse emits burst of rads.\r\n  * JUKE_CONFIG: Cut emags. Pulse plays IAMERROR.ogg\r\n  * JUKE_SETTING: Cut shocks. Pulse toggles settings menu.\r\n* Content: Transmitter wires. 5 in the set.\r\n  * TRANS_POWER: Power. Cut for shock and off. Pulse toggles on/off.\r\n  * TRANS_RAD_ONE: Reduces rad output by 50% when cut. Requires at least one to function. Pulse does nothing.\r\n  * TRANS_RAD_TWO: Reduces rad output by 50% when cut. Requires at least one to function. Pulse does nothing.\r\n  * TRANS_LINK: Cut shocks and removes multitool option. Pulse clears links.\r\n  * TRANS_SETTINGS: Pulse shows percentage given by environment temperature over safe operating temperature.\r\n* Content: Boomboxes can be purchased at the Merch Computer\r\n* Content: Sound Systems can now be built from a metal frame\r\n\r\n---\r\n\r\n* All bug fixes fully tested\r\n* All content fully tested EXCEPT\r\n  * If there are media issues, this would not be caught by my testing, because my local is not configured to the jukebox playlist on the web\r\n  * The merch computer can't be tested because accounts database is not linked up for similar reasons","created_at":"2015-06-28T02:50:42Z","updated_at":"2015-06-28T07:20:12Z","closed_at":null,"merged_at":null,"merge_commit_sha":"27077947cf471f505678c4bf538f50727c14424d","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/d3athrow/vgstation13/pulls/5171/commits","review_comments_url":"https://api.github.com/repos/d3athrow/vgstation13/pulls/5171/comments","review_comment_url":"https://api.github.com/repos/d3athrow/vgstation13/pulls/comments{/number}","comments_url":"https://api.github.com/repos/d3athrow/vgstation13/issues/5171/comments","statuses_url":"https://api.github.com/repos/d3athrow/vgstation13/statuses/b955996f2d139aacbca0640cf8268eb28cde37df","head":{"label":"Kurfursten:djupdate","ref":"djupdate","sha":"b955996f2d139aacbca0640cf8268eb28cde37df","user":{"login":"Kurfursten","id":9782036,"avatar_url":"https://avatars.githubusercontent.com/u/9782036?v=3","gravatar_id":"","url":"https://api.github.com/users/Kurfursten","html_url":"https://github.com/Kurfursten","followers_url":"https://api.github.com/users/Kurfursten/followers","following_url":"https://api.github.com/users/Kurfursten/following{/other_user}","gists_url":"https://api.github.com/users/Kurfursten/gists{/gist_id}","starred_url":"https://api.github.com/users/Kurfursten/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kurfursten/subscriptions","organizations_url":"https://api.github.com/users/Kurfursten/orgs","repos_url":"https://api.github.com/users/Kurfursten/repos","events_url":"https://api.github.com/users/Kurfursten/events{/privacy}","received_events_url":"https://api.github.com/users/Kurfursten/received_events","type":"User","site_admin":false},"repo":{"id":26710289,"name":"ss13","full_name":"Kurfursten/ss13","owner":{"login":"Kurfursten","id":9782036,"avatar_url":"https://avatars.githubusercontent.com/u/9782036?v=3","gravatar_id":"","url":"https://api.github.com/users/Kurfursten","html_url":"https://github.com/Kurfursten","followers_url":"https://api.github.com/users/Kurfursten/followers","following_url":"https://api.github.com/users/Kurfursten/following{/other_user}","gists_url":"https://api.github.com/users/Kurfursten/gists{/gist_id}","starred_url":"https://api.github.com/users/Kurfursten/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kurfursten/subscriptions","organizations_url":"https://api.github.com/users/Kurfursten/orgs","repos_url":"https://api.github.com/users/Kurfursten/repos","events_url":"https://api.github.com/users/Kurfursten/events{/privacy}","received_events_url":"https://api.github.com/users/Kurfursten/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Kurfursten/ss13","description":"This is my working repo","fork":true,"url":"https://api.github.com/repos/Kurfursten/ss13","forks_url":"https://api.github.com/repos/Kurfursten/ss13/forks","keys_url":"https://api.github.com/repos/Kurfursten/ss13/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Kurfursten/ss13/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Kurfursten/ss13/teams","hooks_url":"https://api.github.com/repos/Kurfursten/ss13/hooks","issue_events_url":"https://api.github.com/repos/Kurfursten/ss13/issues/events{/number}","events_url":"https://api.github.com/repos/Kurfursten/ss13/events","assignees_url":"https://api.github.com/repos/Kurfursten/ss13/assignees{/user}","branches_url":"https://api.github.com/repos/Kurfursten/ss13/branches{/branch}","tags_url":"https://api.github.com/repos/Kurfursten/ss13/tags","blobs_url":"https://api.github.com/repos/Kurfursten/ss13/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Kurfursten/ss13/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Kurfursten/ss13/git/refs{/sha}","trees_url":"https://api.github.com/repos/Kurfursten/ss13/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Kurfursten/ss13/statuses/{sha}","languages_url":"https://api.github.com/repos/Kurfursten/ss13/languages","stargazers_url":"https://api.github.com/repos/Kurfursten/ss13/stargazers","contributors_url":"https://api.github.com/repos/Kurfursten/ss13/contributors","subscribers_url":"https://api.github.com/repos/Kurfursten/ss13/subscribers","subscription_url":"https://api.github.com/repos/Kurfursten/ss13/subscription","commits_url":"https://api.github.com/repos/Kurfursten/ss13/commits{/sha}","git_commits_url":"https://api.github.com/repos/Kurfursten/ss13/git/commits{/sha}","comments_url":"https://api.github.com/repos/Kurfursten/ss13/comments{/number}","issue_comment_url":"https://api.github.com/repos/Kurfursten/ss13/issues/comments{/number}","contents_url":"https://api.github.com/repos/Kurfursten/ss13/contents/{+path}","compare_url":"https://api.github.com/repos/Kurfursten/ss13/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Kurfursten/ss13/merges","archive_url":"https://api.github.com/repos/Kurfursten/ss13/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Kurfursten/ss13/downloads","issues_url":"https://api.github.com/repos/Kurfursten/ss13/issues{/number}","pulls_url":"https://api.github.com/repos/Kurfursten/ss13/pulls{/number}","milestones_url":"https://api.github.com/repos/Kurfursten/ss13/milestones{/number}","notifications_url":"https://api.github.com/repos/Kurfursten/ss13/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Kurfursten/ss13/labels{/name}","releases_url":"https://api.github.com/repos/Kurfursten/ss13/releases{/id}","created_at":"2014-11-16T10:03:24Z","updated_at":"2015-04-19T02:33:48Z","pushed_at":"2015-06-28T03:00:15Z","git_url":"git://github.com/Kurfursten/ss13.git","ssh_url":"git@github.com:Kurfursten/ss13.git","clone_url":"https://github.com/Kurfursten/ss13.git","svn_url":"https://github.com/Kurfursten/ss13","homepage":"","size":918215,"stargazers_count":0,"watchers_count":0,"language":"DM","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":"Bleeding-Edge"}},"base":{"label":"d3athrow:Bleeding-Edge","ref":"Bleeding-Edge","sha":"cf24a5bc1d4626513d98157fd6cbbe81d3b4d22f","user":{"login":"d3athrow","id":706947,"avatar_url":"https://avatars.githubusercontent.com/u/706947?v=3","gravatar_id":"","url":"https://api.github.com/users/d3athrow","html_url":"https://github.com/d3athrow","followers_url":"https://api.github.com/users/d3athrow/followers","following_url":"https://api.github.com/users/d3athrow/following{/other_user}","gists_url":"https://api.github.com/users/d3athrow/gists{/gist_id}","starred_url":"https://api.github.com/users/d3athrow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/d3athrow/subscriptions","organizations_url":"https://api.github.com/users/d3athrow/orgs","repos_url":"https://api.github.com/users/d3athrow/repos","events_url":"https://api.github.com/users/d3athrow/events{/privacy}","received_events_url":"https://api.github.com/users/d3athrow/received_events","type":"User","site_admin":false},"repo":{"id":10441188,"name":"vgstation13","full_name":"d3athrow/vgstation13","owner":{"login":"d3athrow","id":706947,"avatar_url":"https://avatars.githubusercontent.com/u/706947?v=3","gravatar_id":"","url":"https://api.github.com/users/d3athrow","html_url":"https://github.com/d3athrow","followers_url":"https://api.github.com/users/d3athrow/followers","following_url":"https://api.github.com/users/d3athrow/following{/other_user}","gists_url":"https://api.github.com/users/d3athrow/gists{/gist_id}","starred_url":"https://api.github.com/users/d3athrow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/d3athrow/subscriptions","organizations_url":"https://api.github.com/users/d3athrow/orgs","repos_url":"https://api.github.com/users/d3athrow/repos","events_url":"https://api.github.com/users/d3athrow/events{/privacy}","received_events_url":"https://api.github.com/users/d3athrow/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/d3athrow/vgstation13","description":"This is the vgstation's fork of baystation12's code.","fork":true,"url":"https://api.github.com/repos/d3athrow/vgstation13","forks_url":"https://api.github.com/repos/d3athrow/vgstation13/forks","keys_url":"https://api.github.com/repos/d3athrow/vgstation13/keys{/key_id}","collaborators_url":"https://api.github.com/repos/d3athrow/vgstation13/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/d3athrow/vgstation13/teams","hooks_url":"https://api.github.com/repos/d3athrow/vgstation13/hooks","issue_events_url":"https://api.github.com/repos/d3athrow/vgstation13/issues/events{/number}","events_url":"https://api.github.com/repos/d3athrow/vgstation13/events","assignees_url":"https://api.github.com/repos/d3athrow/vgstation13/assignees{/user}","branches_url":"https://api.github.com/repos/d3athrow/vgstation13/branches{/branch}","tags_url":"https://api.github.com/repos/d3athrow/vgstation13/tags","blobs_url":"https://api.github.com/repos/d3athrow/vgstation13/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/d3athrow/vgstation13/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/d3athrow/vgstation13/git/refs{/sha}","trees_url":"https://api.github.com/repos/d3athrow/vgstation13/git/trees{/sha}","statuses_url":"https://api.github.com/repos/d3athrow/vgstation13/statuses/{sha}","languages_url":"https://api.github.com/repos/d3athrow/vgstation13/languages","stargazers_url":"https://api.github.com/repos/d3athrow/vgstation13/stargazers","contributors_url":"https://api.github.com/repos/d3athrow/vgstation13/contributors","subscribers_url":"https://api.github.com/repos/d3athrow/vgstation13/subscribers","subscription_url":"https://api.github.com/repos/d3athrow/vgstation13/subscription","commits_url":"https://api.github.com/repos/d3athrow/vgstation13/commits{/sha}","git_commits_url":"https://api.github.com/repos/d3athrow/vgstation13/git/commits{/sha}","comments_url":"https://api.github.com/repos/d3athrow/vgstation13/comments{/number}","issue_comment_url":"https://api.github.com/repos/d3athrow/vgstation13/issues/comments{/number}","contents_url":"https://api.github.com/repos/d3athrow/vgstation13/contents/{+path}","compare_url":"https://api.github.com/repos/d3athrow/vgstation13/compare/{base}...{head}","merges_url":"https://api.github.com/repos/d3athrow/vgstation13/merges","archive_url":"https://api.github.com/repos/d3athrow/vgstation13/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/d3athrow/vgstation13/downloads","issues_url":"https://api.github.com/repos/d3athrow/vgstation13/issues{/number}","pulls_url":"https://api.github.com/repos/d3athrow/vgstation13/pulls{/number}","milestones_url":"https://api.github.com/repos/d3athrow/vgstation13/milestones{/number}","notifications_url":"https://api.github.com/repos/d3athrow/vgstation13/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/d3athrow/vgstation13/labels{/name}","releases_url":"https://api.github.com/repos/d3athrow/vgstation13/releases{/id}","created_at":"2013-06-02T19:39:54Z","updated_at":"2015-06-19T02:20:46Z","pushed_at":"2015-06-28T03:00:16Z","git_url":"git://github.com/d3athrow/vgstation13.git","ssh_url":"git@github.com:d3athrow/vgstation13.git","clone_url":"https://github.com/d3athrow/vgstation13.git","svn_url":"https://github.com/d3athrow/vgstation13","homepage":"","size":1103834,"stargazers_count":60,"watchers_count":60,"language":"DM","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":172,"mirror_url":null,"open_issues_count":719,"forks":172,"open_issues":719,"watchers":60,"default_branch":"Bleeding-Edge"}},"_links":{"self":{"href":"https://api.github.com/repos/d3athrow/vgstation13/pulls/5171"},"html":{"href":"https://github.com/d3athrow/vgstation13/pull/5171"},"issue":{"href":"https://api.github.com/repos/d3athrow/vgstation13/issues/5171"},"comments":{"href":"https://api.github.com/repos/d3athrow/vgstation13/issues/5171/comments"},"review_comments":{"href":"https://api.github.com/repos/d3athrow/vgstation13/pulls/5171/comments"},"review_comment":{"href":"https://api.github.com/repos/d3athrow/vgstation13/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/d3athrow/vgstation13/pulls/5171/commits"},"statuses":{"href":"https://api.github.com/repos/d3athrow/vgstation13/statuses/b955996f2d139aacbca0640cf8268eb28cde37df"}}}}