{"action":"created","issue":{"url":"https://api.github.com/repos/tgstation/-tg-station/issues/12465","labels_url":"https://api.github.com/repos/tgstation/-tg-station/issues/12465/labels{/name}","comments_url":"https://api.github.com/repos/tgstation/-tg-station/issues/12465/comments","events_url":"https://api.github.com/repos/tgstation/-tg-station/issues/12465/events","html_url":"https://github.com/tgstation/-tg-station/pull/12465","id":111985334,"number":12465,"title":"Overlays System Update [GIANT HATS!]","user":{"login":"RemieRichards","id":4043781,"avatar_url":"https://avatars.githubusercontent.com/u/4043781?v=3","gravatar_id":"","url":"https://api.github.com/users/RemieRichards","html_url":"https://github.com/RemieRichards","followers_url":"https://api.github.com/users/RemieRichards/followers","following_url":"https://api.github.com/users/RemieRichards/following{/other_user}","gists_url":"https://api.github.com/users/RemieRichards/gists{/gist_id}","starred_url":"https://api.github.com/users/RemieRichards/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RemieRichards/subscriptions","organizations_url":"https://api.github.com/users/RemieRichards/orgs","repos_url":"https://api.github.com/users/RemieRichards/repos","events_url":"https://api.github.com/users/RemieRichards/events{/privacy}","received_events_url":"https://api.github.com/users/RemieRichards/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/tgstation/-tg-station/labels/Feature","name":"Feature","color":"009800"},{"url":"https://api.github.com/repos/tgstation/-tg-station/labels/Fix","name":"Fix","color":"00bbdd"},{"url":"https://api.github.com/repos/tgstation/-tg-station/labels/Refactor","name":"Refactor","color":"ffaa00"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-10-17T21:12:53Z","updated_at":"2015-10-17T21:23:40Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/tgstation/-tg-station/pulls/12465","html_url":"https://github.com/tgstation/-tg-station/pull/12465","diff_url":"https://github.com/tgstation/-tg-station/pull/12465.diff","patch_url":"https://github.com/tgstation/-tg-station/pull/12465.patch"},"body":"## Code Changes:\r\n* Expanded my large-inhands system to a large-anything-you-can-wear system\r\n* Added a system to allow items to put overlays on their inhand image, allowing for overlays on overlays (so meta), this allows for things like inhand gun ammo counters (in a nicer way) and I also moved the blood overlays icons to this system, since they used to hardcode themselves into the overlays list\r\n* Moved almost all of the ```update_icons()``` logic into one central ```build_worn_icon()``` proc, that removes a LOT of copy paste from ```update_icons()```\r\n* Drones now use ```build_worn_icon()``` so they get all the benefits of ```alternate_worn_layer```, ```alternate_worn_icon```, large inhands, etc. with no copypaste\r\n* ```center_image()``` now has an argument to center the overlays+underlays of the provided image\r\n* added ```worn_x_dimension``` and ```worn_y_dimension``` so that they can have seperate values to ```inhand_x_dimension``` (eg: a 32x32 back sprite and a 96x96 inhands)\r\n* fixed an ancient (2012) typo that made uniforms try and make an icon out of the HUMAN's icon state, no idea what this has been breaking for 3 years, but there you go\r\n\r\n## Changes for players:\r\n* THIS SYSTEM LETS YOU HAVE OBNOXIOUSLY LARGE CLOWN SHOES, EXTRAVAGANTLY LARGE HATS, GLOVES BIGGER THAN YOUR FACE, etc.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/tgstation/-tg-station/issues/comments/148952989","html_url":"https://github.com/tgstation/-tg-station/pull/12465#issuecomment-148952989","issue_url":"https://api.github.com/repos/tgstation/-tg-station/issues/12465","id":148952989,"user":{"login":"TheDreamweaver","id":8422404,"avatar_url":"https://avatars.githubusercontent.com/u/8422404?v=3","gravatar_id":"","url":"https://api.github.com/users/TheDreamweaver","html_url":"https://github.com/TheDreamweaver","followers_url":"https://api.github.com/users/TheDreamweaver/followers","following_url":"https://api.github.com/users/TheDreamweaver/following{/other_user}","gists_url":"https://api.github.com/users/TheDreamweaver/gists{/gist_id}","starred_url":"https://api.github.com/users/TheDreamweaver/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TheDreamweaver/subscriptions","organizations_url":"https://api.github.com/users/TheDreamweaver/orgs","repos_url":"https://api.github.com/users/TheDreamweaver/repos","events_url":"https://api.github.com/users/TheDreamweaver/events{/privacy}","received_events_url":"https://api.github.com/users/TheDreamweaver/received_events","type":"User","site_admin":false},"created_at":"2015-10-17T21:23:40Z","updated_at":"2015-10-17T21:23:40Z","body":"Now @PKPenguin321 , now..."}}