MAF_cool_gui = {
	icon = generic_propaganda
	allowed = {
		original_tag = MAF
	}
	visible_when_empty = yes
	visible = {
		tag = MAF
		#flag here idk
		
	}
	scripted_gui = MAF_MAP_DECISION_UI
}

MAF_collapse_actions = {
	icon = generic_army_support
	picture = GFX_decision_cat_GEA_Indochina_war
	allowed = {	
	    original_tag = MAF 
	}
	visible = {
		NOT = {
			has_country_flag = MAF_no_collapse
		}
		is_ai = no
		has_country_flag = MAF_OPEN
	}
	available = {
	
	}
}

MAF_westafrika_centralization_actions = {
	icon = generic_army_support
	#picture = GFX_decision_cat_NATFRA_power_struggle
	allowed = {	
	    original_tag = MAF 
	}
	visible = {
		CIV = {
			is_subject_of = MAF
		}
		NOT = {
			has_country_flag = MAF_CIV_annexed
		}
		has_country_flag = CIV_OPEN
	}
	available = {
		OR = {
			has_country_flag = MAF_centralization_begun
			has_government = paternal_autocrat
			has_government = national_populist
		}
	}
}

MAF_madagascar_centralization_actions = {
	icon = generic_army_support
	#picture = GFX_decision_cat_NATFRA_power_struggle
	allowed = {	
	    original_tag = MAF 
	}
	visible = {
		MAG = {
			is_subject_of = MAF
		}
		NOT = {
			has_country_flag = MAF_MAG_annexed
		}
		has_country_flag = MAG_OPEN
	}
	available = {
		OR = {
			has_country_flag = MAF_centralization_begun
			has_government = paternal_autocrat
			has_government = national_populist
		}
	}
}

MAF_kenya_uganda_centralization_actions = {
	icon = generic_army_support
	#picture = GFX_decision_cat_NATFRA_power_struggle
	allowed = {	
	    original_tag = MAF 
	}
	visible = {
		KEN = {
			is_subject_of = MAF
		}
		NOT = {
			has_country_flag = MAF_KEN_annexed
		}
		has_country_flag = KEN_OPEN
	}
	available = {
		OR = {
			has_country_flag = MAF_centralization_begun
			has_government = paternal_autocrat
			has_government = national_populist
		}
	}
}

MAF_nigeria_centralization_actions = {
	icon = generic_army_support
	#picture = GFX_decision_cat_NATFRA_power_struggle
	allowed = {	
	    original_tag = MAF 
	}
	visible = {
		NGR = {
			is_subject_of = MAF
		}
		NOT = {
			has_country_flag = MAF_NGR_annexed
		}
		has_country_flag = NGR_OPEN
	}
	available = {
		OR = {
			has_country_flag = MAF_centralization_begun
			has_government = paternal_autocrat
			has_government = national_populist
		}
	}
}

MAF_congo_centralization_actions = {
	icon = generic_army_support
	#picture = GFX_decision_cat_NATFRA_power_struggle
	allowed = {	
	    original_tag = MAF 
	}
	visible = {
		COG = {
			is_subject_of = MAF
		}
		NOT = {
			has_country_flag = MAF_COG_annexed
		}
		has_country_flag = COG_OPEN
	}
	available = {
		OR = {
			has_country_flag = MAF_centralization_begun
			has_government = paternal_autocrat
			has_government = national_populist
		}
	}
}

MAF_nordrhodesia_actions = {
	icon = generic_army_support
	#picture = GFX_decision_cat_NATFRA_power_struggle
	allowed = {	
	    original_tag = MAF 
	}
	visible = {
		ZAM = {
			is_subject_of = MAF
		}
		NOT = {
			has_country_flag = MAF_ZAM_annexed
		}
		has_country_flag = ZAM_OPEN
	}
	available = {
		OR = {
			has_country_flag = MAF_centralization_begun
			has_government = paternal_autocrat
			has_government = national_populist
		}
	}
}

MAF_debt_actions = {
	icon = generic_army_support
	#picture = 
	allowed = {	
	    original_tag = MAF 
	}
}

MAF_crime_actions = {
	icon = ger_reichskommissariats
	#picture = 
	allowed = {	
	    original_tag = MAF 
	}
}

MAF_NKR_actions = {
	icon = GFX_decision_category_generic_fascism
	#picture = 
	allowed = {	
	    original_tag = MAF 
	}
	visible = {
			OR = {
				has_government = paternal_autocrat
				has_government = national_populist
			}
		}
	}

MAF_RFG_actions = {
	icon = generic_army_support
	#picture = 
	allowed = {	
	    original_tag = MAF 
	}
}

MAF_Settler_actions = {
	icon = generic_army_support
	#picture = 
	allowed = {	
	    original_tag = MAF 
	}
}

