Circuit connector placement helper

by Quezler

Allows you to place a circuit connector ingame and export it to data stage.

Utilities
3 months ago
2.0
45
Circuit network Manufacturing Blueprints
Owner:
Quezler
Source:
https://github.com/Quezler/glutenfree
Homepage:
https://discord.gg/ktZNgJcaVA
License:
MIT
Created:
4 months ago
Latest Version:
1.1.0 (3 months ago)
Factorio version:
2.0
Downloaded by:
45 users

Adjust offset, reboot, adjust offset, reboot, adjust offset, reboot twice to be sure, does this sound familair to you?
If so you might be entitled to financial compensation (not from me tho), but this mod might ease your future suffering.

With this mod you can place a circuit connector ontop of an existing building and nudge it around to find the sweet spot,
once you are satisfied you can grab an export with the variant and offsets which you can copy paste into your data stage.

The idea was on the backburner for a while, but this message on the Krastorio 2 discord pushed me to get started on it:
https://discord.com/channels/587417951335088129/587418590744018955/1366812798243311686

Note: this mod is aimed at mod development, this should not be used by normal players and/or in regular playthroughs.

Also, you'll need to set the shadow offset yourself to something pretty, this mod only offers variation and offset.

Usage:
- grab the blueprint book with /circuit-connector-placement-helper
- rotate to cycle between the 40 connectors (both through the book and once placed)
- use the arrow keys to nudge it into place (hold shift to nudge further)
- once placed then grab one of the lines from the textarea that appears
- use that line to configure either the vector or single generation function as shown here:
- https://github.com/wube/factorio-data/blob/master/core/lualib/circuit-connector-generated-definitions.lua#L517
- instead of writing it to circuit_connector_definitions[] you should write it to the circuit_connector on your entity prototype

Edit: oh sad some reasonable connectors already got placed https://codeberg.org/raiguard/Krastorio2/pulls/529 :o