add_namespace = ROM_events

#Referendum in Moldova
country_event = {
	id = ROM_events.1
	title = ROM_events.1.t
	desc = ROM_events.1.d
	picture = GFX_report_event_election_vote

	is_triggered_only = yes

	option = {	#Accept
		name = ROM_events.1.o1
		custom_effect_tooltip = GAME_OVER_TT
		MOL = {
			every_unit_leader = {
				set_nationality = ROM
			}
		}
		ROM = { annex_country = { target = MOL transfer_troops = yes } }
		ROM = { country_event = diplomatic_response.1 }

		ai_chance = {
			factor = 50
		}
	}

	option = {	#Decline
		name = ROM_events.1.o2
		ROM = {
			create_wargoal = {
				type = annex_everything
				target = MOL
			}
		}
		ROM = { country_event = diplomatic_response.2 }

		ai_chance = {
			factor = 50
		}
	}
}

#Hungary wants to join our faction
country_event = {
	id = ROM_events.2
	title = ROM_events.2.t
	desc = ROM_events.2.d
	picture = GFX_report_event_election_vote

	is_triggered_only = yes

	option = {	#Accept
		name = ROM_events.2.o1
		ROOT = {add_to_faction = ROM}

		ai_chance = {
			factor = 50
		}
	}

	option = {	#Decline
		name = ROM_events.2.o2

		ROM = { country_event = diplomatic_response.2 }

		ai_chance = {
			factor = 50
		}
	}
}
