namespace = GE_script_events

country_event = {
	id = GE_script_events.1
	title = GE_script_events.1.t
	desc = GE_script_events.1.d
	picture = WESTERNISATION_eventPicture
	hidden = yes
	
	is_triggered_only = yes
	
	immediate = {
		if = {
			limit = {
				has_global_modifier_value = {
					which = vassal_tax_modifier 
					value = 0.05
				}
				NOT = {
					has_global_modifier_value = {
					which = vassal_tax_modifier 
					value = 0.10
					}
				}
			}
			every_subject_country = {
				remove_vassal_tax = yes
				add_country_modifier = {
					name = GE_vassal_tax_script_1
					duration = -1
				}
			}
		}
		else_if = {
			limit = {
				has_global_modifier_value = {
					which = vassal_tax_modifier 
					value = 0.10
				}
				NOT = {
					has_global_modifier_value = {
					which = vassal_tax_modifier 
					value = 0.15
					}
				}
			}
			every_subject_country = {
				remove_vassal_tax = yes
				add_country_modifier = {
					name = GE_vassal_tax_script_2
					duration = -1
				}
			}
		}
		else_if = {
			limit = {
				has_global_modifier_value = {
					which = vassal_tax_modifier 
					value = 0.15
				}
				NOT = {
					has_global_modifier_value = {
					which = vassal_tax_modifier 
					value = 0.20
					}
				}
			}
			every_subject_country = {
				remove_vassal_tax = yes
				add_country_modifier = {
					name = GE_vassal_tax_script_3
					duration = -1
				}
			}
		}
		else_if = {
			limit = {
				has_global_modifier_value = {
					which = vassal_tax_modifier 
					value = 0.20
				}
				NOT = {
					has_global_modifier_value = {
					which = vassal_tax_modifier 
					value = 0.25
					}
				}
			}
			every_subject_country = {
				remove_vassal_tax = yes
				add_country_modifier = {
					name = GE_vassal_tax_script_4
					duration = -1
				}
			}
		}
		else_if = {
			limit = {
				has_global_modifier_value = {
					which = vassal_tax_modifier 
					value = 0.25
				}
				NOT = {
					has_global_modifier_value = {
					which = vassal_tax_modifier 
					value = 0.30
					}
				}
			}
			every_subject_country = {
				remove_vassal_tax = yes
				add_country_modifier = {
					name = GE_vassal_tax_script_5
					duration = -1
				}
			}
		}
		else_if = {
			limit = {
				has_global_modifier_value = {
					which = vassal_tax_modifier 
					value = 0.30
				}
				NOT = {
					has_global_modifier_value = {
					which = vassal_tax_modifier 
					value = 0.35
					}
				}
			}
			every_subject_country = {
				remove_vassal_tax = yes
				add_country_modifier = {
					name = GE_vassal_tax_script_6
					duration = -1
				}
			}
		}
		else_if = {
			limit = {
				has_global_modifier_value = {
					which = vassal_tax_modifier 
					value = 0.35
				}
				NOT = {
					has_global_modifier_value = {
					which = vassal_tax_modifier 
					value = 0.40
					}
				}
			}
			every_subject_country = {
				remove_vassal_tax = yes
				add_country_modifier = {
					name = GE_vassal_tax_script_7
					duration = -1
				}
			}
		}
		else_if = {
			limit = {
				has_global_modifier_value = {
					which = vassal_tax_modifier 
					value = 0.40
				}
				NOT = {
					has_global_modifier_value = {
					which = vassal_tax_modifier 
					value = 0.45
					}
				}
			}
			every_subject_country = {
				remove_vassal_tax = yes
				add_country_modifier = {
					name = GE_vassal_tax_script_8
					duration = -1
				}
			}
		}
		else_if = {
			limit = {
				has_global_modifier_value = {
					which = vassal_tax_modifier 
					value = 0.45
				}
				NOT = {
					has_global_modifier_value = {
					which = vassal_tax_modifier 
					value = 0.50
					}
				}
			}
			every_subject_country = {
				remove_vassal_tax = yes
				add_country_modifier = {
					name = GE_vassal_tax_script_9
					duration = -1
				}
			}
		}
		else_if = {
			limit = {
				has_global_modifier_value = {
					which = vassal_tax_modifier 
					value = 0.50
				}
				NOT = {
					has_global_modifier_value = {
					which = vassal_tax_modifier 
					value = 0.55
					}
				}
			}
			every_subject_country = {
				remove_vassal_tax = yes
				add_country_modifier = {
					name = GE_vassal_tax_script_10
					duration = -1
				}
			}
		}
		else_if = {
			limit = {
				has_global_modifier_value = {
					which = vassal_tax_modifier 
					value = 0.55
				}
				NOT = {
					has_global_modifier_value = {
					which = vassal_tax_modifier 
					value = 0.60
					}
				}
			}
			every_subject_country = {
				remove_vassal_tax = yes
				add_country_modifier = {
					name = GE_vassal_tax_script_11
					duration = -1
				}
			}
		}
		else_if = {
			limit = {
				has_global_modifier_value = {
					which = vassal_tax_modifier 
					value = 0.60
				}
				NOT = {
					has_global_modifier_value = {
					which = vassal_tax_modifier 
					value = 0.65
					}
				}
			}
			every_subject_country = {
				remove_vassal_tax = yes
				add_country_modifier = {
					name = GE_vassal_tax_script_12
					duration = -1
				}
			}
		}
		else_if = {
			limit = {
				has_global_modifier_value = {
					which = vassal_tax_modifier 
					value = 0.65
				}
				NOT = {
					has_global_modifier_value = {
					which = vassal_tax_modifier 
					value = 0.70
					}
				}
			}
			every_subject_country = {
				remove_vassal_tax = yes
				add_country_modifier = {
					name = GE_vassal_tax_script_13
					duration = -1
				}
			}
		}
		else_if = {
			limit = {
				has_global_modifier_value = {
					which = vassal_tax_modifier 
					value = 0.70
				}
				NOT = {
					has_global_modifier_value = {
					which = vassal_tax_modifier 
					value = 0.75
					}
				}
			}
			every_subject_country = {
				remove_vassal_tax = yes
				add_country_modifier = {
					name = GE_vassal_tax_script_14
					duration = -1
				}
			}
		}
		else_if = {
			limit = {
				has_global_modifier_value = {
					which = vassal_tax_modifier 
					value = 0.75
				}
				NOT = {
					has_global_modifier_value = {
					which = vassal_tax_modifier 
					value = 0.80
					}
				}
			}
			every_subject_country = {
				remove_vassal_tax = yes
				add_country_modifier = {
					name = GE_vassal_tax_script_15
					duration = -1
				}
			}
		}
		else_if = {
			limit = {
				has_global_modifier_value = {
					which = vassal_tax_modifier 
					value = 0.80
				}
				NOT = {
					has_global_modifier_value = {
					which = vassal_tax_modifier 
					value = 0.85
					}
				}
			}
			every_subject_country = {
				remove_vassal_tax = yes
				add_country_modifier = {
					name = GE_vassal_tax_script_16
					duration = -1
				}
			}
		}
		else_if = {
			limit = {
				has_global_modifier_value = {
					which = vassal_tax_modifier 
					value = 0.85
				}
				NOT = {
					has_global_modifier_value = {
					which = vassal_tax_modifier 
					value = 0.90
					}
				}
			}
			every_subject_country = {
				remove_vassal_tax = yes
				add_country_modifier = {
					name = GE_vassal_tax_script_17
					duration = -1
				}
			}
		}
		else_if = {
			limit = {
				has_global_modifier_value = {
					which = vassal_tax_modifier 
					value = 0.90
				}
				NOT = {
					has_global_modifier_value = {
					which = vassal_tax_modifier 
					value = 0.95
					}
				}
			}
			every_subject_country = {
				remove_vassal_tax = yes
				add_country_modifier = {
					name = GE_vassal_tax_script_18
					duration = -1
				}
			}
		}
		else_if = {
			limit = {
				has_global_modifier_value = {
					which = vassal_tax_modifier 
					value = 0.95
				}
				NOT = {
					has_global_modifier_value = {
					which = vassal_tax_modifier 
					value = 1.00
					}
				}
			}
			every_subject_country = {
				remove_vassal_tax = yes
				add_country_modifier = {
					name = GE_vassal_tax_script_19
					duration = -1
				}
			}
		}
		else_if = {
			limit = {
				has_global_modifier_value = {
					which = vassal_tax_modifier 
					value = 1.00
				}
			}
			every_subject_country = {
				remove_vassal_tax = yes
				add_country_modifier = {
					name = GE_vassal_tax_script_20
					duration = -1
				}
			}
		}
	}
	
	option = {
		name = GE_script_events.1.a

	}
}

