{"action":"created","issue":{"url":"https://api.github.com/repos/hawkthorne/hawkthorne-journey/issues/2357","labels_url":"https://api.github.com/repos/hawkthorne/hawkthorne-journey/issues/2357/labels{/name}","comments_url":"https://api.github.com/repos/hawkthorne/hawkthorne-journey/issues/2357/comments","events_url":"https://api.github.com/repos/hawkthorne/hawkthorne-journey/issues/2357/events","html_url":"https://github.com/hawkthorne/hawkthorne-journey/pull/2357","id":76237400,"number":2357,"title":"Projectiles deal damage to breakable blocks","user":{"login":"niamu","id":39169,"avatar_url":"https://avatars.githubusercontent.com/u/39169?v=3","gravatar_id":"","url":"https://api.github.com/users/niamu","html_url":"https://github.com/niamu","followers_url":"https://api.github.com/users/niamu/followers","following_url":"https://api.github.com/users/niamu/following{/other_user}","gists_url":"https://api.github.com/users/niamu/gists{/gist_id}","starred_url":"https://api.github.com/users/niamu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/niamu/subscriptions","organizations_url":"https://api.github.com/users/niamu/orgs","repos_url":"https://api.github.com/users/niamu/repos","events_url":"https://api.github.com/users/niamu/events{/privacy}","received_events_url":"https://api.github.com/users/niamu/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-05-14T05:24:01Z","updated_at":"2015-05-15T05:05:28Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/hawkthorne/hawkthorne-journey/pulls/2357","html_url":"https://github.com/hawkthorne/hawkthorne-journey/pull/2357","diff_url":"https://github.com/hawkthorne/hawkthorne-journey/pull/2357.diff","patch_url":"https://github.com/hawkthorne/hawkthorne-journey/pull/2357.patch"},"body":"One thing I noticed from watching some YouTubers play (thanks to @edisonout for providing a link to get me started down this path) is that one of the first things players do is craft throwing knives in the forest and then accidentally shoot them at the breakable blocks and realize that they don't do any damage.\r\n\r\nAfter investigating the code, I realize that this wasn't intentional and have spent the last several hours working out a fix. Yes, it's stupid ugly. If you can come up with a cleaner fix, I'd love to see it.\r\n\r\nThis gets the job done and makes breakable blocks feel a bit better to interact with."},"comment":{"url":"https://api.github.com/repos/hawkthorne/hawkthorne-journey/issues/comments/102259403","html_url":"https://github.com/hawkthorne/hawkthorne-journey/pull/2357#issuecomment-102259403","issue_url":"https://api.github.com/repos/hawkthorne/hawkthorne-journey/issues/2357","id":102259403,"user":{"login":"niamu","id":39169,"avatar_url":"https://avatars.githubusercontent.com/u/39169?v=3","gravatar_id":"","url":"https://api.github.com/users/niamu","html_url":"https://github.com/niamu","followers_url":"https://api.github.com/users/niamu/followers","following_url":"https://api.github.com/users/niamu/following{/other_user}","gists_url":"https://api.github.com/users/niamu/gists{/gist_id}","starred_url":"https://api.github.com/users/niamu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/niamu/subscriptions","organizations_url":"https://api.github.com/users/niamu/orgs","repos_url":"https://api.github.com/users/niamu/repos","events_url":"https://api.github.com/users/niamu/events{/privacy}","received_events_url":"https://api.github.com/users/niamu/received_events","type":"User","site_admin":false},"created_at":"2015-05-15T05:05:28Z","updated_at":"2015-05-15T05:05:28Z","body":"Totally get your objection to working backwards to finding the node that we are colliding with. It is very ugly. I like it only because it's proven to be reliable in my tests.\r\n\r\nI'd welcome any cleaner fix you can come up with that matches reliability."}}