Added the ID slot of the player inventory to the UI, next to the tool belt.

This commit is contained in:
Acruid
2019-12-30 11:42:31 -08:00
parent b44ca8df8d
commit 4773aad40c

View File

@@ -34,6 +34,7 @@ namespace Content.Client.GameObjects
private InventoryButton _hudButtonPocket2;
private InventoryButton _hudButtonBelt;
private InventoryButton _hudButtonBack;
private InventoryButton _hudButtonId;
private Control _quickButtonsContainer;
public HumanInventoryInterfaceController(ClientInventoryComponent owner) : base(owner)
@@ -69,11 +70,13 @@ namespace Content.Client.GameObjects
AddButton(out _hudButtonPocket2, Slots.POCKET2, "pocket");
AddButton(out _hudButtonBack, Slots.BACKPACK, "back");
AddButton(out _hudButtonBelt, Slots.BELT, "belt");
AddButton(out _hudButtonId, Slots.IDCARD, "id");
_quickButtonsContainer = new HBoxContainer
{
Children =
{
_hudButtonId,
_hudButtonBelt,
_hudButtonBack,
_hudButtonPocket1,