Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Proposal: Alternative crafting GUI to accomodate new features better #28170
For tool/component selection, there are three main options I see:
All colors and layout are of course just for demonstration purposes, I'm mainly creating this issue to facilitate discussion.
I think that something akin to what I'm proposing will be necessary as the crafting system moves forwards towards more dynamic results(like food already) and other advanced features that the current GUI is incapable of properly accommodating.
This definitely needs to be a toggle and OFF by default, sifting through available crafting options and identifying what you lack is one of the main ways of determining short-term progression goals.
I'd prefer a setting to adjust recursion depth defaulting to 1 as more powerful CPUs should be able to handle it. Provided we can somehow cache disassembly/"uncrafting" recipes. What happens if someone looks at the "rag" or "bundle of rags" recipes? Those could loop back into themselves even at recursion depth 1.
@Photoloss From a very cursory look at the crafting inventory code, it would not be infeasible to alter it in a way that is relatively efficient for recursive crafting, e.g. when an item is reserved for crafting, it is removed from the current inventory, it wouldn't be difficult to add a map storing those reserved items, and re-adding them into the crafting inventory pool when the slot is changed.
And I agree about hiding unavailable options, I just felt like mockuping it :-P
Another thing that would be possible would be to have recipes that can produc multiple different results, e.g. for the modular turrets, it would be possible to have a single
It would also be possible to dynamically update stuff like craft time and chance, e.g. using an electric screwdriver or the integrated toolset instead of a screwdriver set ought to take less time, whereas using makeshift vs standard vs industrial duct tape likely would affect difficulty of crafting. Though that would need some additional display, to convey that switching tools/components affects the craft speed/chance.