ROM_anti_corruption_progress = { if = { limit = { has_idea = ROM_corruption_modifier } swap_ideas = { remove_idea = ROM_corruption_modifier add_idea = ROM_anti_corruption_fight } } else_if = { limit = { has_idea = ROM_anti_corruption_fight } swap_ideas = { remove_idea = ROM_anti_corruption_fight add_idea = ROM_anti_corruption_fight2 } } else_if = { limit = { has_idea = ROM_anti_corruption_fight2 } swap_ideas = { remove_idea = ROM_anti_corruption_fight2 add_idea = ROM_anti_corruption_fight3 } } else_if = { limit = { has_idea = ROM_anti_corruption_fight3 } swap_ideas = { remove_idea = ROM_anti_corruption_fight3 add_idea = ROM_anti_corruption_fight4 } } else_if = { limit = { has_idea = ROM_anti_corruption_fight4 } swap_ideas = { remove_idea = ROM_anti_corruption_fight4 add_idea = ROM_anti_corruption_fight5 } } else_if = { limit = { has_idea = ROM_anti_corruption_fight5 } swap_ideas = { remove_idea = ROM_anti_corruption_fight5 add_idea = ROM_transparent_state } } } ROM_corruption_increase = { if = { limit = { has_idea = ROM_corruption_modifier } swap_ideas = { remove_idea = ROM_corruption_modifier add_idea = ROM_corruption_entrenched } } else_if = { limit = { has_idea = ROM_corruption_entrenched } swap_ideas = { remove_idea = ROM_corruption_entrenched add_idea = ROM_corruption_entrenched2 } } else_if = { limit = { has_idea = ROM_corruption_entrenched2 } swap_ideas = { remove_idea = ROM_corruption_entrenched2 add_idea = ROM_corruption_entrenched3 } } else_if = { limit = { has_idea = ROM_corruption_entrenched3 } swap_ideas = { remove_idea = ROM_corruption_entrenched3 add_idea = ROM_corruption_entrenched4 } } else_if = { limit = { has_idea = ROM_corruption_entrenched4 } swap_ideas = { remove_idea = ROM_corruption_entrenched4 add_idea = ROM_corruption_entrenched5 } } else_if = { limit = { has_idea = ROM_corruption_entrenched5 } swap_ideas = { remove_idea = ROM_corruption_entrenched5 add_idea = ROM_kleptocratic_state_idea } } }