From 4773aad40c1c86c90c06cfe5de18223995665ada Mon Sep 17 00:00:00 2001 From: Acruid Date: Mon, 30 Dec 2019 11:42:31 -0800 Subject: [PATCH] Added the ID slot of the player inventory to the UI, next to the tool belt. --- .../HUD/Inventory/HumanInventoryInterfaceController.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Content.Client/GameObjects/Components/HUD/Inventory/HumanInventoryInterfaceController.cs b/Content.Client/GameObjects/Components/HUD/Inventory/HumanInventoryInterfaceController.cs index 9f5a2fb9b5..85fb2a2746 100644 --- a/Content.Client/GameObjects/Components/HUD/Inventory/HumanInventoryInterfaceController.cs +++ b/Content.Client/GameObjects/Components/HUD/Inventory/HumanInventoryInterfaceController.cs @@ -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,