{"action":"created","issue":{"url":"https://api.github.com/repos/TeamPorcupine/ProjectPorcupine/issues/997","repository_url":"https://api.github.com/repos/TeamPorcupine/ProjectPorcupine","labels_url":"https://api.github.com/repos/TeamPorcupine/ProjectPorcupine/issues/997/labels{/name}","comments_url":"https://api.github.com/repos/TeamPorcupine/ProjectPorcupine/issues/997/comments","events_url":"https://api.github.com/repos/TeamPorcupine/ProjectPorcupine/issues/997/events","html_url":"https://github.com/TeamPorcupine/ProjectPorcupine/pull/997","id":173653415,"number":997,"title":"Implement PathfindingWeights","user":{"login":"koosemose","id":6334643,"avatar_url":"https://avatars.githubusercontent.com/u/6334643?v=3","gravatar_id":"","url":"https://api.github.com/users/koosemose","html_url":"https://github.com/koosemose","followers_url":"https://api.github.com/users/koosemose/followers","following_url":"https://api.github.com/users/koosemose/following{/other_user}","gists_url":"https://api.github.com/users/koosemose/gists{/gist_id}","starred_url":"https://api.github.com/users/koosemose/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/koosemose/subscriptions","organizations_url":"https://api.github.com/users/koosemose/orgs","repos_url":"https://api.github.com/users/koosemose/repos","events_url":"https://api.github.com/users/koosemose/events{/privacy}","received_events_url":"https://api.github.com/users/koosemose/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-08-28T15:57:09Z","updated_at":"2016-08-28T16:06:52Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/TeamPorcupine/ProjectPorcupine/pulls/997","html_url":"https://github.com/TeamPorcupine/ProjectPorcupine/pull/997","diff_url":"https://github.com/TeamPorcupine/ProjectPorcupine/pull/997.diff","patch_url":"https://github.com/TeamPorcupine/ProjectPorcupine/pull/997.patch"},"body":"This is an extremely basic Pathfinding Weight for Tiles (which calls Furniture for it's pathfinding weight if it has furniture). At the moment the only thing used is movementCost, modifiers to the final weight (Accessed through the property PathfindingWeight on Tile), are set at 1.\r\n\r\nThe purpose is to get an extremely simple thing in place that allows those working on pathfinding to make use of a weight that can be further modified from movementCost, that is small enough to allow it to easily be merged. This will allow them to make use of it as soon as possible, and any further changes to how weight is calculated will be handled separately and should minimize conflicts with pathfinding PRs.\r\n\r\nAt a minimum, in the future this will allow Tiles and Furnitures to have a pathfindingWeight read from xml, that, while it will still factor in movement cost, it will allow a separate modifier (so some tiles can be less desirable without being slower moving, such as a fire, or a door).\r\n\r\nFurther changes will depend on how costly they are calculation-wise when accessed at a high rate by the pathfinding system."},"comment":{"url":"https://api.github.com/repos/TeamPorcupine/ProjectPorcupine/issues/comments/242982804","html_url":"https://github.com/TeamPorcupine/ProjectPorcupine/pull/997#issuecomment-242982804","issue_url":"https://api.github.com/repos/TeamPorcupine/ProjectPorcupine/issues/997","id":242982804,"user":{"login":"vogonistic","id":159568,"avatar_url":"https://avatars.githubusercontent.com/u/159568?v=3","gravatar_id":"","url":"https://api.github.com/users/vogonistic","html_url":"https://github.com/vogonistic","followers_url":"https://api.github.com/users/vogonistic/followers","following_url":"https://api.github.com/users/vogonistic/following{/other_user}","gists_url":"https://api.github.com/users/vogonistic/gists{/gist_id}","starred_url":"https://api.github.com/users/vogonistic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vogonistic/subscriptions","organizations_url":"https://api.github.com/users/vogonistic/orgs","repos_url":"https://api.github.com/users/vogonistic/repos","events_url":"https://api.github.com/users/vogonistic/events{/privacy}","received_events_url":"https://api.github.com/users/vogonistic/received_events","type":"User","site_admin":false},"created_at":"2016-08-28T16:06:52Z","updated_at":"2016-08-28T16:06:52Z","body":"Should it be a a public parameter so that modders can change it for things that might change the value?"}}
{"actor":{"display_login":"vogonistic"}}