TAI_category = {
	TAI_coast_guard = {
		icon = GFX_decision_generic_naval

		visible = {
			date > 2000.2.1
		}
		highlight_states = {
			highlight_states_trigger = {
				state = 598
			}
		}

		fire_only_once = yes

		cost = 25

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision TAI_coast_guard"
			effect_tooltip = { navy_experience = 100 }
			hidden_effect = { country_event = { id = taiwan.4 days = 1 } }
		}

		ai_will_do = {
			base = 1
		}
	}

	TAI_kaoshiung_university = {
		icon = GFX_decision_generic_research

		visible = {
			date > 2000.2.1
		}
		highlight_states = {
			highlight_states_trigger = {
				state = 599
			}
		}

		fire_only_once = yes

		cost = 100

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision TAI_kaoshiung_university"
			add_tech_bonus = {
				name = TAI_kaoshiung_university
				bonus = 0.2
				uses = 2
				category = CAT_information_technology
			} hidden_effect = { rq_eb_196be41bfd = yes }
			add_tech_bonus = {
				name = TAI_kaoshiung_university
				bonus = 0.3
				uses = 2
				category = CAT_industry
			} hidden_effect = { rq_eb_8ed86027bd = yes }
			set_temp_variable = { treasury_change = -5.00 }
			modify_treasury_effect = yes
			599 = {
				add_building_construction = {
					type = nuclear_facility
					level = 1
					province = 11914
				}
			}
			add_breakthrough_points = {
				specialization = specialization_nuclear
				value = 1
			}
			hidden_effect = { country_event = { id = taiwan.5 days = 1 } }
		}

		ai_will_do = {
			base = 1
		}
	}

	TAI_choose_new_capital = {

		visible = {
			547 = {
				is_owned_and_controlled_by = TAI
			}
			540 = {
				is_owned_and_controlled_by = TAI
			}
			583 = {
				is_owned_and_controlled_by = TAI
			}
		}

		available = {
			NOT = {
				has_war_with = CHI
			}
		}

		fire_only_once = yes

		days_remove = 14

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision TAI_choose_new_capital"
			TAI = {
				country_event = taiwan.17
			}
		}

		ai_will_do = {
			base = 100
		}
	}

	TAI_CHI_confidence_building = {

		icon = GFX_decision_generic_political_discourse

		visible = {
			country_exists = CHI
		}

		available = {
			NOT = { has_war_with = CHI }
		}

		fire_only_once = no

		cost = 50

		days_re_enable = 90

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision TAI_CHI_confidence_building"
			CHI = {
				add_to_variable = { CHI_TAI_trust = 6 tooltip = CHI_TAI_trust_tt }
				clamp_variable = { var = CHI_TAI_trust min = 0 max = 100 }
			}
			add_opinion_modifier = { target = CHI modifier = political_outreach }
		}

		ai_will_do = {
			base = 5
		}
	}

	TAI_CHI_assert_sovereignty = {

		icon = GFX_decision_generic_form_nation

		visible = {
			country_exists = CHI
		}

		available = {
			NOT = { has_war_with = CHI }
		}

		fire_only_once = no

		cost = 40

		days_re_enable = 60

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision TAI_CHI_assert_sovereignty"
			CHI = {
				add_to_variable = { CHI_TAI_trust = -6 tooltip = CHI_TAI_trust_tt }
				clamp_variable = { var = CHI_TAI_trust min = 0 max = 100 }
			}
			add_opinion_modifier = { target = CHI modifier = recent_actions_negative }
		}

		ai_will_do = {
			base = 5
		}
	}

	TAI_tsmc_restrict_us_exports = {
		icon = GFX_decision_generic_factory

		visible = {
			country_exists = USA
			check_variable = { TAI_tsmc_resource_trade_cost_bonus_per_factory > 0 }
			NOT = { has_country_flag = TAI_tsmc_us_export_ban }
		}

		available = {
			is_subject = no
		}

		cost = 50

		days_re_enable = 180

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision TAI_tsmc_restrict_us_exports"
			set_country_flag = TAI_tsmc_us_export_ban
			reverse_add_opinion_modifier = { target = USA modifier = broke_trade_agreement }
			if = { limit = { country_exists = USA }
				USA = { USA_tsmc_access_update = yes }
			}
		}

		ai_will_do = {
			base = 0
			modifier = {
				add = 10
				has_opinion = { target = USA value < -50 }
			}
		}
	}

	TAI_tsmc_resume_us_exports = {
		icon = GFX_decision_generic_factory

		visible = {
			has_country_flag = TAI_tsmc_us_export_ban
		}

		cost = 25

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision TAI_tsmc_resume_us_exports"
			clr_country_flag = TAI_tsmc_us_export_ban
			if = { limit = { country_exists = USA }
				USA = { USA_tsmc_access_update = yes }
			}
		}

		ai_will_do = {
			base = 0
			modifier = {
				add = 10
				has_opinion = { target = USA value > -25 }
			}
		}
	}
}
