﻿add_namespace = taobei
country_event = {
	id = taobei.48
	title = taobei.48.t
	desc = taobei.48.d
	picture = texan_senate
	is_triggered_only = yes
	hidden = yes
	option = {
		name = taobei.48.o1
if = {limit = {has_idea = idea_GDPPC_0_200}	remove_ideas = idea_GDPPC_0_200}
if = {limit = {has_idea = idea_GDPPC_200_400}	remove_ideas = idea_GDPPC_200_400}
if = {limit = {has_idea = idea_GDPPC_400_600}	remove_ideas = idea_GDPPC_400_600}
if = {limit = {has_idea = idea_GDPPC_600_800}	remove_ideas = idea_GDPPC_600_800}
if = {limit = {has_idea = idea_GDPPC_800_1200}	remove_ideas = idea_GDPPC_800_1200}
if = {limit = {has_idea = idea_GDPPC_1200_1600}	remove_ideas = idea_GDPPC_1200_1600}
if = {limit = {has_idea = idea_GDPPC_1600_2000}	remove_ideas = idea_GDPPC_1600_2000}
if = {limit = {has_idea = idea_GDPPC_2000_2500}	remove_ideas = idea_GDPPC_2000_2500}
if = {limit = {has_idea = idea_GDPPC_2500_3000}	remove_ideas = idea_GDPPC_2500_3000}
if = {limit = {has_idea = idea_GDPPC_3000_3700}	remove_ideas = idea_GDPPC_3000_3700}
if = {limit = {has_idea = idea_GDPPC_3700_4500}	remove_ideas = idea_GDPPC_3700_4500}
if = {limit = {has_idea = idea_GDPPC_4500_5200}	remove_ideas = idea_GDPPC_4500_5200}
if = {limit = {has_idea = idea_GDPPC_5200_6200}	remove_ideas = idea_GDPPC_5200_6200}
if = {limit = {has_idea = idea_GDPPC_6200_7200}	remove_ideas = idea_GDPPC_6200_7200}
if = {limit = {has_idea = idea_GDPPC_7200_8200}	remove_ideas = idea_GDPPC_7200_8200}
if = {limit = {has_idea = idea_GDPPC_8200_0000}	remove_ideas = idea_GDPPC_8200_0000}
if = {limit = {has_idea = idea_GDP_0_400}	remove_ideas = idea_GDP_0_400}
if = {limit = {has_idea = idea_GDP_400_800}	remove_ideas = idea_GDP_400_800}
if = {limit = {has_idea = idea_GDP_800_1200}	remove_ideas = idea_GDP_800_1200}
if = {limit = {has_idea = idea_GDP_1200_1600}	remove_ideas = idea_GDP_1200_1600}
if = {limit = {has_idea = idea_GDP_1600_2000}	remove_ideas = idea_GDP_1600_2000}
if = {limit = {has_idea = idea_GDP_2000_2600}	remove_ideas = idea_GDP_2000_2600}
if = {limit = {has_idea = idea_GDP_2600_3300}	remove_ideas = idea_GDP_2600_3300}
if = {limit = {has_idea = idea_GDP_3300_3900}	remove_ideas = idea_GDP_3300_3900}
if = {limit = {has_idea = idea_GDP_3900_4600}	remove_ideas = idea_GDP_3900_4600}
if = {limit = {has_idea = idea_GDP_4600_5600}	remove_ideas = idea_GDP_4600_5600}
if = {limit = {has_idea = idea_GDP_5600_6500}	remove_ideas = idea_GDP_5600_6500}
if = {limit = {has_idea = idea_GDP_6500_7500}	remove_ideas = idea_GDP_6500_7500}
if = {limit = {has_idea = idea_GDP_7500_8500}	remove_ideas = idea_GDP_7500_8500}
if = {limit = {has_idea = idea_GDP_8500_10000}	remove_ideas = idea_GDP_8500_10000}
if = {limit = {has_idea = idea_GDP_10000_0000}	remove_ideas = idea_GDP_10000_0000}

				if = {
					limit = {
						check_variable = { country_GDP_per_capita > 0 }
						check_variable = { country_GDP_per_capita < 40 }
					}
					add_ideas = idea_GDPPC_0_200
				}
				if = {
					limit = {
						check_variable = { country_GDP_per_capita = 40 }
					}
					add_ideas = idea_GDPPC_0_200
				}

				if = {
					limit = {
						check_variable = { country_GDP_per_capita > 40 }
						check_variable = { country_GDP_per_capita < 80 }
					}
					add_ideas = idea_GDPPC_200_400
				}
				if = {
					limit = {
						check_variable = { country_GDP_per_capita = 80 }
					}
					add_ideas = idea_GDPPC_200_400
				}

				if = {
					limit = {
						check_variable = { country_GDP_per_capita > 80 }
						check_variable = { country_GDP_per_capita < 130 }
					}
					add_ideas = idea_GDPPC_400_600
				}
				if = {
					limit = {
						check_variable = { country_GDP_per_capita = 130 }
					}
					add_ideas = idea_GDPPC_400_600
				}

				if = {
					limit = {
						check_variable = { country_GDP_per_capita > 130 }
						check_variable = { country_GDP_per_capita < 200 }
					}
					add_ideas = idea_GDPPC_600_800
				}
				if = {
					limit = {
						check_variable = { country_GDP_per_capita = 200 }
					}
					add_ideas = idea_GDPPC_600_800
				}

				if = {
					limit = {
						check_variable = { country_GDP_per_capita > 200 }
						check_variable = { country_GDP_per_capita < 300 }
					}
					add_ideas = idea_GDPPC_800_1200
				}
				if = {
					limit = {
						check_variable = { country_GDP_per_capita = 300 }
					}
					add_ideas = idea_GDPPC_800_1200
				}

				if = {
					limit = {
						check_variable = { country_GDP_per_capita > 300 }
						check_variable = { country_GDP_per_capita < 450 }
					}
					add_ideas = idea_GDPPC_1200_1600
				}
				if = {
					limit = {
						check_variable = { country_GDP_per_capita = 450 }
					}
					add_ideas = idea_GDPPC_1200_1600
				}

				if = {
					limit = {
						check_variable = { country_GDP_per_capita > 450 }
						check_variable = { country_GDP_per_capita < 650 }
					}
					add_ideas = idea_GDPPC_1600_2000
				}
				if = {
					limit = {
						check_variable = { country_GDP_per_capita = 650 }
					}
					add_ideas = idea_GDPPC_1600_2000
				}

				if = {
					limit = {
						check_variable = { country_GDP_per_capita > 650 }
						check_variable = { country_GDP_per_capita < 900 }
					}
					add_ideas = idea_GDPPC_2000_2500
				}
				if = {
					limit = {
						check_variable = { country_GDP_per_capita = 900 }
					}
					add_ideas = idea_GDPPC_2000_2500
				}

				if = {
					limit = {
						check_variable = { country_GDP_per_capita > 900 }
						check_variable = { country_GDP_per_capita < 1300 }
					}
					add_ideas = idea_GDPPC_2500_3000
				}
				if = {
					limit = {
						check_variable = { country_GDP_per_capita = 1300 }
					}
					add_ideas = idea_GDPPC_2500_3000
				}

				if = {
					limit = {
						check_variable = { country_GDP_per_capita > 1300 }
						check_variable = { country_GDP_per_capita < 1800 }
					}
					add_ideas = idea_GDPPC_3000_3700
				}
				if = {
					limit = {
						check_variable = { country_GDP_per_capita = 1800 }
					}
					add_ideas = idea_GDPPC_3000_3700
				}

				if = {
					limit = {
						check_variable = { country_GDP_per_capita > 1800 }
						check_variable = { country_GDP_per_capita < 2500 }
					}
					add_ideas = idea_GDPPC_3700_4500
				}
				if = {
					limit = {
						check_variable = { country_GDP_per_capita = 2500 }
					}
					add_ideas = idea_GDPPC_3700_4500
				}

				if = {
					limit = {
						check_variable = { country_GDP_per_capita > 2500 }
						check_variable = { country_GDP_per_capita < 3500 }
					}
					add_ideas = idea_GDPPC_4500_5200
				}
				if = {
					limit = {
						check_variable = { country_GDP_per_capita = 3500 }
					}
					add_ideas = idea_GDPPC_4500_5200
				}

				if = {
					limit = {
						check_variable = { country_GDP_per_capita > 3500 }
						check_variable = { country_GDP_per_capita < 5000 }
					}
					add_ideas = idea_GDPPC_5200_6200
				}
				if = {
					limit = {
						check_variable = { country_GDP_per_capita = 5000 }
					}
					add_ideas = idea_GDPPC_5200_6200
				}

				if = {
					limit = {
						check_variable = { country_GDP_per_capita > 5000 }
						check_variable = { country_GDP_per_capita < 7000 }
					}
					add_ideas = idea_GDPPC_6200_7200
				}
				if = {
					limit = {
						check_variable = { country_GDP_per_capita = 7000 }
					}
					add_ideas = idea_GDPPC_6200_7200
				}

				if = {
					limit = {
						check_variable = { country_GDP_per_capita > 7000 }
						check_variable = { country_GDP_per_capita < 10000 }
					}
					add_ideas = idea_GDPPC_7200_8200
				}
				if = {
					limit = {
						check_variable = { country_GDP_per_capita = 10000 }
					}
					add_ideas = idea_GDPPC_7200_8200
				}

				if = {
					limit = {
						check_variable = { country_GDP_per_capita > 10000 }
					}
					add_ideas = idea_GDPPC_8200_0000
				}

				if = {
					limit = {
						check_variable = { country_GDP > 0 }
						check_variable = { country_GDP < 0.2 }
					}
					add_ideas = idea_GDP_0_400
				}
				if = {
					limit = {
						check_variable = { country_GDP = 0.2 }
					}
					add_ideas = idea_GDP_0_400
				}

				if = {
					limit = {
						check_variable = { country_GDP > 0.2 }
						check_variable = { country_GDP < 0.7 }
					}
					add_ideas = idea_GDP_400_800
				}
				if = {
					limit = {
						check_variable = { country_GDP = 0.7 }
					}
					add_ideas = idea_GDP_400_800
				}

				if = {
					limit = {
						check_variable = { country_GDP > 0.7 }
						check_variable = { country_GDP < 1.8 }
					}
					add_ideas = idea_GDP_800_1200
				}
				if = {
					limit = {
						check_variable = { country_GDP = 1.8 }
					}
					add_ideas = idea_GDP_800_1200
				}

				if = {
					limit = {
						check_variable = { country_GDP > 1.8 }
						check_variable = { country_GDP < 4 }
					}
					add_ideas = idea_GDP_1200_1600
				}
				if = {
					limit = {
						check_variable = { country_GDP = 4 }
					}
					add_ideas = idea_GDP_1200_1600
				}

				if = {
					limit = {
						check_variable = { country_GDP > 4 }
						check_variable = { country_GDP < 8 }
					}
					add_ideas = idea_GDP_1600_2000
				}
				if = {
					limit = {
						check_variable = { country_GDP = 8 }
					}
					add_ideas = idea_GDP_1600_2000
				}

				if = {
					limit = {
						check_variable = { country_GDP > 8 }
						check_variable = { country_GDP < 16 }
					}
					add_ideas = idea_GDP_2000_2600
				}
				if = {
					limit = {
						check_variable = { country_GDP = 16 }
					}
					add_ideas = idea_GDP_2000_2600
				}

				if = {
					limit = {
						check_variable = { country_GDP > 16 }
						check_variable = { country_GDP < 30 }
					}
					add_ideas = idea_GDP_2600_3300
				}
				if = {
					limit = {
						check_variable = { country_GDP = 30 }
					}
					add_ideas = idea_GDP_2600_3300
				}

				if = {
					limit = {
						check_variable = { country_GDP > 30 }
						check_variable = { country_GDP < 55 }
					}
					add_ideas = idea_GDP_3300_3900
				}
				if = {
					limit = {
						check_variable = { country_GDP = 55 }
					}
					add_ideas = idea_GDP_3300_3900
				}

				if = {
					limit = {
						check_variable = { country_GDP > 55 }
						check_variable = { country_GDP < 100 }
					}
					add_ideas = idea_GDP_3900_4600
				}
				if = {
					limit = {
						check_variable = { country_GDP = 100 }
					}
					add_ideas = idea_GDP_3900_4600
				}

				if = {
					limit = {
						check_variable = { country_GDP > 100 }
						check_variable = { country_GDP < 180 }
					}
					add_ideas = idea_GDP_4600_5600
				}
				if = {
					limit = {
						check_variable = { country_GDP = 180 }
					}
					add_ideas = idea_GDP_4600_5600
				}

				if = {
					limit = {
						check_variable = { country_GDP > 180 }
						check_variable = { country_GDP < 320 }
					}
					add_ideas = idea_GDP_5600_6500
				}
				if = {
					limit = {
						check_variable = { country_GDP = 320 }
					}
					add_ideas = idea_GDP_5600_6500
				}

				if = {
					limit = {
						check_variable = { country_GDP > 320 }
						check_variable = { country_GDP < 500 }
					}
					add_ideas = idea_GDP_6500_7500
				}
				if = {
					limit = {
						check_variable = { country_GDP = 500 }
					}
					add_ideas = idea_GDP_6500_7500
				}

				if = {
					limit = {
						check_variable = { country_GDP > 500 }
						check_variable = { country_GDP < 700 }
					}
					add_ideas = idea_GDP_7500_8500
				}
				if = {
					limit = {
						check_variable = { country_GDP = 700 }
					}
					add_ideas = idea_GDP_7500_8500
				}

				if = {
					limit = {
						check_variable = { country_GDP > 700 }
						check_variable = { country_GDP < 1000 }
					}
					add_ideas = idea_GDP_8500_10000
				}
				if = {
					limit = {
						check_variable = { country_GDP = 1000 }
					}
					add_ideas = idea_GDP_8500_10000
				}

				if = {
					limit = {
						check_variable = { country_GDP > 1000 }
					}
					add_ideas = idea_GDP_10000_0000
				}

					set_country_flag = GDP_taobei_complete

			country_event = { months = 1 id = taobei.48 }
	}

}