"S3L1_des.sce"
{
	init
	{
		INT condition_recno 

		if(FUNC("get_scenario_stage") == 0)
		{
			// Main Goal
			// ***1 
			// will be add during the game
			condition_recno = FUNC("add_end_condition") 
			FUNC("set_end_condition_type", condition_recno, 0) // 0 for win
			FUNC("set_end_condition_des", condition_recno, "[0001N]Prevent the slaughter of innocent citizens in Orléans.") 
			FUNC("set_end_condition_experience_award", condition_recno , 2000)

			// Main Goal
			// ***2
			// will be add during the game
			condition_recno = FUNC("add_end_condition") 
			FUNC("set_end_condition_type", condition_recno, 0) // 0 for win
			FUNC("set_end_condition_des", condition_recno, "[0002N]Protect the Bastard of Orléans.") 
			FUNC("set_end_condition_experience_award", condition_recno , 1000)

			// Main Goal
			// ***3 
			// will be add during the game
			condition_recno = FUNC("add_end_condition") 
			FUNC("set_end_condition_type", condition_recno, 0) // 0 for win
			FUNC("set_end_condition_des", condition_recno, "[0003N]Defeat William de la Pole.") 
			FUNC("set_end_condition_gold_award", condition_recno , 800)

			// Main Goal
			// ***4
			// will be add during the game
			condition_recno = FUNC("add_end_condition") 
			FUNC("set_end_condition_type", condition_recno, 0) // 0 for win
			FUNC("set_end_condition_des", condition_recno, "[0004N]Defeat John de la Pole.") 
			FUNC("set_end_condition_gold_award", condition_recno , 800)

			// Main Goal
			// ***5 
			// will be add during the game
			condition_recno = FUNC("add_end_condition") 
			FUNC("set_end_condition_type", condition_recno, 0) // 0 for win
			FUNC("set_end_condition_des", condition_recno, "[0005N]Kill all the English assault forces in the city.") 
			FUNC("set_end_condition_experience_award", condition_recno , 1000)

			// Lose Condition
			// ***6
			condition_recno = FUNC("add_end_condition") 
			FUNC("set_end_condition_type", condition_recno, 1) // 1 for lose
			FUNC("set_end_condition_des", condition_recno, "[0006N]More than 17 citizens are killed.") 	

			// Lose Condition
			// ***7
			condition_recno = FUNC("add_end_condition") 
			FUNC("set_end_condition_type", condition_recno, 1) // 1 for lose
			FUNC("set_end_condition_des", condition_recno, "[0007N]Joan of Arc is defeated.") 	

			// Lose Condition
			// ***8
			condition_recno = FUNC("add_end_condition") 
			FUNC("set_end_condition_type", condition_recno, 3) // 3 for imperative
			FUNC("set_end_condition_des", condition_recno, "[0008N]The Bastard of Orléans must live.")

			// Main Goal
			// ***9 
			condition_recno = FUNC("add_end_condition") 
			FUNC("set_end_condition_type", condition_recno, 0) // 0 for win
			FUNC("set_end_condition_des", condition_recno, "[0009N]Meet the Bastard of Orléans at the town hall.") 
			FUNC("set_end_condition_experience_award", condition_recno , 500)

			// Side Condition
			// ***10
			condition_recno = FUNC("add_end_condition")
			FUNC("set_end_condition_type", condition_recno, 2) // 2 for side
			FUNC("set_end_condition_des", condition_recno, "[0010N]Prevent the enemy from entering Orléans.")
			FUNC("set_end_condition_experience_award", condition_recno , 2000)
			FUNC("set_end_condition_gold_award", condition_recno , 800)

			// Main Goal
			// ***11 
			condition_recno = FUNC("add_end_condition") 
			FUNC("set_end_condition_type", condition_recno, 0) // 0 for win
			FUNC("set_end_condition_des", condition_recno, "[0011N]Eliminate all enemies in the town of de Bourges.")
			FUNC("set_end_condition_territory_link", condition_recno, "de Bourges")
			FUNC("set_end_condition_experience_award", condition_recno , 1000)
			FUNC("set_end_condition_gold_award", condition_recno , 800)

			// Main Goal
			// ***12 
			condition_recno = FUNC("add_end_condition") 
			FUNC("set_end_condition_type", condition_recno, 0) // 0 for win
			FUNC("set_end_condition_des", condition_recno, "[0012N]Eliminate all enemies in the town of de Blois.")
			FUNC("set_end_condition_territory_link", condition_recno, "de Blois")
			FUNC("set_end_condition_experience_award", condition_recno , 1000)
			FUNC("set_end_condition_gold_award", condition_recno , 800)

			// Main Goal
			// ***13
			condition_recno = FUNC("add_end_condition")
			FUNC("set_end_condition_type", condition_recno, 0) // 0 for win
			FUNC("set_end_condition_des", condition_recno, "[0013N]Visit the blacksmith and shoppe in Orléans.")
			FUNC("set_end_condition_experience_award", condition_recno , 500)


//			FUNC("set_game_time_limit", 3600000)

			FUNC("set_scenario_count_time")

			FUNC("set_end_condition_enabled", 1, 0)
			FUNC("set_end_condition_enabled", 2, 0)
			FUNC("set_end_condition_enabled", 3, 0)
			FUNC("set_end_condition_enabled", 4, 0)
			FUNC("set_end_condition_enabled", 5, 0)
			FUNC("set_end_condition_enabled", 6, 1)
			FUNC("set_end_condition_enabled", 7, 1)
			FUNC("set_end_condition_enabled", 8, 1)
			FUNC("set_end_condition_enabled", 9, 1)
			FUNC("set_end_condition_enabled", 10, 0)
			FUNC("set_end_condition_enabled", 11, 0)
			FUNC("set_end_condition_enabled", 12, 0)
			FUNC("set_end_condition_enabled", 13, 0)
		}
	}
}