branchrust_reboot/main/crafting_improvementscancel
96 Commits over 0 Days - ∞cph!
Fix for blueprint button favourite hover-state icon disappearing when hovered and getting an inventory refresh
Do the category jiggle on the Favourites category when favouriting an item.
Favourite icons now have active/inactive colours, toggle on hover and favourited status.
Moved some duplicated code to a single location, called by all favourite UI code.
Favourited status/button for item panel
Crafting blueprint icons now use star toggle for favouriting, too.
quick craft star sprite change/scale on hover
Changed QuickCraft to a singleton component, sync'd up favourite indicators across quickcraft/crafting when toggling using the new method.
Updated quick craft buttons to use Lewis' star setup. Can now click the star to toggle favourited status directly from the quick craft button.
Switched to IPointerClickHandler for QuickCraftButton
QuickCraft is no longer a scrollable rect, removed some work-around events that are no longer necessary.
Scroll rect no longer static.
Changed blueprint comparer function to also sort by favourited status, and changed QuickCraft to use it again.
Right click an item in the crafting queue to fast track it to the start of the queue (resets crafting progress on previous item).
Favourited item appearance tweak
Added Electrical to ItemCategory. (No item changes in this commit).
Added Electrical category to crafting UI.
Reduced crafting category button height by 6 pixels so all categories will fit if visible.
Added BlueprintCategoryButton.AlwaysShow and .ShowItemCount.
Moved favourite button out of the Footer group so that it doesn't get set to not interactable when viewing a locked item.
Removed an unnecessary double parent set per blueprint icon
BlueprintButton / UIBlueprints optim
Got rid of 2 GetComponent calls every time the inventory is opened or closed.
Save/load favourited items between sessions
Reworked favourite button behaviour.
Blueprint lists refresh immediately when toggling favourites.
Sort favourited items to the start of each crafting category too (by craftable/un-craftable group)
Show favourited highlight on blueprints in crafting screen too.
Tweak favourite highlight marker.
Nicer favourited item highlight. Bit of refactoring.
Added a favourites category/tab to crafting menu, lists any favourited items there, too.
Show (placeholder) favourite icon on any favourited quick craft items.
"Favourited" items appear first in the quick craft items, then ordered by most crafted.
very wip quick craft item pinning.
Quick craft miss-click prevention: added a small 0.75 second buffer when the quick craft list refreshes. If you click a different item to the previously clicked item within this time period, it gets ignored.
Middle-click a quick craft icon to add x5 to crafting queue
Right click a quick craft icon to remove it from the crafting queue.
Fix for blueprint button favourite hover-state icon disappearing when hovered and getting an inventory refresh