This is one of the first and only mods I've made. I've never liked the sleeper respawns. I know they're necessary for public multiplayer servers, but I only play single player and private multiplayer servers with one or two other people, and I'd always thought it would be really fun to try to clear out towns, building by building. Besides, it detracts from the realism a bit for me how buildings are always refilling.
I really wanted there to be some XML setting for this, but it was never added, and me and my friends wanted to be able to clear towns so much that this was one of the main driving forces of me learning how to mod the game.
I know this was done before, but the other version stopped working and seems to be no longer maintained. The other version relied on IL modifications, whereas my version is a much more simple change and should be more resilient to updates. I've used it in all versions of alpha 18 with no issues on single player and a dedicated linux server.
If you encounter any issues or need any help, please let me know!
- Adjusted the code such that if the mod is removed, sleepers will be able to respawn in POIs cleared while the mod was installed
- Tested on A18.4