add_namespace = BUL

#question of argiculture
country_event = {
	id = BUL.1
	title = BUL.1.t
	desc = BUL.1.d
	picture = GFX_report_event_bulgaria

	is_triggered_only = yes

	option = {
		name = BUL.1.o1
		set_country_flag = decided_to_keep_agriculture


		ai_chance = {
			factor = 50
		}
	}

	option = {
		name = BUL.1.o2
		set_country_flag = decided_to_industrialize


		ai_chance = {
			factor = 50
		}
	}

}

#army budget
country_event = {
	id = BUL.2
	title = BUL.2.t
	desc = BUL.2.d
	picture = GFX_report_event_bulgaria

	is_triggered_only = yes

	option = {
		name = BUL.2.o1 #millitary focus
		add_offsite_building = { type = arms_factory level = 1 }
		add_doctrine_cost_reduction = {
			name = armydoctrine_bonus
			cost_reduction = 0.5
			uses = 1
			category = land_doctrine
		}


		ai_chance = {
			factor = 50
		}
	}

	option = {
		name = BUL.2.o2 #navy focus
		add_offsite_building = { type = dockyard level = 1 }
		add_tech_bonus = {
			name = tech_bonus
			bonus = 0.5
			uses = 1
			category = naval_doctrine
		}


		ai_chance = {
			factor = 25
		}
	}
	option = {
		name = BUL.2.o3 #air focus
		if = {
			limit = {
				NOT = {has_dlc = "By Blood Alone"}
			}
			add_equipment_to_stockpile = {
				type = fighter_equipment_3
				amount = 30
				producer = BUL
			}
		}
		else = {
			add_equipment_to_stockpile = {
				type = medium_plane_airframe_1
				amount = 30
				producer = BUL
			}
		}
		if = {
			limit = {
				NOT = {has_dlc = "By Blood Alone"}
			}
			add_equipment_to_stockpile = {
				type = CAS_equipment_2
				amount = 15
				producer = BUL
			}
		}
		else = {
			add_equipment_to_stockpile = {
				type = small_plane_airframe_1
				amount = 15
				producer = BUL
			}
		}
		add_doctrine_cost_reduction = {
			name = tech_bonus
			cost_reduction = 0.5
			uses = 1
			category = air_doctrine
		}


		ai_chance = {
			factor = 25
		}
	}

}
#Ships to BUL?
country_event = {
	id = BUL.3
	title = BUL.3.t
	desc = BUL.3.d
	picture = GFX_report_event_bulgaria

	is_triggered_only = yes

	option = { #sell ships
		name = BUL.3.o1
		BUL = { country_event = BUL.4 }
		add_timed_idea = {
			idea = BUL_sold_ships
			days = 365
		}


		ai_chance = {
			factor = 80 #histroicly the ships were sold
		}
	}

	option = { #don't sell ships
		name = BUL.3.o2
		BUL = { country_event = BUL.5 }

		ai_chance = {
			factor = 20
		}
	}

}

#Belgium aggred
country_event = {
	id = BUL.4
	title = BUL.4.t
	desc = BUL.4.d
	picture = GFX_report_event_bulgaria

	is_triggered_only = yes

	option = { #yey
		name = BUL.4.o1
		hidden_effect = {
			BEL = {
				create_equipment_variant = { #this is weak ship but it's not ment to be too op
					name = "Wielingen-class"
					type = ship_hull_light_1 #the ships that BUL bought were really old
					name_group = BEL_DD_HISTORICAL
					parent_version = 0
					modules = {
						fixed_ship_battery_slot = ship_light_battery_1
						fixed_ship_anti_air_slot = empty
						fixed_ship_fire_control_system_slot = ship_fire_control_system_0
						fixed_ship_radar_slot = empty
						fixed_ship_engine_slot = light_ship_engine_2
						fixed_ship_torpedo_slot = ship_torpedo_1
						mid_1_custom_slot = ship_mine_layer_1
						rear_1_custom_slot = ship_depth_charge_1
					}
				}
			}
			create_equipment_variant = { #this is weak ship but it's not ment to be too op
				name = "Wielingen-class"
				type = ship_hull_light_1 #the ships that BUL bought were really old
				name_group = BEL_DD_HISTORICAL
				parent_version = 0
				modules = {
					fixed_ship_battery_slot = ship_light_battery_1
					fixed_ship_anti_air_slot = empty
					fixed_ship_fire_control_system_slot = ship_fire_control_system_0
					fixed_ship_radar_slot = empty
					fixed_ship_engine_slot = light_ship_engine_2
					fixed_ship_torpedo_slot = ship_torpedo_1
					mid_1_custom_slot = ship_mine_layer_1
					rear_1_custom_slot = ship_depth_charge_1
				}
			}
		}
		create_ship = { type = ship_hull_light_1 equipment_variant = "Wielingen-class" creator = BEL }
		create_ship = { type = ship_hull_light_1 equipment_variant = "Wielingen-class" creator = BEL }
		create_ship = { type = ship_hull_light_1 equipment_variant = "Wielingen-class" creator = BEL }
		add_timed_idea = {
			idea = BUL_bought_ships
			days = 300
		}


		ai_chance = {
			factor = 100
		}
	}
}

