"S8L1_des.sce"
{
	init
	{
		INT condition_recno 

		if(FUNC("get_scenario_stage") == 0)
		{
		    // set objective
		    condition_recno = FUNC("add_end_condition") 
		    FUNC("set_end_condition_type", condition_recno, 0) // 0 for win
		    FUNC("set_end_condition_des", condition_recno, "Capture Paris.") 
			FUNC("set_end_condition_experience_award", condition_recno , 50000)
			FUNC("set_end_condition_gold_award", condition_recno , 10000)

		    condition_recno = FUNC("add_end_condition") 
		    FUNC("set_end_condition_type", condition_recno, 2) // 2 for side
		    FUNC("set_end_condition_des", condition_recno, "Capture any towns on the way to Paris.") 
			FUNC("set_end_condition_experience_award", condition_recno , 35000)
			FUNC("set_end_condition_gold_award", condition_recno , 5000)
				

    //		condition_recno = FUNC("add_end_condition") 
    //		FUNC("set_end_condition_type", condition_recno, 0) // 0 for win
    //		FUNC("set_end_condition_des", condition_recno, "Clean up Meung-sur Loire") 

    //		condition_recno = FUNC("add_end_condition") 
    //		FUNC("set_end_condition_type", condition_recno, 0) // 0 for win
    //		FUNC("set_end_condition_des", condition_recno, "Clean up Beangency") 

    //		condition_recno = FUNC("add_end_condition") 
    //		FUNC("set_end_condition_type", condition_recno, 0) // 0 for win
    //		FUNC("set_end_condition_des", condition_recno, "Rescue Joan") 

    //		condition_recno = FUNC("add_end_condition") 
    //		FUNC("set_end_condition_type", condition_recno, 0) // 0 for win
    //		FUNC("set_end_condition_des", condition_recno, "Destroy all reinforcement of Beanency") 

    //		condition_recno = FUNC("add_end_condition") 
    //		FUNC("set_end_condition_type", condition_recno, 0) // 0 for win
    //		FUNC("set_end_condition_des", condition_recno, "Protect Alencon to get the reinforcement") 

		    condition_recno = FUNC("add_end_condition") 
		    FUNC("set_end_condition_type", condition_recno, 1) // 1 for lose
		    FUNC("set_end_condition_des", condition_recno, "Joan of Arc is defeated.") 	

			condition_recno = FUNC("add_end_condition") 
    		FUNC("set_end_condition_type", condition_recno, 0) // 0 for win
    		FUNC("set_end_condition_des", condition_recno, "Reach Compiegne and meet with her Governor.")
			FUNC("set_end_condition_experience_award", condition_recno , 5000)

			condition_recno = FUNC("add_end_condition") // 5
    		FUNC("set_end_condition_type", condition_recno, 0) // 0 for win
    		FUNC("set_end_condition_des", condition_recno, "Locate and eliminate Regent Bedford.")
			FUNC("set_end_condition_gold_award", condition_recno , 5000)

			condition_recno = FUNC("add_end_condition") 
    		FUNC("set_end_condition_type", condition_recno, 2) // 0 for win
    		FUNC("set_end_condition_des", condition_recno, "Capture Chateau-Thierry.")
			FUNC("set_end_condition_experience_award", condition_recno , 15000)
			FUNC("set_end_condition_gold_award", condition_recno , 3000)

			condition_recno = FUNC("add_end_condition") 
    		FUNC("set_end_condition_type", condition_recno, 2) // 0 for win
    		FUNC("set_end_condition_des", condition_recno, "Capture Soissons.")
			FUNC("set_end_condition_experience_award", condition_recno , 15000)
			FUNC("set_end_condition_gold_award", condition_recno , 3000)
			
			condition_recno = FUNC("add_end_condition") 
    		FUNC("set_end_condition_type", condition_recno, 2) // 0 for win
    		FUNC("set_end_condition_des", condition_recno, "Do not allow the English to lay siege to Reims.")
			FUNC("set_end_condition_experience_award", condition_recno , 12000)

			condition_recno = FUNC("add_end_condition") 
    		FUNC("set_end_condition_type", condition_recno, 3) // 3 for imperative
    		FUNC("set_end_condition_des", condition_recno, "La Hire must live.")

			condition_recno = FUNC("add_end_condition")		// 10
    		FUNC("set_end_condition_type", condition_recno, 0) 
    		FUNC("set_end_condition_des", condition_recno, "Joan and Metz must meet Flavy at Compiegne.")
			FUNC("set_end_condition_experience_award", condition_recno , 5000)

			condition_recno = FUNC("add_end_condition") 
    		FUNC("set_end_condition_type", condition_recno, 0) 
    		FUNC("set_end_condition_des", condition_recno, "Assist the ceremony at the church of Compiegne.")
			FUNC("set_end_condition_experience_award", condition_recno , 5000)

			condition_recno = FUNC("add_end_condition") 
    		FUNC("set_end_condition_type", condition_recno, 0) 
    		FUNC("set_end_condition_des", condition_recno, "Meet the king at the Lord's chambers.")
			FUNC("set_end_condition_experience_award", condition_recno , 5000)

			condition_recno = FUNC("add_end_condition") 
    		FUNC("set_end_condition_type", condition_recno, 2) 
    		FUNC("set_end_condition_des", condition_recno, "Meet the priest.")
			FUNC("set_end_condition_experience_award", condition_recno , 5000)
			
			condition_recno = FUNC("add_end_condition") 
    		FUNC("set_end_condition_type", condition_recno, 0) 
    		FUNC("set_end_condition_des", condition_recno, "Follow Philip to the enemy hideout.")
			FUNC("set_end_condition_experience_award", condition_recno , 10000)

			condition_recno = FUNC("add_end_condition")		// 15
    		FUNC("set_end_condition_type", condition_recno, 0) 
    		FUNC("set_end_condition_des", condition_recno, "Seek out and defeat Philip the Good.")
			FUNC("set_end_condition_gold_award", condition_recno , 8000)

			condition_recno = FUNC("add_end_condition")
    		FUNC("set_end_condition_type", condition_recno, 0) 
    		FUNC("set_end_condition_des", condition_recno, "All generals meet with Charles VII at the secret exit.")
			FUNC("set_end_condition_experience_award", condition_recno , 10000)

			condition_recno = FUNC("add_end_condition")
    		FUNC("set_end_condition_type", condition_recno, 0) 
    		FUNC("set_end_condition_des", condition_recno, "Destroy the enemy trebuchet.")
			FUNC("set_end_condition_experience_award", condition_recno , 10000)

			condition_recno = FUNC("add_end_condition")
    		FUNC("set_end_condition_type", condition_recno, 2) 
    		FUNC("set_end_condition_des", condition_recno, "Protect the villagers of Lagny from enemy attack.")
			FUNC("set_end_condition_experience_award", condition_recno , 10000)

			condition_recno = FUNC("add_end_condition")
    		FUNC("set_end_condition_type", condition_recno, 0) 
    		FUNC("set_end_condition_des", condition_recno, "Defeat Bedford.")
			FUNC("set_end_condition_gold_award", condition_recno , 3000)

			condition_recno = FUNC("add_end_condition")
    		FUNC("set_end_condition_type", condition_recno, 0)	// 20
    		FUNC("set_end_condition_des", condition_recno, "Eliminate enemy assault forces attacking Compiegne.")
			FUNC("set_end_condition_experience_award", condition_recno , 20000)

			condition_recno = FUNC("add_end_condition")
    		FUNC("set_end_condition_type", condition_recno, 2)	// 21
    		FUNC("set_end_condition_des", condition_recno, "Bring back King Charles VII to Compiegne.")
			FUNC("set_end_condition_experience_award", condition_recno , 15000)
			FUNC("set_end_condition_gold_award", condition_recno , 2000)

			condition_recno = FUNC("add_end_condition")
    		FUNC("set_end_condition_type", condition_recno, 0)	// 22
    		FUNC("set_end_condition_des", condition_recno, "Capture Pont-a-Choisy.")
			FUNC("set_end_condition_experience_award", condition_recno , 15000)
			FUNC("set_end_condition_gold_award", condition_recno , 5000)

			condition_recno = FUNC("add_end_condition")
    		FUNC("set_end_condition_type", condition_recno, 0)	// 23
    		FUNC("set_end_condition_des", condition_recno, "Return Compiegne immediately.")
			FUNC("set_end_condition_experience_award", condition_recno , 10000)

			condition_recno = FUNC("add_end_condition") 
    		FUNC("set_end_condition_type", condition_recno, 3) // 3 for imperative
    		FUNC("set_end_condition_des", condition_recno, "Jean de Metz must live.")

			condition_recno = FUNC("add_end_condition") // 25
    		FUNC("set_end_condition_type", condition_recno, 3) // 3 for imperative
    		FUNC("set_end_condition_des", condition_recno, "Rene de Anjou must live.")

			condition_recno = FUNC("add_end_condition") 
    		FUNC("set_end_condition_type", condition_recno, 0) // 3 for imperative
    		FUNC("set_end_condition_des", condition_recno, "Kill Bedford")
			FUNC("set_end_condition_gold_award", condition_recno , 5000)

			condition_recno = FUNC("add_end_condition") 
    		FUNC("set_end_condition_type", condition_recno, 0) // 3 for imperative
    		FUNC("set_end_condition_des", condition_recno, "Kill Luxembourg.")
			FUNC("set_end_condition_gold_award", condition_recno , 5000)

			condition_recno = FUNC("add_end_condition") 
    		FUNC("set_end_condition_type", condition_recno, 0) // 3 for imperative
    		FUNC("set_end_condition_des", condition_recno, "Kill Wandomme.")
			FUNC("set_end_condition_gold_award", condition_recno , 5000)

			condition_recno = FUNC("add_end_condition") 
    		FUNC("set_end_condition_type", condition_recno, 0) // 3 for imperative
    		FUNC("set_end_condition_des", condition_recno, "Kill Philip the Good.")
			FUNC("set_end_condition_gold_award", condition_recno , 8000)
			
			condition_recno = FUNC("add_end_condition") // 30
    		FUNC("set_end_condition_type", condition_recno, 0) // 3 for imperative
    		FUNC("set_end_condition_des", condition_recno, "Find and protect Flavy to ensure his safety.")
			FUNC("set_end_condition_experience_award", condition_recno , 8000)
			FUNC("set_end_condition_gold_award", condition_recno , 5000)

			condition_recno = FUNC("add_end_condition") // 31
    		FUNC("set_end_condition_type", condition_recno, 2) // 3 for imperative
    		FUNC("set_end_condition_des", condition_recno, "Prevent the enemy archers from killing the villagers in Dammartin.")
			FUNC("set_end_condition_experience_award", condition_recno , 10000)

			condition_recno = FUNC("add_end_condition") // 32
    		FUNC("set_end_condition_type", condition_recno, 2) // 3 for imperative
    		FUNC("set_end_condition_des", condition_recno, "Eliminate all enemies from Senlis.")
			FUNC("set_end_condition_experience_award", condition_recno , 12000)

			condition_recno = FUNC("add_end_condition") // 33
    		FUNC("set_end_condition_type", condition_recno, 2) // 3 for imperative
    		FUNC("set_end_condition_des", condition_recno, "Defeat the Duke of Wandomme.")
			FUNC("set_end_condition_gold_award", condition_recno , 5000)


			condition_recno = FUNC("add_end_condition") // 34
    		FUNC("set_end_condition_type", condition_recno, 2) // 3 for imperative
    		FUNC("set_end_condition_des", condition_recno, "Rid the farmland from any enemy presence.")
			FUNC("set_end_condition_experience_award", condition_recno , 14000)

			condition_recno = FUNC("add_end_condition") // 35
    		FUNC("set_end_condition_type", condition_recno, 3) // 3 for imperative
    		FUNC("set_end_condition_des", condition_recno, "Charles VII must live.")

			condition_recno = FUNC("add_end_condition") // 36
    		FUNC("set_end_condition_type", condition_recno, 0) // 0 for main
    		FUNC("set_end_condition_des", condition_recno, "Guide the king to the secret castle exit.")
			FUNC("set_end_condition_experience_award", condition_recno , 8000)
			FUNC("set_end_condition_gold_award", condition_recno , 5000)

			condition_recno = FUNC("add_end_condition") // 37
    		FUNC("set_end_condition_type", condition_recno, 2) // 0 for main
    		FUNC("set_end_condition_des", condition_recno, "Capture Provins.")
			FUNC("set_end_condition_experience_award", condition_recno , 10000)
			FUNC("set_end_condition_gold_award", condition_recno , 2000)

			condition_recno = FUNC("add_end_condition") // 38
    		FUNC("set_end_condition_type", condition_recno, 2) // 0 for main
    		FUNC("set_end_condition_des", condition_recno, "Capture camp froid.")
			FUNC("set_end_condition_experience_award", condition_recno , 10000)
			FUNC("set_end_condition_gold_award", condition_recno , 2000)

			condition_recno = FUNC("add_end_condition") // 39
    		FUNC("set_end_condition_type", condition_recno, 0) // 0 for main
    		FUNC("set_end_condition_des", condition_recno, "Find and defeat Philip the Good.")

			condition_recno = FUNC("add_end_condition") // 40
    		FUNC("set_end_condition_type", condition_recno, 3) // 3 for imperative
    		FUNC("set_end_condition_des", condition_recno, "Duke of Alencon must live.")

			condition_recno = FUNC("add_end_condition") // 41
    		FUNC("set_end_condition_type", condition_recno, 0) // 3 for imperative
    		FUNC("set_end_condition_des", condition_recno, "Prevent the enemy from breaking through the east entrance.")

			condition_recno = FUNC("add_end_condition") // 42
    		FUNC("set_end_condition_type", condition_recno, 0) // 3 for imperative
    		FUNC("set_end_condition_des", condition_recno, "Defeat Lord Fastolf in his challenge.")
		}	
	}
}