control.lua
The problem is that other mod are using the same event ("defines.events.on_player_respawned") to give more items to a player so if one of these mods happens to load after mine, it is unaffected by my code.I would like to load my mod or add this event after all other mods.
The only way I know to achieve this is to add all other mods that use this event to dependencies in my "info.json" but this is not a viable solution. There is to many of them and I don't intend to constantly maintain the list.