ModAPI Request: Add ability to monitor (and override) GlobalEvents or Spawn / Encounter Events
Being able to monitor spawn is important. We do have access to OnEntityAdd, but not to the event that triggers it.
It would be nice to be able to both see this event, and block it / override it if necessary.
An ideal use would be: I see a SpawnCargoShip event, block it, prepare my own prefab for spawn, and push it to the event to be spawned in place of the intended spawn. Or, if nothing else, be able to say "on your next event, use this prefab instead of whatever you wanted" for an encounter or cargo spawn event. It would make modders who deal with spawn / prefabs lives a lot easier, and a lot more controllable. Relying on spawn groups, mysterious frequencies, and pure RNG is a hassle.