{"action":"created","issue":{"url":"https://api.github.com/repos/christopho/solarus/issues/879","repository_url":"https://api.github.com/repos/christopho/solarus","labels_url":"https://api.github.com/repos/christopho/solarus/issues/879/labels{/name}","comments_url":"https://api.github.com/repos/christopho/solarus/issues/879/comments","events_url":"https://api.github.com/repos/christopho/solarus/issues/879/events","html_url":"https://github.com/christopho/solarus/issues/879","id":148998303,"number":879,"title":"Add function item:is_being_used()","user":{"login":"Diarandor","id":5383999,"avatar_url":"https://avatars.githubusercontent.com/u/5383999?v=3","gravatar_id":"","url":"https://api.github.com/users/Diarandor","html_url":"https://github.com/Diarandor","followers_url":"https://api.github.com/users/Diarandor/followers","following_url":"https://api.github.com/users/Diarandor/following{/other_user}","gists_url":"https://api.github.com/users/Diarandor/gists{/gist_id}","starred_url":"https://api.github.com/users/Diarandor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Diarandor/subscriptions","organizations_url":"https://api.github.com/users/Diarandor/orgs","repos_url":"https://api.github.com/users/Diarandor/repos","events_url":"https://api.github.com/users/Diarandor/events{/privacy}","received_events_url":"https://api.github.com/users/Diarandor/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-04-17T21:22:14Z","updated_at":"2016-05-07T19:08:54Z","closed_at":null,"body":"Add function item:is_being_used(), returning a boolean, so we can know if an item is being used.\r\nThe return value will be set to true after the event on_started, and to false after the event on_finished.\r\n\r\nIn my opinion, this may be quite useful (to make the code cleaner) when using combined custom items, like sword + feather, boots + feather, boots + sword,  etc."},"comment":{"url":"https://api.github.com/repos/christopho/solarus/issues/comments/217662348","html_url":"https://github.com/christopho/solarus/issues/879#issuecomment-217662348","issue_url":"https://api.github.com/repos/christopho/solarus/issues/879","id":217662348,"user":{"login":"Diarandor","id":5383999,"avatar_url":"https://avatars.githubusercontent.com/u/5383999?v=3","gravatar_id":"","url":"https://api.github.com/users/Diarandor","html_url":"https://github.com/Diarandor","followers_url":"https://api.github.com/users/Diarandor/followers","following_url":"https://api.github.com/users/Diarandor/following{/other_user}","gists_url":"https://api.github.com/users/Diarandor/gists{/gist_id}","starred_url":"https://api.github.com/users/Diarandor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Diarandor/subscriptions","organizations_url":"https://api.github.com/users/Diarandor/orgs","repos_url":"https://api.github.com/users/Diarandor/repos","events_url":"https://api.github.com/users/Diarandor/events{/privacy}","received_events_url":"https://api.github.com/users/Diarandor/received_events","type":"User","site_admin":false},"created_at":"2016-05-07T19:08:54Z","updated_at":"2016-05-07T19:08:54Z","body":"Yes, sorry for the mistake. I meant that."}}