Skip to content

Commit

Permalink
[MIRROR] [No GBP] Uranium, Diamonds, and Bananium now properly visual…
Browse files Browse the repository at this point in the history
…ly stack in techfabs [MDB IGNORE] (Skyrat-SS13#18750)

* [No GBP] Uranium, Diamonds, and Bananium now properly visually stack in techfabs (#72721)

## About The Pull Request
Makes the little icons at the bottom of the techfabs update for the mats
that previously didn't have the ability to stack.
## Why It's Good For The Game
Fixes a thing I didn't realize needed to be fixed with #72652

![image](https://user-images.githubusercontent.com/66052067/212499641-cffa2f55-24f6-416d-9c47-1cce0100a4c8.png)

Closes #72702
## Changelog
:cl: Wallem
fix: Uranium, Diamonds, and Bananium now update visually in the techfab
UI
/:cl:

* [No GBP] Uranium, Diamonds, and Bananium now properly visually stack in techfabs

Co-authored-by: Wallem <[email protected]>
  • Loading branch information
SkyratBot and Wallemations authored Jan 16, 2023
1 parent 11e4741 commit fa676b3
Showing 1 changed file with 15 additions and 3 deletions.
18 changes: 15 additions & 3 deletions tgui/packages/tgui/interfaces/Fabrication/MaterialIcon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,26 @@ const MATERIAL_ICONS: Record<string, [number, string][]> = {
[17, 'sheet-gold_2'],
[34, 'sheet-gold_3'],
],
'diamond': [[0, 'sheet-diamond']],
'diamond': [
[0, 'sheet-diamond'],
[17, 'sheet-diamond_2'],
[34, 'sheet-diamond_3'],
],
'plasma': [
[0, 'sheet-plasma'],
[17, 'sheet-plasma_2'],
[34, 'sheet-plasma_3'],
],
'uranium': [[0, 'sheet-uranium']],
'bananium': [[0, 'sheet-bananium']],
'uranium': [
[0, 'sheet-uranium'],
[17, 'sheet-uranium_2'],
[34, 'sheet-uranium_3'],
],
'bananium': [
[0, 'sheet-bananium'],
[17, 'sheet-bananium_2'],
[34, 'sheet-bananium_3'],
],
'titanium': [
[0, 'sheet-titanium'],
[17, 'sheet-titanium_2'],
Expand Down

0 comments on commit fa676b3

Please sign in to comment.