MAF_NKRSettler_actions = {
	icon = GFX_decision_category_generic_fascism
	#picture = 
	allowed = {	
	    original_tag = MAF 
	}
}

Colonial_governor_tours = {
	picture = GFX_decision_category_GER_GFO
	allowed = {
		is_ai = no
		OR = {
			original_tag = MAF
			original_tag = GEA
			original_tag = DEI
			original_tag = CAF
			original_tag = SFA
			original_tag = SPR
			original_tag = CAR
			original_tag = POR
			original_tag = HOL
			original_tag = PAF
			original_tag = EGY
			original_tag = CAN
			original_tag = EGY
			original_tag = NFA
			has_idea = MAF_Colonial_Nation
			has_idea = DJI_Colonial_Nation
			has_idea = GEA_Colonial_Nation
			has_idea = Generic_Colonial_Nation
			has_idea = Generic_Colonial_Nation_lesser
			has_idea = GBR_Colonial_Government
			has_idea = GBR_Colonial_Government_non_maf
		}
	}
	visible = {
		OR = {
			num_subjects > 0
			is_subject = yes
		}
	}
}

Colonial_political_actions = {
	picture = GFX_decision_cat_picture_ITA_colonial_management
	icon = GFX_decision_category_gre_investment_decisions 
	allowed = {
		is_ai = no
		OR = {
			original_tag = GEA
			original_tag = DEI
			original_tag = CAF
			original_tag = MLT
			AND = {
				original_tag = NFL
				has_government = paternal_autocrat
			}
			AND = {
				original_tag = CRE
				OR = {
					has_government = paternal_autocrat
					is_subject = yes
				}
			}
			AND = {
				original_tag = ARM
				has_idea = arm_ottoman_occupation
			}
			AND = {
				original_tag = ARM
				OR = {
					has_idea = arm_ottoman_occupation
					is_subject = yes
				}
			}
			original_tag = LEC
			AND = {
				original_tag = PAL
				is_subject = yes
			}
			AND = {
				original_tag = AFG
				is_subject = yes
				has_country_leader = { ruling_only = yes name = "Leo Amery" }
			}
			has_idea = MAF_Colonial_Nation
			has_idea = DJI_Colonial_Nation
			has_idea = GEA_Colonial_Nation
			has_idea = Generic_Colonial_Nation
			has_idea = Generic_Colonial_Nation_lesser
			has_idea = GBR_Colonial_Government
			has_idea = GBR_Colonial_Government_non_maf
		}
	}
	visible = {
		OR = {
			is_subject = yes
			original_tag = MAF
			original_tag = LEC
		}
	}
}

Colonial_economy_actions = {
	picture = GFX_decision_cat_suez_canal
	icon = agriculture 
	allowed = {
		is_ai = no
		OR = {
			original_tag = DEI
			original_tag = CAF
			original_tag = MLT
			AND = {
				original_tag = NFL
				has_government = paternal_autocrat
			}
			AND = {
				original_tag = CRE
				OR = {
					has_government = paternal_autocrat
					is_subject = yes
				}
			}
			original_tag = LEC
			AND = {
				original_tag = PAL
				is_subject = yes
			}
			AND = {
				original_tag = AFG
				is_subject = yes
				has_country_leader = { ruling_only = yes name = "Leo Amery" }
			}
			has_idea = MAF_Colonial_Nation
			has_idea = DJI_Colonial_Nation
			has_idea = GEA_Colonial_Nation
			has_idea = Generic_Colonial_Nation
			has_idea = Generic_Colonial_Nation_lesser
			has_idea = GBR_Colonial_Government
			has_idea = GBR_Colonial_Government_non_maf
		}
	}
	visible = {
		OR = {
			is_subject = yes
			original_tag = MAF
			original_tag = LEC
		}
	}
}

Colonial_buying_actions = {
	icon = GFX_decision_category_infiltration
	allowed = {
		is_ai = no
		OR = {
			original_tag = DEI
			original_tag = CAF
			original_tag = MLT
			AND = {
				original_tag = NFL
				has_government = paternal_autocrat
			}
			AND = {
				original_tag = CRE
				OR = {
					has_government = paternal_autocrat
					is_subject = yes
				}
			}
			original_tag = LEC
			AND = {
				original_tag = PAL
				is_subject = yes
			}
			AND = {
				original_tag = AFG
				is_subject = yes
				has_country_leader = { ruling_only = yes name = "Leo Amery" }
			}
			has_idea = MAF_Colonial_Nation
			has_idea = DJI_Colonial_Nation
			has_idea = GEA_Colonial_Nation
			has_idea = Generic_Colonial_Nation
			has_idea = Generic_Colonial_Nation_lesser
			has_idea = GBR_Colonial_Government
			has_idea = GBR_Colonial_Government_non_maf
		}
	}
	visible = {
		OR = {
			is_subject = yes
			original_tag = MAF
			original_tag = LEC
		}
	}
}