Files
Bubberstation/code
SkyratBot 5f7a1fa550 [MIRROR] Fixes broken icons in the crafting menu for good (#28788)
* Fixes broken icons in the crafting menu for good (#84788)

## About The Pull Request
- Continuation of #75649

Even after that PR some icons that are not 32x32 still appear broken
under the requirement sections
![Screenshot
(430)](https://github.com/tgstation/tgstation/assets/110812394/75bb357f-18c4-4556-b267-2df192ddd8d7)

Now all icons are cached away into its own list and we look it up. To
reduce this list size we only store icons that are not the standard
32x32(from debugging there are only 20 items as of now). Icons that are
of standard size can be inferred from the cooking mode & the atom id.
Basically we now get correct icons for everything

![Screenshot
(431)](https://github.com/tgstation/tgstation/assets/110812394/6e1b55ef-3d12-4d1b-8579-33c5a2c120fa)

Sometime soon i do plan to follow up on
https://github.com/tgstation/tgstation/pull/75649#issuecomment-1562767046
& remove all `preview_icons` but not today

## Changelog
🆑
fix: all icons in the crafting menu (some that you missed) are now fixed
permanently
/🆑

---------

Co-authored-by: Ghom <42542238+Ghommie@ users.noreply.github.com>

* Fixes broken icons in the crafting menu for good

---------

Co-authored-by: SyncIt21 <110812394+SyncIt21@users.noreply.github.com>
Co-authored-by: Ghom <42542238+Ghommie@ users.noreply.github.com>
2024-07-12 09:35:34 +05:30
..