country_event = {
	id = GE_script_events.2000
	title = GE_script_events.2000.t
	desc = GE_script_events.2000.d
	picture = WESTERNISATION_eventPicture
	hidden = yes

	trigger = {
		is_subject = no
		OR = {
			has_country_modifier = GE_vassal_tax_script_1
			has_country_modifier = GE_vassal_tax_script_2
			has_country_modifier = GE_vassal_tax_script_3
			has_country_modifier = GE_vassal_tax_script_4
			has_country_modifier = GE_vassal_tax_script_5
			has_country_modifier = GE_vassal_tax_script_6
			has_country_modifier = GE_vassal_tax_script_7
			has_country_modifier = GE_vassal_tax_script_8
			has_country_modifier = GE_vassal_tax_script_9
			has_country_modifier = GE_vassal_tax_script_10
			has_country_modifier = GE_vassal_tax_script_11
			has_country_modifier = GE_vassal_tax_script_12
			has_country_modifier = GE_vassal_tax_script_13
			has_country_modifier = GE_vassal_tax_script_14
			has_country_modifier = GE_vassal_tax_script_15 
			has_country_modifier = GE_vassal_tax_script_16
			has_country_modifier = GE_vassal_tax_script_17
			has_country_modifier = GE_vassal_tax_script_18
			has_country_modifier = GE_vassal_tax_script_19
			has_country_modifier = GE_vassal_tax_script_20
		}
	}
	
	mean_time_to_happen = {
		days = 100
	}

	immediate = {
		remove_vassal_tax = yes
	}
	option = {
	}
}

country_event = {
	id = GE_script_events.2
	title = GE_script_events.2.t
	desc = GE_script_events.2.d
	picture = WESTERNISATION_eventPicture
	hidden = yes
	
	is_triggered_only = yes

	# trigger = {
	# 	OR = {
	# 		NOT = {
	# 			has_global_modifier_value = {
	# 				which = rural_goods_produced_modifier 
	# 				value = -0.04
	# 			}
	# 		}
	# 		AND = {
	# 			has_global_modifier_value = {
	# 					which = rural_goods_produced_modifier 
	# 					value = 0.05
	# 			}
	# 		}
	# 	}
	# }
	
	# mean_time_to_happen = {
	# 	days = 30
	# }
	
	immediate = {
	}
	
	option = {
		name = GE_script_events.2.a
		if = {
			limit = {
				NOT = {
					has_global_modifier_value = {
						which = rural_goods_produced_modifier 
						value = -0.04
					}
				}
			}
			if = {
				limit = {
					has_global_modifier_value = {
						which = rural_goods_produced_modifier 
						value = -0.09
					}
					NOT = {
						has_global_modifier_value = {
						which = rural_goods_produced_modifier 
						value = -0.04
						}
					}
				}
				every_owned_province = {
					limit = {
						has_rural_goods = yes
					}
					remove_rural_goods_produced = yes
					add_province_modifier = {
						name = "rural_goods_produced_001"
						duration = -1
						hidden = yes
					}
				}
			}
			else_if = {
				limit = {
					has_global_modifier_value = {
						which = rural_goods_produced_modifier 
						value = -0.14
					}
					NOT = {
						has_global_modifier_value = {
						which = rural_goods_produced_modifier 
						value = -0.04
						}
					}
				}
				every_owned_province = {
					limit = {
						has_rural_goods = yes
					}
					remove_rural_goods_produced = yes
					add_province_modifier = {
						name = "rural_goods_produced_002"
						duration = -1
						hidden = yes
					}
				}
			}
			else_if = {
				limit = {
					has_global_modifier_value = {
						which = rural_goods_produced_modifier 
						value = -0.19
					}
					NOT = {
						has_global_modifier_value = {
						which = rural_goods_produced_modifier 
						value = -0.14
						}
					}
				}
				every_owned_province = {
					limit = {
						has_rural_goods = yes
					}
					remove_rural_goods_produced = yes
					add_province_modifier = {
						name = "rural_goods_produced_003"
						duration = -1
						hidden = yes
					}
				}
			}
			else_if = {
				limit = {
					has_global_modifier_value = {
						which = rural_goods_produced_modifier 
						value = -0.24
					}
					NOT = {
						has_global_modifier_value = {
						which = rural_goods_produced_modifier 
						value = -0.19
						}
					}
				}
				every_owned_province = {
					limit = {
						has_rural_goods = yes
					}
					remove_rural_goods_produced = yes
					add_province_modifier = {
						name = "rural_goods_produced_004"
						duration = -1
						hidden = yes
					}
				}
			}
			else_if = {
				limit = {
					has_global_modifier_value = {
						which = rural_goods_produced_modifier 
						value = -0.29
					}
					NOT = {
						has_global_modifier_value = {
						which = rural_goods_produced_modifier 
						value = -0.24
						}
					}
				}
				every_owned_province = {
					limit = {
						has_rural_goods = yes
					}
					remove_rural_goods_produced = yes
					add_province_modifier = {
						name = "rural_goods_produced_005"
						duration = -1
						hidden = yes
					}
				}
			}
			else_if = {
				limit = {
					has_global_modifier_value = {
						which = rural_goods_produced_modifier 
						value = -0.34
					}
					NOT = {
						has_global_modifier_value = {
						which = rural_goods_produced_modifier 
						value = -0.29
						}
					}
				}
				every_owned_province = {
					limit = {
						has_rural_goods = yes
					}
					remove_rural_goods_produced = yes
					add_province_modifier = {
						name = "rural_goods_produced_006"
						duration = -1
						hidden = yes
					}
				}
			}
			else_if = {
				limit = {
					has_global_modifier_value = {
						which = rural_goods_produced_modifier 
						value = -0.39
					}
					NOT = {
						has_global_modifier_value = {
						which = rural_goods_produced_modifier 
						value = -0.34
						}
					}
				}
				every_owned_province = {
					limit = {
						has_rural_goods = yes
					}
					remove_rural_goods_produced = yes
					add_province_modifier = {
						name = "rural_goods_produced_007"
						duration = -1
						hidden = yes
					}
				}
			}
			else_if = {
				limit = {
					has_global_modifier_value = {
						which = rural_goods_produced_modifier 
						value = -0.44
					}
					NOT = {
						has_global_modifier_value = {
						which = rural_goods_produced_modifier 
						value = -0.39
						}
					}
				}
				every_owned_province = {
					limit = {
						has_rural_goods = yes
					}
					remove_rural_goods_produced = yes
					add_province_modifier = {
						name = "rural_goods_produced_008"
						duration = -1
						hidden = yes
					}
				}
			}
			else_if = {
				limit = {
					has_global_modifier_value = {
						which = rural_goods_produced_modifier 
						value = -0.49
					}
					NOT = {
						has_global_modifier_value = {
						which = rural_goods_produced_modifier 
						value = -0.44
						}
					}
				}
				every_owned_province = {
					limit = {
						has_rural_goods = yes
					}
					remove_rural_goods_produced = yes
					add_province_modifier = {
						name = "rural_goods_produced_009"
						duration = -1
						hidden = yes
					}
				}
			}
			else_if = {
				limit = {
					NOT = {
						has_global_modifier_value = {
						which = rural_goods_produced_modifier 
						value = -0.49
						}
					}
				}
				every_owned_province = {
					limit = {
						has_rural_goods = yes
					}
					remove_rural_goods_produced = yes
					add_province_modifier = {
						name = "rural_goods_produced_010"
						duration = -1
						hidden = yes
					}
				}
			}
		}
		if = {
			limit = {
				NOT = {
					has_global_modifier_value = {
					which = rural_goods_produced_modifier 
					value = 0.05
					}
				}
			}
			every_owned_province = {
				limit = {
					has_rural_goods = yes
				}
				remove_rural_goods_produced = yes
			}
		}
		else_if = {
			limit = {
				has_global_modifier_value = {
					which = rural_goods_produced_modifier 
					value = 0.05
				}
				NOT = {
					has_global_modifier_value = {
					which = rural_goods_produced_modifier 
					value = 0.10
					}
				}
			}
			every_owned_province = {
				limit = {
					has_rural_goods = yes
				}
				remove_rural_goods_produced = yes
				add_province_modifier = {
					name = "rural_goods_produced_1"
					duration = -1
					hidden = yes
				}
			}
		}
		else_if = {
			limit = {
				has_global_modifier_value = {
					which = rural_goods_produced_modifier 
					value = 0.10
				}
				NOT = {
					has_global_modifier_value = {
					which = rural_goods_produced_modifier 
					value = 0.15
					}
				}
			}
			every_owned_province = {
				limit = {
					has_rural_goods = yes
				}
				remove_rural_goods_produced = yes
				add_province_modifier = {
					name = "rural_goods_produced_2"
					duration = -1
					hidden = yes
				}
			}
		}
		else_if = {
			limit = {
				has_global_modifier_value = {
					which = rural_goods_produced_modifier 
					value = 0.15
				}
				NOT = {
					has_global_modifier_value = {
					which = rural_goods_produced_modifier 
					value = 0.20
					}
				}
			}
			every_owned_province = {
				limit = {
					has_rural_goods = yes
				}
				remove_rural_goods_produced = yes
				add_province_modifier = {
					name = "rural_goods_produced_3"
					duration = -1
					hidden = yes
				}
			}
		}
		else_if = {
			limit = {
				has_global_modifier_value = {
					which = rural_goods_produced_modifier 
					value = 0.20
				}
				NOT = {
					has_global_modifier_value = {
					which = rural_goods_produced_modifier 
					value = 0.25
					}
				}
			}
			every_owned_province = {
				limit = {
					has_rural_goods = yes
				}
				remove_rural_goods_produced = yes
				add_province_modifier = {
					name = "rural_goods_produced_4"
					duration = -1
					hidden = yes
				}
			}
		}
		else_if = {
			limit = {
				has_global_modifier_value = {
					which = rural_goods_produced_modifier 
					value = 0.25
				}
				NOT = {
					has_global_modifier_value = {
					which = rural_goods_produced_modifier 
					value = 0.30
					}
				}
			}
			every_owned_province = {
				limit = {
					has_rural_goods = yes
				}
				remove_rural_goods_produced = yes
				add_province_modifier = {
					name = "rural_goods_produced_5"
					duration = -1
					hidden = yes
				}
			}
		}
		else_if = {
			limit = {
				has_global_modifier_value = {
					which = rural_goods_produced_modifier 
					value = 0.30
				}
				NOT = {
					has_global_modifier_value = {
					which = rural_goods_produced_modifier 
					value = 0.35
					}
				}
			}
			every_owned_province = {
				limit = {
					has_rural_goods = yes
				}
				remove_rural_goods_produced = yes
				add_province_modifier = {
					name = "rural_goods_produced_6"
					duration = -1
					hidden = yes
				}
			}
		}
		else_if = {
			limit = {
				has_global_modifier_value = {
					which = rural_goods_produced_modifier 
					value = 0.35
				}
				NOT = {
					has_global_modifier_value = {
					which = rural_goods_produced_modifier 
					value = 0.40
					}
				}
			}
			every_owned_province = {
				limit = {
					has_rural_goods = yes
				}
				remove_rural_goods_produced = yes
				add_province_modifier = {
					name = "rural_goods_produced_7"
					duration = -1
					hidden = yes
				}
			}
		}
		else_if = {
			limit = {
				has_global_modifier_value = {
					which = rural_goods_produced_modifier 
					value = 0.40
				}
				NOT = {
					has_global_modifier_value = {
					which = rural_goods_produced_modifier 
					value = 0.45
					}
				}
			}
			every_owned_province = {
				limit = {
					has_rural_goods = yes
				}
				remove_rural_goods_produced = yes
				add_province_modifier = {
					name = "rural_goods_produced_8"
					duration = -1
					hidden = yes
				}
			}
		}
		else_if = {
			limit = {
				has_global_modifier_value = {
					which = rural_goods_produced_modifier 
					value = 0.45
				}
				NOT = {
					has_global_modifier_value = {
					which = rural_goods_produced_modifier 
					value = 0.50
					}
				}
			}
			every_owned_province = {
				limit = {
					has_rural_goods = yes
				}
				remove_rural_goods_produced = yes
				add_province_modifier = {
					name = "rural_goods_produced_9"
					duration = -1
					hidden = yes
				}
			}
		}
		else_if = {
			limit = {
				has_global_modifier_value = {
					which = rural_goods_produced_modifier 
					value = 0.50
				}
				NOT = {
					has_global_modifier_value = {
					which = rural_goods_produced_modifier 
					value = 0.55
					}
				}
			}
			every_owned_province = {
				limit = {
					has_rural_goods = yes
				}
				remove_rural_goods_produced = yes
				add_province_modifier = {
					name = "rural_goods_produced_10"
					duration = -1
					hidden = yes
				}
			}
		}
		else_if = {
			limit = {
				has_global_modifier_value = {
					which = rural_goods_produced_modifier 
					value = 0.55
				}
				NOT = {
					has_global_modifier_value = {
					which = rural_goods_produced_modifier 
					value = 0.60
					}
				}
			}
			every_owned_province = {
				limit = {
					has_rural_goods = yes
				}
				remove_rural_goods_produced = yes
				add_province_modifier = {
					name = "rural_goods_produced_11"
					duration = -1
					hidden = yes
				}
			}
		}
		else_if = {
			limit = {
				has_global_modifier_value = {
					which = rural_goods_produced_modifier 
					value = 0.60
				}
				NOT = {
					has_global_modifier_value = {
					which = rural_goods_produced_modifier 
					value = 0.65
					}
				}
			}
			every_owned_province = {
				limit = {
					has_rural_goods = yes
				}
				remove_rural_goods_produced = yes
				add_province_modifier = {
					name = "rural_goods_produced_12"
					duration = -1
					hidden = yes
				}
			}
		}
		else_if = {
			limit = {
				has_global_modifier_value = {
					which = rural_goods_produced_modifier 
					value = 0.65
				}
				NOT = {
					has_global_modifier_value = {
					which = rural_goods_produced_modifier 
					value = 0.70
					}
				}
			}
			every_owned_province = {
				limit = {
					has_rural_goods = yes
				}
				remove_rural_goods_produced = yes
				add_province_modifier = {
					name = "rural_goods_produced_13"
					duration = -1
					hidden = yes
				}
			}
		}
		else_if = {
			limit = {
				has_global_modifier_value = {
					which = rural_goods_produced_modifier 
					value = 0.70
				}
				NOT = {
					has_global_modifier_value = {
					which = rural_goods_produced_modifier 
					value = 0.75
					}
				}
			}
			every_owned_province = {
				limit = {
					has_rural_goods = yes
				}
				remove_rural_goods_produced = yes
				add_province_modifier = {
					name = "rural_goods_produced_14"
					duration = -1
					hidden = yes
				}
			}
		}
		else_if = {
			limit = {
				has_global_modifier_value = {
					which = rural_goods_produced_modifier 
					value = 0.75
				}
				NOT = {
					has_global_modifier_value = {
					which = rural_goods_produced_modifier 
					value = 0.80
					}
				}
			}
			every_owned_province = {
				limit = {
					has_rural_goods = yes
				}
				remove_rural_goods_produced = yes
				add_province_modifier = {
					name = "rural_goods_produced_15"
					duration = -1
					hidden = yes
				}
			}
		}
		else_if = {
			limit = {
				has_global_modifier_value = {
					which = rural_goods_produced_modifier 
					value = 0.80
				}
				NOT = {
					has_global_modifier_value = {
					which = rural_goods_produced_modifier 
					value = 0.85
					}
				}
			}
			every_owned_province = {
				limit = {
					has_rural_goods = yes
				}
				remove_rural_goods_produced = yes
				add_province_modifier = {
					name = "rural_goods_produced_16"
					duration = -1
					hidden = yes
				}
			}
		}
		else_if = {
			limit = {
				has_global_modifier_value = {
					which = rural_goods_produced_modifier 
					value = 0.85
				}
				NOT = {
					has_global_modifier_value = {
					which = rural_goods_produced_modifier 
					value = 0.90
					}
				}
			}
			every_owned_province = {
				limit = {
					has_rural_goods = yes
				}
				remove_rural_goods_produced = yes
				add_province_modifier = {
					name = "rural_goods_produced_17"
					duration = -1
					hidden = yes
				}
			}
		}
		else_if = {
			limit = {
				has_global_modifier_value = {
					which = rural_goods_produced_modifier 
					value = 0.90
				}
				NOT = {
					has_global_modifier_value = {
					which = rural_goods_produced_modifier 
					value = 0.95
					}
				}
			}
			every_owned_province = {
				limit = {
					has_rural_goods = yes
				}
				remove_rural_goods_produced = yes
				add_province_modifier = {
					name = "rural_goods_produced_18"
					duration = -1
					hidden = yes
				}
			}
		}
		else_if = {
			limit = {
				has_global_modifier_value = {
					which = rural_goods_produced_modifier 
					value = 0.95
				}
				NOT = {
					has_global_modifier_value = {
					which = rural_goods_produced_modifier 
					value = 1.00
					}
				}
			}
			every_owned_province = {
				limit = {
					has_rural_goods = yes
				}
				remove_rural_goods_produced = yes
				add_province_modifier = {
					name = "rural_goods_produced_19"
					duration = -1
					hidden = yes
				}
			}
		}
		else_if = {
			limit = {
				has_global_modifier_value = {
					which = rural_goods_produced_modifier 
					value = 1.00
				}
			}
			every_owned_province = {
				limit = {
					has_rural_goods = yes
				}
				remove_rural_goods_produced = yes
				add_province_modifier = {
					name = "rural_goods_produced_20"
					duration = -1
					hidden = yes
				}
			}
		}
	}
}

