Files
tbd-station-14/Content.Client/UserInterface/Controls/SlotButton.cs
Nemanja e5a5196b1f make filled inventory slots blank (#27150)
* blank filled slots

* Update InventoryTemplatePrototype.cs
2024-04-20 13:17:29 +10:00

20 lines
567 B
C#

using static Content.Client.Inventory.ClientInventorySystem;
namespace Content.Client.UserInterface.Controls
{
public sealed class SlotButton : SlotControl
{
public SlotButton() { }
public SlotButton(SlotData slotData)
{
ButtonTexturePath = slotData.TextureName;
FullButtonTexturePath = slotData.FullTextureName;
Blocked = slotData.Blocked;
Highlight = slotData.Highlighted;
StorageTexturePath = "Slots/back";
SlotName = slotData.SlotName;
}
}
}