magu5026 / ElectricTrain

Mod for Factorio
GNU General Public License v3.0
8 stars 10 forks source link

Listen for script_raised_built and script_raised_destroy events #1

Closed shanemadden closed 6 years ago

shanemadden commented 6 years ago

Hey! I've got a new mod that builds trains automatically - it has a compatibility problem with your train mods since they need to track their entities for refilling their energy.

This change lets your mod catch the events thrown by mine when it's building trains to solve this compatibility issue - it's the same for both Electric and Fusion trains.