Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrading does not properly copy loader properties #137

Open
PreLeyZero opened this issue Apr 13, 2023 · 0 comments
Open

Upgrading does not properly copy loader properties #137

PreLeyZero opened this issue Apr 13, 2023 · 0 comments
Labels

Comments

@PreLeyZero
Copy link

The Bug

When upgrading loaders using nanobots the entities properties are not copied properly. The upgraded loaders have the right direction, but the loader_type is always set to input. This can cause problems flipping loaders the wrong way after upgrading them.

To Reproduce

  1. Build loaders (best with no snapping mechanic that could fix this problem) like in the screenshot.
  2. Here left side is before and right side after upgrading.
  3. Upgrade them via upgrade planner.

screen

Mods like AAI loaders can fix this issue as they can snap after upgrading. However mods with lightweigt or no snapping mechanic will not. Copying https://lua-api.factorio.com/latest/LuaEntity.html#LuaEntity.loader_type should fix the issue.

@PreLeyZero PreLeyZero added the bug label Apr 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant