{"action":"created","issue":{"url":"https://api.github.com/repos/ondras/rot.js/issues/86","repository_url":"https://api.github.com/repos/ondras/rot.js","labels_url":"https://api.github.com/repos/ondras/rot.js/issues/86/labels{/name}","comments_url":"https://api.github.com/repos/ondras/rot.js/issues/86/comments","events_url":"https://api.github.com/repos/ondras/rot.js/issues/86/events","html_url":"https://github.com/ondras/rot.js/issues/86","id":136951892,"number":86,"title":"ROT.Map.Cellular and the \"connected\" option","user":{"login":"suicidepills","id":1461736,"avatar_url":"https://avatars.githubusercontent.com/u/1461736?v=3","gravatar_id":"","url":"https://api.github.com/users/suicidepills","html_url":"https://github.com/suicidepills","followers_url":"https://api.github.com/users/suicidepills/followers","following_url":"https://api.github.com/users/suicidepills/following{/other_user}","gists_url":"https://api.github.com/users/suicidepills/gists{/gist_id}","starred_url":"https://api.github.com/users/suicidepills/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/suicidepills/subscriptions","organizations_url":"https://api.github.com/users/suicidepills/orgs","repos_url":"https://api.github.com/users/suicidepills/repos","events_url":"https://api.github.com/users/suicidepills/events{/privacy}","received_events_url":"https://api.github.com/users/suicidepills/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":17,"created_at":"2016-02-27T18:26:31Z","updated_at":"2016-03-03T16:03:08Z","closed_at":"2016-03-01T14:38:51Z","body":"Hi there!\r\n\r\nI was recently looking at some old 7DRL submissions and came across the code for Beware of the Space Bears (which uses the ROT lib).  I noticed that the author was using an [undocumented option](https://github.com/tapio/7drl-2015/blob/master/js/mapgen.js) for the Cellular dungeon generator called \"connected\".  When I looked at the Cellular generator code, I did see evidence that this has been implemented (though is not documented).  \r\n\r\nMy assumption (based on the comments in the ROT code) is that this is meant to connect all parts of the generated \"cave\".  However, I can't seem to get it to work...\r\n\r\nCan someone tell me more about this feature and why it's currently undocumented?  Is it known to be broken or might I be misusing it?\r\n\r\nThanks!\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/ondras/rot.js/issues/comments/191827795","html_url":"https://github.com/ondras/rot.js/issues/86#issuecomment-191827795","issue_url":"https://api.github.com/repos/ondras/rot.js/issues/86","id":191827795,"user":{"login":"uzudil","id":545875,"avatar_url":"https://avatars.githubusercontent.com/u/545875?v=3","gravatar_id":"","url":"https://api.github.com/users/uzudil","html_url":"https://github.com/uzudil","followers_url":"https://api.github.com/users/uzudil/followers","following_url":"https://api.github.com/users/uzudil/following{/other_user}","gists_url":"https://api.github.com/users/uzudil/gists{/gist_id}","starred_url":"https://api.github.com/users/uzudil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uzudil/subscriptions","organizations_url":"https://api.github.com/users/uzudil/orgs","repos_url":"https://api.github.com/users/uzudil/repos","events_url":"https://api.github.com/users/uzudil/events{/privacy}","received_events_url":"https://api.github.com/users/uzudil/received_events","type":"User","site_admin":false},"created_at":"2016-03-03T16:03:08Z","updated_at":"2016-03-03T16:03:08Z","body":"Sounds good, I will write a patch for this in the next few days. I'll add some way (possibly a callback) to be notified when an extra connection is made. \r\n\r\n@kosinaz I think just looking at the final map for good places for doors may be a better way to go. There could be generated areas suitable for doors already, even without making connections. Anyway, I'll let you know when I have the code for this."}}