{"action":"created","comment":{"url":"https://api.github.com/repos/Baystation12/Baystation12/pulls/comments/67609479","id":67609479,"diff_hunk":"@@ -197,4 +197,8 @@\n //objectives\n #define CONFIG_OBJECTIVE_NONE 2\n #define CONFIG_OBJECTIVE_VERB 1\n-#define CONFIG_OBJECTIVE_ALL  0\n\\ No newline at end of file\n+#define CONFIG_OBJECTIVE_ALL  0\n+\n+//Grid for Item Placement\n+#define CELLS 8             //Amount of cells per row/column in grid\n+#define CELLSIZE (32/CELLS) //Size of a cell in pixels","path":"code/__defines/misc.dm","position":10,"original_position":10,"commit_id":"215b8312ef44ce1bae68147772686ab7f2c77779","original_commit_id":"215b8312ef44ce1bae68147772686ab7f2c77779","user":{"login":"mwerezak","id":242428,"avatar_url":"https://avatars.githubusercontent.com/u/242428?v=3","gravatar_id":"","url":"https://api.github.com/users/mwerezak","html_url":"https://github.com/mwerezak","followers_url":"https://api.github.com/users/mwerezak/followers","following_url":"https://api.github.com/users/mwerezak/following{/other_user}","gists_url":"https://api.github.com/users/mwerezak/gists{/gist_id}","starred_url":"https://api.github.com/users/mwerezak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mwerezak/subscriptions","organizations_url":"https://api.github.com/users/mwerezak/orgs","repos_url":"https://api.github.com/users/mwerezak/repos","events_url":"https://api.github.com/users/mwerezak/events{/privacy}","received_events_url":"https://api.github.com/users/mwerezak/received_events","type":"User","site_admin":false},"body":"Might want to use world tile size here instead of 32.","created_at":"2016-06-19T02:53:54Z","updated_at":"2016-06-19T02:53:54Z","html_url":"https://github.com/Baystation12/Baystation12/pull/13435#discussion_r67609479","pull_request_url":"https://api.github.com/repos/Baystation12/Baystation12/pulls/13435","_links":{"self":{"href":"https://api.github.com/repos/Baystation12/Baystation12/pulls/comments/67609479"},"html":{"href":"https://github.com/Baystation12/Baystation12/pull/13435#discussion_r67609479"},"pull_request":{"href":"https://api.github.com/repos/Baystation12/Baystation12/pulls/13435"}}},"pull_request":{"url":"https://api.github.com/repos/Baystation12/Baystation12/pulls/13435","id":74349591,"html_url":"https://github.com/Baystation12/Baystation12/pull/13435","diff_url":"https://github.com/Baystation12/Baystation12/pull/13435.diff","patch_url":"https://github.com/Baystation12/Baystation12/pull/13435.patch","issue_url":"https://api.github.com/repos/Baystation12/Baystation12/issues/13435","number":13435,"state":"open","locked":false,"title":"Item Grid and Autoalignment","user":{"login":"Hubblenaut","id":6383576,"avatar_url":"https://avatars.githubusercontent.com/u/6383576?v=3","gravatar_id":"","url":"https://api.github.com/users/Hubblenaut","html_url":"https://github.com/Hubblenaut","followers_url":"https://api.github.com/users/Hubblenaut/followers","following_url":"https://api.github.com/users/Hubblenaut/following{/other_user}","gists_url":"https://api.github.com/users/Hubblenaut/gists{/gist_id}","starred_url":"https://api.github.com/users/Hubblenaut/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Hubblenaut/subscriptions","organizations_url":"https://api.github.com/users/Hubblenaut/orgs","repos_url":"https://api.github.com/users/Hubblenaut/repos","events_url":"https://api.github.com/users/Hubblenaut/events{/privacy}","received_events_url":"https://api.github.com/users/Hubblenaut/received_events","type":"User","site_admin":false},"body":"**Changes:**\r\n - Tables will use an invisible 8x8 grid for item placement for easier alignment (like it has been before for food objects).\r\n - Racks will automatically align their contents in a row.\r\n - Items spawning and placed in closets will not be pixelshifted.\r\n - `center_of_mass` is now defined for all items.\r\n - Rack icon is flipped to be consistent with other sprites. Looks much nicer.\r\n - Sets `center_of_mass` for the new drinking glasses.\r\n - Defines place_centered for items that shouldn't be placed where clicked - usually for items that have very large sprites.\r\n - Sets place_centered for most clothing (except armor, glasses and masks) and most material stacks (except the small ingot ones).\r\n\r\n**Example Screenshots:**\r\n![Image1](http://i.imgur.com/YA5pYFJ.png)\r\n![Image2](http://i.imgur.com/vvndERp.png)","created_at":"2016-06-18T23:02:40Z","updated_at":"2016-06-19T02:53:54Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d404263193f0ac6659a7fe143c6f71f66dd1ba3c","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Baystation12/Baystation12/pulls/13435/commits","review_comments_url":"https://api.github.com/repos/Baystation12/Baystation12/pulls/13435/comments","review_comment_url":"https://api.github.com/repos/Baystation12/Baystation12/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Baystation12/Baystation12/issues/13435/comments","statuses_url":"https://api.github.com/repos/Baystation12/Baystation12/statuses/215b8312ef44ce1bae68147772686ab7f2c77779","head":{"label":"Hubblenaut:dev","ref":"dev","sha":"215b8312ef44ce1bae68147772686ab7f2c77779","user":{"login":"Hubblenaut","id":6383576,"avatar_url":"https://avatars.githubusercontent.com/u/6383576?v=3","gravatar_id":"","url":"https://api.github.com/users/Hubblenaut","html_url":"https://github.com/Hubblenaut","followers_url":"https://api.github.com/users/Hubblenaut/followers","following_url":"https://api.github.com/users/Hubblenaut/following{/other_user}","gists_url":"https://api.github.com/users/Hubblenaut/gists{/gist_id}","starred_url":"https://api.github.com/users/Hubblenaut/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Hubblenaut/subscriptions","organizations_url":"https://api.github.com/users/Hubblenaut/orgs","repos_url":"https://api.github.com/users/Hubblenaut/repos","events_url":"https://api.github.com/users/Hubblenaut/events{/privacy}","received_events_url":"https://api.github.com/users/Hubblenaut/received_events","type":"User","site_admin":false},"repo":{"id":19297757,"name":"Baystation12","full_name":"Hubblenaut/Baystation12","owner":{"login":"Hubblenaut","id":6383576,"avatar_url":"https://avatars.githubusercontent.com/u/6383576?v=3","gravatar_id":"","url":"https://api.github.com/users/Hubblenaut","html_url":"https://github.com/Hubblenaut","followers_url":"https://api.github.com/users/Hubblenaut/followers","following_url":"https://api.github.com/users/Hubblenaut/following{/other_user}","gists_url":"https://api.github.com/users/Hubblenaut/gists{/gist_id}","starred_url":"https://api.github.com/users/Hubblenaut/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Hubblenaut/subscriptions","organizations_url":"https://api.github.com/users/Hubblenaut/orgs","repos_url":"https://api.github.com/users/Hubblenaut/repos","events_url":"https://api.github.com/users/Hubblenaut/events{/privacy}","received_events_url":"https://api.github.com/users/Hubblenaut/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Hubblenaut/Baystation12","description":"The code for Baystation12's branch of SS13","fork":true,"url":"https://api.github.com/repos/Hubblenaut/Baystation12","forks_url":"https://api.github.com/repos/Hubblenaut/Baystation12/forks","keys_url":"https://api.github.com/repos/Hubblenaut/Baystation12/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Hubblenaut/Baystation12/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Hubblenaut/Baystation12/teams","hooks_url":"https://api.github.com/repos/Hubblenaut/Baystation12/hooks","issue_events_url":"https://api.github.com/repos/Hubblenaut/Baystation12/issues/events{/number}","events_url":"https://api.github.com/repos/Hubblenaut/Baystation12/events","assignees_url":"https://api.github.com/repos/Hubblenaut/Baystation12/assignees{/user}","branches_url":"https://api.github.com/repos/Hubblenaut/Baystation12/branches{/branch}","tags_url":"https://api.github.com/repos/Hubblenaut/Baystation12/tags","blobs_url":"https://api.github.com/repos/Hubblenaut/Baystation12/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Hubblenaut/Baystation12/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Hubblenaut/Baystation12/git/refs{/sha}","trees_url":"https://api.github.com/repos/Hubblenaut/Baystation12/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Hubblenaut/Baystation12/statuses/{sha}","languages_url":"https://api.github.com/repos/Hubblenaut/Baystation12/languages","stargazers_url":"https://api.github.com/repos/Hubblenaut/Baystation12/stargazers","contributors_url":"https://api.github.com/repos/Hubblenaut/Baystation12/contributors","subscribers_url":"https://api.github.com/repos/Hubblenaut/Baystation12/subscribers","subscription_url":"https://api.github.com/repos/Hubblenaut/Baystation12/subscription","commits_url":"https://api.github.com/repos/Hubblenaut/Baystation12/commits{/sha}","git_commits_url":"https://api.github.com/repos/Hubblenaut/Baystation12/git/commits{/sha}","comments_url":"https://api.github.com/repos/Hubblenaut/Baystation12/comments{/number}","issue_comment_url":"https://api.github.com/repos/Hubblenaut/Baystation12/issues/comments{/number}","contents_url":"https://api.github.com/repos/Hubblenaut/Baystation12/contents/{+path}","compare_url":"https://api.github.com/repos/Hubblenaut/Baystation12/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Hubblenaut/Baystation12/merges","archive_url":"https://api.github.com/repos/Hubblenaut/Baystation12/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Hubblenaut/Baystation12/downloads","issues_url":"https://api.github.com/repos/Hubblenaut/Baystation12/issues{/number}","pulls_url":"https://api.github.com/repos/Hubblenaut/Baystation12/pulls{/number}","milestones_url":"https://api.github.com/repos/Hubblenaut/Baystation12/milestones{/number}","notifications_url":"https://api.github.com/repos/Hubblenaut/Baystation12/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Hubblenaut/Baystation12/labels{/name}","releases_url":"https://api.github.com/repos/Hubblenaut/Baystation12/releases{/id}","deployments_url":"https://api.github.com/repos/Hubblenaut/Baystation12/deployments","created_at":"2014-04-30T01:56:30Z","updated_at":"2016-03-12T13:53:54Z","pushed_at":"2016-06-19T00:36:38Z","git_url":"git://github.com/Hubblenaut/Baystation12.git","ssh_url":"git@github.com:Hubblenaut/Baystation12.git","clone_url":"https://github.com/Hubblenaut/Baystation12.git","svn_url":"https://github.com/Hubblenaut/Baystation12","homepage":"http://baystation12.net/","size":583441,"stargazers_count":0,"watchers_count":0,"language":"DM","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"Baystation12:dev","ref":"dev","sha":"623556b506bab11379989dbdd4b2bc3808ffd0f7","user":{"login":"Baystation12","id":1174322,"avatar_url":"https://avatars.githubusercontent.com/u/1174322?v=3","gravatar_id":"","url":"https://api.github.com/users/Baystation12","html_url":"https://github.com/Baystation12","followers_url":"https://api.github.com/users/Baystation12/followers","following_url":"https://api.github.com/users/Baystation12/following{/other_user}","gists_url":"https://api.github.com/users/Baystation12/gists{/gist_id}","starred_url":"https://api.github.com/users/Baystation12/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Baystation12/subscriptions","organizations_url":"https://api.github.com/users/Baystation12/orgs","repos_url":"https://api.github.com/users/Baystation12/repos","events_url":"https://api.github.com/users/Baystation12/events{/privacy}","received_events_url":"https://api.github.com/users/Baystation12/received_events","type":"Organization","site_admin":false},"repo":{"id":2715933,"name":"Baystation12","full_name":"Baystation12/Baystation12","owner":{"login":"Baystation12","id":1174322,"avatar_url":"https://avatars.githubusercontent.com/u/1174322?v=3","gravatar_id":"","url":"https://api.github.com/users/Baystation12","html_url":"https://github.com/Baystation12","followers_url":"https://api.github.com/users/Baystation12/followers","following_url":"https://api.github.com/users/Baystation12/following{/other_user}","gists_url":"https://api.github.com/users/Baystation12/gists{/gist_id}","starred_url":"https://api.github.com/users/Baystation12/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Baystation12/subscriptions","organizations_url":"https://api.github.com/users/Baystation12/orgs","repos_url":"https://api.github.com/users/Baystation12/repos","events_url":"https://api.github.com/users/Baystation12/events{/privacy}","received_events_url":"https://api.github.com/users/Baystation12/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Baystation12/Baystation12","description":"The code for Baystation12's branch of SS13","fork":false,"url":"https://api.github.com/repos/Baystation12/Baystation12","forks_url":"https://api.github.com/repos/Baystation12/Baystation12/forks","keys_url":"https://api.github.com/repos/Baystation12/Baystation12/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Baystation12/Baystation12/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Baystation12/Baystation12/teams","hooks_url":"https://api.github.com/repos/Baystation12/Baystation12/hooks","issue_events_url":"https://api.github.com/repos/Baystation12/Baystation12/issues/events{/number}","events_url":"https://api.github.com/repos/Baystation12/Baystation12/events","assignees_url":"https://api.github.com/repos/Baystation12/Baystation12/assignees{/user}","branches_url":"https://api.github.com/repos/Baystation12/Baystation12/branches{/branch}","tags_url":"https://api.github.com/repos/Baystation12/Baystation12/tags","blobs_url":"https://api.github.com/repos/Baystation12/Baystation12/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Baystation12/Baystation12/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Baystation12/Baystation12/git/refs{/sha}","trees_url":"https://api.github.com/repos/Baystation12/Baystation12/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Baystation12/Baystation12/statuses/{sha}","languages_url":"https://api.github.com/repos/Baystation12/Baystation12/languages","stargazers_url":"https://api.github.com/repos/Baystation12/Baystation12/stargazers","contributors_url":"https://api.github.com/repos/Baystation12/Baystation12/contributors","subscribers_url":"https://api.github.com/repos/Baystation12/Baystation12/subscribers","subscription_url":"https://api.github.com/repos/Baystation12/Baystation12/subscription","commits_url":"https://api.github.com/repos/Baystation12/Baystation12/commits{/sha}","git_commits_url":"https://api.github.com/repos/Baystation12/Baystation12/git/commits{/sha}","comments_url":"https://api.github.com/repos/Baystation12/Baystation12/comments{/number}","issue_comment_url":"https://api.github.com/repos/Baystation12/Baystation12/issues/comments{/number}","contents_url":"https://api.github.com/repos/Baystation12/Baystation12/contents/{+path}","compare_url":"https://api.github.com/repos/Baystation12/Baystation12/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Baystation12/Baystation12/merges","archive_url":"https://api.github.com/repos/Baystation12/Baystation12/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Baystation12/Baystation12/downloads","issues_url":"https://api.github.com/repos/Baystation12/Baystation12/issues{/number}","pulls_url":"https://api.github.com/repos/Baystation12/Baystation12/pulls{/number}","milestones_url":"https://api.github.com/repos/Baystation12/Baystation12/milestones{/number}","notifications_url":"https://api.github.com/repos/Baystation12/Baystation12/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Baystation12/Baystation12/labels{/name}","releases_url":"https://api.github.com/repos/Baystation12/Baystation12/releases{/id}","deployments_url":"https://api.github.com/repos/Baystation12/Baystation12/deployments","created_at":"2011-11-05T16:12:41Z","updated_at":"2016-06-13T02:32:51Z","pushed_at":"2016-06-19T02:53:04Z","git_url":"git://github.com/Baystation12/Baystation12.git","ssh_url":"git@github.com:Baystation12/Baystation12.git","clone_url":"https://github.com/Baystation12/Baystation12.git","svn_url":"https://github.com/Baystation12/Baystation12","homepage":"http://baystation12.net/","size":1663288,"stargazers_count":217,"watchers_count":217,"language":"DM","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":958,"mirror_url":null,"open_issues_count":412,"forks":958,"open_issues":412,"watchers":217,"default_branch":"dev"}},"_links":{"self":{"href":"https://api.github.com/repos/Baystation12/Baystation12/pulls/13435"},"html":{"href":"https://github.com/Baystation12/Baystation12/pull/13435"},"issue":{"href":"https://api.github.com/repos/Baystation12/Baystation12/issues/13435"},"comments":{"href":"https://api.github.com/repos/Baystation12/Baystation12/issues/13435/comments"},"review_comments":{"href":"https://api.github.com/repos/Baystation12/Baystation12/pulls/13435/comments"},"review_comment":{"href":"https://api.github.com/repos/Baystation12/Baystation12/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Baystation12/Baystation12/pulls/13435/commits"},"statuses":{"href":"https://api.github.com/repos/Baystation12/Baystation12/statuses/215b8312ef44ce1bae68147772686ab7f2c77779"}}}}
{"actor":{"display_login":"mwerezak"}}