Don't break my wires!

by Ecconia

Allows you to "move" entities without loosing their settings and wire-connections.

Utilities
4 years ago
0.17
5
Owner:
Ecconia
Source:
https://github.com/Ecconia/FactorioMo...
Homepage:
N/A
License:
MIT
Created:
4 years ago
Latest Version:
0.1.1 (4 years ago)
Factorio version:
0.17
Downloaded by:
5 users

Annoyed when breaking combinators and having to re-attach the wires again?
-> Use this mod! Moving entities without Factorio breaking your wires!

WARNING: ONLY FOR CREATIVE/GOD SAVES.
(Not survival worlds - yet)

How does it work?
Use the keybinding (default SHIFT+Q) to select an entity, similar to 'pipette'.
Place the entity, all settings will be copied over and the wires will also be attached (to whatever the selected entity is connected).
The selected entity will be removed.

If the new location is outside of the possible wire distance to all other connected entities a message will be sent to you. You can try again or abort, by changing your item.

Known issues/TODO's:
- Using the keybinding on a ghost block is not supported yet (due to laziness AND cause Ecconia is not sure yet how to handle that situation properly - ideas are welcome [Maybe cause a ghost block to be placed then...]).
- Copper wires are not supported (Mostly not needed, it often makes more sense to let the game handle them).
- Default rotation when picking an entity (Factorio API doesn't allow to set rotation of cursor - Could probably be fixed by attaching a blueprint (Like with Control+C) to the cursor and placing ghost blocks).
- Current abort happens, when the item in the cursor changes, can probably be triggered by crafting (A fix would be to put blueprints into the cursor).
- When picking an entity one of it gets granted to the player, he may keep it. Additional previous items in the cursor may be removed from inventory on pick (May also be fixed by switching to blueprints).
- Unsafe checking which blocks can be picked. (Could be improved, may fail, but prevents for example stone to be picked).

I am currently only using this mod for myself, it works well enough. Show me that its worth fixing the bugs/issues by using this mod :)

~Ecconia

Version History:
1.1 - Fix: Connections to itself had been handled twice, thus failed.
1.0 - First version of this mod, core functionality given. Should not cause bugs. Version 0.17+