{"action":"opened","issue":{"url":"https://api.github.com/repos/Fiskie/Autocity/issues/18","labels_url":"https://api.github.com/repos/Fiskie/Autocity/issues/18/labels{/name}","comments_url":"https://api.github.com/repos/Fiskie/Autocity/issues/18/comments","events_url":"https://api.github.com/repos/Fiskie/Autocity/issues/18/events","html_url":"https://github.com/Fiskie/Autocity/issues/18","id":56116605,"number":18,"title":"Add in tile path weighting/heuristics system","user":{"login":"WhiplashD","id":1747659,"avatar_url":"https://avatars.githubusercontent.com/u/1747659?v=3","gravatar_id":"","url":"https://api.github.com/users/WhiplashD","html_url":"https://github.com/WhiplashD","followers_url":"https://api.github.com/users/WhiplashD/followers","following_url":"https://api.github.com/users/WhiplashD/following{/other_user}","gists_url":"https://api.github.com/users/WhiplashD/gists{/gist_id}","starred_url":"https://api.github.com/users/WhiplashD/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WhiplashD/subscriptions","organizations_url":"https://api.github.com/users/WhiplashD/orgs","repos_url":"https://api.github.com/users/WhiplashD/repos","events_url":"https://api.github.com/users/WhiplashD/events{/privacy}","received_events_url":"https://api.github.com/users/WhiplashD/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Fiskie/Autocity/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/Fiskie/Autocity/milestones/1","labels_url":"https://api.github.com/repos/Fiskie/Autocity/milestones/1/labels","id":953973,"number":1,"title":"Alpha","description":"Something something playable something something","creator":{"login":"WhiplashD","id":1747659,"avatar_url":"https://avatars.githubusercontent.com/u/1747659?v=3","gravatar_id":"","url":"https://api.github.com/users/WhiplashD","html_url":"https://github.com/WhiplashD","followers_url":"https://api.github.com/users/WhiplashD/followers","following_url":"https://api.github.com/users/WhiplashD/following{/other_user}","gists_url":"https://api.github.com/users/WhiplashD/gists{/gist_id}","starred_url":"https://api.github.com/users/WhiplashD/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WhiplashD/subscriptions","organizations_url":"https://api.github.com/users/WhiplashD/orgs","repos_url":"https://api.github.com/users/WhiplashD/repos","events_url":"https://api.github.com/users/WhiplashD/events{/privacy}","received_events_url":"https://api.github.com/users/WhiplashD/received_events","type":"User","site_admin":false},"open_issues":9,"closed_issues":1,"state":"open","created_at":"2015-01-27T22:15:27Z","updated_at":"2015-01-31T07:28:02Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2015-01-31T07:28:02Z","updated_at":"2015-01-31T07:28:02Z","closed_at":null,"body":"Right now there are bits of code for Node/Tile weighting in the path finding algorithm class but they don't affect the outcome generated. I think, instead of having the pathing algorithm generate these weights on the fly as it paths to the target tile: Instead tiles would be generated with a default 1.0 weight, and their weight changes based on their own AND surrounding tiles' properties, and then further modified by the pathing algorithm.\r\n\r\n9 blank grass tiles, the middle right has a tree. The middle left has a weight of 1.0, middle 0.5, and middle left 0.0.\r\nSimilar scenario, a building, the tiles touching the buildings FRONT side are weighted higher than the tiles neighboring the buildings BACK side. Stuff like that."}}