When an entity is upgraded via a bot it sends an on_robot_mined_entity event followed by an on_robot_built_entity event, so I expected the same to happen on space platforms, however that seems to not be the case as they only send an on_space_platform_mined_entity event.
I discovered this while working on a mod that has a feature requiring to keep track of thrusters built on space platforms to work properly and noticed that using upgrade planners was causing odd inconsistencies, so I used a mod (https://mods.factorio.com/mod/0-event-trace) to track and show events sent by the game
Here's the events that a robot upgrading an entity sends
Here's the events that a space platform upgrading an entity sends
Here's the log, mods installed other than space age are the event tracker and the mod I am working on
[Rseding91] [2.0.34] Entities upgraded on space platforms do not send an on_space_platform_built_entity event
-
- Manual Inserter
- Posts: 3
- Joined: Sun Nov 03, 2024 8:50 pm
- Contact:
Re: [Rseding91] [2.0.34] Entities upgraded on space platforms do not send an on_space_platform_built_entity event
Thanks for the report. This is now fixed for the next release.
If you want to get ahold of me I'm almost always on Discord.