{"action":"created","comment":{"url":"https://api.github.com/repos/tgstation/tgstation/pulls/comments/121994224","pull_request_review_id":44065877,"id":121994224,"diff_hunk":"@@ -75,6 +77,185 @@\n \tif(gangtool)\n \t\tgangtool.recall(user)\n \n+/datum/gang_item/function/leadership\n+\tname = \"Claim Gang Leadership\"\n+\tid = \"leader\"\n+\tspawn_msg = \"<span class='notice'>Use your new gangtool to accept your promotion; your influence has been transferred to the new tool.</span>\"\n+\n+/datum/gang_item/function/leadership/can_see(mob/living/carbon/user, datum/gang/gang, obj/item/device/gangtool/gangtool)\n+\treturn !gang.bosses_working\n+\n+/datum/gang_item/function/leadership/spawn_item(mob/living/carbon/user, datum/gang/gang, obj/item/device/gangtool/gangtool)\n+\tif(!gang || (src in gang.bosses))\n+\t\treturn\n+\tvar/obj/item/device/gangtool/O = new /obj/item/device/gangtool/spare/lt(user.loc)\n+\tqdel(gangtool)\n+\tO.register_device(user)\n+\tgang.bosses_working = TRUE\n+\tuser.put_in_hands(O)\n+\tif(spawn_msg)\n+\t\tto_chat(user, spawn_msg)\n+\n+\n+\n+/datum/gang_item/function/implant\n+\tname = \"Influence-Enhancing Mindshield\"\n+\tid = \"mindshield\"\n+\tcost = 10\n+\n+/datum/gang_item/function/implant/spawn_item(mob/living/carbon/user, datum/gang/gang, obj/item/device/vigilante_tool/VT)\n+\tvar/obj/item/weapon/implant/mindshield/MS = new()\n+\tMS.implant(user, user, 0)\n+\tVT.vigilante_items -= /datum/gang_item/function/implant\n+\n+/datum/gang_item/function/implant/get_cost_display(mob/living/carbon/user, datum/gang/gang, obj/item/device/gangtool/gangtool)\n+\treturn \"([get_cost(user, gang, gangtool)] Influence)\"\n+\n+\n+\n+/datum/gang_item/function/backup\n+\tname = \"Create Gateway for Reinforcements\"\n+\tid = \"backup\"\n+\titem_path = /obj/machinery/gang/backup\n+\n+/datum/gang_item/function/backup/can_see(mob/living/carbon/user, datum/gang/gang, obj/item/device/gangtool/gangtool)\n+\tif(gang.gateways >= GATEWAYMAX || !SSticker.mode.vigilantes)\n+\t\treturn FALSE\n+\treturn TRUE\n+\n+/datum/gang_item/function/backup/can_buy(mob/living/carbon/user, datum/gang/gang, obj/item/device/gangtool/gangtool)\n+\tif(gang.gateways >= GATEWAYMAX)\n+\t\treturn FALSE\n+\treturn TRUE\n+\n+/datum/gang_item/function/backup/spawn_item(mob/living/carbon/user, datum/gang/gang, obj/item/device/gangtool/gangtool)\n+\tgang.gateways++\n+\tvar/obj/machinery/gang/backup/gate = new(get_turf(user), gang)\n+\tgate.G = gang\n+\n+/datum/gang_item/function/backup/purchase(mob/living/carbon/user, datum/gang/gang, obj/item/device/gangtool/gangtool)\n+\tvar/area/usrarea = get_area(user.loc)\n+\tif(!(usrarea.type in gang.territory|gang.territory_new))\n+\t\tto_chat(user, \"<span class='warning'>This device can only be spawned in territory controlled by your gang!</span>\")\n+\t\treturn FALSE\n+\tvar/confirm_final = alert(user, \"Your gang can only place ONE gateway, make sure it is in a well-secured location.\", \"Are you ready to place the gateway?\", \"This location is secure\", \"I should wait...\")\n+\tif(confirm_final == \"No\")\n+\t\treturn FALSE\n+\treturn ..()\n+\n+/obj/machinery/gang/backup\n+\tname = \"gang reinforcements gateway\"\n+\tdesc = \"A gateway used by gangs to bring in muscle from other operations.\"\n+\tanchored = TRUE\n+\tdensity = TRUE\n+\ticon = 'icons/obj/machines/teleporter.dmi'\n+\ticon_state = \"gang_teleporter_on\"\n+\tvar/datum/gang/G\n+\tvar/list/mob/dead/observer/queue = list()","path":"code/game/gamemodes/gang/gang_items.dm","position":93,"original_position":93,"commit_id":"d26a1735c60bb1f62ac75b85a11708a95875eabd","original_commit_id":"d26a1735c60bb1f62ac75b85a11708a95875eabd","user":{"login":"Cyberboss","id":8171642,"avatar_url":"https://avatars0.githubusercontent.com/u/8171642?v=3","gravatar_id":"","url":"https://api.github.com/users/Cyberboss","html_url":"https://github.com/Cyberboss","followers_url":"https://api.github.com/users/Cyberboss/followers","following_url":"https://api.github.com/users/Cyberboss/following{/other_user}","gists_url":"https://api.github.com/users/Cyberboss/gists{/gist_id}","starred_url":"https://api.github.com/users/Cyberboss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Cyberboss/subscriptions","organizations_url":"https://api.github.com/users/Cyberboss/orgs","repos_url":"https://api.github.com/users/Cyberboss/repos","events_url":"https://api.github.com/users/Cyberboss/events{/privacy}","received_events_url":"https://api.github.com/users/Cyberboss/received_events","type":"User","site_admin":false},"body":"You can init this list in Initialize","created_at":"2017-06-14T16:14:49Z","updated_at":"2017-06-14T16:38:44Z","html_url":"https://github.com/tgstation/tgstation/pull/27954#discussion_r121994224","pull_request_url":"https://api.github.com/repos/tgstation/tgstation/pulls/27954","_links":{"self":{"href":"https://api.github.com/repos/tgstation/tgstation/pulls/comments/121994224"},"html":{"href":"https://github.com/tgstation/tgstation/pull/27954#discussion_r121994224"},"pull_request":{"href":"https://api.github.com/repos/tgstation/tgstation/pulls/27954"}}},"pull_request":{"url":"https://api.github.com/repos/tgstation/tgstation/pulls/27954","id":123641778,"html_url":"https://github.com/tgstation/tgstation/pull/27954","diff_url":"https://github.com/tgstation/tgstation/pull/27954.diff","patch_url":"https://github.com/tgstation/tgstation/pull/27954.patch","issue_url":"https://api.github.com/repos/tgstation/tgstation/issues/27954","number":27954,"state":"open","locked":false,"title":"Gangmageddon: Hell March Edition","user":{"login":"Robustin","id":6372371,"avatar_url":"https://avatars1.githubusercontent.com/u/6372371?v=3","gravatar_id":"","url":"https://api.github.com/users/Robustin","html_url":"https://github.com/Robustin","followers_url":"https://api.github.com/users/Robustin/followers","following_url":"https://api.github.com/users/Robustin/following{/other_user}","gists_url":"https://api.github.com/users/Robustin/gists{/gist_id}","starred_url":"https://api.github.com/users/Robustin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Robustin/subscriptions","organizations_url":"https://api.github.com/users/Robustin/orgs","repos_url":"https://api.github.com/users/Robustin/repos","events_url":"https://api.github.com/users/Robustin/events{/privacy}","received_events_url":"https://api.github.com/users/Robustin/received_events","type":"User","site_admin":false},"body":"**UPDATE: I've asked ChangelingRain to put up a server poll. Asking for the players preference, to either remove GW, stick with current (security) GW, switch to this PR's GW, or to mix security and vigilante GW based on RNG at roundstart.**\r\n\r\nIf any choice surpasses 50% then that's what I'll support. If not then I'll move ahead with whatever makes sense based on the relative popularity of the options. Example: If #2 sits at 40% and #3 and #4 sit at 42% combined, then vigilante would only make a small fraction of an already lightly weighted mode (probably around 30% chance for vigilante mode to trigger during GW).**\r\n\r\nMy final pitch for this PR is that it has a lot more room for improvement because I can do virtually whatever I want to balance vigilantes and alter them to change the round's pacing and style. If we abandon this approach then my hands are relatively tied since I can't touch security without affecting all the other modes - which wouldn't make sense to do for a 3.5% mode unless it had a positive impact on other modes as well.\r\n\r\n**Update 2: The vote is coming in pretty clear. The most popular option is a mix of sec/nosec and the votes for sec/no-sec are perfectly even, so it seems like I'm going to start coding the mode so that its a 50/50 split of the two choices and I'll have to do some significant work to get the code compatible with both. Link: http://ss13.eu/tgdb/tg/ingamepolls.php#p171**\r\n\r\nThe latest updates bring significant nerfs to gang influence and the machine gun. Reinforcements are now very active for all parties and gangs will be notified if they fail to place a gateway after a few minutes. All in all this update contains a ton of changes and fixes to the previous iteration that should address some of the bigger issues. The brig also no longer explodes and instead all of the problematic equipment is deleted (Cap's ID and laser, all roundstart guns and stun weapons, etc.), the brig is now \"abandoned\" with no power or weaponry but with a little work can serve as a nice hideout for Gangs or Vigilantes. \r\n\r\nTons of tweaks for various mechanics. The crisis shuttle will trigger sooner, as will backup vigilantes. Ultimately I'm aiming for about a 30m-40m round length, similar to what you'd see in other \"chaos\" rounds like summon guns or Warops - but hopefully with engaging gameplay from start to finish and with a more coherent conflict. Anti-snowball measures are amp'd up too some I'm hoping the next test will see rounds that are in serious contention up until the very end. I've vigorously tested this version (though far short of 150 hours) so I think some tests this weekend will help decide if No-Sec is the way to go. Hopefully I'll be able to get a poll at the end to decide whether to leave GW as-is, go with the no-sec route, or just throw it out of rotation again. Even if it does end up in rotation I'd be aiming for about 5% round weight at the expense of Wizard, Revolution, or Nukeops.","created_at":"2017-06-02T04:56:12Z","updated_at":"2017-06-14T16:38:44Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7e0ab036c3e2f8fa7c6a8344818ff37e29a555e0","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/tgstation/tgstation/pulls/27954/commits","review_comments_url":"https://api.github.com/repos/tgstation/tgstation/pulls/27954/comments","review_comment_url":"https://api.github.com/repos/tgstation/tgstation/pulls/comments{/number}","comments_url":"https://api.github.com/repos/tgstation/tgstation/issues/27954/comments","statuses_url":"https://api.github.com/repos/tgstation/tgstation/statuses/d26a1735c60bb1f62ac75b85a11708a95875eabd","head":{"label":"Robustin:GitMemes","ref":"GitMemes","sha":"d26a1735c60bb1f62ac75b85a11708a95875eabd","user":{"login":"Robustin","id":6372371,"avatar_url":"https://avatars1.githubusercontent.com/u/6372371?v=3","gravatar_id":"","url":"https://api.github.com/users/Robustin","html_url":"https://github.com/Robustin","followers_url":"https://api.github.com/users/Robustin/followers","following_url":"https://api.github.com/users/Robustin/following{/other_user}","gists_url":"https://api.github.com/users/Robustin/gists{/gist_id}","starred_url":"https://api.github.com/users/Robustin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Robustin/subscriptions","organizations_url":"https://api.github.com/users/Robustin/orgs","repos_url":"https://api.github.com/users/Robustin/repos","events_url":"https://api.github.com/users/Robustin/events{/privacy}","received_events_url":"https://api.github.com/users/Robustin/received_events","type":"User","site_admin":false},"repo":{"id":85407743,"name":"tgstation","full_name":"Robustin/tgstation","owner":{"login":"Robustin","id":6372371,"avatar_url":"https://avatars1.githubusercontent.com/u/6372371?v=3","gravatar_id":"","url":"https://api.github.com/users/Robustin","html_url":"https://github.com/Robustin","followers_url":"https://api.github.com/users/Robustin/followers","following_url":"https://api.github.com/users/Robustin/following{/other_user}","gists_url":"https://api.github.com/users/Robustin/gists{/gist_id}","starred_url":"https://api.github.com/users/Robustin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Robustin/subscriptions","organizations_url":"https://api.github.com/users/Robustin/orgs","repos_url":"https://api.github.com/users/Robustin/repos","events_url":"https://api.github.com/users/Robustin/events{/privacy}","received_events_url":"https://api.github.com/users/Robustin/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Robustin/tgstation","description":"the /tg/station branch of SS13","fork":true,"url":"https://api.github.com/repos/Robustin/tgstation","forks_url":"https://api.github.com/repos/Robustin/tgstation/forks","keys_url":"https://api.github.com/repos/Robustin/tgstation/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Robustin/tgstation/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Robustin/tgstation/teams","hooks_url":"https://api.github.com/repos/Robustin/tgstation/hooks","issue_events_url":"https://api.github.com/repos/Robustin/tgstation/issues/events{/number}","events_url":"https://api.github.com/repos/Robustin/tgstation/events","assignees_url":"https://api.github.com/repos/Robustin/tgstation/assignees{/user}","branches_url":"https://api.github.com/repos/Robustin/tgstation/branches{/branch}","tags_url":"https://api.github.com/repos/Robustin/tgstation/tags","blobs_url":"https://api.github.com/repos/Robustin/tgstation/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Robustin/tgstation/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Robustin/tgstation/git/refs{/sha}","trees_url":"https://api.github.com/repos/Robustin/tgstation/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Robustin/tgstation/statuses/{sha}","languages_url":"https://api.github.com/repos/Robustin/tgstation/languages","stargazers_url":"https://api.github.com/repos/Robustin/tgstation/stargazers","contributors_url":"https://api.github.com/repos/Robustin/tgstation/contributors","subscribers_url":"https://api.github.com/repos/Robustin/tgstation/subscribers","subscription_url":"https://api.github.com/repos/Robustin/tgstation/subscription","commits_url":"https://api.github.com/repos/Robustin/tgstation/commits{/sha}","git_commits_url":"https://api.github.com/repos/Robustin/tgstation/git/commits{/sha}","comments_url":"https://api.github.com/repos/Robustin/tgstation/comments{/number}","issue_comment_url":"https://api.github.com/repos/Robustin/tgstation/issues/comments{/number}","contents_url":"https://api.github.com/repos/Robustin/tgstation/contents/{+path}","compare_url":"https://api.github.com/repos/Robustin/tgstation/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Robustin/tgstation/merges","archive_url":"https://api.github.com/repos/Robustin/tgstation/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Robustin/tgstation/downloads","issues_url":"https://api.github.com/repos/Robustin/tgstation/issues{/number}","pulls_url":"https://api.github.com/repos/Robustin/tgstation/pulls{/number}","milestones_url":"https://api.github.com/repos/Robustin/tgstation/milestones{/number}","notifications_url":"https://api.github.com/repos/Robustin/tgstation/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Robustin/tgstation/labels{/name}","releases_url":"https://api.github.com/repos/Robustin/tgstation/releases{/id}","deployments_url":"https://api.github.com/repos/Robustin/tgstation/deployments","created_at":"2017-03-18T14:33:38Z","updated_at":"2017-03-18T14:33:50Z","pushed_at":"2017-06-14T15:53:57Z","git_url":"git://github.com/Robustin/tgstation.git","ssh_url":"git@github.com:Robustin/tgstation.git","clone_url":"https://github.com/Robustin/tgstation.git","svn_url":"https://github.com/Robustin/tgstation","homepage":"http://www.tgstation13.org/","size":893142,"stargazers_count":0,"watchers_count":0,"language":"DM","has_issues":false,"has_projects":true,"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":"tgstation:master","ref":"master","sha":"a198f17a0149412b128297fe4cb7ebf481c897f2","user":{"login":"tgstation","id":1363778,"avatar_url":"https://avatars1.githubusercontent.com/u/1363778?v=3","gravatar_id":"","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":"tgstation","full_name":"tgstation/tgstation","owner":{"login":"tgstation","id":1363778,"avatar_url":"https://avatars1.githubusercontent.com/u/1363778?v=3","gravatar_id":"","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/tgstation","description":"the /tg/station branch of SS13","fork":false,"url":"https://api.github.com/repos/tgstation/tgstation","forks_url":"https://api.github.com/repos/tgstation/tgstation/forks","keys_url":"https://api.github.com/repos/tgstation/tgstation/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tgstation/tgstation/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tgstation/tgstation/teams","hooks_url":"https://api.github.com/repos/tgstation/tgstation/hooks","issue_events_url":"https://api.github.com/repos/tgstation/tgstation/issues/events{/number}","events_url":"https://api.github.com/repos/tgstation/tgstation/events","assignees_url":"https://api.github.com/repos/tgstation/tgstation/assignees{/user}","branches_url":"https://api.github.com/repos/tgstation/tgstation/branches{/branch}","tags_url":"https://api.github.com/repos/tgstation/tgstation/tags","blobs_url":"https://api.github.com/repos/tgstation/tgstation/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tgstation/tgstation/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tgstation/tgstation/git/refs{/sha}","trees_url":"https://api.github.com/repos/tgstation/tgstation/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tgstation/tgstation/statuses/{sha}","languages_url":"https://api.github.com/repos/tgstation/tgstation/languages","stargazers_url":"https://api.github.com/repos/tgstation/tgstation/stargazers","contributors_url":"https://api.github.com/repos/tgstation/tgstation/contributors","subscribers_url":"https://api.github.com/repos/tgstation/tgstation/subscribers","subscription_url":"https://api.github.com/repos/tgstation/tgstation/subscription","commits_url":"https://api.github.com/repos/tgstation/tgstation/commits{/sha}","git_commits_url":"https://api.github.com/repos/tgstation/tgstation/git/commits{/sha}","comments_url":"https://api.github.com/repos/tgstation/tgstation/comments{/number}","issue_comment_url":"https://api.github.com/repos/tgstation/tgstation/issues/comments{/number}","contents_url":"https://api.github.com/repos/tgstation/tgstation/contents/{+path}","compare_url":"https://api.github.com/repos/tgstation/tgstation/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tgstation/tgstation/merges","archive_url":"https://api.github.com/repos/tgstation/tgstation/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tgstation/tgstation/downloads","issues_url":"https://api.github.com/repos/tgstation/tgstation/issues{/number}","pulls_url":"https://api.github.com/repos/tgstation/tgstation/pulls{/number}","milestones_url":"https://api.github.com/repos/tgstation/tgstation/milestones{/number}","notifications_url":"https://api.github.com/repos/tgstation/tgstation/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tgstation/tgstation/labels{/name}","releases_url":"https://api.github.com/repos/tgstation/tgstation/releases{/id}","deployments_url":"https://api.github.com/repos/tgstation/tgstation/deployments","created_at":"2012-01-21T17:32:47Z","updated_at":"2017-06-07T20:48:33Z","pushed_at":"2017-06-14T15:54:01Z","git_url":"git://github.com/tgstation/tgstation.git","ssh_url":"git@github.com:tgstation/tgstation.git","clone_url":"https://github.com/tgstation/tgstation.git","svn_url":"https://github.com/tgstation/tgstation","homepage":"http://www.tgstation13.org/","size":876919,"stargazers_count":383,"watchers_count":383,"language":"DM","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1421,"mirror_url":null,"open_issues_count":970,"forks":1421,"open_issues":970,"watchers":383,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/tgstation/tgstation/pulls/27954"},"html":{"href":"https://github.com/tgstation/tgstation/pull/27954"},"issue":{"href":"https://api.github.com/repos/tgstation/tgstation/issues/27954"},"comments":{"href":"https://api.github.com/repos/tgstation/tgstation/issues/27954/comments"},"review_comments":{"href":"https://api.github.com/repos/tgstation/tgstation/pulls/27954/comments"},"review_comment":{"href":"https://api.github.com/repos/tgstation/tgstation/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/tgstation/tgstation/pulls/27954/commits"},"statuses":{"href":"https://api.github.com/repos/tgstation/tgstation/statuses/d26a1735c60bb1f62ac75b85a11708a95875eabd"}}}}
{"actor":{"display_login":"Cyberboss"}}