branchrust_reboot/main/editor_hotbar_swapcancel

13 Commits over 0 Days - Infinitycph!

18 Days Ago
Cleanup redundant UIBeltSecondRowPreview.cs
19 Days Ago
Fix hideInvalidIcons not set in the second hotbar so it wasn't going away when convar was disabled
20 Days Ago
Shift up the second hotbar so it matches inventory placement
20 Days Ago
merge from main -> editor_hotbar_swap
20 Days Ago
Simplify code
20 Days Ago
Fix the second hotbar prefab not referencing the main inventory
20 Days Ago
Add the second hotbar to GameUI.Hud.prefab (so much for the dream of not reserializing the large UI prefabs)
20 Days Ago
Make the second hotbar a prefab instead of cloning the normal hotbar
20 Days Ago
Update the GameUI.Inventory.prefab prefab manually with only the fields we want to change (instead of the whole prefab reserializing)
20 Days Ago
Modify ContainerSourceLocalPlayer so it can override the transform it uses for `ItemIcon[] allIcons` - the main inventory panel was parented too high and grabbing icons from different panels - keep the parenting the same, only changing where it's fetching the icons from
20 Days Ago
merge from main -> editor_hotbar_swap
20 Days Ago
Don't render the last row of the last row of the main inventory when the 2nd hotbar is shown so it looks better when openinga and closing main inventory
21 Days Ago
Make the editor-only feature available for admins too - NOT FOR NORMAL PLAYERS - press Z (can rebind) to swap to a second hotbar - enable "drawsecondhotbar" to render the second hotbar above the first