Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # From common\scripted_effects\00_scripted_effects.txt#3883
- # root/this = planet
- total_assimilation_effect = {
- if = {
- limit = {
- owner = {
- any_owned_species = {
- has_trait = trait_total_assimilation_target
- }
- }
- }
- owner = {
- random_owned_species = {
- limit = {
- has_trait = trait_total_assimilation_target
- }
- save_event_target_as = convert_to_species
- }
- }
- } else = {
- root.owner = {save_event_target_as = convert_to_species} # Saving species for post-assimilation effects
- }
- random_owned_pop = {
- limit = {
- has_citizenship_type = {
- type = citizenship_total_assimilation
- country = root.owner
- }
- }
- # Changed: Remove restrictions; all assimilation is by replacement
- kill_pop = yes
- root = {
- create_pop = {
- species = event_target:convert_to_species
- ethos = event_target:convert_to_species
- }
- owner = {
- if = {
- limit = { has_ascension_perk = ap_become_the_crisis }
- complete_crisis_objective = crisobj_purge_pops
- }
- }
- apply_post_assimilation_effects = yes
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment