﻿add_namespace = frontier
country_event = { #History
	id = frontier.0
	title = frontier.0.t
	desc = frontier.0.d
	picture = GFX_event_griffon_mountain
    trigger = {
        tag = GRF
        date > 1007.1.1
    }
    mean_time_to_happen = { days = 1 }
    fire_only_once = yes
	option = {
		name = frontier.0.a
	 	}
	}
	country_event = {
	id = frontier.1
	title = frontier.1.t
	desc = frontier.1.d
	picture = GFX_event_griffon_back

	is_triggered_only = yes

	option = {
		name = frontier.1.a
		GRF = { country_event = { id = griffons.18 days = 1 }
		}
	}
}
    country_event = {
	id = frontier.2
	title = frontier.2.t
	desc = frontier.2.d
	picture = GFX_event_griffon_mountain
    is_triggered_only = yes

	option = {
		name = frontier.2.a
        add_timed_idea = { idea = GFF_frontier_help days = 365 }
		set_country_flag = GFF_actual_funds
		}
	}
	
	country_event = {
	id = frontier.3
	title = frontier.3.t
	desc = frontier.3.d
	picture = GFX_event_griffon_back

	is_triggered_only = yes

	option = {
		name = frontier.3.a
		set_country_flag = GFF_no_funds
		}
	}
	country_event = {
	id = frontier.4
	title = frontier.4.t
	desc = frontier.4.d
	picture = GFX_event_griffon_mountain
	is_triggered_only = yes

	option = {
		name = frontier.4.a
		}
	}
	country_event = {
	id = frontier.5
	title = frontier.5.t
	desc = frontier.5.d
	picture = GFX_event_griffon_back
	is_triggered_only = yes

	option = {
		name = frontier.1.a
		GRF = { country_event = { id = griffons.19 days = 1 }
		}
	}
}
    country_event = {
	id = frontier.6
	title = frontier.6.t
	desc = frontier.6.d
	picture = GFX_event_griffon_mountain

	is_triggered_only = yes

	option = {
		name = frontier.6.a
		add_equipment_to_stockpile = { type = infantry_equipment amount = 1500 producer = STG }
		}
	}
country_event = {
	id = frontier.7
	title = frontier.7.t
	desc = frontier.7.d
	picture = GFX_event_griffon_back
	fire_only_once = yes
	is_triggered_only = yes
	option = {
		name = frontier.7.a
		end_puppet = GFF
		add_political_power = 100
		kill_country_leader = yes
        create_country_leader = {
            name = "Virgil"
            picture = "Virgil.tga"
            expire = "1965.1.1"
            ideology = fascism_ideology
            traits = {}
        }
		set_politics = {
			ruling_party = fascism
			elections_allowed = no
						}
		    add_popularity = {
				ideology = fascism
				popularity = 0.35
	    }
		GRF = { country_event = { id = griffons.20 days = 30 } }
}
}