country_event = {
	id = GE_script_events.4
	title = GE_script_events.4.t
	desc = GE_script_events.4.d
	picture = WESTERNISATION_eventPicture
	hidden = yes
	
	is_triggered_only = yes
	
	# trigger = {
	# 	OR = {
	# 		has_global_modifier_value = {
	# 			which = urban_goods_produced_modifier 
	# 			value = 0.05
	# 		}
	# 		NOT = {
	# 			has_global_modifier_value = {
	# 				which = urban_goods_produced_modifier
	# 				value = -0.04
	# 			}
	# 		}
	# 	}
	# }
	
	# mean_time_to_happen = {
	# 	days = 30
	# }
	
	immediate = {
	}
	
	option = {
		name = GE_script_events.2.a
		if = {
			limit = {
				NOT = {
					has_global_modifier_value = {
						which = urban_goods_produced_modifier 
						value = -0.04
					}
				}
			}
			if = {
				limit = {
					has_global_modifier_value = {
						which = urban_goods_produced_modifier 
						value = -0.09
					}
					NOT = {
						has_global_modifier_value = {
						which = urban_goods_produced_modifier 
						value = -0.04
						}
					}
				}
				every_owned_province = {
					limit = {
						has_urban_goods = yes
					}
					remove_urban_goods_produced = yes
					add_province_modifier = {
						name = "urban_goods_produced_001"
						duration = -1
						hidden = yes
					}
				}
			}
			else_if = {
				limit = {
					has_global_modifier_value = {
						which = urban_goods_produced_modifier 
						value = -0.14
					}
					NOT = {
						has_global_modifier_value = {
						which = urban_goods_produced_modifier 
						value = -0.04
						}
					}
				}
				every_owned_province = {
					limit = {
						has_urban_goods = yes
					}
					remove_urban_goods_produced = yes
					add_province_modifier = {
						name = "urban_goods_produced_002"
						duration = -1
						hidden = yes
					}
				}
			}
			else_if = {
				limit = {
					has_global_modifier_value = {
						which = urban_goods_produced_modifier 
						value = -0.19
					}
					NOT = {
						has_global_modifier_value = {
						which = urban_goods_produced_modifier 
						value = -0.14
						}
					}
				}
				every_owned_province = {
					limit = {
						has_urban_goods = yes
					}
					remove_urban_goods_produced = yes
					add_province_modifier = {
						name = "urban_goods_produced_003"
						duration = -1
						hidden = yes
					}
				}
			}
			else_if = {
				limit = {
					has_global_modifier_value = {
						which = urban_goods_produced_modifier 
						value = -0.24
					}
					NOT = {
						has_global_modifier_value = {
						which = urban_goods_produced_modifier 
						value = -0.19
						}
					}
				}
				every_owned_province = {
					limit = {
						has_urban_goods = yes
					}
					remove_urban_goods_produced = yes
					add_province_modifier = {
						name = "urban_goods_produced_004"
						duration = -1
						hidden = yes
					}
				}
			}
			else_if = {
				limit = {
					has_global_modifier_value = {
						which = urban_goods_produced_modifier 
						value = -0.29
					}
					NOT = {
						has_global_modifier_value = {
						which = urban_goods_produced_modifier 
						value = -0.24
						}
					}
				}
				every_owned_province = {
					limit = {
						has_urban_goods = yes
					}
					remove_urban_goods_produced = yes
					add_province_modifier = {
						name = "urban_goods_produced_005"
						duration = -1
						hidden = yes
					}
				}
			}
			else_if = {
				limit = {
					has_global_modifier_value = {
						which = urban_goods_produced_modifier 
						value = -0.34
					}
					NOT = {
						has_global_modifier_value = {
						which = urban_goods_produced_modifier 
						value = -0.29
						}
					}
				}
				every_owned_province = {
					limit = {
						has_urban_goods = yes
					}
					remove_urban_goods_produced = yes
					add_province_modifier = {
						name = "urban_goods_produced_006"
						duration = -1
						hidden = yes
					}
				}
			}
			else_if = {
				limit = {
					has_global_modifier_value = {
						which = urban_goods_produced_modifier 
						value = -0.39
					}
					NOT = {
						has_global_modifier_value = {
						which = urban_goods_produced_modifier 
						value = -0.34
						}
					}
				}
				every_owned_province = {
					limit = {
						has_urban_goods = yes
					}
					remove_urban_goods_produced = yes
					add_province_modifier = {
						name = "urban_goods_produced_007"
						duration = -1
						hidden = yes
					}
				}
			}
			else_if = {
				limit = {
					has_global_modifier_value = {
						which = urban_goods_produced_modifier 
						value = -0.44
					}
					NOT = {
						has_global_modifier_value = {
						which = urban_goods_produced_modifier 
						value = -0.39
						}
					}
				}
				every_owned_province = {
					limit = {
						has_urban_goods = yes
					}
					remove_urban_goods_produced = yes
					add_province_modifier = {
						name = "urban_goods_produced_008"
						duration = -1
						hidden = yes
					}
				}
			}
			else_if = {
				limit = {
					has_global_modifier_value = {
						which = urban_goods_produced_modifier 
						value = -0.49
					}
					NOT = {
						has_global_modifier_value = {
						which = urban_goods_produced_modifier 
						value = -0.44
						}
					}
				}
				every_owned_province = {
					limit = {
						has_urban_goods = yes
					}
					remove_urban_goods_produced = yes
					add_province_modifier = {
						name = "urban_goods_produced_009"
						duration = -1
						hidden = yes
					}
				}
			}
			else_if = {
				limit = {
					NOT = {
						has_global_modifier_value = {
						which = urban_goods_produced_modifier 
						value = -0.49
						}
					}
				}
				every_owned_province = {
					limit = {
						has_urban_goods = yes
					}
					remove_urban_goods_produced = yes
					add_province_modifier = {
						name = "urban_goods_produced_010"
						duration = -1
						hidden = yes
					}
				}
			}
		}
		if = {
			limit = {
				NOT = {
					has_global_modifier_value = {
					which = urban_goods_produced_modifier 
					value = 0.05
					}
				}
			}
			every_owned_province = {
				limit = {
					has_urban_goods = yes
				}
				remove_urban_goods_produced = yes
			}
		}
		else_if = {
			limit = {
				has_global_modifier_value = {
					which = urban_goods_produced_modifier 
					value = 0.05
				}
				NOT = {
					has_global_modifier_value = {
					which = urban_goods_produced_modifier 
					value = 0.10
					}
				}
			}
			every_owned_province = {
				limit = {
					has_urban_goods = yes
				}
				remove_urban_goods_produced = yes
				add_province_modifier = {
					name = "urban_goods_produced_1"
					duration = -1
					hidden = yes
				}
			}
		}
		else_if = {
			limit = {
				has_global_modifier_value = {
					which = urban_goods_produced_modifier 
					value = 0.10
				}
				NOT = {
					has_global_modifier_value = {
					which = urban_goods_produced_modifier 
					value = 0.15
					}
				}
			}
			every_owned_province = {
				limit = {
					has_urban_goods = yes
				}
				remove_urban_goods_produced = yes
				add_province_modifier = {
					name = "urban_goods_produced_2"
					duration = -1
					hidden = yes
				}
			}
		}
		else_if = {
			limit = {
				has_global_modifier_value = {
					which = urban_goods_produced_modifier 
					value = 0.15
				}
				NOT = {
					has_global_modifier_value = {
					which = urban_goods_produced_modifier 
					value = 0.20
					}
				}
			}
			every_owned_province = {
				limit = {
					has_urban_goods = yes
				}
				remove_urban_goods_produced = yes
				add_province_modifier = {
					name = "urban_goods_produced_3"
					duration = -1
					hidden = yes
				}
			}
		}
		else_if = {
			limit = {
				has_global_modifier_value = {
					which = urban_goods_produced_modifier 
					value = 0.20
				}
				NOT = {
					has_global_modifier_value = {
					which = urban_goods_produced_modifier 
					value = 0.25
					}
				}
			}
			every_owned_province = {
				limit = {
					has_urban_goods = yes
				}
				remove_urban_goods_produced = yes
				add_province_modifier = {
					name = "urban_goods_produced_4"
					duration = -1
					hidden = yes
				}
			}
		}
		else_if = {
			limit = {
				has_global_modifier_value = {
					which = urban_goods_produced_modifier 
					value = 0.25
				}
				NOT = {
					has_global_modifier_value = {
					which = urban_goods_produced_modifier 
					value = 0.30
					}
				}
			}
			every_owned_province = {
				limit = {
					has_urban_goods = yes
				}
				remove_urban_goods_produced = yes
				add_province_modifier = {
					name = "urban_goods_produced_5"
					duration = -1
					hidden = yes
				}
			}
		}
		else_if = {
			limit = {
				has_global_modifier_value = {
					which = urban_goods_produced_modifier 
					value = 0.30
				}
				NOT = {
					has_global_modifier_value = {
					which = urban_goods_produced_modifier 
					value = 0.35
					}
				}
			}
			every_owned_province = {
				limit = {
					has_urban_goods = yes
				}
				remove_urban_goods_produced = yes
				add_province_modifier = {
					name = "urban_goods_produced_6"
					duration = -1
					hidden = yes
				}
			}
		}
		else_if = {
			limit = {
				has_global_modifier_value = {
					which = urban_goods_produced_modifier 
					value = 0.35
				}
				NOT = {
					has_global_modifier_value = {
					which = urban_goods_produced_modifier 
					value = 0.40
					}
				}
			}
			every_owned_province = {
				limit = {
					has_urban_goods = yes
				}
				remove_urban_goods_produced = yes
				add_province_modifier = {
					name = "urban_goods_produced_7"
					duration = -1
					hidden = yes
				}
			}
		}
		else_if = {
			limit = {
				has_global_modifier_value = {
					which = urban_goods_produced_modifier 
					value = 0.40
				}
				NOT = {
					has_global_modifier_value = {
					which = urban_goods_produced_modifier 
					value = 0.45
					}
				}
			}
			every_owned_province = {
				limit = {
					has_urban_goods = yes
				}
				remove_urban_goods_produced = yes
				add_province_modifier = {
					name = "urban_goods_produced_8"
					duration = -1
					hidden = yes
				}
			}
		}
		else_if = {
			limit = {
				has_global_modifier_value = {
					which = urban_goods_produced_modifier 
					value = 0.45
				}
				NOT = {
					has_global_modifier_value = {
					which = urban_goods_produced_modifier 
					value = 0.50
					}
				}
			}
			every_owned_province = {
				limit = {
					has_urban_goods = yes
				}
				remove_urban_goods_produced = yes
				add_province_modifier = {
					name = "urban_goods_produced_9"
					duration = -1
					hidden = yes
				}
			}
		}
		else_if = {
			limit = {
				has_global_modifier_value = {
					which = urban_goods_produced_modifier 
					value = 0.50
				}
				NOT = {
					has_global_modifier_value = {
					which = urban_goods_produced_modifier 
					value = 0.55
					}
				}
			}
			every_owned_province = {
				limit = {
					has_urban_goods = yes
				}
				remove_urban_goods_produced = yes
				add_province_modifier = {
					name = "urban_goods_produced_10"
					duration = -1
					hidden = yes
				}
			}
		}
		else_if = {
			limit = {
				has_global_modifier_value = {
					which = urban_goods_produced_modifier 
					value = 0.55
				}
				NOT = {
					has_global_modifier_value = {
					which = urban_goods_produced_modifier 
					value = 0.60
					}
				}
			}
			every_owned_province = {
				limit = {
					has_urban_goods = yes
				}
				remove_urban_goods_produced = yes
				add_province_modifier = {
					name = "urban_goods_produced_11"
					duration = -1
					hidden = yes
				}
			}
		}
		else_if = {
			limit = {
				has_global_modifier_value = {
					which = urban_goods_produced_modifier 
					value = 0.60
				}
				NOT = {
					has_global_modifier_value = {
					which = urban_goods_produced_modifier 
					value = 0.65
					}
				}
			}
			every_owned_province = {
				limit = {
					has_urban_goods = yes
				}
				remove_urban_goods_produced = yes
				add_province_modifier = {
					name = "urban_goods_produced_12"
					duration = -1
					hidden = yes
				}
			}
		}
		else_if = {
			limit = {
				has_global_modifier_value = {
					which = urban_goods_produced_modifier 
					value = 0.65
				}
				NOT = {
					has_global_modifier_value = {
					which = urban_goods_produced_modifier 
					value = 0.70
					}
				}
			}
			every_owned_province = {
				limit = {
					has_urban_goods = yes
				}
				remove_urban_goods_produced = yes
				add_province_modifier = {
					name = "urban_goods_produced_13"
					duration = -1
					hidden = yes
				}
			}
		}
		else_if = {
			limit = {
				has_global_modifier_value = {
					which = urban_goods_produced_modifier 
					value = 0.70
				}
				NOT = {
					has_global_modifier_value = {
					which = urban_goods_produced_modifier 
					value = 0.75
					}
				}
			}
			every_owned_province = {
				limit = {
					has_urban_goods = yes
				}
				remove_urban_goods_produced = yes
				add_province_modifier = {
					name = "urban_goods_produced_14"
					duration = -1
					hidden = yes
				}
			}
		}
		else_if = {
			limit = {
				has_global_modifier_value = {
					which = urban_goods_produced_modifier 
					value = 0.75
				}
				NOT = {
					has_global_modifier_value = {
					which = urban_goods_produced_modifier 
					value = 0.80
					}
				}
			}
			every_owned_province = {
				limit = {
					has_urban_goods = yes
				}
				remove_urban_goods_produced = yes
				add_province_modifier = {
					name = "urban_goods_produced_15"
					duration = -1
					hidden = yes
				}
			}
		}
		else_if = {
			limit = {
				has_global_modifier_value = {
					which = urban_goods_produced_modifier 
					value = 0.80
				}
				NOT = {
					has_global_modifier_value = {
					which = urban_goods_produced_modifier 
					value = 0.85
					}
				}
			}
			every_owned_province = {
				limit = {
					has_urban_goods = yes
				}
				remove_urban_goods_produced = yes
				add_province_modifier = {
					name = "urban_goods_produced_16"
					duration = -1
					hidden = yes
				}
			}
		}
		else_if = {
			limit = {
				has_global_modifier_value = {
					which = urban_goods_produced_modifier 
					value = 0.85
				}
				NOT = {
					has_global_modifier_value = {
					which = urban_goods_produced_modifier 
					value = 0.90
					}
				}
			}
			every_owned_province = {
				limit = {
					has_urban_goods = yes
				}
				remove_urban_goods_produced = yes
				add_province_modifier = {
					name = "urban_goods_produced_17"
					duration = -1
					hidden = yes
				}
			}
		}
		else_if = {
			limit = {
				has_global_modifier_value = {
					which = urban_goods_produced_modifier 
					value = 0.90
				}
				NOT = {
					has_global_modifier_value = {
					which = urban_goods_produced_modifier 
					value = 0.95
					}
				}
			}
			every_owned_province = {
				limit = {
					has_urban_goods = yes
				}
				remove_urban_goods_produced = yes
				add_province_modifier = {
					name = "urban_goods_produced_18"
					duration = -1
					hidden = yes
				}
			}
		}
		else_if = {
			limit = {
				has_global_modifier_value = {
					which = urban_goods_produced_modifier 
					value = 0.95
				}
				NOT = {
					has_global_modifier_value = {
					which = urban_goods_produced_modifier 
					value = 1.00
					}
				}
			}
			every_owned_province = {
				limit = {
					has_urban_goods = yes
				}
				remove_urban_goods_produced = yes
				add_province_modifier = {
					name = "urban_goods_produced_19"
					duration = -1
					hidden = yes
				}
			}
		}
		else_if = {
			limit = {
				has_global_modifier_value = {
					which = urban_goods_produced_modifier 
					value = 1.00
				}
			}
			every_owned_province = {
				limit = {
					has_urban_goods = yes
				}
				remove_urban_goods_produced = yes
				add_province_modifier = {
					name = "urban_goods_produced_20"
					duration = -1
					hidden = yes
				}
			}
		}
	}
}

