namespace = fake_william

narrative_event = {
    id = fake_william.1
    title = EVTNAMEfake_william.1
    desc = EVTDESCfake_william.1
    is_triggered_only = yes
    picture = "GFX_evt_courier"

    option = { # Kill him!
        name = EVTAfake_william.1
        prestige = 50
        trigger = {
            NOT = { has_character_flag = has_war_for_william }
        }
        c_90000336 = {
            c_90000765 = {
                imprison = PREV
            }
        }
    }

    option = { # We can speak...
        name = EVTBfake_william.1
        prestige = -50
        trigger = {
            NOT = { has_character_flag = has_war_for_william }
        }
        c_90000336 = { add_trait = cynical }
        c_90000336 = { narrative_event = { id = fake_william.2 days = 1 } }
    }
}

narrative_event = {
    id = fake_william.2
    title = EVTNAMEfake_william.2
    desc = EVTDESCfake_william.2
    is_triggered_only = yes
    picture = "GFX_evt_courier"

    option = { # It isn't worth that...
        name = EVTAfake_william.2
        c_90000336 = {
            c_90000765 = {
                imprison = PREV
            }
        }
    }

    option = { # Ok!
        name = EVTBfake_william.2
        reverse_unsafe_war = {
            target = k_england
            casus_belli = fake_william_cb
        }
        c_90000336 = { narrative_event = { id = fake_william.3 days = 1 } }
    }
}

narrative_event = {
    id = fake_william.3
    title = EVTNAMEfake_william.2
    desc = EVTDESCfake_william.3
    is_triggered_only = yes

    option = { # Only to Roman Company
        name = EVTAfake_william.3
        prestige = 100
        d_roman_company = {
            holder_scope = {
                narrative_event = { id = fake_william.6 days = 1 }
            }
        }
        c_90000336 = { narrative_event = { id = fake_william.7 days = 7 } }
    }

    option = { # To Scotland
        name = EVTBfake_william.3
        prestige = 100
        d_roman_company = {
            holder_scope = {
                narrative_event = { id = fake_william.6 days = 1 }
            }
        }
        k_scotland = {
            holder_scope = {
                narrative_event = { id = fake_william.5 days = 1 }
            }
        }
        c_90000336 = { narrative_event = { id = fake_william.7 days = 7 } }
    }

    option = { # To France
        name = EVTCfake_william.3
        prestige = 100
        d_roman_company = {
            holder_scope = {
                narrative_event = { id = fake_william.6 days = 1 }
            }
        }
        k_france = {
            holder_scope = {
                narrative_event = { id = fake_william.4 days = 1 }
            }
        }
        c_90000336 = { narrative_event = { id = fake_william.7 days = 7 } }
    }
	
	option = { # To France and Scotland
        name = EVTDfake_william.3
        prestige = 100
        d_roman_company = {
            holder_scope = {
                narrative_event = { id = fake_william.6 days = 1 }
            }
        }
        k_france = {
            holder_scope = {
                narrative_event = { id = fake_william.4 days = 1 }
            }
        }
		k_scotland = {
            holder_scope = {
                narrative_event = { id = fake_william.5 days = 1 }
            }
        }
        c_90000336 = { narrative_event = { id = fake_william.7 days = 7 } }
    }
}

character_event = {
    id = fake_william.4
    desc = EVTDESCfake_william.4
    is_triggered_only = yes

    option = {
        name = EVTAfake_william.4
        prestige = 100
        set_global_flag = france_support_fake_william
		add_alliance = { who = k_nostira years = 1 }
    }

    option = {
        name = EVTBfake_william.4
        prestige = 100
    }
}

character_event = {
    id = fake_william.5
    desc = EVTDESCfake_william.4
    is_triggered_only = yes

    option = {
        name = EVTAfake_william.4
        prestige = 100
        set_global_flag = scotland_support_fake_william
		add_alliance = { who = k_nostira years = 1 }
    }

    option = {
        name = EVTBfake_william.4
        prestige = 100
    }
}

character_event = {
    id = fake_william.6
    desc = EVTDESCfake_william.6
    is_triggered_only = yes

    option = {
        name = EVTAfake_william.4
        k_nostria = {
            d_roman_company = {
                holder_scope = { join_attacker_wars = FROM }
            }
        }
    }
}

narrative_event = {
    id = fake_william.7
    title = EVTNAMEfake_william.7
    desc = EVTDESCfake_william.7
    is_triggered_only = yes
    picture = "GFX_evt_courier"

    option = {
        name = EVTAfake_william.7
        set_character_flag = has_war_for_william
        piety = -500
	    k_england = {
			reverse_unsafe_war = {
				target = ROOT
				casus_belli = false_william_cb
			}
		}
        d_roman_company = {
		  k_nostria = {
		   holder_scope = {
            ROOT = {
				join_attacker_wars = PREV
			}
			}
		   }
        }
        
        if = {
            limit = { global_flag = scotland_support_fake_william }
          k_scotland = {
		  k_nostria = {
		   holder_scope = {
            ROOT = {
				join_attacker_wars = PREV
			}
			}
		   }
        }
        }
        
        if = {
            limit = { global_flag = france_support_fake_william }
     k_france = {
		  k_nostria = {
		   holder_scope = {
            ROOT = {
				join_attacker_wars = PREV
			}
			}
		   }
        }        }
    }
}

character_event = {
    id = fake_william.8
    desc = EVTDESCfake_william.8
    is_triggered_only = yes

    option = {
        name = EVTAfake_william.4
        c_232018 = { #True William
            dynasty = none
            set_father = 0
            set_mother = 0
        }
        c_90000765 = {
            set_name = "William"
            dynasty = 752
        }
		c_90000765 = { set_father = c_202992 } #"Real" Father of William
		c_90000765 = { set_mother = c_202995 } #"Real" Mother of William
    }
}
