{"action":"created","issue":{"url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/issues/24114","repository_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA","labels_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/issues/24114/labels{/name}","comments_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/issues/24114/comments","events_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/issues/24114/events","html_url":"https://github.com/CleverRaven/Cataclysm-DDA/pull/24114","id":336357818,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk3ODMwMDU5","number":24114,"title":"First draft of json-augmentation of labs","user":{"login":"BrianLefler","id":5424348,"node_id":"MDQ6VXNlcjU0MjQzNDg=","avatar_url":"https://avatars1.githubusercontent.com/u/5424348?v=4","gravatar_id":"","url":"https://api.github.com/users/BrianLefler","html_url":"https://github.com/BrianLefler","followers_url":"https://api.github.com/users/BrianLefler/followers","following_url":"https://api.github.com/users/BrianLefler/following{/other_user}","gists_url":"https://api.github.com/users/BrianLefler/gists{/gist_id}","starred_url":"https://api.github.com/users/BrianLefler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BrianLefler/subscriptions","organizations_url":"https://api.github.com/users/BrianLefler/orgs","repos_url":"https://api.github.com/users/BrianLefler/repos","events_url":"https://api.github.com/users/BrianLefler/events{/privacy}","received_events_url":"https://api.github.com/users/BrianLefler/received_events","type":"User","site_admin":false},"labels":[{"id":477028196,"node_id":"MDU6TGFiZWw0NzcwMjgxOTY=","url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/labels/Mapgen","name":"Mapgen","color":"7a213a","default":false},{"id":659366627,"node_id":"MDU6TGFiZWw2NTkzNjY2Mjc=","url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/labels/[C++]","name":"[C++]","color":"f9d0c4","default":false},{"id":235869031,"node_id":"MDU6TGFiZWwyMzU4NjkwMzE=","url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/labels/[JSON]","name":"[JSON]","color":"c2e0c6","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":12,"created_at":"2018-06-27T19:28:22Z","updated_at":"2018-07-05T01:41:26Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/pulls/24114","html_url":"https://github.com/CleverRaven/Cataclysm-DDA/pull/24114","diff_url":"https://github.com/CleverRaven/Cataclysm-DDA/pull/24114.diff","patch_url":"https://github.com/CleverRaven/Cataclysm-DDA/pull/24114.patch"},"body":"Would love feedback on this.  It adds two json map names with special treatment: lab_1side and lab_4side.\r\n\r\nAny map which is added under those names will go into the mix to be randomly selected when creating labs.  They use the standard json generation, but add on proper handling for stairs and ice_lab settings.\r\n\r\nThey are mixed in with existing content in this way:\r\n- lab_1side maps will be weighted alongside the 2 current 1-sided options (barracks & prisoner containment, each of which have a weight of 400).\r\n- lab_4side maps will be used 20% of the time.\r\n\r\nThe maps that have been created use nested submaps extensively to populate a lot of smaller rooms, similar to the existing cross and tic-tac-toe boards.  But they aren't great and I'm not very good with json, so if anyone wants to make suggestions or changes, I'd love to see more.  I just wanted to get the ball rollling."},"comment":{"url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/issues/comments/402582699","html_url":"https://github.com/CleverRaven/Cataclysm-DDA/pull/24114#issuecomment-402582699","issue_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/issues/24114","id":402582699,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMjU4MjY5OQ==","user":{"login":"ZhilkinSerg","id":16213433,"node_id":"MDQ6VXNlcjE2MjEzNDMz","avatar_url":"https://avatars0.githubusercontent.com/u/16213433?v=4","gravatar_id":"","url":"https://api.github.com/users/ZhilkinSerg","html_url":"https://github.com/ZhilkinSerg","followers_url":"https://api.github.com/users/ZhilkinSerg/followers","following_url":"https://api.github.com/users/ZhilkinSerg/following{/other_user}","gists_url":"https://api.github.com/users/ZhilkinSerg/gists{/gist_id}","starred_url":"https://api.github.com/users/ZhilkinSerg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ZhilkinSerg/subscriptions","organizations_url":"https://api.github.com/users/ZhilkinSerg/orgs","repos_url":"https://api.github.com/users/ZhilkinSerg/repos","events_url":"https://api.github.com/users/ZhilkinSerg/events{/privacy}","received_events_url":"https://api.github.com/users/ZhilkinSerg/received_events","type":"User","site_admin":false},"created_at":"2018-07-05T01:41:26Z","updated_at":"2018-07-05T01:41:26Z","author_association":"CONTRIBUTOR","body":"Sorry, I didn't have time to look at this yet. Please inform when you think it will be ready to go and I will start testing. You could always add more changes in later PRs."}}
{"actor":{"display_login":"ZhilkinSerg"}}