"S3L1.sce"
{
	INT unit_recno 
	INT jean_recno
	//INT la_hire_recno
	INT sell_weapon_list_id 
	INT weapon_shop_recno 
	INT sell_potion_list_id
	INT potion_shop_recno

	INT joan_team_place_recno
	INT	barrack_place_recno

	init
	{
		if(FUNC("get_scenario_stage") == 0)
		{
			FUNC("set_game_start_date", 1429, 4, 29, 900, 0, 1440)

			FUNC("set_nation_friendship", "ENGLISH", "FRENCH", -77)
			FUNC("set_nation_friendship", "FRENCH", "ENGLISH", -77)
			FUNC("set_relation_status", "ENGLISH", "FRENCH", 0)

			unit_recno = FUNC("load_unit", "JOAN_OF_ARC", "FRENCH") 

			if( unit_recno == 0 )
			{
				unit_recno = FUNC("add_unit", "JOAN_OF_ARC", "FRENCH") 
			}

			FUNC("set_unit_pos", unit_recno, 8951.0, 8697.0, 2.0 )
			FUNC("set_unit_dir", unit_recno, 260) 
			FUNC("set_unit_ranking", unit_recno, "GENERAL")
			FUNC("set_unit_team", unit_recno, 1)
			FUNC("set_main_character", unit_recno, 1)

			// set shop
			weapon_shop_recno = FUNC("search_facility_by_name" , "Weapon Shop") 
			sell_weapon_list_id = FUNC("search_item_sell_list_by_code" , "S3L1_weapon") 
			potion_shop_recno = FUNC("search_facility_by_name" , "Potion Shop") 
			sell_potion_list_id = FUNC("search_item_sell_list_by_code" , "S3L1_potion") 

			FUNC("shop_set_sell_item_list", weapon_shop_recno, sell_weapon_list_id) 
			FUNC("shop_set_sell_item_list", potion_shop_recno, sell_potion_list_id) 
			FUNC("set_can_regen_sell_item", potion_shop_recno, 1)

			FUNC("set_main_character", unit_recno, 1)
			FUNC("set_charmove_detect_block_flag", 1)

		}
		joan_team_place_recno = FUNC("search_place_by_name", "Joan Team Place") 
		barrack_place_recno = FUNC("search_place_by_name", "Barrack") 

		FUNC("set_fog_distance", 4096) 
		unit_recno = FUNC("search_unit_by_name", "Joanna d'Arc")
		jean_recno = FUNC("search_unit_by_name", "Jean de Metz")
		//la_hire_recno = FUNC("search_unit_by_name", "La Hire")
		FUNC("add_unit_ref", "JOAN_OF_ARC")

		FUNC("set_minimap_rotation", 1)

		FUNC("set_delay_before_win", 10000)
	}

	// run the finish script for this scenario
	if( FUNC("is_game_finish") == 0 ) 
	{
		SCRIPT("script\scenario\S3L1_finish.sce")
	}

	// run the tactic script for this scenario
	SCRIPT("script\scenario\S3L1_tactic.sce")


	if( FUNC("get_scenario_stage") == 0 )
	{
		FUNC("set_scenario_stage", 1)
	}
	
}