on_actions = {
	on_startup = {
		effect = {
			set_global_flag = mam_active
			#####South Unifier#####
			if = {
				limit = {
					has_game_rule = {
						rule = mam_unifier
						option = ADM
					}
				}
				set_temp_variable = { mam_unifier_tag = ADM.id }
				unify_mam_scripted_effect = yes
			}
			if = {
				limit = {
					has_game_rule = {
						rule = mam_unifier
						option = DAA
					}
				}
				set_temp_variable = { mam_unifier_tag = DAA.id }
				unify_mam_scripted_effect = yes
			}
			if = {
				limit = {
					has_game_rule = {
						rule = mam_unifier
						option = SHM
					}
				}
				set_temp_variable = { mam_unifier_tag = SHM.id }
				unify_mam_scripted_effect = yes
			}
			if = {
				limit = {
					has_game_rule = {
						rule = mam_unifier
						option = MAG
					}
				}
				set_temp_variable = { mam_unifier_tag = MAG.id }
				unify_mam_scripted_effect = yes
			}
			if = {
				limit = {
					has_game_rule = {
						rule = mam_unifier
						option = KOS
					}
				}
				set_temp_variable = { mam_unifier_tag = KOS.id }
				unify_mam_scripted_effect = yes
			}
		}
		effect = {
			#####Vito Hotfix#####
			if = {
				limit = {
					has_game_rule = {
						rule = vito_vanishing_act
						option = default
					}
				}
				BGF = {
					annex_country = {
						target = DSF
						transfer_troops = no
					}
				}
			}
		}
		effect = { #Generic War setup
			MOG = {
				country_event = {
					days = 180
					id = mam_generic_events.2
				}
			}
		}
	}
}
# vim: set ft=pdx tw=79 :
