Dynasty Wipe Guard attempts to fix the Royalty & Legacy bug where it deletes your dynasties on load.
When a save loads, the game can drop dynasty members whose Sims are not in memory yet, delete any dynasty left with nobody, and then write that empty list over your save. This script:
- Keeps those member IDs so the dynasty is still there when the Sims finish loading
- Blocks dynasty deletion while a save is still loading
- Will not save an empty dynasty list over a good snapshot from the same load
If you remove a dynasty yourself, if a save never had dynasties, or if Royalty & Legacy is not installed, the mod stays out of the way.
Requirements
- Script mods enabled
- Royalty & Legacy (EP21)
Drop HNRY_DynastyWipeGuard.ts4script in your Mods folder.
Cheats
hnry.dwg.status— Reports live dynasties and what the guard blocked this load.hnry.dwg.purge_missing_members— After the lot loads, drops member slots whose Sim is gone for good (culled, deleted, etc.).hnry.dwg.list_orphan_roles— Lists leftover Head / Heir / Member traits that no longer match the dynasty.hnry.dwg.clear_orphan_roles— Removes leftover role marks.hnry.dwg.strip_heir— Clears the heir mark on the active Sim.
Save your game after running the cheats.
Disclaimer
This is one of my first attempts at Python coding/modding. The mod itself is liable to bugs, as most are. Please make a backup of your save before installing.
Support
For bug reporting or support please contact me on Discord @henryvotril
Thank you for using my mods! 💕

