{"action":"created","issue":{"url":"https://api.github.com/repos/code-newbies/python-thursday-adventure/issues/38","labels_url":"https://api.github.com/repos/code-newbies/python-thursday-adventure/issues/38/labels{/name}","comments_url":"https://api.github.com/repos/code-newbies/python-thursday-adventure/issues/38/comments","events_url":"https://api.github.com/repos/code-newbies/python-thursday-adventure/issues/38/events","html_url":"https://github.com/code-newbies/python-thursday-adventure/pull/38","id":91561534,"number":38,"title":"Picks up item, presses \"a\" for item count.","user":{"login":"jcode89","id":11775421,"avatar_url":"https://avatars.githubusercontent.com/u/11775421?v=3","gravatar_id":"","url":"https://api.github.com/users/jcode89","html_url":"https://github.com/jcode89","followers_url":"https://api.github.com/users/jcode89/followers","following_url":"https://api.github.com/users/jcode89/following{/other_user}","gists_url":"https://api.github.com/users/jcode89/gists{/gist_id}","starred_url":"https://api.github.com/users/jcode89/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jcode89/subscriptions","organizations_url":"https://api.github.com/users/jcode89/orgs","repos_url":"https://api.github.com/users/jcode89/repos","events_url":"https://api.github.com/users/jcode89/events{/privacy}","received_events_url":"https://api.github.com/users/jcode89/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-06-28T06:38:59Z","updated_at":"2015-06-28T16:55:15Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/code-newbies/python-thursday-adventure/pulls/38","html_url":"https://github.com/code-newbies/python-thursday-adventure/pull/38","diff_url":"https://github.com/code-newbies/python-thursday-adventure/pull/38.diff","patch_url":"https://github.com/code-newbies/python-thursday-adventure/pull/38.patch"},"body":"You can now pick up an item by walking over it and press \"a\" to return the number of items in your bag. I had to add in functionality to print the map out after each move, in order to see if I was passing over the items and if they were being added in. "},"comment":{"url":"https://api.github.com/repos/code-newbies/python-thursday-adventure/issues/comments/116298082","html_url":"https://github.com/code-newbies/python-thursday-adventure/pull/38#issuecomment-116298082","issue_url":"https://api.github.com/repos/code-newbies/python-thursday-adventure/issues/38","id":116298082,"user":{"login":"rubyyot","id":38428,"avatar_url":"https://avatars.githubusercontent.com/u/38428?v=3","gravatar_id":"","url":"https://api.github.com/users/rubyyot","html_url":"https://github.com/rubyyot","followers_url":"https://api.github.com/users/rubyyot/followers","following_url":"https://api.github.com/users/rubyyot/following{/other_user}","gists_url":"https://api.github.com/users/rubyyot/gists{/gist_id}","starred_url":"https://api.github.com/users/rubyyot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rubyyot/subscriptions","organizations_url":"https://api.github.com/users/rubyyot/orgs","repos_url":"https://api.github.com/users/rubyyot/repos","events_url":"https://api.github.com/users/rubyyot/events{/privacy}","received_events_url":"https://api.github.com/users/rubyyot/received_events","type":"User","site_admin":false},"created_at":"2015-06-28T16:55:15Z","updated_at":"2015-06-28T16:55:15Z","body":"There is a function to return items in room (the keys of the dict) I would\ncheck that for keys and gold before looking for them\n\nOn Sun, Jun 28, 2015, 11:43 Jonathan Colon <notifications@github.com> wrote:\n\n> Okay maybe a way to fix the error is to add a condition like, if player in\n> level 1: continue with item pick up elif player in level 2: Pass?\n>\n> Jonathan Colón\n>\n> > On Jun 28, 2015, at 08:52, Jamal Hansen <notifications@github.com>\n> wrote:\n> >\n> > @jcode89 Overall it is awesome seeing this functionality coming\n> together. Good job. I left some comments above on places where you could\n> utilize existing code rather than writing new code. Also there are some\n> failing tests. I think they have to so with rooms that don't have keys or\n> gold. You can see the error when you exit level 1 to level 2 (which doesn't\n> have either).\n> >\n> > Really nice to see this all come together, good work!\n> >\n> >\n> >\n> > —\n> > Reply to this email directly or view it on GitHub.\n> >\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/code-newbies/python-thursday-adventure/pull/38#issuecomment-116297115>\n> .\n>\n"}}