{"action":"created","comment":{"url":"https://api.github.com/repos/ParadiseSS13/Paradise/pulls/comments/60855047","id":60855047,"diff_hunk":"@@ -255,4 +255,43 @@\n \tdesc = \"A cased high explosive grenade that can only be activated once fired out of a grenade launcher.\"\n \tcaliber = \"40mm\"\n \ticon_state = \"40mmHE\"\n-\tprojectile_type = \"/obj/item/projectile/bullet/a40mm\"\n\\ No newline at end of file\n+\tprojectile_type = \"/obj/item/projectile/bullet/a40mm\"\n+\n+//FOAM DARTS\n+/obj/item/ammo_casing/caseless/foam_dart\n+\tname = \"foam dart\"\n+\tdesc = \"Its nerf or nothing! Ages 8 and up.\"\n+\tprojectile_type = \"/obj/item/projectile/bullet/reusable/foam_dart\"\n+\tcaliber = \"foam_force\"\n+\ticon = 'icons/obj/toyguns.dmi'\n+\ticon_state = \"foamdart\"\n+\tvar/modified = 0\n+\n+/obj/item/ammo_casing/caseless/foam_dart/update_icon()\n+\t..()\n+\tif (modified)\n+\t\ticon_state = \"foamdart_empty\"\n+\t\tdesc = \"Its nerf or nothing! ...Although, this one doesn't look too safe.\"\n+\n+/obj/item/ammo_casing/caseless/foam_dart/attackby(var/obj/item/weapon/A as obj, mob/user as mob, params)\n+\t..()\n+\tif (istype(A, /obj/item/weapon/screwdriver) && !modified)\n+\t\tmodified = 1\n+\t\tBB.damage_type = BRUTE\n+\t\ticon_state = \"foamdart_empty\"\n+\t\tdesc = \"Its nerf or nothing! ...Although, this one doesn't look too safe.\"\n+\t\tuser << \"<span class='notice'>You pop the safety cap off of [src].</span>\"\n+\telse if ((istype(A, /obj/item/weapon/pen)) && modified && !BB.contents.len)","path":"code/modules/projectiles/ammunition/ammo_casings.dm","position":32,"original_position":32,"commit_id":"03c173aeaffe738daebef51218ec83b78deb9b47","original_commit_id":"03c173aeaffe738daebef51218ec83b78deb9b47","user":{"login":"tigercat2000","id":10103534,"avatar_url":"https://avatars.githubusercontent.com/u/10103534?v=3","gravatar_id":"","url":"https://api.github.com/users/tigercat2000","html_url":"https://github.com/tigercat2000","followers_url":"https://api.github.com/users/tigercat2000/followers","following_url":"https://api.github.com/users/tigercat2000/following{/other_user}","gists_url":"https://api.github.com/users/tigercat2000/gists{/gist_id}","starred_url":"https://api.github.com/users/tigercat2000/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tigercat2000/subscriptions","organizations_url":"https://api.github.com/users/tigercat2000/orgs","repos_url":"https://api.github.com/users/tigercat2000/repos","events_url":"https://api.github.com/users/tigercat2000/events{/privacy}","received_events_url":"https://api.github.com/users/tigercat2000/received_events","type":"User","site_admin":false},"body":"no spacing after `if(`","created_at":"2016-04-25T00:43:16Z","updated_at":"2016-04-25T00:43:16Z","html_url":"https://github.com/ParadiseSS13/Paradise/pull/4270#discussion_r60855047","pull_request_url":"https://api.github.com/repos/ParadiseSS13/Paradise/pulls/4270","_links":{"self":{"href":"https://api.github.com/repos/ParadiseSS13/Paradise/pulls/comments/60855047"},"html":{"href":"https://github.com/ParadiseSS13/Paradise/pull/4270#discussion_r60855047"},"pull_request":{"href":"https://api.github.com/repos/ParadiseSS13/Paradise/pulls/4270"}}},"pull_request":{"url":"https://api.github.com/repos/ParadiseSS13/Paradise/pulls/4270","id":67539288,"html_url":"https://github.com/ParadiseSS13/Paradise/pull/4270","diff_url":"https://github.com/ParadiseSS13/Paradise/pull/4270.diff","patch_url":"https://github.com/ParadiseSS13/Paradise/pull/4270.patch","issue_url":"https://api.github.com/repos/ParadiseSS13/Paradise/issues/4270","number":4270,"state":"open","locked":false,"title":"Ports /tg/ FOAM FORCE","user":{"login":"FlattestGuitar","id":15747030,"avatar_url":"https://avatars.githubusercontent.com/u/15747030?v=3","gravatar_id":"","url":"https://api.github.com/users/FlattestGuitar","html_url":"https://github.com/FlattestGuitar","followers_url":"https://api.github.com/users/FlattestGuitar/followers","following_url":"https://api.github.com/users/FlattestGuitar/following{/other_user}","gists_url":"https://api.github.com/users/FlattestGuitar/gists{/gist_id}","starred_url":"https://api.github.com/users/FlattestGuitar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FlattestGuitar/subscriptions","organizations_url":"https://api.github.com/users/FlattestGuitar/orgs","repos_url":"https://api.github.com/users/FlattestGuitar/repos","events_url":"https://api.github.com/users/FlattestGuitar/events{/privacy}","received_events_url":"https://api.github.com/users/FlattestGuitar/received_events","type":"User","site_admin":false},"body":":cl: FlattestGuitar\r\nrscadd: ports /tg/ Foam Force guns, now you can shoot foam at your enemies /with style/\r\n/:cl:\r\n\r\n![FOAAAAAAMMM](https://i.gyazo.com/35460237b2acbe1711f498ce8eac462b.png)\r\n\r\nAlright, this is my second approach and it was heavily based on Tauka's [#3698](https://github.com/ParadiseSS13/Paradise/pull/3698), but uh... actually works.\r\n\r\nTechnically, ports /tg/'s [#8451](https://github.com/tgstation/-tg-station/pull/8451)\r\n\r\nFOAM FORCEEEE!1!!111!!:\r\n\r\n- cargo can supply tommyguns and shotguns (also the stetchkins as contraband)\r\n- prize machine can supply tommyguns and crossbows\r\n- nukie uplink can supply the l6 and c20r (*insert 380 soaps joke*)\r\n- traitor uplink can supply a riot stetchkin\r\n- Saber is admin-only\r\n- all traitor ones come with riot darts instead of normal ones, dealing 25 stamina damage\r\n- on all darts it's possible to unscrew the safety cap and put a pen inside in order to make the weapon deal a whopping 5 brute damage\r\n- it's possible to obtain more foam darts through the prize machine\r\n\r\nFOAM FORCEEEE!!!!!\r\n\r\nLet me know how badly I goofed up the code.","created_at":"2016-04-22T16:34:45Z","updated_at":"2016-04-25T00:43:17Z","closed_at":null,"merged_at":null,"merge_commit_sha":"119414a85f1087b405c7137243abf2b5b44ae8e2","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ParadiseSS13/Paradise/pulls/4270/commits","review_comments_url":"https://api.github.com/repos/ParadiseSS13/Paradise/pulls/4270/comments","review_comment_url":"https://api.github.com/repos/ParadiseSS13/Paradise/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ParadiseSS13/Paradise/issues/4270/comments","statuses_url":"https://api.github.com/repos/ParadiseSS13/Paradise/statuses/03c173aeaffe738daebef51218ec83b78deb9b47","head":{"label":"FlattestGuitar:foamforce","ref":"foamforce","sha":"03c173aeaffe738daebef51218ec83b78deb9b47","user":{"login":"FlattestGuitar","id":15747030,"avatar_url":"https://avatars.githubusercontent.com/u/15747030?v=3","gravatar_id":"","url":"https://api.github.com/users/FlattestGuitar","html_url":"https://github.com/FlattestGuitar","followers_url":"https://api.github.com/users/FlattestGuitar/followers","following_url":"https://api.github.com/users/FlattestGuitar/following{/other_user}","gists_url":"https://api.github.com/users/FlattestGuitar/gists{/gist_id}","starred_url":"https://api.github.com/users/FlattestGuitar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FlattestGuitar/subscriptions","organizations_url":"https://api.github.com/users/FlattestGuitar/orgs","repos_url":"https://api.github.com/users/FlattestGuitar/repos","events_url":"https://api.github.com/users/FlattestGuitar/events{/privacy}","received_events_url":"https://api.github.com/users/FlattestGuitar/received_events","type":"User","site_admin":false},"repo":{"id":53962910,"name":"Paradise","full_name":"FlattestGuitar/Paradise","owner":{"login":"FlattestGuitar","id":15747030,"avatar_url":"https://avatars.githubusercontent.com/u/15747030?v=3","gravatar_id":"","url":"https://api.github.com/users/FlattestGuitar","html_url":"https://github.com/FlattestGuitar","followers_url":"https://api.github.com/users/FlattestGuitar/followers","following_url":"https://api.github.com/users/FlattestGuitar/following{/other_user}","gists_url":"https://api.github.com/users/FlattestGuitar/gists{/gist_id}","starred_url":"https://api.github.com/users/FlattestGuitar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FlattestGuitar/subscriptions","organizations_url":"https://api.github.com/users/FlattestGuitar/orgs","repos_url":"https://api.github.com/users/FlattestGuitar/repos","events_url":"https://api.github.com/users/FlattestGuitar/events{/privacy}","received_events_url":"https://api.github.com/users/FlattestGuitar/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/FlattestGuitar/Paradise","description":"Paradise Station's GitHub main repository.","fork":true,"url":"https://api.github.com/repos/FlattestGuitar/Paradise","forks_url":"https://api.github.com/repos/FlattestGuitar/Paradise/forks","keys_url":"https://api.github.com/repos/FlattestGuitar/Paradise/keys{/key_id}","collaborators_url":"https://api.github.com/repos/FlattestGuitar/Paradise/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/FlattestGuitar/Paradise/teams","hooks_url":"https://api.github.com/repos/FlattestGuitar/Paradise/hooks","issue_events_url":"https://api.github.com/repos/FlattestGuitar/Paradise/issues/events{/number}","events_url":"https://api.github.com/repos/FlattestGuitar/Paradise/events","assignees_url":"https://api.github.com/repos/FlattestGuitar/Paradise/assignees{/user}","branches_url":"https://api.github.com/repos/FlattestGuitar/Paradise/branches{/branch}","tags_url":"https://api.github.com/repos/FlattestGuitar/Paradise/tags","blobs_url":"https://api.github.com/repos/FlattestGuitar/Paradise/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/FlattestGuitar/Paradise/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/FlattestGuitar/Paradise/git/refs{/sha}","trees_url":"https://api.github.com/repos/FlattestGuitar/Paradise/git/trees{/sha}","statuses_url":"https://api.github.com/repos/FlattestGuitar/Paradise/statuses/{sha}","languages_url":"https://api.github.com/repos/FlattestGuitar/Paradise/languages","stargazers_url":"https://api.github.com/repos/FlattestGuitar/Paradise/stargazers","contributors_url":"https://api.github.com/repos/FlattestGuitar/Paradise/contributors","subscribers_url":"https://api.github.com/repos/FlattestGuitar/Paradise/subscribers","subscription_url":"https://api.github.com/repos/FlattestGuitar/Paradise/subscription","commits_url":"https://api.github.com/repos/FlattestGuitar/Paradise/commits{/sha}","git_commits_url":"https://api.github.com/repos/FlattestGuitar/Paradise/git/commits{/sha}","comments_url":"https://api.github.com/repos/FlattestGuitar/Paradise/comments{/number}","issue_comment_url":"https://api.github.com/repos/FlattestGuitar/Paradise/issues/comments{/number}","contents_url":"https://api.github.com/repos/FlattestGuitar/Paradise/contents/{+path}","compare_url":"https://api.github.com/repos/FlattestGuitar/Paradise/compare/{base}...{head}","merges_url":"https://api.github.com/repos/FlattestGuitar/Paradise/merges","archive_url":"https://api.github.com/repos/FlattestGuitar/Paradise/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/FlattestGuitar/Paradise/downloads","issues_url":"https://api.github.com/repos/FlattestGuitar/Paradise/issues{/number}","pulls_url":"https://api.github.com/repos/FlattestGuitar/Paradise/pulls{/number}","milestones_url":"https://api.github.com/repos/FlattestGuitar/Paradise/milestones{/number}","notifications_url":"https://api.github.com/repos/FlattestGuitar/Paradise/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/FlattestGuitar/Paradise/labels{/name}","releases_url":"https://api.github.com/repos/FlattestGuitar/Paradise/releases{/id}","deployments_url":"https://api.github.com/repos/FlattestGuitar/Paradise/deployments","created_at":"2016-03-15T17:02:22Z","updated_at":"2016-03-15T17:02:33Z","pushed_at":"2016-04-24T07:19:24Z","git_url":"git://github.com/FlattestGuitar/Paradise.git","ssh_url":"git@github.com:FlattestGuitar/Paradise.git","clone_url":"https://github.com/FlattestGuitar/Paradise.git","svn_url":"https://github.com/FlattestGuitar/Paradise","homepage":"http://nanotrasen.se/phpBB3/index.php","size":847408,"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":"master"}},"base":{"label":"ParadiseSS13:master","ref":"master","sha":"80ee29c440c663134f1ddd0e2a7164a61524315b","user":{"login":"ParadiseSS13","id":9994901,"avatar_url":"https://avatars.githubusercontent.com/u/9994901?v=3","gravatar_id":"","url":"https://api.github.com/users/ParadiseSS13","html_url":"https://github.com/ParadiseSS13","followers_url":"https://api.github.com/users/ParadiseSS13/followers","following_url":"https://api.github.com/users/ParadiseSS13/following{/other_user}","gists_url":"https://api.github.com/users/ParadiseSS13/gists{/gist_id}","starred_url":"https://api.github.com/users/ParadiseSS13/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ParadiseSS13/subscriptions","organizations_url":"https://api.github.com/users/ParadiseSS13/orgs","repos_url":"https://api.github.com/users/ParadiseSS13/repos","events_url":"https://api.github.com/users/ParadiseSS13/events{/privacy}","received_events_url":"https://api.github.com/users/ParadiseSS13/received_events","type":"Organization","site_admin":false},"repo":{"id":27286452,"name":"Paradise","full_name":"ParadiseSS13/Paradise","owner":{"login":"ParadiseSS13","id":9994901,"avatar_url":"https://avatars.githubusercontent.com/u/9994901?v=3","gravatar_id":"","url":"https://api.github.com/users/ParadiseSS13","html_url":"https://github.com/ParadiseSS13","followers_url":"https://api.github.com/users/ParadiseSS13/followers","following_url":"https://api.github.com/users/ParadiseSS13/following{/other_user}","gists_url":"https://api.github.com/users/ParadiseSS13/gists{/gist_id}","starred_url":"https://api.github.com/users/ParadiseSS13/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ParadiseSS13/subscriptions","organizations_url":"https://api.github.com/users/ParadiseSS13/orgs","repos_url":"https://api.github.com/users/ParadiseSS13/repos","events_url":"https://api.github.com/users/ParadiseSS13/events{/privacy}","received_events_url":"https://api.github.com/users/ParadiseSS13/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ParadiseSS13/Paradise","description":"Paradise Station's GitHub main repository.","fork":false,"url":"https://api.github.com/repos/ParadiseSS13/Paradise","forks_url":"https://api.github.com/repos/ParadiseSS13/Paradise/forks","keys_url":"https://api.github.com/repos/ParadiseSS13/Paradise/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ParadiseSS13/Paradise/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ParadiseSS13/Paradise/teams","hooks_url":"https://api.github.com/repos/ParadiseSS13/Paradise/hooks","issue_events_url":"https://api.github.com/repos/ParadiseSS13/Paradise/issues/events{/number}","events_url":"https://api.github.com/repos/ParadiseSS13/Paradise/events","assignees_url":"https://api.github.com/repos/ParadiseSS13/Paradise/assignees{/user}","branches_url":"https://api.github.com/repos/ParadiseSS13/Paradise/branches{/branch}","tags_url":"https://api.github.com/repos/ParadiseSS13/Paradise/tags","blobs_url":"https://api.github.com/repos/ParadiseSS13/Paradise/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ParadiseSS13/Paradise/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ParadiseSS13/Paradise/git/refs{/sha}","trees_url":"https://api.github.com/repos/ParadiseSS13/Paradise/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ParadiseSS13/Paradise/statuses/{sha}","languages_url":"https://api.github.com/repos/ParadiseSS13/Paradise/languages","stargazers_url":"https://api.github.com/repos/ParadiseSS13/Paradise/stargazers","contributors_url":"https://api.github.com/repos/ParadiseSS13/Paradise/contributors","subscribers_url":"https://api.github.com/repos/ParadiseSS13/Paradise/subscribers","subscription_url":"https://api.github.com/repos/ParadiseSS13/Paradise/subscription","commits_url":"https://api.github.com/repos/ParadiseSS13/Paradise/commits{/sha}","git_commits_url":"https://api.github.com/repos/ParadiseSS13/Paradise/git/commits{/sha}","comments_url":"https://api.github.com/repos/ParadiseSS13/Paradise/comments{/number}","issue_comment_url":"https://api.github.com/repos/ParadiseSS13/Paradise/issues/comments{/number}","contents_url":"https://api.github.com/repos/ParadiseSS13/Paradise/contents/{+path}","compare_url":"https://api.github.com/repos/ParadiseSS13/Paradise/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ParadiseSS13/Paradise/merges","archive_url":"https://api.github.com/repos/ParadiseSS13/Paradise/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ParadiseSS13/Paradise/downloads","issues_url":"https://api.github.com/repos/ParadiseSS13/Paradise/issues{/number}","pulls_url":"https://api.github.com/repos/ParadiseSS13/Paradise/pulls{/number}","milestones_url":"https://api.github.com/repos/ParadiseSS13/Paradise/milestones{/number}","notifications_url":"https://api.github.com/repos/ParadiseSS13/Paradise/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ParadiseSS13/Paradise/labels{/name}","releases_url":"https://api.github.com/repos/ParadiseSS13/Paradise/releases{/id}","deployments_url":"https://api.github.com/repos/ParadiseSS13/Paradise/deployments","created_at":"2014-11-29T00:16:54Z","updated_at":"2016-04-06T18:23:37Z","pushed_at":"2016-04-24T23:08:38Z","git_url":"git://github.com/ParadiseSS13/Paradise.git","ssh_url":"git@github.com:ParadiseSS13/Paradise.git","clone_url":"https://github.com/ParadiseSS13/Paradise.git","svn_url":"https://github.com/ParadiseSS13/Paradise","homepage":"http://nanotrasen.se/phpBB3/index.php","size":886822,"stargazers_count":50,"watchers_count":50,"language":"DM","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":152,"mirror_url":null,"open_issues_count":257,"forks":152,"open_issues":257,"watchers":50,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ParadiseSS13/Paradise/pulls/4270"},"html":{"href":"https://github.com/ParadiseSS13/Paradise/pull/4270"},"issue":{"href":"https://api.github.com/repos/ParadiseSS13/Paradise/issues/4270"},"comments":{"href":"https://api.github.com/repos/ParadiseSS13/Paradise/issues/4270/comments"},"review_comments":{"href":"https://api.github.com/repos/ParadiseSS13/Paradise/pulls/4270/comments"},"review_comment":{"href":"https://api.github.com/repos/ParadiseSS13/Paradise/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ParadiseSS13/Paradise/pulls/4270/commits"},"statuses":{"href":"https://api.github.com/repos/ParadiseSS13/Paradise/statuses/03c173aeaffe738daebef51218ec83b78deb9b47"}}}}