country_event = {
	id = GE_script_events.5
	title = GE_script_events.5.t
	desc = GE_script_events.5.d
	picture = WESTERNISATION_eventPicture
	hidden = yes
	
	is_triggered_only = yes
	
	# trigger = {
	# 	OR = {
	# 		has_global_modifier_value = {
	# 			which = mining_goods_produced_modifier 
	# 			value = 0.05
	# 		}
	# 		NOT = {
	# 			has_global_modifier_value = {
	# 				which = mining_goods_produced_modifier
	# 				value = -0.04
	# 			}
	# 		}
	# 	}
	# }
	
	# mean_time_to_happen = {
	# 	days = 30
	# }
	
	immediate = {
	}
	
	option = {
		name = GE_script_events.2.a
		if = {
			limit = {
				NOT = {
					has_global_modifier_value = {
						which = mining_goods_produced_modifier 
						value = -0.04
					}
				}
			}
			if = {
				limit = {
					has_global_modifier_value = {
						which = mining_goods_produced_modifier 
						value = -0.09
					}
					NOT = {
						has_global_modifier_value = {
						which = mining_goods_produced_modifier 
						value = -0.04
						}
					}
				}
				every_owned_province = {
					limit = {
						has_mining_goods = yes
					}
					remove_mining_goods_produced = yes
					add_province_modifier = {
						name = "mining_goods_produced_001"
						duration = -1
						hidden = yes
					}
				}
			}
			else_if = {
				limit = {
					has_global_modifier_value = {
						which = mining_goods_produced_modifier 
						value = -0.14
					}
					NOT = {
						has_global_modifier_value = {
						which = mining_goods_produced_modifier 
						value = -0.04
						}
					}
				}
				every_owned_province = {
					limit = {
						has_mining_goods = yes
					}
					remove_mining_goods_produced = yes
					add_province_modifier = {
						name = "mining_goods_produced_002"
						duration = -1
						hidden = yes
					}
				}
			}
			else_if = {
				limit = {
					has_global_modifier_value = {
						which = mining_goods_produced_modifier 
						value = -0.19
					}
					NOT = {
						has_global_modifier_value = {
						which = mining_goods_produced_modifier 
						value = -0.14
						}
					}
				}
				every_owned_province = {
					limit = {
						has_mining_goods = yes
					}
					remove_mining_goods_produced = yes
					add_province_modifier = {
						name = "mining_goods_produced_003"
						duration = -1
						hidden = yes
					}
				}
			}
			else_if = {
				limit = {
					has_global_modifier_value = {
						which = mining_goods_produced_modifier 
						value = -0.24
					}
					NOT = {
						has_global_modifier_value = {
						which = mining_goods_produced_modifier 
						value = -0.19
						}
					}
				}
				every_owned_province = {
					limit = {
						has_mining_goods = yes
					}
					remove_mining_goods_produced = yes
					add_province_modifier = {
						name = "mining_goods_produced_004"
						duration = -1
						hidden = yes
					}
				}
			}
			else_if = {
				limit = {
					has_global_modifier_value = {
						which = mining_goods_produced_modifier 
						value = -0.29
					}
					NOT = {
						has_global_modifier_value = {
						which = mining_goods_produced_modifier 
						value = -0.24
						}
					}
				}
				every_owned_province = {
					limit = {
						has_mining_goods = yes
					}
					remove_mining_goods_produced = yes
					add_province_modifier = {
						name = "mining_goods_produced_005"
						duration = -1
						hidden = yes
					}
				}
			}
			else_if = {
				limit = {
					has_global_modifier_value = {
						which = mining_goods_produced_modifier 
						value = -0.34
					}
					NOT = {
						has_global_modifier_value = {
						which = mining_goods_produced_modifier 
						value = -0.29
						}
					}
				}
				every_owned_province = {
					limit = {
						has_mining_goods = yes
					}
					remove_mining_goods_produced = yes
					add_province_modifier = {
						name = "mining_goods_produced_006"
						duration = -1
						hidden = yes
					}
				}
			}
			else_if = {
				limit = {
					has_global_modifier_value = {
						which = mining_goods_produced_modifier 
						value = -0.39
					}
					NOT = {
						has_global_modifier_value = {
						which = mining_goods_produced_modifier 
						value = -0.34
						}
					}
				}
				every_owned_province = {
					limit = {
						has_mining_goods = yes
					}
					remove_mining_goods_produced = yes
					add_province_modifier = {
						name = "mining_goods_produced_007"
						duration = -1
						hidden = yes
					}
				}
			}
			else_if = {
				limit = {
					has_global_modifier_value = {
						which = mining_goods_produced_modifier 
						value = -0.44
					}
					NOT = {
						has_global_modifier_value = {
						which = mining_goods_produced_modifier 
						value = -0.39
						}
					}
				}
				every_owned_province = {
					limit = {
						has_mining_goods = yes
					}
					remove_mining_goods_produced = yes
					add_province_modifier = {
						name = "mining_goods_produced_008"
						duration = -1
						hidden = yes
					}
				}
			}
			else_if = {
				limit = {
					has_global_modifier_value = {
						which = mining_goods_produced_modifier 
						value = -0.49
					}
					NOT = {
						has_global_modifier_value = {
						which = mining_goods_produced_modifier 
						value = -0.44
						}
					}
				}
				every_owned_province = {
					limit = {
						has_mining_goods = yes
					}
					remove_mining_goods_produced = yes
					add_province_modifier = {
						name = "mining_goods_produced_009"
						duration = -1
						hidden = yes
					}
				}
			}
		}
		if = {
			limit = {
				has_global_modifier_value = {
					which = mining_goods_produced_modifier 
					value = 0.05
				}
				NOT = {
					has_global_modifier_value = {
					which = mining_goods_produced_modifier 
					value = 0.10
					}
				}
			}
			every_owned_province = {
				limit = {
					has_mining_goods = yes
				}
				remove_mining_goods_produced = yes
				add_province_modifier = {
					name = "mining_goods_produced_1"
					duration = -1
					hidden = yes
				}
			}
		}
		else_if = {
			limit = {
				has_global_modifier_value = {
					which = mining_goods_produced_modifier 
					value = 0.10
				}
				NOT = {
					has_global_modifier_value = {
					which = mining_goods_produced_modifier 
					value = 0.15
					}
				}
			}
			every_owned_province = {
				limit = {
					has_mining_goods = yes
				}
				remove_mining_goods_produced = yes
				add_province_modifier = {
					name = "mining_goods_produced_2"
					duration = -1
					hidden = yes
				}
			}
		}
		else_if = {
			limit = {
				has_global_modifier_value = {
					which = mining_goods_produced_modifier 
					value = 0.15
				}
				NOT = {
					has_global_modifier_value = {
					which = mining_goods_produced_modifier 
					value = 0.20
					}
				}
			}
			every_owned_province = {
				limit = {
					has_mining_goods = yes
				}
				remove_mining_goods_produced = yes
				add_province_modifier = {
					name = "mining_goods_produced_3"
					duration = -1
					hidden = yes
				}
			}
		}
		else_if = {
			limit = {
				has_global_modifier_value = {
					which = mining_goods_produced_modifier 
					value = 0.20
				}
				NOT = {
					has_global_modifier_value = {
					which = mining_goods_produced_modifier 
					value = 0.25
					}
				}
			}
			every_owned_province = {
				limit = {
					has_mining_goods = yes
				}
				remove_mining_goods_produced = yes
				add_province_modifier = {
					name = "mining_goods_produced_4"
					duration = -1
					hidden = yes
				}
			}
		}
		else_if = {
			limit = {
				has_global_modifier_value = {
					which = mining_goods_produced_modifier 
					value = 0.25
				}
				NOT = {
					has_global_modifier_value = {
					which = mining_goods_produced_modifier 
					value = 0.30
					}
				}
			}
			every_owned_province = {
				limit = {
					has_mining_goods = yes
				}
				remove_mining_goods_produced = yes
				add_province_modifier = {
					name = "mining_goods_produced_5"
					duration = -1
					hidden = yes
				}
			}
		}
		else_if = {
			limit = {
				has_global_modifier_value = {
					which = mining_goods_produced_modifier 
					value = 0.30
				}
				NOT = {
					has_global_modifier_value = {
					which = mining_goods_produced_modifier 
					value = 0.35
					}
				}
			}
			every_owned_province = {
				limit = {
					has_mining_goods = yes
				}
				remove_mining_goods_produced = yes
				add_province_modifier = {
					name = "mining_goods_produced_6"
					duration = -1
					hidden = yes
				}
			}
		}
		else_if = {
			limit = {
				has_global_modifier_value = {
					which = mining_goods_produced_modifier 
					value = 0.35
				}
				NOT = {
					has_global_modifier_value = {
					which = mining_goods_produced_modifier 
					value = 0.40
					}
				}
			}
			every_owned_province = {
				limit = {
					has_mining_goods = yes
				}
				remove_mining_goods_produced = yes
				add_province_modifier = {
					name = "mining_goods_produced_7"
					duration = -1
					hidden = yes
				}
			}
		}
		else_if = {
			limit = {
				has_global_modifier_value = {
					which = mining_goods_produced_modifier 
					value = 0.40
				}
				NOT = {
					has_global_modifier_value = {
					which = mining_goods_produced_modifier 
					value = 0.45
					}
				}
			}
			every_owned_province = {
				limit = {
					has_mining_goods = yes
				}
				remove_mining_goods_produced = yes
				add_province_modifier = {
					name = "mining_goods_produced_8"
					duration = -1
					hidden = yes
				}
			}
		}
		else_if = {
			limit = {
				has_global_modifier_value = {
					which = mining_goods_produced_modifier 
					value = 0.45
				}
				NOT = {
					has_global_modifier_value = {
					which = mining_goods_produced_modifier 
					value = 0.50
					}
				}
			}
			every_owned_province = {
				limit = {
					has_mining_goods = yes
				}
				remove_mining_goods_produced = yes
				add_province_modifier = {
					name = "mining_goods_produced_9"
					duration = -1
					hidden = yes
				}
			}
		}
		else_if = {
			limit = {
				has_global_modifier_value = {
					which = mining_goods_produced_modifier 
					value = 0.50
				}
				NOT = {
					has_global_modifier_value = {
					which = mining_goods_produced_modifier 
					value = 0.55
					}
				}
			}
			every_owned_province = {
				limit = {
					has_mining_goods = yes
				}
				remove_mining_goods_produced = yes
				add_province_modifier = {
					name = "mining_goods_produced_10"
					duration = -1
					hidden = yes
				}
			}
		}
		else_if = {
			limit = {
				has_global_modifier_value = {
					which = mining_goods_produced_modifier 
					value = 0.55
				}
				NOT = {
					has_global_modifier_value = {
					which = mining_goods_produced_modifier 
					value = 0.60
					}
				}
			}
			every_owned_province = {
				limit = {
					has_mining_goods = yes
				}
				remove_mining_goods_produced = yes
				add_province_modifier = {
					name = "mining_goods_produced_11"
					duration = -1
					hidden = yes
				}
			}
		}
		else_if = {
			limit = {
				has_global_modifier_value = {
					which = mining_goods_produced_modifier 
					value = 0.60
				}
				NOT = {
					has_global_modifier_value = {
					which = mining_goods_produced_modifier 
					value = 0.65
					}
				}
			}
			every_owned_province = {
				limit = {
					has_mining_goods = yes
				}
				remove_mining_goods_produced = yes
				add_province_modifier = {
					name = "mining_goods_produced_12"
					duration = -1
					hidden = yes
				}
			}
		}
		else_if = {
			limit = {
				has_global_modifier_value = {
					which = mining_goods_produced_modifier 
					value = 0.65
				}
				NOT = {
					has_global_modifier_value = {
					which = mining_goods_produced_modifier 
					value = 0.70
					}
				}
			}
			every_owned_province = {
				limit = {
					has_mining_goods = yes
				}
				remove_mining_goods_produced = yes
				add_province_modifier = {
					name = "mining_goods_produced_13"
					duration = -1
					hidden = yes
				}
			}
		}
		else_if = {
			limit = {
				has_global_modifier_value = {
					which = mining_goods_produced_modifier 
					value = 0.70
				}
				NOT = {
					has_global_modifier_value = {
					which = mining_goods_produced_modifier 
					value = 0.75
					}
				}
			}
			every_owned_province = {
				limit = {
					has_mining_goods = yes
				}
				remove_mining_goods_produced = yes
				add_province_modifier = {
					name = "mining_goods_produced_14"
					duration = -1
					hidden = yes
				}
			}
		}
		else_if = {
			limit = {
				has_global_modifier_value = {
					which = mining_goods_produced_modifier 
					value = 0.75
				}
				NOT = {
					has_global_modifier_value = {
					which = mining_goods_produced_modifier 
					value = 0.80
					}
				}
			}
			every_owned_province = {
				limit = {
					has_mining_goods = yes
				}
				remove_mining_goods_produced = yes
				add_province_modifier = {
					name = "mining_goods_produced_15"
					duration = -1
					hidden = yes
				}
			}
		}
		else_if = {
			limit = {
				has_global_modifier_value = {
					which = mining_goods_produced_modifier 
					value = 0.80
				}
				NOT = {
					has_global_modifier_value = {
					which = mining_goods_produced_modifier 
					value = 0.85
					}
				}
			}
			every_owned_province = {
				limit = {
					has_mining_goods = yes
				}
				remove_mining_goods_produced = yes
				add_province_modifier = {
					name = "mining_goods_produced_16"
					duration = -1
					hidden = yes
				}
			}
		}
		else_if = {
			limit = {
				has_global_modifier_value = {
					which = mining_goods_produced_modifier 
					value = 0.85
				}
				NOT = {
					has_global_modifier_value = {
					which = mining_goods_produced_modifier 
					value = 0.90
					}
				}
			}
			every_owned_province = {
				limit = {
					has_mining_goods = yes
				}
				remove_mining_goods_produced = yes
				add_province_modifier = {
					name = "mining_goods_produced_17"
					duration = -1
					hidden = yes
				}
			}
		}
		else_if = {
			limit = {
				has_global_modifier_value = {
					which = mining_goods_produced_modifier 
					value = 0.90
				}
				NOT = {
					has_global_modifier_value = {
					which = mining_goods_produced_modifier 
					value = 0.95
					}
				}
			}
			every_owned_province = {
				limit = {
					has_mining_goods = yes
				}
				remove_mining_goods_produced = yes
				add_province_modifier = {
					name = "mining_goods_produced_18"
					duration = -1
					hidden = yes
				}
			}
		}
		else_if = {
			limit = {
				has_global_modifier_value = {
					which = mining_goods_produced_modifier 
					value = 0.95
				}
				NOT = {
					has_global_modifier_value = {
					which = mining_goods_produced_modifier 
					value = 1.00
					}
				}
			}
			every_owned_province = {
				limit = {
					has_mining_goods = yes
				}
				remove_mining_goods_produced = yes
				add_province_modifier = {
					name = "mining_goods_produced_19"
					duration = -1
					hidden = yes
				}
			}
		}
		else_if = {
			limit = {
				has_global_modifier_value = {
					which = mining_goods_produced_modifier 
					value = 1.00
				}
			}
			every_owned_province = {
				limit = {
					has_mining_goods = yes
				}
				remove_mining_goods_produced = yes
				add_province_modifier = {
					name = "mining_goods_produced_20"
					duration = -1
					hidden = yes
				}
			}
		}
	}
}

