Smart Inserters


Adjustable inserters to change pickup/drop position for each inserter, change drop/pickup offsets, custom inserter length, a custom setting for ranges and diagonal, support for slim and big inserters, and much more... Enjoy!

Utilities
2 days ago
1.1 - 2.0
7.22K
Logistics

i [DONE] CopyPaste options

1 year, 21 days ago

Hello. Thanks for the beautiful mod.

inserters have many parameters. When you copy/paste, they are all copied.
I would like some kind of gui that allowed me to choose what to copy and what not: logic, relative location of pick and drop, rotation of the entire inserter, filters...

At the very least, it is very annoying that when copying, the recipient rotates, instead of changing the relative location of the capture and reset. And it is impossible to turn it off.

1 year, 21 days ago

I like your idea, I think I experienced the same problem, turning off rotation may be useful to me too.

The problem is the implementation...

What should you be able to toggle?
- Pikcup
- Pickup offset
- Drop
- Drop offset
- Rotation (https://imgur.com/oXDpMzG the black arrow is the inserter original orientation that the game stores but the player does not know after changin drop/pikup as we speak)

Actually everything is on, if you have some more specific idea tell me, those 5 are not that hard to implement.

(I was also considering adding inserters group, so you can redirect multiple inserters at once with the new feature but this is beyoud experimental)

1 year, 20 days ago

You are a man of efficiency!

Since there will be some kind of tool for choosing what to copy (you can, for example, display the gui when copying settings), then you can add other parameters: filters, logic settings.

For example, it may be useful to copy the Pikcup and Drop positions, but not copy the logic settings (so as not to overwrite it). And vice versa.

I am writing through a translator. I apologize if something is wrong.

1 year, 20 days ago

Those 2 May be a bit harder to implement since it's factorio by default that changes them, but that should also be possibile.

For the GUI component, ill add a side button (hopefully compatibile with https://mods.factorio.com/mod/GUI_Unifyer_forked)
The alternative is a brunch of settings in the player setting Tab implemented in factorio, tough it's a bit harder to reach so this Will be the lady resort)

1 year, 20 days ago

So Pikcup and Drop postitions are also copied by factorio on their own. I thought you were just canceling them. There seems to be an event that occurs before copying - the original settings can be remembered there. And after copying, roll back what did not need to be copied.

As far as I know https://mods.factorio.com/mod/GUI_Unifyer_forked only does it beautifully. But buttons are a feature built into factorio (mod-gui). Here is a short example https://github.com/dvilker/ViidisGameSpeedButton/blob/master/control.lua

1 year, 20 days ago

yeah the events are on_entity_settings_pasted and on_pre_entity_settings_pasted, I really hate to store stuff for later use, but I have a working prototype without gui... the gui is not going to be fun

These are going to be the configurable values
https://imgur.com/AUYWrM7

1 year, 14 days ago

The feature is coming in the next update (maybe tomorrow)
The gui: https://imgur.com/Fxw0lRv (need a bit of fixing in the close button but this how the gui is going to look in the next update)

1 year, 8 days ago

Done, tell me if I missed something in the update.

New response