nyurik / fatul

Make Factorio blueprints easy to version in git, minimizing text changes.
MIT License
8 stars 2 forks source link

Align positions between git revisions #1

Closed nyurik closed 2 years ago

nyurik commented 2 years ago

One aspect that has not yet been addressed in FuTul is to align different revisions of the same file with entity positions. For example, if a blueprint v2 gets a few extra belts on either top or left side, the whole blueprint would effectively shift right or down, so there is a need to match v1 and v2 revisions, and keep the position: {x, y} values the same between them, while adjusting the top level offset_x & y values.

One solution would be to

nyurik commented 2 years ago

fixed