Build Bar UI


This mod adds UI bar for crafting things without going into your inventory window.

Utilities
1 year, 9 months ago
1.1
444

g [DONE]proposal

1 year, 10 months ago

Hello, can you filter and display the list that can only be touched by hand? MOD will display

1 year, 10 months ago

Hi! Thank you for the proposal. Could you clarify what exactly do you mean by "display the list that can only be touched by hand"?

1 year, 10 months ago

Sorry, my English is not good. I mean that some machine recipes will also be displayed in the list, for example, recipes that need liquid. I don't know if I say so, can you understand

1 year, 10 months ago
(updated 1 year, 10 months ago)

They (xwy694466780) probably mean: when picking a new recipe to be shown in the crafting UI, hide recipes which can not be crafted by hand.

I agree with the suggestion, it wouldn't make sense.. For example, "lubricant" or "steel plate" shouldn't be shown: https://gcdnb.pbrd.co/images/4JRcgeumXKIX.png Ores are another example.
But it's up to you to either make a setting for it or just make it default functionality.

It's probably the function "add_slots" in src/gui/build-bar-gui.lua, so maybe "elemFilters" should be [{filter="enabled"}, {filter="allow_as_intermediate"}]? https://lua-api.factorio.com/latest/LuaRecipePrototype.html#LuaRecipePrototype.allow_as_intermediate

1 year, 10 months ago

Ah, that makes sense. Will update!

1 year, 10 months ago
(updated 1 year, 10 months ago)

As per request, I've updated the mod to only show recipes that are craftable by the player character (ver. 1.0.1) have fun!

New response