{"action":"closed","issue":{"url":"https://api.github.com/repos/Veripeditus/veripeditus-server/issues/37","repository_url":"https://api.github.com/repos/Veripeditus/veripeditus-server","labels_url":"https://api.github.com/repos/Veripeditus/veripeditus-server/issues/37/labels{/name}","comments_url":"https://api.github.com/repos/Veripeditus/veripeditus-server/issues/37/comments","events_url":"https://api.github.com/repos/Veripeditus/veripeditus-server/issues/37/events","html_url":"https://github.com/Veripeditus/veripeditus-server/issues/37","id":186148691,"number":37,"title":"Enable images for all gameobject types","user":{"login":"Natureshadow","id":212972,"avatar_url":"https://avatars.githubusercontent.com/u/212972?v=3","gravatar_id":"","url":"https://api.github.com/users/Natureshadow","html_url":"https://github.com/Natureshadow","followers_url":"https://api.github.com/users/Natureshadow/followers","following_url":"https://api.github.com/users/Natureshadow/following{/other_user}","gists_url":"https://api.github.com/users/Natureshadow/gists{/gist_id}","starred_url":"https://api.github.com/users/Natureshadow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Natureshadow/subscriptions","organizations_url":"https://api.github.com/users/Natureshadow/orgs","repos_url":"https://api.github.com/users/Natureshadow/repos","events_url":"https://api.github.com/users/Natureshadow/events{/privacy}","received_events_url":"https://api.github.com/users/Natureshadow/received_events","type":"User","site_admin":false},"labels":[{"id":313528905,"url":"https://api.github.com/repos/Veripeditus/veripeditus-server/labels/bug","name":"bug","color":"fc2929","default":true},{"id":313528907,"url":"https://api.github.com/repos/Veripeditus/veripeditus-server/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"state":"closed","locked":false,"assignee":{"login":"Creeparoo","id":9337161,"avatar_url":"https://avatars.githubusercontent.com/u/9337161?v=3","gravatar_id":"","url":"https://api.github.com/users/Creeparoo","html_url":"https://github.com/Creeparoo","followers_url":"https://api.github.com/users/Creeparoo/followers","following_url":"https://api.github.com/users/Creeparoo/following{/other_user}","gists_url":"https://api.github.com/users/Creeparoo/gists{/gist_id}","starred_url":"https://api.github.com/users/Creeparoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Creeparoo/subscriptions","organizations_url":"https://api.github.com/users/Creeparoo/orgs","repos_url":"https://api.github.com/users/Creeparoo/repos","events_url":"https://api.github.com/users/Creeparoo/events{/privacy}","received_events_url":"https://api.github.com/users/Creeparoo/received_events","type":"User","site_admin":false},"assignees":[{"login":"Creeparoo","id":9337161,"avatar_url":"https://avatars.githubusercontent.com/u/9337161?v=3","gravatar_id":"","url":"https://api.github.com/users/Creeparoo","html_url":"https://github.com/Creeparoo","followers_url":"https://api.github.com/users/Creeparoo/followers","following_url":"https://api.github.com/users/Creeparoo/following{/other_user}","gists_url":"https://api.github.com/users/Creeparoo/gists{/gist_id}","starred_url":"https://api.github.com/users/Creeparoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Creeparoo/subscriptions","organizations_url":"https://api.github.com/users/Creeparoo/orgs","repos_url":"https://api.github.com/users/Creeparoo/repos","events_url":"https://api.github.com/users/Creeparoo/events{/privacy}","received_events_url":"https://api.github.com/users/Creeparoo/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/Veripeditus/veripeditus-server/milestones/1","html_url":"https://github.com/Veripeditus/veripeditus-server/milestones/1.0.0a0.dev0","labels_url":"https://api.github.com/repos/Veripeditus/veripeditus-server/milestones/1/labels","id":1911742,"number":1,"title":"1.0.0a0.dev0","description":"Preview version for OpenRheinRuhr 2016","creator":{"login":"Natureshadow","id":212972,"avatar_url":"https://avatars.githubusercontent.com/u/212972?v=3","gravatar_id":"","url":"https://api.github.com/users/Natureshadow","html_url":"https://github.com/Natureshadow","followers_url":"https://api.github.com/users/Natureshadow/followers","following_url":"https://api.github.com/users/Natureshadow/following{/other_user}","gists_url":"https://api.github.com/users/Natureshadow/gists{/gist_id}","starred_url":"https://api.github.com/users/Natureshadow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Natureshadow/subscriptions","organizations_url":"https://api.github.com/users/Natureshadow/orgs","repos_url":"https://api.github.com/users/Natureshadow/repos","events_url":"https://api.github.com/users/Natureshadow/events{/privacy}","received_events_url":"https://api.github.com/users/Natureshadow/received_events","type":"User","site_admin":false},"open_issues":12,"closed_issues":9,"state":"open","created_at":"2016-07-29T14:17:56Z","updated_at":"2016-10-30T19:14:19Z","due_on":"2016-11-05T00:00:00Z","closed_at":null},"comments":1,"created_at":"2016-10-30T17:08:51Z","updated_at":"2016-10-30T19:14:18Z","closed_at":"2016-10-30T19:14:18Z","body":"Remove the avatar field from Player and add an image field to the general GameObject.\r\n\r\nAdd a funciton in `veripeditus.framework.util` called `get_image_path` that takes two arguments:\r\n\r\n 1. a reference to the game module\r\n 2. the base name of the image (i.e. without the `.svg`)\r\n\r\nIt shall then:\r\n\r\n * determine the resource directory paths for both the game module and the framework (use the `__file__` member of the respective modules)\r\n * check whether a file with the basename and extension svg exists in the game resource path and return its full path if yes\r\n * do the same for .png and return it if it exists\r\n * if both failed, do the same two checks inside the framework resource path\r\n * if all failed, return the full path of `dummy.svg` in the framework resource path\r\n\r\nLastly, add a property method called `image_path` to GameObject that calls the utility function with the game this object belongs to (get it from `world.game.module`)."}}
{"actor":{"display_login":"Creeparoo"}}