{"action":"created","issue":{"url":"https://api.github.com/repos/KSP-KOS/KOS/issues/1560","repository_url":"https://api.github.com/repos/KSP-KOS/KOS","labels_url":"https://api.github.com/repos/KSP-KOS/KOS/issues/1560/labels{/name}","comments_url":"https://api.github.com/repos/KSP-KOS/KOS/issues/1560/comments","events_url":"https://api.github.com/repos/KSP-KOS/KOS/issues/1560/events","html_url":"https://github.com/KSP-KOS/KOS/pull/1560","id":143235700,"number":1560,"title":"Add the ability to launch a new vessel from script","user":{"login":"hvacengi","id":2975036,"avatar_url":"https://avatars.githubusercontent.com/u/2975036?v=3","gravatar_id":"","url":"https://api.github.com/users/hvacengi","html_url":"https://github.com/hvacengi","followers_url":"https://api.github.com/users/hvacengi/followers","following_url":"https://api.github.com/users/hvacengi/following{/other_user}","gists_url":"https://api.github.com/users/hvacengi/gists{/gist_id}","starred_url":"https://api.github.com/users/hvacengi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hvacengi/subscriptions","organizations_url":"https://api.github.com/users/hvacengi/orgs","repos_url":"https://api.github.com/users/hvacengi/repos","events_url":"https://api.github.com/users/hvacengi/events{/privacy}","received_events_url":"https://api.github.com/users/hvacengi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/KSP-KOS/KOS/milestones/20","html_url":"https://github.com/KSP-KOS/KOS/milestones/v1.0.0","labels_url":"https://api.github.com/repos/KSP-KOS/KOS/milestones/20/labels","id":1618450,"number":20,"title":"v1.0.0","description":"The next major release of kOS.  This should be expected _after_ KSP 1.1 is released, and will encompass bug fixes, new features, and updates to the user interface.  There will probably be a compatibility release that works with KSP 1.1 before this release, but the big changes to take advantage of KSP 1.1 and Unity 5 will be in this release.","creator":{"login":"hvacengi","id":2975036,"avatar_url":"https://avatars.githubusercontent.com/u/2975036?v=3","gravatar_id":"","url":"https://api.github.com/users/hvacengi","html_url":"https://github.com/hvacengi","followers_url":"https://api.github.com/users/hvacengi/followers","following_url":"https://api.github.com/users/hvacengi/following{/other_user}","gists_url":"https://api.github.com/users/hvacengi/gists{/gist_id}","starred_url":"https://api.github.com/users/hvacengi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hvacengi/subscriptions","organizations_url":"https://api.github.com/users/hvacengi/orgs","repos_url":"https://api.github.com/users/hvacengi/repos","events_url":"https://api.github.com/users/hvacengi/events{/privacy}","received_events_url":"https://api.github.com/users/hvacengi/received_events","type":"User","site_admin":false},"open_issues":38,"closed_issues":8,"state":"open","created_at":"2016-03-02T18:12:53Z","updated_at":"2016-04-20T07:41:08Z","due_on":null,"closed_at":null},"comments":13,"created_at":"2016-03-24T12:49:10Z","updated_at":"2016-04-20T15:30:27Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/KSP-KOS/KOS/pulls/1560","html_url":"https://github.com/KSP-KOS/KOS/pull/1560","diff_url":"https://github.com/KSP-KOS/KOS/pull/1560.diff","patch_url":"https://github.com/KSP-KOS/KOS/pull/1560.patch"},"body":"Fixes #1149\r\n\r\nThis adds suffixes to the `KUNIVERSE` bound variable to allow for launching a new vessel from a craft file.  It also adds a new structure `CraftTemplate` which contains data about the craft file.  This information is accessed via KSP's `ShipTemplate` class rather than the `ShipConstruct` class because the template does not attempt to actually load each of the parts, it just reads the basic information off of the craft file itself.\r\n\r\nFeatures:\r\n- [x] New CraftTemplate structure\r\n- [x] Get name, description, mass, cost, and part count of the template\r\n- [x] Launch the craft from it's default launch site\r\n- [x] Launch the craft from an arbitrary launch site\r\n- [x] Launch with the craft's default crew (as would be selected automatically in the editor)\r\n- [ ] Allow for assignable crew _(Optional for initial implementation, easy to add later)_\r\n- [x] Documentation"},"comment":{"url":"https://api.github.com/repos/KSP-KOS/KOS/issues/comments/212478757","html_url":"https://github.com/KSP-KOS/KOS/pull/1560#issuecomment-212478757","issue_url":"https://api.github.com/repos/KSP-KOS/KOS/issues/1560","id":212478757,"user":{"login":"hvacengi","id":2975036,"avatar_url":"https://avatars.githubusercontent.com/u/2975036?v=3","gravatar_id":"","url":"https://api.github.com/users/hvacengi","html_url":"https://github.com/hvacengi","followers_url":"https://api.github.com/users/hvacengi/followers","following_url":"https://api.github.com/users/hvacengi/following{/other_user}","gists_url":"https://api.github.com/users/hvacengi/gists{/gist_id}","starred_url":"https://api.github.com/users/hvacengi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hvacengi/subscriptions","organizations_url":"https://api.github.com/users/hvacengi/orgs","repos_url":"https://api.github.com/users/hvacengi/repos","events_url":"https://api.github.com/users/hvacengi/events{/privacy}","received_events_url":"https://api.github.com/users/hvacengi/received_events","type":"User","site_admin":false},"created_at":"2016-04-20T15:30:27Z","updated_at":"2016-04-20T15:30:27Z","body":"I have now tested in KSP 1.1 and can confirm that the crew bug reported above does not appear to be an issue with kOS.  I was unable to replicate it.\r\n\r\nI updated the logic to respect some things from the game settings (regarding stock craft) and cleaned up the documentation.\r\n\r\n@Dunbaratu or @tomekpiotrowski this should be ready to merge if you don't see any issues in testing."}}