country_event = {
	id = GE_script_events.6
	title = GE_script_events.6.t
	desc = GE_script_events.6.d
	picture = WESTERNISATION_eventPicture
	hidden = yes
	
	is_triggered_only = yes
	
	# trigger = {
	# 	OR = {
	# 		has_global_modifier_value = {
	# 			which = plantage_goods_produced_modifier 
	# 			value = 0.05
	# 		}
	# 		NOT = {
	# 			has_global_modifier_value = {
	# 				which = plantage_goods_produced_modifier
	# 				value = -0.04
	# 			}
	# 		}
	# 	}
	# }
	
	# mean_time_to_happen = {
	# 	days = 30
	# }
	
	immediate = {
	}
	
	option = {
		name = GE_script_events.2.a
		if = {
			limit = {
				NOT = {
					has_global_modifier_value = {
						which = plantage_goods_produced_modifier 
						value = -0.04
					}
				}
			}
			if = {
				limit = {
					has_global_modifier_value = {
						which = plantage_goods_produced_modifier 
						value = -0.09
					}
					NOT = {
						has_global_modifier_value = {
						which = plantage_goods_produced_modifier 
						value = -0.04
						}
					}
				}
				every_owned_province = {
					limit = {
						has_plantage_goods = yes
					}
					remove_plantage_goods_produced = yes
					add_province_modifier = {
						name = "plantage_goods_produced_001"
						duration = -1
						hidden = yes
					}
				}
			}
			else_if = {
				limit = {
					has_global_modifier_value = {
						which = plantage_goods_produced_modifier 
						value = -0.14
					}
					NOT = {
						has_global_modifier_value = {
						which = plantage_goods_produced_modifier 
						value = -0.04
						}
					}
				}
				every_owned_province = {
					limit = {
						has_plantage_goods = yes
					}
					remove_plantage_goods_produced = yes
					add_province_modifier = {
						name = "plantage_goods_produced_002"
						duration = -1
						hidden = yes
					}
				}
			}
			else_if = {
				limit = {
					has_global_modifier_value = {
						which = plantage_goods_produced_modifier 
						value = -0.19
					}
					NOT = {
						has_global_modifier_value = {
						which = plantage_goods_produced_modifier 
						value = -0.14
						}
					}
				}
				every_owned_province = {
					limit = {
						has_plantage_goods = yes
					}
					remove_plantage_goods_produced = yes
					add_province_modifier = {
						name = "plantage_goods_produced_003"
						duration = -1
						hidden = yes
					}
				}
			}
			else_if = {
				limit = {
					has_global_modifier_value = {
						which = plantage_goods_produced_modifier 
						value = -0.24
					}
					NOT = {
						has_global_modifier_value = {
						which = plantage_goods_produced_modifier 
						value = -0.19
						}
					}
				}
				every_owned_province = {
					limit = {
						has_plantage_goods = yes
					}
					remove_plantage_goods_produced = yes
					add_province_modifier = {
						name = "plantage_goods_produced_004"
						duration = -1
						hidden = yes
					}
				}
			}
			else_if = {
				limit = {
					has_global_modifier_value = {
						which = plantage_goods_produced_modifier 
						value = -0.29
					}
					NOT = {
						has_global_modifier_value = {
						which = plantage_goods_produced_modifier 
						value = -0.24
						}
					}
				}
				every_owned_province = {
					limit = {
						has_plantage_goods = yes
					}
					remove_plantage_goods_produced = yes
					add_province_modifier = {
						name = "plantage_goods_produced_005"
						duration = -1
						hidden = yes
					}
				}
			}
			else_if = {
				limit = {
					has_global_modifier_value = {
						which = plantage_goods_produced_modifier 
						value = -0.34
					}
					NOT = {
						has_global_modifier_value = {
						which = plantage_goods_produced_modifier 
						value = -0.29
						}
					}
				}
				every_owned_province = {
					limit = {
						has_plantage_goods = yes
					}
					remove_plantage_goods_produced = yes
					add_province_modifier = {
						name = "plantage_goods_produced_006"
						duration = -1
						hidden = yes
					}
				}
			}
			else_if = {
				limit = {
					has_global_modifier_value = {
						which = plantage_goods_produced_modifier 
						value = -0.39
					}
					NOT = {
						has_global_modifier_value = {
						which = plantage_goods_produced_modifier 
						value = -0.34
						}
					}
				}
				every_owned_province = {
					limit = {
						has_plantage_goods = yes
					}
					remove_plantage_goods_produced = yes
					add_province_modifier = {
						name = "plantage_goods_produced_007"
						duration = -1
						hidden = yes
					}
				}
			}
			else_if = {
				limit = {
					has_global_modifier_value = {
						which = plantage_goods_produced_modifier 
						value = -0.44
					}
					NOT = {
						has_global_modifier_value = {
						which = plantage_goods_produced_modifier 
						value = -0.39
						}
					}
				}
				every_owned_province = {
					limit = {
						has_plantage_goods = yes
					}
					remove_plantage_goods_produced = yes
					add_province_modifier = {
						name = "plantage_goods_produced_008"
						duration = -1
						hidden = yes
					}
				}
			}
			else_if = {
				limit = {
					has_global_modifier_value = {
						which = plantage_goods_produced_modifier 
						value = -0.49
					}
					NOT = {
						has_global_modifier_value = {
						which = plantage_goods_produced_modifier 
						value = -0.44
						}
					}
				}
				every_owned_province = {
					limit = {
						has_plantage_goods = yes
					}
					remove_plantage_goods_produced = yes
					add_province_modifier = {
						name = "plantage_goods_produced_009"
						duration = -1
						hidden = yes
					}
				}
			}
		}
		if = {
			limit = {
				has_global_modifier_value = {
					which = plantage_goods_produced_modifier 
					value = 0.05
				}
				NOT = {
					has_global_modifier_value = {
					which = plantage_goods_produced_modifier 
					value = 0.10
					}
				}
			}
			every_owned_province = {
				limit = {
					has_plantage_goods = yes
				}
				remove_plantage_goods_produced = yes
				add_province_modifier = {
					name = "plantage_goods_produced_1"
					duration = -1
					hidden = yes
				}
			}
		}
		else_if = {
			limit = {
				has_global_modifier_value = {
					which = plantage_goods_produced_modifier 
					value = 0.10
				}
				NOT = {
					has_global_modifier_value = {
					which = plantage_goods_produced_modifier 
					value = 0.15
					}
				}
			}
			every_owned_province = {
				limit = {
					has_plantage_goods = yes
				}
				remove_plantage_goods_produced = yes
				add_province_modifier = {
					name = "plantage_goods_produced_2"
					duration = -1
					hidden = yes
				}
			}
		}
		else_if = {
			limit = {
				has_global_modifier_value = {
					which = plantage_goods_produced_modifier 
					value = 0.15
				}
				NOT = {
					has_global_modifier_value = {
					which = plantage_goods_produced_modifier 
					value = 0.20
					}
				}
			}
			every_owned_province = {
				limit = {
					has_plantage_goods = yes
				}
				remove_plantage_goods_produced = yes
				add_province_modifier = {
					name = "plantage_goods_produced_3"
					duration = -1
					hidden = yes
				}
			}
		}
		else_if = {
			limit = {
				has_global_modifier_value = {
					which = plantage_goods_produced_modifier 
					value = 0.20
				}
				NOT = {
					has_global_modifier_value = {
					which = plantage_goods_produced_modifier 
					value = 0.25
					}
				}
			}
			every_owned_province = {
				limit = {
					has_plantage_goods = yes
				}
				remove_plantage_goods_produced = yes
				add_province_modifier = {
					name = "plantage_goods_produced_4"
					duration = -1
					hidden = yes
				}
			}
		}
		else_if = {
			limit = {
				has_global_modifier_value = {
					which = plantage_goods_produced_modifier 
					value = 0.25
				}
				NOT = {
					has_global_modifier_value = {
					which = plantage_goods_produced_modifier 
					value = 0.30
					}
				}
			}
			every_owned_province = {
				limit = {
					has_plantage_goods = yes
				}
				remove_plantage_goods_produced = yes
				add_province_modifier = {
					name = "plantage_goods_produced_5"
					duration = -1
					hidden = yes
				}
			}
		}
		else_if = {
			limit = {
				has_global_modifier_value = {
					which = plantage_goods_produced_modifier 
					value = 0.30
				}
				NOT = {
					has_global_modifier_value = {
					which = plantage_goods_produced_modifier 
					value = 0.35
					}
				}
			}
			every_owned_province = {
				limit = {
					has_plantage_goods = yes
				}
				remove_plantage_goods_produced = yes
				add_province_modifier = {
					name = "plantage_goods_produced_6"
					duration = -1
					hidden = yes
				}
			}
		}
		else_if = {
			limit = {
				has_global_modifier_value = {
					which = plantage_goods_produced_modifier 
					value = 0.35
				}
				NOT = {
					has_global_modifier_value = {
					which = plantage_goods_produced_modifier 
					value = 0.40
					}
				}
			}
			every_owned_province = {
				limit = {
					has_plantage_goods = yes
				}
				remove_plantage_goods_produced = yes
				add_province_modifier = {
					name = "plantage_goods_produced_7"
					duration = -1
					hidden = yes
				}
			}
		}
		else_if = {
			limit = {
				has_global_modifier_value = {
					which = plantage_goods_produced_modifier 
					value = 0.40
				}
				NOT = {
					has_global_modifier_value = {
					which = plantage_goods_produced_modifier 
					value = 0.45
					}
				}
			}
			every_owned_province = {
				limit = {
					has_plantage_goods = yes
				}
				remove_plantage_goods_produced = yes
				add_province_modifier = {
					name = "plantage_goods_produced_8"
					duration = -1
					hidden = yes
				}
			}
		}
		else_if = {
			limit = {
				has_global_modifier_value = {
					which = plantage_goods_produced_modifier 
					value = 0.45
				}
				NOT = {
					has_global_modifier_value = {
					which = plantage_goods_produced_modifier 
					value = 0.50
					}
				}
			}
			every_owned_province = {
				limit = {
					has_plantage_goods = yes
				}
				remove_plantage_goods_produced = yes
				add_province_modifier = {
					name = "plantage_goods_produced_9"
					duration = -1
					hidden = yes
				}
			}
		}
		else_if = {
			limit = {
				has_global_modifier_value = {
					which = plantage_goods_produced_modifier 
					value = 0.50
				}
				NOT = {
					has_global_modifier_value = {
					which = plantage_goods_produced_modifier 
					value = 0.55
					}
				}
			}
			every_owned_province = {
				limit = {
					has_plantage_goods = yes
				}
				remove_plantage_goods_produced = yes
				add_province_modifier = {
					name = "plantage_goods_produced_10"
					duration = -1
					hidden = yes
				}
			}
		}
		else_if = {
			limit = {
				has_global_modifier_value = {
					which = plantage_goods_produced_modifier 
					value = 0.55
				}
				NOT = {
					has_global_modifier_value = {
					which = plantage_goods_produced_modifier 
					value = 0.60
					}
				}
			}
			every_owned_province = {
				limit = {
					has_plantage_goods = yes
				}
				remove_plantage_goods_produced = yes
				add_province_modifier = {
					name = "plantage_goods_produced_11"
					duration = -1
					hidden = yes
				}
			}
		}
		else_if = {
			limit = {
				has_global_modifier_value = {
					which = plantage_goods_produced_modifier 
					value = 0.60
				}
				NOT = {
					has_global_modifier_value = {
					which = plantage_goods_produced_modifier 
					value = 0.65
					}
				}
			}
			every_owned_province = {
				limit = {
					has_plantage_goods = yes
				}
				remove_plantage_goods_produced = yes
				add_province_modifier = {
					name = "plantage_goods_produced_12"
					duration = -1
					hidden = yes
				}
			}
		}
		else_if = {
			limit = {
				has_global_modifier_value = {
					which = plantage_goods_produced_modifier 
					value = 0.65
				}
				NOT = {
					has_global_modifier_value = {
					which = plantage_goods_produced_modifier 
					value = 0.70
					}
				}
			}
			every_owned_province = {
				limit = {
					has_plantage_goods = yes
				}
				remove_plantage_goods_produced = yes
				add_province_modifier = {
					name = "plantage_goods_produced_13"
					duration = -1
					hidden = yes
				}
			}
		}
		else_if = {
			limit = {
				has_global_modifier_value = {
					which = plantage_goods_produced_modifier 
					value = 0.70
				}
				NOT = {
					has_global_modifier_value = {
					which = plantage_goods_produced_modifier 
					value = 0.75
					}
				}
			}
			every_owned_province = {
				limit = {
					has_plantage_goods = yes
				}
				remove_plantage_goods_produced = yes
				add_province_modifier = {
					name = "plantage_goods_produced_14"
					duration = -1
					hidden = yes
				}
			}
		}
		else_if = {
			limit = {
				has_global_modifier_value = {
					which = plantage_goods_produced_modifier 
					value = 0.75
				}
				NOT = {
					has_global_modifier_value = {
					which = plantage_goods_produced_modifier 
					value = 0.80
					}
				}
			}
			every_owned_province = {
				limit = {
					has_plantage_goods = yes
				}
				remove_plantage_goods_produced = yes
				add_province_modifier = {
					name = "plantage_goods_produced_15"
					duration = -1
					hidden = yes
				}
			}
		}
		else_if = {
			limit = {
				has_global_modifier_value = {
					which = plantage_goods_produced_modifier 
					value = 0.80
				}
				NOT = {
					has_global_modifier_value = {
					which = plantage_goods_produced_modifier 
					value = 0.85
					}
				}
			}
			every_owned_province = {
				limit = {
					has_plantage_goods = yes
				}
				remove_plantage_goods_produced = yes
				add_province_modifier = {
					name = "plantage_goods_produced_16"
					duration = -1
					hidden = yes
				}
			}
		}
		else_if = {
			limit = {
				has_global_modifier_value = {
					which = plantage_goods_produced_modifier 
					value = 0.85
				}
				NOT = {
					has_global_modifier_value = {
					which = plantage_goods_produced_modifier 
					value = 0.90
					}
				}
			}
			every_owned_province = {
				limit = {
					has_plantage_goods = yes
				}
				remove_plantage_goods_produced = yes
				add_province_modifier = {
					name = "plantage_goods_produced_17"
					duration = -1
					hidden = yes
				}
			}
		}
		else_if = {
			limit = {
				has_global_modifier_value = {
					which = plantage_goods_produced_modifier 
					value = 0.90
				}
				NOT = {
					has_global_modifier_value = {
					which = plantage_goods_produced_modifier 
					value = 0.95
					}
				}
			}
			every_owned_province = {
				limit = {
					has_plantage_goods = yes
				}
				remove_plantage_goods_produced = yes
				add_province_modifier = {
					name = "plantage_goods_produced_18"
					duration = -1
					hidden = yes
				}
			}
		}
		else_if = {
			limit = {
				has_global_modifier_value = {
					which = plantage_goods_produced_modifier 
					value = 0.95
				}
				NOT = {
					has_global_modifier_value = {
					which = plantage_goods_produced_modifier 
					value = 1.00
					}
				}
			}
			every_owned_province = {
				limit = {
					has_plantage_goods = yes
				}
				remove_plantage_goods_produced = yes
				add_province_modifier = {
					name = "plantage_goods_produced_19"
					duration = -1
					hidden = yes
				}
			}
		}
		else_if = {
			limit = {
				has_global_modifier_value = {
					which = plantage_goods_produced_modifier 
					value = 1.00
				}
			}
			every_owned_province = {
				limit = {
					has_plantage_goods = yes
				}
				remove_plantage_goods_produced = yes
				add_province_modifier = {
					name = "plantage_goods_produced_20"
					duration = -1
					hidden = yes
				}
			}
		}
	}
}


