#Belgium declined
country_event = {
	id = BUL.5
	title = BUL.5.t
	desc = BUL.5.d
	picture = GFX_report_event_bulgaria

	is_triggered_only = yes

	option = { #oh... well
		name = BUL.5.o1
		add_political_power = 30


		ai_chance = {
			factor = 100
		}
	}
}

#question of monarch's power
country_event = {
	id = BUL.6
	title = BUL.6.t
	desc = BUL.6.d
	picture = GFX_report_event_bulgaria

	is_triggered_only = yes

	option = {
		name = BUL.6.o1
		set_country_flag = constitutional_monarchy


		ai_chance = {
			factor = 50
		}
	}

	option = {
		name = BUL.6.o2
		set_country_flag = absolute_monarchy


		ai_chance = {
			factor = 50
		}
	}

}

#BUL wants Thrace
country_event = {
	id = BUL.7
	title = BUL.7.t
	desc = BUL.7.d
	picture = GFX_report_event_bulgaria

	is_triggered_only = yes

	option = {
		name = BUL.7.o1
		BUL = { country_event = diplomatic_response.1 }
		BUL = { transfer_state = 184 }
		184 = { add_core_of = BUL }

		ai_chance = {
			factor = 80
		}
	}

	option = {
		name = BUL.7.o2
		BUL = { country_event = diplomatic_response.2 }


		ai_chance = {
			factor = 20
		}
	}

}

#BUL wans us to be thier puppet
country_event = {
	id = BUL.8
	title = BUL.8.t
	desc = BUL.8.d
	picture = GFX_report_event_bulgaria

	is_triggered_only = yes

	option = {
		BUL = { country_event = diplomatic_response.1 }
		name = BUL.8.o1
		BUL = {
			puppet = ROOT
		}
		ai_chance = {
			factor = 70
		}
	}

	option = {
		name = BUL.8.o2
		BUL = { country_event = { id = diplomatic_response.2 } }


		ai_chance = {
			factor = 30
		}
	}

}
#Invitation to BUL faction
country_event = {
	id = BUL.9
	title = BUL.9.t
	desc = BUL.9.d
	picture = GFX_report_event_bulgaria

	is_triggered_only = yes

	option = {	#Accept
		name = BUL.9.o1
		BUL = { add_to_faction = ROOT }
		set_country_flag = seeks_Bulgarian_alliance
		BUL = { country_event = diplomatic_response.1 }
		ai_chance = {
			factor = 70
			modifier = {
				factor = 40
				is_neutral = yes
			}
			modifier = {
				factor = 50
				is_in_faction = yes
			}
		}
	}
	option = {	#Decline
		name = BUL.9.o2
		BUL = {
			country_event = diplomatic_response.2
			create_wargoal = {
				type = annex_everything
				target = ROOT
			}
		}
		ai_chance = {
			factor = 30
		}
	}
}

#BUL wants to join your faction
country_event = {
	id = BUL.10
	title = BUL.10.t
	desc = BUL.10.d
	picture = GFX_report_event_bulgaria

	is_triggered_only = yes
	option = {	#Accept
		name = BUL.10.o1
		add_to_faction = FROM
		FROM = { country_event = diplomatic_response.1 }
		ai_chance = {
			factor = 70
		}
	}
	option = {	#Decline
		name = BUL.10.o2
		FROM = {
			country_event = diplomatic_response.2
			add_political_power = -50
		}
		ai_chance = {
			factor = 30
		}
	}
}
