every_possible_country = {
	generate_character = {
		token_base = generic_idea_cost_modifier_reduction_advisor
		portraits = {
			army = {
				small = "GFX_idea_generic_idea_cost_modifier_reduction_advisor"
			}
		}
		advisor = {
			slot = political_advisor
			allowed = {
				always = yes
			}
			cost = 80
			available = {
				custom_trigger_tooltip = {
					tooltip = HAS_NOT_COMPLETED_ALL_IDEA_GROUPS
					OR = {
						is_in_array = { selected_idea_groups = 0 }
						any_of = {
							array = selected_idea_groups
							value = v
							meta_trigger = {
								text = {
									NOT = { check_variable = { completed_ideas_of_group_[ID] > 6 } }
								}
								ID = "[?v]"
							}
						}
					}
				}
			}
			visible = {
				OR = {
					is_ai = no
					custom_trigger_tooltip = {
						tooltip = HAS_NOT_COMPLETED_ALL_IDEA_GROUPS
						OR = {
							is_in_array = { selected_idea_groups = 0 }
							any_of = {
								array = selected_idea_groups
								value = v
								meta_trigger = {
									text = {
										NOT = { check_variable = { completed_ideas_of_group_[ID] > 6 } }
									}
									ID = "[?v]"
								}
							}
						}
					}
				}
			}
			traits = { idea_cost_modifier_reduction_trait }
			on_add = {
				OWNER = {
					hidden_effect = { update_idea_cost_modifiers = yes }
				}
			}
			on_remove = {
				OWNER = {
					hidden_effect = { update_idea_cost_modifiers = yes }
				}
			}
			ai_will_do = {
				factor = 1

				modifier = {
					factor = 3
					OR = {
						tag = USA
						tag = FRA
					}
				}
			}
		}
	}
	generate_character = {
		token_base = generic_minister_ideas_bonus_staunch_monarchist
		portraits = {
			army = {
				small = "GFX_idea_generic_minister_ideas_bonus_staunch_monarchist"
			}
		}
		advisor = {
			slot = political_advisor
			available = {
				has_idea = idea_group_22_8
			}
			visible = {
				has_idea = idea_group_22_8
			}
			traits = { minister_ideas_bonus_staunch_monarchist }
			ai_will_do = {
				factor = 0
			}
		}
	}
	generate_character = {
		token_base = generic_minister_ideas_bonus_communist_revolutionary
		portraits = {
			army = {
				small = "GFX_idea_generic_minister_ideas_bonus_communist_revolutionary"
			}
		}
		advisor = {
			slot = political_advisor
			available = {
				has_idea = idea_group_22_8
			}
			visible = {
				has_idea = idea_group_22_8
			}
			traits = { minister_ideas_bonus_communist_revolutionary }
			ai_will_do = {
				factor = 1
				modifier = {
					factor = 0
					NOT = { has_government = communism }
					NOT = { AI_is_set_to_become_communist = yes }
				}
			}
		}
	}
	generate_character = {
		token_base = generic_minister_ideas_bonus_fascist_demagogue
		portraits = {
			army = {
				small = "GFX_idea_generic_minister_ideas_bonus_fascist_demagogue"
			}
		}
		advisor = {
			slot = political_advisor
			available = {
				has_idea = idea_group_22_8
			}
			visible = {
				has_idea = idea_group_22_8
			}
			traits = { minister_ideas_bonus_fascist_demagogue }
			ai_will_do = {
				factor = 1
				modifier = {
					factor = 0
					NOT = { has_government = fascism }
					NOT = { AI_is_set_to_become_fascist = yes }
				}
			}
		}
	}
	generate_character = {
		token_base = generic_minister_ideas_bonus_democratic_reformer
		portraits = {
			army = {
				small = "GFX_idea_generic_minister_ideas_bonus_democratic_reformer"
			}
		}
		advisor = {
			slot = political_advisor
			available = {
				has_idea = idea_group_22_8
			}
			visible = {
				has_idea = idea_group_22_8
			}
			traits = { minister_ideas_bonus_democratic_reformer }
			ai_will_do = {
				factor = 1
				modifier = {
					factor = 0
					NOT = { has_government = democratic }
					NOT = { AI_is_set_to_become_democratic = yes }
				}
			}
		}
	}
	generate_character = {
		token_base = generic_minister_ideas_bonus_silent_workhorse
		portraits = {
			army = {
				small = "GFX_idea_generic_minister_ideas_bonus_silent_workhorse"
			}
		}
		advisor = {
			slot = political_advisor
			available = {
				has_idea = idea_group_22_8
			}
			visible = {
				has_idea = idea_group_22_8
			}
			traits = { minister_ideas_bonus_silent_workhorse }
			ai_will_do = {
				factor = 1
			}
		}
	}
	generate_character = {
		token_base = generic_minister_ideas_bonus_captain_of_industry
		portraits = {
			army = {
				small = "GFX_idea_generic_minister_ideas_bonus_captain_of_industry"
			}
		}
		advisor = {
			slot = political_advisor
			available = {
				has_idea = idea_group_22_8
			}
			visible = {
				has_idea = idea_group_22_8
			}
			traits = { minister_ideas_bonus_captain_of_industry }
			ai_will_do = {
				factor = 1
			}
		}
	}
	generate_character = {
		token_base = generic_minister_ideas_bonus_war_industrialist
		portraits = {
			army = {
				small = "GFX_idea_generic_minister_ideas_bonus_war_industrialist"
			}
		}
		advisor = {
			slot = political_advisor
			available = {
				has_idea = idea_group_22_8
			}
			visible = {
				has_idea = idea_group_22_8
			}
			traits = { minister_ideas_bonus_war_industrialist }
			ai_will_do = {
				factor = 2
			}
		}
	}
}