Attached is a save with minimal setup. Execute
Code: Select all
/c script.on_event(defines.events.on_train_changed_state, function(ev) game.print(serpent.block(ev)) end)
This should not effect anyone playing the game, but for mods it triggers spurious events.