-
Notifications
You must be signed in to change notification settings - Fork 4
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
Bug: Drones don't die after completing a task when logging into factorissimo-2-notnotmelon #7
Comments
Sorry for the late response, but this is probably because the robots themselves are "recreated" when they get teleported by the mod. The way this mod works, is that essentially when a robot builds an entity, it's destroyed immediately, and when a robot destroys an entity, it's tracked, and destroyed once its inventory is empty (ie. it has dropped the items off at the player). It'd probably be possible to fix it, with cooperation from the devs of the other mod, however, it's probably not really worth the time and effort, since the difference in gameplay is quite marginal. Thanks for reporting it though. |
Hello! I am the dev of the other mod. Let me know if theres any way I can help. |
Hey @notnotmelon! There's essentially one of two things we'd have to make sure of:
In essence, all robots that mine an item, are added to a "tracked" map, indexed by their I'm not entirely sure what causes the local was_tracked = early_construction.try_untrack(robot.unit_number)
robot.teleport(…)
if was_tracked then
early_construction.try_track(robot)
end I haven't diagnosed in-depth, so please correct me if I misunderstood how your mod moves robots between surfaces, and if you want me to add such an API. |
I play with your mod and with mods for factories from https://mods.factorio.com/mod/factorissimo-2-notnotmelon and I noticed that if you go into the factory when the drones return after dismantling, they are not destroyed but go into the inventory
The text was updated successfully, but these errors were encountered: