{"action":"created","issue":{"url":"https://api.github.com/repos/shadowmage45/AncientWarfare2/issues/302","labels_url":"https://api.github.com/repos/shadowmage45/AncientWarfare2/issues/302/labels{/name}","comments_url":"https://api.github.com/repos/shadowmage45/AncientWarfare2/issues/302/comments","events_url":"https://api.github.com/repos/shadowmage45/AncientWarfare2/issues/302/events","html_url":"https://github.com/shadowmage45/AncientWarfare2/issues/302","id":80755789,"number":302,"title":"Enhancement: Define Paths with a tool.","user":{"login":"Overwatching","id":8674503,"avatar_url":"https://avatars.githubusercontent.com/u/8674503?v=3","gravatar_id":"","url":"https://api.github.com/users/Overwatching","html_url":"https://github.com/Overwatching","followers_url":"https://api.github.com/users/Overwatching/followers","following_url":"https://api.github.com/users/Overwatching/following{/other_user}","gists_url":"https://api.github.com/users/Overwatching/gists{/gist_id}","starred_url":"https://api.github.com/users/Overwatching/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Overwatching/subscriptions","organizations_url":"https://api.github.com/users/Overwatching/orgs","repos_url":"https://api.github.com/users/Overwatching/repos","events_url":"https://api.github.com/users/Overwatching/events{/privacy}","received_events_url":"https://api.github.com/users/Overwatching/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-05-26T02:43:20Z","updated_at":"2015-05-27T10:30:03Z","closed_at":null,"body":"I have noticed that NPCs try to take a straight line to their next task. This is leading to NPCs jumping over hedges, or getting stuck on fences.\r\n\r\nSuggestion. Let us define \"nodes\" on our paths (probably at each corner) and connect them together to define where our paths are. Then, instead of walking in a straight line, work/utility NPCs should check if a path is closer than their next job, then travel the path from node to node until they arrive."},"comment":{"url":"https://api.github.com/repos/shadowmage45/AncientWarfare2/issues/comments/105856537","html_url":"https://github.com/shadowmage45/AncientWarfare2/issues/302#issuecomment-105856537","issue_url":"https://api.github.com/repos/shadowmage45/AncientWarfare2/issues/302","id":105856537,"user":{"login":"Draghi","id":5101853,"avatar_url":"https://avatars.githubusercontent.com/u/5101853?v=3","gravatar_id":"","url":"https://api.github.com/users/Draghi","html_url":"https://github.com/Draghi","followers_url":"https://api.github.com/users/Draghi/followers","following_url":"https://api.github.com/users/Draghi/following{/other_user}","gists_url":"https://api.github.com/users/Draghi/gists{/gist_id}","starred_url":"https://api.github.com/users/Draghi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Draghi/subscriptions","organizations_url":"https://api.github.com/users/Draghi/orgs","repos_url":"https://api.github.com/users/Draghi/repos","events_url":"https://api.github.com/users/Draghi/events{/privacy}","received_events_url":"https://api.github.com/users/Draghi/received_events","type":"User","site_admin":false},"created_at":"2015-05-27T10:30:03Z","updated_at":"2015-05-27T10:30:03Z","body":"I gave the source code a look and that definitely looks like it could work."}}