{"action":"created","issue":{"url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/issues/15214","repository_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA","labels_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/issues/15214/labels{/name}","comments_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/issues/15214/comments","events_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/issues/15214/events","html_url":"https://github.com/CleverRaven/Cataclysm-DDA/pull/15214","id":131025089,"number":15214,"title":"Allow mods to modify professions","user":{"login":"BevapDin","id":5095435,"avatar_url":"https://avatars.githubusercontent.com/u/5095435?v=3","gravatar_id":"","url":"https://api.github.com/users/BevapDin","html_url":"https://github.com/BevapDin","followers_url":"https://api.github.com/users/BevapDin/followers","following_url":"https://api.github.com/users/BevapDin/following{/other_user}","gists_url":"https://api.github.com/users/BevapDin/gists{/gist_id}","starred_url":"https://api.github.com/users/BevapDin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BevapDin/subscriptions","organizations_url":"https://api.github.com/users/BevapDin/orgs","repos_url":"https://api.github.com/users/BevapDin/repos","events_url":"https://api.github.com/users/BevapDin/events{/privacy}","received_events_url":"https://api.github.com/users/BevapDin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-02-03T13:27:00Z","updated_at":"2016-02-03T15:03:31Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/pulls/15214","html_url":"https://github.com/CleverRaven/Cataclysm-DDA/pull/15214","diff_url":"https://github.com/CleverRaven/Cataclysm-DDA/pull/15214.diff","patch_url":"https://github.com/CleverRaven/Cataclysm-DDA/pull/15214.patch"},"body":"Allows to modify the list of items, CBMs, addictions, skills and flags of professions.\r\n\r\nModify the list of CBMs:\r\n```JSON\r\n{\r\n    \"type\": \"profession\",\r\n    \"ident\": \"bionic_prepper\",\r\n    \"name\": \"Bionic Something\",\r\n    \"edit-mode\": \"modify\",\r\n    \"remove:CBMs\": [ \"bio_tools\", \"bio_sunglasses\", \"bio_blindfold\" ],\r\n    \"add:CBMs\": [ \"bio_plut_filter\" ]\r\n}\r\n```\r\n\r\nModify skills, addictions and items (removing is done with the skill/addiction/item id only):\r\n```JSON\r\n{\r\n    \"type\": \"profession\",\r\n    \"ident\": \"cop\",\r\n    \"edit-mode\": \"modify\",\r\n    \"remove:skills\": [ \"gun\" ],\r\n    \"add:skills\": [ { \"level\": 3, \"name\": \"barter\" } ]\r\n},\r\n{\r\n    \"type\": \"profession\",\r\n    \"ident\": \"smoker\",\r\n    \"edit-mode\": \"modify\",\r\n    \"remove:addictions\": [ \"nicotine\" ]\r\n},\r\n{\r\n    \"type\": \"profession\",\r\n    \"ident\": \"bionic_prepper\",\r\n    \"edit-mode\": \"modify\",\r\n    \"items\": {\r\n        \"remove:both\": [\r\n            \"flashlight\",\r\n            \"knife_swissarmy\",\r\n            \"rope_30\",\r\n            \"canteen\"\r\n        ],\r\n        \"add:both\": [\r\n            \"water_clean\",\r\n            [ \"tshirt_text\", \"allyourbase\" ]\r\n        ],\r\n        \"add:male\": [\r\n            \"rope_30\"\r\n        ],\r\n        \"add:female\": [\r\n            \"knife_swissarmy\"\r\n        ]\r\n    }\r\n}\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/issues/comments/179280490","html_url":"https://github.com/CleverRaven/Cataclysm-DDA/pull/15214#issuecomment-179280490","issue_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/issues/15214","id":179280490,"user":{"login":"Zireael07","id":4525388,"avatar_url":"https://avatars.githubusercontent.com/u/4525388?v=3","gravatar_id":"","url":"https://api.github.com/users/Zireael07","html_url":"https://github.com/Zireael07","followers_url":"https://api.github.com/users/Zireael07/followers","following_url":"https://api.github.com/users/Zireael07/following{/other_user}","gists_url":"https://api.github.com/users/Zireael07/gists{/gist_id}","starred_url":"https://api.github.com/users/Zireael07/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Zireael07/subscriptions","organizations_url":"https://api.github.com/users/Zireael07/orgs","repos_url":"https://api.github.com/users/Zireael07/repos","events_url":"https://api.github.com/users/Zireael07/events{/privacy}","received_events_url":"https://api.github.com/users/Zireael07/received_events","type":"User","site_admin":false},"created_at":"2016-02-03T15:03:31Z","updated_at":"2016-02-03T15:03:31Z","body":"Great!"}}