###### AI 
###### 100 = Forced Yes
nkmp_ai_cat = {
	nkmp_ai_core = {
		icon = generic_political_actions
		available = {
			any_state = {
				is_fully_controlled_by = ROOT
				NOT = {
					is_core_of = ROOT
				}
			}
		}
		visible = {
		}
		fire_only_once = no
		cost = 0
		ai_will_do = {
			base = 100
		}
		complete_effect = {
			every_owned_state = {
				add_core_of = ROOT
			}
		}
	}
	nkmp_ai_inf = {
		icon = generic_political_actions
		available = {
			any_owned_state = {
				AND = {
					is_fully_controlled_by = ROOT
					OR = {
						free_building_slots = {
							building = infrastructure
							size > 1
						}
						free_building_slots = {
							building = air_base
							size > 1
						}
						free_building_slots = {
							building = anti_air_building
							size > 1
						}
					}
				}
			}
		}
		visible = {
		}
		fire_only_once = no
		cost = 0
		ai_will_do = {
			base = 100
		}
		complete_effect = {
			if = {
				limit = {
					has_global_flag = nkmp_flg_global_MD_Mode
				}
				nkmp_md_max_infra_scripted_effect = yes
			}
			else = {
				nkmp_max_infra_scripted_effect = yes
			}
		}
	}
	nkmp_ai_building_slots = {
		icon = generic_merge_plant_materiel
		available = {
			any_owned_state = {
				NOT = {
					has_state_flag = nkmp_building_slot_flag
				}
				is_fully_controlled_by = ROOT
			}
		}
		visible = {
		}
		fire_only_once = no
		days_re_enable = 0
		cost = 0
		ai_will_do = {
			base = 100
		}
		complete_effect = {
			if = {
				limit = {
					any_owned_state = {
						is_fully_controlled_by = ROOT
					}
				}
				every_owned_state = {
					limit = {
						NOT = {
							has_state_flag = nkmp_building_slot_flag
						}
					}
					add_extra_state_shared_building_slots = 1000
				}
			}
		}
	}
}
