Hello
As we can see Bob's Logistics mod add a button to access inserter configuration.
For my part I think that buttons should only be needed in case we need to access the interface at any time, inserter configuration is only used on the specific case that we want to place inserters, so what I propose is to display the inserter configuration interface only when the player have inserter in hand.
here is the script I've added to allow this configuration :
<pre>
script.on_event(defines.events.on_player_cursor_stack_changed, function(event)
player=game.players[event.player_index]
if player.cursor_stack and player.cursor_stack.valid_for_read and player.cursor_stack.prototype.place_result and player.cursor_stack.prototype.place_result.type == "inserter" then
global.bobmods.logistics[event.player_index].show = true
else
global.bobmods.logistics[event.player_index].show = false
end
bobmods.logistics.show_gui_options(event.player_index)
end)
</pre>
After that, simply remove the button ...