decisions = {
	buy_mech_suit = {
		is_high_prio = yes
		potential = {
			age = 14
			OR = {
				religion = taoist
				capital_scope = {
					region = world_planum_australe
					}
				capital_scope = {
					region = world_noachis_terra 
					}
				location = {
					region = world_planum_australe
					}
				location = {
					region = world_noachis_terra 
					}
			}
			prisoner = no
			NOT = { religion_group = pagan_group }
			NOT = { has_artifact = mech_suit }
			NOT = { has_artifact = common_mech_suit }
			NOT = { has_artifact = super_mech_suit }
			NOT = { trait = incapable }
			NOT = { trait = infirm }
			NOT = { trait = severely_injured }

		}
		allow = {
			age = 14
			wealth = 750
			
		}
		effect = { 
				character_event = { id = buy_mech.2 } 
			
		}
		revoke_allowed = {
			always = no
		}
		ai_will_do = {
			factor = 1 
			modifier = {
				factor = 0.02
				NOT = { religion = taoist }
			} 
		}
	}	
	
	buy_black_mech_suit = {
		is_high_prio = yes
		potential = {
			age = 14
			OR = {
				religion = taoist
				capital_scope = {
					region = world_planum_australe
					}
				capital_scope = {
					region = world_noachis_terra 
					}
				location = {
					region = world_planum_australe
					}
				location = {
					region = world_noachis_terra 
					}
			}
			prisoner = no
			NOT = { religion_group = pagan_group }
			NOT = { has_artifact = mech_suit }
			NOT = { has_artifact = common_mech_suit }
			NOT = { has_artifact = super_mech_suit }
			NOT = { trait = incapable }
			NOT = { trait = infirm }
			NOT = { trait = severely_injured }

		}
		allow = {
			age = 14
			wealth = 500
		}
		effect = { 
				character_event = { id = buy_mech.3 } 
			
		}
		revoke_allowed = {
			always = no
		}
		ai_will_do = {
			factor = 1 
			modifier = {
				factor = 0.05 #slow it down
				NOT = { religion = taoist }
			}
			modifier = {
				factor = 0.002 #We have access to better mech
				religion = taoist
			} 
		}
	}		

	buy_super_mech_suit = {
		is_high_prio = yes
		potential = {
			age = 14
			religion = taoist
			OR = {
				capital_scope = {
					region = world_planum_australe
					}
				capital_scope = {
					region = world_noachis_terra 
					}
				}
			prisoner = no
			NOT = { has_artifact = super_mech_suit }
			NOT = { trait = incapable }
			NOT = { trait = infirm }
			NOT = { trait = severely_injured }
			NOT = { religion_group = pagan_group }

		}
		allow = {
			age = 14
			wealth = 1600
		}
		effect = { 
				character_event = { id = buy_mech.4 } 
			
		}
		revoke_allowed = {
			always = no
		}
		ai_will_do = {
			factor = 100 

			modifier = {
				factor = 0.02
				martial < 12 
			}
			modifier = {
				factor = 0.02
				OR = {
				has_artifact = common_mech_suit
				has_artifact = mech_suit
				}
			}
		}
	}
}		