killing character, improved performance
更新至1.0.10
目前角色系统指数增长(尤其打了Nobles Auto Marry mod)严重影响后期性能,本mod旨在每50年弹出事件清洗能力值较低的角色。
另外相当一部分角色不会被清洗:年龄<30,儿童,配偶,摄政,继承人,艺术家,皇冠阶层。
age_in_years > 30
is_alive = yes
is_adult = yes
is_heir = no
is_consort = no
is_regent = no
is_artist = no
NOT = { has_estate = estate_type:crown_estate }
Updated to 1.0.10
The current character system exhibits exponential growth (especially with the Nobles Auto Marry mod applied), severely impacting late-game performance. This mod aims to periodically kill characters with low ability every 50 years.
Code adapted from the Auto Cleanup Tool mod (https://steamcommunity.com/sharedfiles/filedetails/?id=3614034640). Unlike the original mod, it does not require console commands to trigger events. The cleanup event occurs approximately every 50 years for all nations (including AI nations). The AI automatically retains the top 50 characters by ability, drastically reducing the number of characters in the late game.
Additionally, a significant portion of roles will not be purged: under 30 years of age, children, regents, heirs, consort, artists, and crown estate.
Revisions:
Old revisions of this mod are available below. Click the link to download.