version="1.16.6"
abbrev=""
active_mods="plan_unit_advance"
campaign=""
campaign_define=""
campaign_extra_defines=""
campaign_name=""
campaign_type="multiplayer"
difficulty="NORMAL"
end_credits=yes
end_text=""
end_text_duration=0
era_define=""
era_id="ladder_era"
label="2p — Clearing Gushes"
mod_defines=""
oos_debug=no
random_mode=""
scenario_define=""
version="1.16.6"
[multiplayer]
	experience_modifier=70
	hash="Mfa0p5GGfgo1kaqguqB5fHGnzGj8S.2bffKAxoPKAQAL.L0KL3qrQyy0lL18UmFIcIdTDDFQWF.gYabwkGumHgCr9<A8y3xHg3rNYmBL6wlpHUM1h+d33lxiULq5iokC"
	mp_campaign=""
	mp_countdown=no
	mp_countdown_action_bonus=13
	mp_countdown_init_time=270
	mp_countdown_reservoir_time=330
	mp_countdown_turn_bonus=60
	mp_era_name="Ladder Era"
	mp_fog=yes
	mp_num_turns=-1
	mp_random_start_time=no
	mp_scenario="multiplayer_Clearing_Gushes_Ladder_Random"
	mp_scenario_name="2p — Clearing Gushes"
	mp_shroud=no
	mp_use_map_settings=no
	mp_village_gold=2
	mp_village_support=1
	observer=yes
	private_replay=no
	random_faction_mode="No Mirror"
	savegame=no
	scenario="ladder"
	shuffle_sides=yes
	side_users="id1:StonyDrew,id2:Phoenixz"
	[options]
		[modification]
			id="plan_unit_advance"
			[option]
				id="pickadvance_force_choice"
				value=no
			[/option]
		[/modification]
		[multiplayer]
			id="Ladder_All_Maps"
			[option]
				id="multiplayer_Aethermaw_Ladder_Random"
				value=no
			[/option]
			[option]
				id="multiplayer_Arcanclave_Citadel_Ladder_Random"
				value=no
			[/option]
			[option]
				id="multiplayer_Basilisk_Ladder_Random"
				value=yes
			[/option]
			[option]
				id="multiplayer_Clearing_Gushes_Ladder_Random"
				value=yes
			[/option]
			[option]
				id="multiplayer_Den_of_Onis_Ladder_Random"
				value=no
			[/option]
			[option]
				id="multiplayer_Fallenstar_Lake_Ladder_Random"
				value=yes
			[/option]
			[option]
				id="multiplayer_Hamlets_Ladder_Random"
				value=yes
			[/option]
			[option]
				id="multiplayer_Hellhole_Ladder_Random"
				value=yes
			[/option]
			[option]
				id="multiplayer_Hornshark_Island_Ladder_Random"
				value=no
			[/option]
			[option]
				id="multiplayer_Howling_Ghost_Badlands_Ladder_Random"
				value=yes
			[/option]
			[option]
				id="multiplayer_Ruined_Passage_Ladder_Random"
				value=no
			[/option]
			[option]
				id="multiplayer_Ruphus_Isle_Ladder_Random"
				value=no
			[/option]
			[option]
				id="multiplayer_Sablestone_Delta_Ladder_Random"
				value=no
			[/option]
			[option]
				id="multiplayer_Silverhead_Crossing_Ladder_Random"
				value=yes
			[/option]
			[option]
				id="multiplayer_Sullas_Ruins_Ladder_Random"
				value=yes
			[/option]
			[option]
				id="multiplayer_Swamp_of_Dread_Ladder_Random"
				value=yes
			[/option]
			[option]
				id="multiplayer_The_Freelands_Ladder_Random"
				value=yes
			[/option]
			[option]
				id="multiplayer_The_Walls_of_Pyrennis_Ladder_Random"
				value=no
			[/option]
			[option]
				id="multiplayer_Tombs_of_Kesorak_Ladder_Random"
				value=yes
			[/option]
			[option]
				id="multiplayer_Weldyn_Channel_Ladder_Random"
				value=yes
			[/option]
			[option]
				id="multiplayer_elensefar_courtyard_Ladder_Random"
				value=yes
			[/option]
			[option]
				id="multiplayer_thousand_stings_garrison_Ladder_Random"
				value=no
			[/option]
		[/multiplayer]
	[/options]
	[addon]
		id="Ladder_Era"
		min_version="1.0.0"
		name="Ladder Era"
		require=no
		version="1.0.0"
		[content]
			id="multiplayer_Clearing_Gushes_Ladder_Random"
			name="2p — Clearing Gushes"
			type="scenario"
		[/content]
		[content]
			id="ladder_era"
			name="Ladder Era"
			type="era"
		[/content]
	[/addon]
	[addon]
		id="mainline"
		name="mainline"
		require=no
		version="1.16.6"
		[content]
			id="plan_unit_advance"
			name="Plan Unit Advance"
			type="modification"
		[/content]
	[/addon]
[/multiplayer]
[statistics]
	mid_scenario=yes
	[scenario]
		scenario="2p — Howling Ghost Badlands"
		[team]
			[recruits]
				1="Goblin Spearman,Naga Fighter,Orcish Archer Ladder_1,Troll Whelp"
				3="Wolf Rider,Orcish Assassin"
				9="Orcish Grunt"
			[/recruits]
			[recalls]
			[/recalls]
			[advances]
			[/advances]
			[deaths]
				1="Goblin Spearman,Orcish Assassin,Troll Whelp,Wolf Rider"
				2="Orcish Grunt"
			[/deaths]
			[killed]
				1="Dwarvish Ulfserker Ladder_1,Gryphon Rider"
				2="Poacher Ladder_1,Footpad Ladder_1,Dwarvish Fighter Ladder_1"
			[/killed]
			[attacks]
				[sequence]
					1="s000,s01,s11,s111"
					_num=30
				[/sequence]
				[sequence]
					1="s00,s000,s0011,s111"
					2="s11"
					3="s01"
					_num=40
				[/sequence]
				[sequence]
					1="s00,s1,s10"
					2="s01"
					_num=50
				[/sequence]
				[sequence]
					1="s001,s1,s101,s11,s111"
					2="s011"
					_num=60
				[/sequence]
				[sequence]
					1="s011,s1,s10,s100,s11011,s111,s1111"
					2="s11"
					_num=70
				[/sequence]
			[/attacks]
			[defends]
				[sequence]
					9="s"
					_num=0
				[/sequence]
				[sequence]
					1="s"
					_num=30
				[/sequence]
				[sequence]
					1="s0,s01,s10,s100"
					_num=40
				[/sequence]
				[sequence]
					1="s000,s11"
					2="s011"
					_num=50
				[/sequence]
				[sequence]
					1="s110"
					_num=60
				[/sequence]
				[sequence]
					1="s,s01,s101,s111"
					2="s100"
					_num=70
				[/sequence]
			[/defends]
			[attacks_taken]
				[sequence]
					11="s"
					_num=0
				[/sequence]
				[sequence]
					1="s00,s010"
					_num=30
				[/sequence]
				[sequence]
					1="s00,s0110,s100,s11"
					_num=40
				[/sequence]
				[sequence]
					1="s011,s1"
					2="s000,s01"
					_num=50
				[/sequence]
				[sequence]
					1="s0,s01,s10,s11,s110"
					2="s"
					_num=60
				[/sequence]
				[sequence]
					1="s0,s111,s11111100"
					_num=70
				[/sequence]
				[sequence]
					1="s00"
					_num=80
				[/sequence]
			[/attacks_taken]
			[defends_taken]
				[sequence]
					2="s00"
					_num=30
				[/sequence]
				[sequence]
					1="s00,s000,s001,s10,s1101010001"
					2="s010"
					_num=40
				[/sequence]
				[sequence]
					1="s001,s011,s100,s11"
					_num=50
				[/sequence]
				[sequence]
					1="s00,s010,s011,s1,s1111"
					2="s01"
					_num=60
				[/sequence]
				[sequence]
					1="s001,s1101,s1111"
					2="s1"
					_num=70
				[/sequence]
			[/defends_taken]
			[turn_by_cth_inflicted]
				[hitrate_map_entry]
					cth=30
					[stats]
						hits=2
						strikes=2
					[/stats]
				[/hitrate_map_entry]
				[hitrate_map_entry]
					cth=40
					[stats]
						hits=2
						strikes=9
					[/stats]
				[/hitrate_map_entry]
				[hitrate_map_entry]
					cth=50
					[stats]
						hits=2
						strikes=3
					[/stats]
				[/hitrate_map_entry]
				[hitrate_map_entry]
					cth=60
					[stats]
						hits=4
						strikes=6
					[/stats]
				[/hitrate_map_entry]
				[hitrate_map_entry]
					cth=70
					[stats]
						hits=2
						strikes=2
					[/stats]
				[/hitrate_map_entry]
			[/turn_by_cth_inflicted]
			[turn_by_cth_taken]
				[hitrate_map_entry]
					cth=30
					[stats]
						hits=0
						strikes=2
					[/stats]
				[/hitrate_map_entry]
				[hitrate_map_entry]
					cth=40
					[stats]
						hits=5
						strikes=9
					[/stats]
				[/hitrate_map_entry]
				[hitrate_map_entry]
					cth=50
					[stats]
						hits=2
						strikes=6
					[/stats]
				[/hitrate_map_entry]
			[/turn_by_cth_taken]
			recruit_cost=260
			recall_cost=0
			damage_inflicted=447
			damage_taken=335
			expected_damage_inflicted=383600
			expected_damage_taken=392600
			turn_damage_inflicted=73
			turn_damage_taken=31
			turn_expected_damage_inflicted=62600
			turn_expected_damage_taken=33800
			save_id="id1"
		[/team]
		[team]
			[recruits]
				1="Dwarvish Guardsman Ladder_1,Dwarvish Ulfserker Ladder_1,Gryphon Rider,Thief"
				2="Footpad Ladder_1"
				4="Poacher Ladder_1"
				6="Dwarvish Fighter Ladder_1"
			[/recruits]
			[recalls]
			[/recalls]
			[advances]
			[/advances]
			[deaths]
				1="Dwarvish Ulfserker Ladder_1,Gryphon Rider"
				2="Poacher Ladder_1,Footpad Ladder_1,Dwarvish Fighter Ladder_1"
			[/deaths]
			[killed]
				1="Goblin Spearman,Orcish Assassin,Troll Whelp,Wolf Rider"
				2="Orcish Grunt"
			[/killed]
			[attacks]
				[sequence]
					2="s00"
					_num=30
				[/sequence]
				[sequence]
					1="s00,s000,s001,s10,s1101010001"
					2="s010"
					_num=40
				[/sequence]
				[sequence]
					1="s001,s011,s100,s11"
					_num=50
				[/sequence]
				[sequence]
					1="s00,s010,s011,s1,s1111"
					2="s01"
					_num=60
				[/sequence]
				[sequence]
					1="s001,s1101,s1111"
					2="s1"
					_num=70
				[/sequence]
			[/attacks]
			[defends]
				[sequence]
					11="s"
					_num=0
				[/sequence]
				[sequence]
					1="s00,s010"
					_num=30
				[/sequence]
				[sequence]
					1="s00,s0110,s100,s11"
					_num=40
				[/sequence]
				[sequence]
					1="s011,s1"
					2="s000,s01"
					_num=50
				[/sequence]
				[sequence]
					1="s0,s01,s10,s11,s110"
					2="s"
					_num=60
				[/sequence]
				[sequence]
					1="s0,s111,s11111100"
					_num=70
				[/sequence]
				[sequence]
					1="s00"
					_num=80
				[/sequence]
			[/defends]
			[attacks_taken]
				[sequence]
					9="s"
					_num=0
				[/sequence]
				[sequence]
					1="s"
					_num=30
				[/sequence]
				[sequence]
					1="s0,s01,s10,s100"
					_num=40
				[/sequence]
				[sequence]
					1="s000,s11"
					2="s011"
					_num=50
				[/sequence]
				[sequence]
					1="s110"
					_num=60
				[/sequence]
				[sequence]
					1="s,s01,s101,s111"
					2="s100"
					_num=70
				[/sequence]
			[/attacks_taken]
			[defends_taken]
				[sequence]
					1="s000,s01,s11,s111"
					_num=30
				[/sequence]
				[sequence]
					1="s00,s000,s0011,s111"
					2="s11"
					3="s01"
					_num=40
				[/sequence]
				[sequence]
					1="s00,s1,s10"
					2="s01"
					_num=50
				[/sequence]
				[sequence]
					1="s001,s1,s101,s11,s111"
					2="s011"
					_num=60
				[/sequence]
				[sequence]
					1="s011,s1,s10,s100,s11011,s111,s1111"
					2="s11"
					_num=70
				[/sequence]
			[/defends_taken]
			[turn_by_cth_inflicted]
			[/turn_by_cth_inflicted]
			[turn_by_cth_taken]
			[/turn_by_cth_taken]
			recruit_cost=256
			recall_cost=0
			damage_inflicted=335
			damage_taken=447
			expected_damage_inflicted=392600
			expected_damage_taken=383600
			turn_damage_inflicted=0
			turn_damage_taken=0
			turn_expected_damage_inflicted=0
			turn_expected_damage_taken=0
			save_id="id2"
		[/team]
	[/scenario]
	[scenario]
		scenario="Ladder All Maps"
	[/scenario]
	[scenario]
		scenario="2p — Fallenstar Lake"
		[team]
			[recruits]
				1="Dwarvish Ulfserker Ladder_1,Thief"
				2="Footpad Ladder_1,Dwarvish Guardsman Ladder_1"
				6="Gryphon Rider"
				7="Dwarvish Fighter Ladder_1"
			[/recruits]
			[recalls]
			[/recalls]
			[advances]
				1="Rogue"
			[/advances]
			[deaths]
				1="Dwarvish Fighter Ladder_1,Footpad Ladder_1,Gryphon Rider"
			[/deaths]
			[killed]
				1="Orcish Archer Ladder_1,Orcish Assassin,Troll Whelp,Wolf Rider"
				7="Orcish Grunt"
			[/killed]
			[attacks]
				[sequence]
					1="s00,s000,s01,s011,s11"
					_num=40
				[/sequence]
				[sequence]
					1="s0,s1,s101"
					2="s11,s00,s01"
					3="s10"
					_num=50
				[/sequence]
				[sequence]
					1="s000,s0010110101,s011"
					2="s0"
					3="s1,s100"
					4="s11"
					5="s10"
					_num=60
				[/sequence]
				[sequence]
					1="s00,s1,s11"
					_num=70
				[/sequence]
			[/attacks]
			[defends]
				[sequence]
					3="s"
					_num=0
				[/sequence]
				[sequence]
					1="s0,s00,s000"
					_num=40
				[/sequence]
				[sequence]
					1="s,s01,s011,s1"
					_num=50
				[/sequence]
				[sequence]
					1="s0,s00,s10,s110"
					2="s11,s01"
					_num=60
				[/sequence]
				[sequence]
					1="s00,s01"
					2="s11"
					_num=70
				[/sequence]
			[/defends]
			[attacks_taken]
				[sequence]
					9="s"
					_num=0
				[/sequence]
				[sequence]
					1="s"
					_num=30
				[/sequence]
				[sequence]
					1="s,s0"
					2="s00"
					_num=40
				[/sequence]
				[sequence]
					1="s000,s01,s010,s101,s11"
					2="s111,s1,s,s0,s00"
					3="s10"
					_num=50
				[/sequence]
				[sequence]
					1="s,s00,s11111"
					2="s1"
					3="s11"
					_num=70
				[/sequence]
			[/attacks_taken]
			[defends_taken]
				[sequence]
					1="s0000"
					3="s00"
					_num=30
				[/sequence]
				[sequence]
					1="s01,s1"
					2="s011,s00"
					_num=40
				[/sequence]
				[sequence]
					1="s00,s101"
					2="s11"
					_num=50
				[/sequence]
				[sequence]
					1="s001,s111"
					_num=60
				[/sequence]
				[sequence]
					1="s11,s111"
					2="s01,s10"
					_num=70
				[/sequence]
			[/defends_taken]
			[turn_by_cth_inflicted]
				[hitrate_map_entry]
					cth=40
					[stats]
						hits=1
						strikes=4
					[/stats]
				[/hitrate_map_entry]
				[hitrate_map_entry]
					cth=50
					[stats]
						hits=2
						strikes=3
					[/stats]
				[/hitrate_map_entry]
				[hitrate_map_entry]
					cth=60
					[stats]
						hits=1
						strikes=3
					[/stats]
				[/hitrate_map_entry]
				[hitrate_map_entry]
					cth=70
					[stats]
						hits=2
						strikes=2
					[/stats]
				[/hitrate_map_entry]
			[/turn_by_cth_inflicted]
			[turn_by_cth_taken]
				[hitrate_map_entry]
					cth=30
					[stats]
						hits=0
						strikes=6
					[/stats]
				[/hitrate_map_entry]
				[hitrate_map_entry]
					cth=40
					[stats]
						hits=0
						strikes=2
					[/stats]
				[/hitrate_map_entry]
				[hitrate_map_entry]
					cth=50
					[stats]
						hits=1
						strikes=3
					[/stats]
				[/hitrate_map_entry]
				[hitrate_map_entry]
					cth=70
					[stats]
						hits=2
						strikes=2
					[/stats]
				[/hitrate_map_entry]
			[/turn_by_cth_taken]
			recruit_cost=355
			recall_cost=0
			damage_inflicted=520
			damage_taken=358
			expected_damage_inflicted=520800
			expected_damage_taken=385800
			turn_damage_inflicted=37
			turn_damage_taken=14
			turn_expected_damage_inflicted=38200
			turn_expected_damage_taken=30200
			save_id="id1"
		[/team]
		[team]
			[recruits]
				1="Orcish Archer Ladder_1"
				2="Orcish Assassin"
				3="Naga Fighter,Wolf Rider"
				7="Troll Whelp"
				9="Orcish Grunt"
			[/recruits]
			[recalls]
			[/recalls]
			[advances]
			[/advances]
			[deaths]
				1="Orcish Archer Ladder_1,Orcish Assassin,Troll Whelp,Wolf Rider"
				7="Orcish Grunt"
			[/deaths]
			[killed]
				1="Dwarvish Fighter Ladder_1,Footpad Ladder_1,Gryphon Rider"
			[/killed]
			[attacks]
				[sequence]
					1="s0000"
					3="s00"
					_num=30
				[/sequence]
				[sequence]
					1="s01,s1"
					2="s011,s00"
					_num=40
				[/sequence]
				[sequence]
					1="s00,s101"
					2="s11"
					_num=50
				[/sequence]
				[sequence]
					1="s001,s111"
					_num=60
				[/sequence]
				[sequence]
					1="s11,s111"
					2="s01,s10"
					_num=70
				[/sequence]
			[/attacks]
			[defends]
				[sequence]
					9="s"
					_num=0
				[/sequence]
				[sequence]
					1="s"
					_num=30
				[/sequence]
				[sequence]
					1="s,s0"
					2="s00"
					_num=40
				[/sequence]
				[sequence]
					1="s000,s01,s010,s101,s11"
					2="s111,s1,s,s0,s00"
					3="s10"
					_num=50
				[/sequence]
				[sequence]
					1="s,s00,s11111"
					2="s1"
					3="s11"
					_num=70
				[/sequence]
			[/defends]
			[attacks_taken]
				[sequence]
					3="s"
					_num=0
				[/sequence]
				[sequence]
					1="s0,s00,s000"
					_num=40
				[/sequence]
				[sequence]
					1="s,s01,s011,s1"
					_num=50
				[/sequence]
				[sequence]
					1="s0,s00,s10,s110"
					2="s11,s01"
					_num=60
				[/sequence]
				[sequence]
					1="s00,s01"
					2="s11"
					_num=70
				[/sequence]
			[/attacks_taken]
			[defends_taken]
				[sequence]
					1="s00,s000,s01,s011,s11"
					_num=40
				[/sequence]
				[sequence]
					1="s0,s1,s101"
					2="s11,s00,s01"
					3="s10"
					_num=50
				[/sequence]
				[sequence]
					1="s000,s0010110101,s011"
					2="s0"
					3="s1,s100"
					4="s11"
					5="s10"
					_num=60
				[/sequence]
				[sequence]
					1="s00,s1,s11"
					_num=70
				[/sequence]
			[/defends_taken]
			[turn_by_cth_inflicted]
			[/turn_by_cth_inflicted]
			[turn_by_cth_taken]
			[/turn_by_cth_taken]
			recruit_cost=340
			recall_cost=0
			damage_inflicted=358
			damage_taken=520
			expected_damage_inflicted=385800
			expected_damage_taken=520800
			turn_damage_inflicted=0
			turn_damage_taken=0
			turn_expected_damage_inflicted=0
			turn_expected_damage_taken=0
			save_id="id2"
		[/team]
	[/scenario]
	[scenario]
		scenario="Ladder All Maps"
	[/scenario]
	[scenario]
		scenario="2p — Clearing Gushes"
		[team]
			[recruits]
				1="Goblin Spearman,Wolf Rider"
				2="Orcish Archer Ladder_1"
				6="Orcish Grunt"
			[/recruits]
			[recalls]
			[/recalls]
			[advances]
			[/advances]
			[deaths]
			[/deaths]
			[killed]
			[/killed]
			[attacks]
				[sequence]
					1="s011,s10,s101"
					_num=60
				[/sequence]
			[/attacks]
			[defends]
			[/defends]
			[attacks_taken]
				[sequence]
					1="s001,s011,s110"
					_num=60
				[/sequence]
			[/attacks_taken]
			[defends_taken]
			[/defends_taken]
			[turn_by_cth_inflicted]
				[hitrate_map_entry]
					cth=60
					[stats]
						hits=5
						strikes=8
					[/stats]
				[/hitrate_map_entry]
			[/turn_by_cth_inflicted]
			[turn_by_cth_taken]
				[hitrate_map_entry]
					cth=60
					[stats]
						hits=5
						strikes=9
					[/stats]
				[/hitrate_map_entry]
			[/turn_by_cth_taken]
			recruit_cost=126
			recall_cost=0
			damage_inflicted=28
			damage_taken=30
			expected_damage_inflicted=27000
			expected_damage_taken=32400
			turn_damage_inflicted=28
			turn_damage_taken=30
			turn_expected_damage_inflicted=27000
			turn_expected_damage_taken=32400
			save_id="id1"
		[/team]
		[team]
			[recruits]
				1="Fencer,Mage,Spearman Ladder_1"
				3="Cavalryman Ladder_1"
			[/recruits]
			[recalls]
			[/recalls]
			[advances]
			[/advances]
			[deaths]
			[/deaths]
			[killed]
			[/killed]
			[attacks]
			[/attacks]
			[defends]
				[sequence]
					1="s001,s011,s110"
					_num=60
				[/sequence]
			[/defends]
			[attacks_taken]
			[/attacks_taken]
			[defends_taken]
				[sequence]
					1="s011,s10,s101"
					_num=60
				[/sequence]
			[/defends_taken]
			[turn_by_cth_inflicted]
				[hitrate_map_entry]
					cth=60
					[stats]
						hits=5
						strikes=9
					[/stats]
				[/hitrate_map_entry]
			[/turn_by_cth_inflicted]
			[turn_by_cth_taken]
				[hitrate_map_entry]
					cth=60
					[stats]
						hits=5
						strikes=8
					[/stats]
				[/hitrate_map_entry]
			[/turn_by_cth_taken]
			recruit_cost=104
			recall_cost=0
			damage_inflicted=30
			damage_taken=28
			expected_damage_inflicted=32400
			expected_damage_taken=27000
			turn_damage_inflicted=30
			turn_damage_taken=28
			turn_expected_damage_inflicted=32400
			turn_expected_damage_taken=27000
			save_id="id2"
		[/team]
	[/scenario]
[/statistics]
[carryover_sides]
	next_scenario=""
	next_underlying_unit_id=2
	random_calls=0
	random_seed="1c5744b8"
	[variables]
	[/variables]
[/carryover_sides]
[replay_start]
	can_end_turn=yes
	cannot_end_turn_reason=""
	current_time=0
	defeat_music=""
#textdomain wesnoth-multiplayer
	description=_"The banks of the Great River make for some of the most fertile land in all the known world. The spring and summer bring floods all along its length, making the soil rich and providing bountiful harvests each autumn. The Kingdom of Wesnoth has turned this land into the engine of their wealth and prosperity — making it the target of countless raids and attacks. The rigorous discipline and organization of Wesnoth's armies are in no small part driven by a constant need to patrol and defend these prosperous lands."
	do_healing=no
	experience_modifier=70
	id="multiplayer_Clearing_Gushes_Ladder_Random"
	init_side_done=no
	it_is_a_new_turn=yes
	loaded_resources=""
	map_data="Xv, Xv, Xv, Xv, Xv, Xv, Xv, Xv, Xv, Xv, Xv, Xv, Xv, Xv, Xv, Xv, Wwf, Wwf, Gll^Fdf, Gs, Rr, Ss, Wwf, Ww^Ewl, Ww, Wo, Wo, Wo, Wo
Xv, Xv, Xv, Xv, Xv, Xv, Xv, Xv, Xv, Xv, Xv, Xv, Xv, Xv, Wwf, Wwg, Wwf, Gs, Rr, Rr, Gs, Gs, Wwf, Ww^Ewl, Wo, Wo, Wo, Wo, Wo
Xv, Xv, Xv, Xv, Xv, Xv, Xv, Xv, Xv, Xv, Xv, Xv, Md, Hhd^Fmf, Ss, Wwf, Wwf, Gs, Rr, Gs, Chs, Ss, Wwf, Ww, Wo, Wo, Wo, Wo, Wo
Xv, Xv, Xv, Xv, Xv, Xv, Xv, Xv, Xv, Xv, Md, Hhd^Dr, Ss, Ss, Gll^Fdf, Hhd^Dr, Rr, Wwf^Bsb/, Wwf, Gll^Fdf, Hhd^Dr, Ss^Bw\r, Wwf^Bw\r, Ww, Wo, Wo, Wo, Wo, Wo
Xv, Xv, Xv, Xv, Xv, Xv, Xv, Xv, Mm^Xm, Mm^Xm, Chs, Hhd^Dr, Ss, Gll^Fdf, Gs, Gs^Es, Rr, Rr, Rr, Wwf, Wwf, Wwf, Wo, Wo^Bw\r, Ww, Wo, Wo, Wo, Wo
Xv, Xv, Xv, Xv, Xv, Xv, Gll^Fdf, Gll^Fdf, Hhd^Dr, Hhd^Dr, Ss, Chs, Gs, Gs, Rr, Rr, Rb^Eff, Rb, Rb^Vh, Rr, Rr, Wwf^Fdf, Wo, Wwf^Bw|, Wwf, Ww, Mm^Xm, Wo, Wo
Xv, Xv, Xv, Xv, Ss, Hhd^Dr, Rb^Gvs, Gll^Fdf, Gll^Fdf, Ss, Gll^Vl, Hhd^Fmf, Rr, Rr, Rb^Eff, Rb^Eff, Rb^Gvs, Rb^Gvs, Rb^Gvs, Rb^Eff, Rb^Eff, Chw, Chw, Rr, Wwf, Gll^Fdf, Hhd^Dr, Mm^Xm, Mm^Xm
Xv, Xv, Hhd^Dr, Gll^Fdf, Rb^Gvs, Rb^Gvs, Rb^Gvs, Rb^Gvs, Gll^Fdf, Ss, Ce, Ce, Rb^Eff, Rb^Eff, Rb^Gvs, Rb^Gvs, Rb^Gvs, Rb^Gvs, Rb^Gvs, Rb^Gvs, Rb^Gvs, Rb^Eff, Wwf^Es, Hhd^Dr, Wwf, Gs, Gll^Es, Mm, Mm^Xm
Mm^Xm, Hhd^Dr, Gll^Fdf, Rb^Gvs, Rb^Gvs, Rb^Vct, Rb^Eff, Rb^Eff, Ce, Ce, Rb^Eff, Re^Fdf, Hhd^Dr, Rb^Eff, Gll^Fdf, Rb^Gvs, Rb^Gvs, Hhd^Fmf, Tb^Tf, Rb^Gvs, Ss, Wwf, Wwf, Wwf, Wwf, Gs, Gll^Es, Hhd^Dr, Md
Mm^Eff, Mm, Rb^Gvs, Rb^Gvs, Rb^Eff, Rb, Rr, Ket, Hhd^Eff, Rb^Eff, Rb^Gvs, Rb^Eff, Rb^Eff, Ss, Ss, Rb^Eff, Rb^Eff, Mm^Xm, Md, Gll^Fdf, Wwf, Wwf, Wwf, Wwr, Wwf, Gll^Fdf, Gll^Fmf, Hhd^Dr, Md
Gll^Fdf, Rb^Eff, Rb^Vhr, Rb^Eff, Wwf, Rr, Wwf, Rb, Mm^Xm, Hhd^Gvs, Rb^Gvs, Rb^Gvs, Rb^Gvs, Rb^Eff, Rp, Gs, Gs^Es, Mm^Xm, Mm^Xm, Tb^Tf, Wwf, Gs, Gll^Fdf, Rr, Rr, Wwf, Wwf, Hhd^Dr, Md
Ss, Gll, Gs, Gs, Gs, Wwf, Ce, Wwf, Wwf, Rb^Eff, Rb^Eff, Rb^Gvs, Md, Hhd^Fmf, Hhd^Vhh, Rp, Rp, Hhd^Dr, Mm^Xm, Hhd^Dr, Wwf, Gs, Gll, Gll^Tf, Hhd^Dr, Rr, Wwf, Hhd^Fmf, Hhd^Fmf
Hhd^Fmf, Hhd^Fmf, Rb^Eff, Rb^Eff, 2 Ket^Eff, Ce, Gs, Gs, Gll^Fdf, Wwf^Es, Hhd^Dr, Tb^Tf, Rp^Em, Rp, Wwf, Wwf, Wwf, Chr, Ww^Bw\r, Ww, Ww, Gs, Gs, Gll^Es, Gll^Es, Rr, Wwf, Wwf, Wwf
Hhd^Eff, Rb^Eff, Rb^Gvs, Rb^Gvs, Ce, Rb^Eff, Rb^Eff, Gll^Tf, Gll^Fdf, Wwf, Wwf, Mm^Xm, Wog, Wog^Bw|r, Ww, Gs, Gs, Wwf, Wwf, Hh^Fdf, Wwf, Gs, Wwf, Gs, Gs, Rp^Vhc, Wwf, Wwf, Wwf
Gll^Fdf, Rb^Gvs, Rb^Gvs, Rb^Gvs, Rb^Gvs, Rb^Gvs, Rb^Gvs, Mm^Xm, Hhd^Dr, Wwf, Wwf, Wog, Tb^Tf, Wog^Bw|r, Wwf, Gs, Gs, Ww, Wwf, Wwr, Wwr, Wwf, Md, Wwf, Wwf, Wwf, Gs, Wwf, Ww
Hhd^Dr, Hhd^Gvs, Rb^Vct, Rb^Gvs, Rb^Gvs, Rb^Gvs, Rb^Gvs, Rb^Gvs, Rb^Eff, Ss^Vhs, Wwf, Wwf, Gll^Tf, Gs, Gs, Mm^Xm, Wwf, Wwf, Gs, Wwf, Mm^Xm, Wwr, Mm^Xm, Hh^Fdf, Rb^Eff, Rb^Eff, Rb^Eff, Gll^Fdf, Ss
Gll^Fdf, Gll^Fdf, Rb^Gvs, Rb^Gvs, Rb^Gvs, Hhd^Gvs, Ce, Rb^Eff, Gll^Fdf, Wwf, Wwf, Gs^Em, Hhd^Dr, Gll^Fmf, Wwf, Wwr, Hhd^Dr, Gs^Es, Wwf, Chw, Gll^Fdf, Gs, Ce, Rb^Eff, Rb^Gvs, Rb^Gvs, Rb^Gvs, Hhd^Eff, Gll^Fdf
Ss, Hhd^Eff, Rb^Eff, Rb^Gvs, Rb^Eff, Rb^Eff, Mm^Xm, Gs, Mm^Xm, Chw, Gs, Gs^Es, Wwf, Wwr, Gs, Gll^Fmf, Gll^Tf, Gs, Wwf, Wwf, Rb^Eff, Rb^Eff, Rb^Gvs, Hhd^Gvs, Rb^Gvs, Rb^Gvs, Rb^Vct, Gll^Fdf, Hhd^Dr
Ww, Gll^Fdf, Gs, Rb^Eff, Wwf, Hhd^Fmf, Md, Wwr, Wwr, Wwf, Wwf, Wwf, Gs, Mm^Xm, Wwf, Gs^Em, Tb^Tf, Wwf, Wwf, Ss^Vhs, Hhd^Dr, Rb^Gvs, Rb^Gvs, Rb^Gvs, Rb^Gvs, Rb^Gvs, Rb^Gvs, Hhd^Gvs, Gs^Fdf
Wwf, Wwf, Wwf, Wwf, Gs, Wwf, Wwf, Wwf, Wwf, Wwr, Wwf, Ww, Gs, Gs, Ww, Wog^Bw|r, Wog, Wog, Wwf, Wwf, Gll^Fdf, Mm^Xm, Rb^Eff, Rb^Gvs, Ce, Rb^Gvs, Rb^Gvs, Rb^Gvs, Hhd^Eff
Wwf, Wwf, Wwf, Rp^Vhc, Gll, Gs, Gs, Gs, Ww, Hhd^Fmf, Ww^Bw\, Wwf, Wwf, Gs, Wwf, Wog^Bw|, Rp^Em, Mm^Xm, Hhd^Dr, Wwf, Gll^Fdf, Gll^Tf, Gs, Rb^Eff, 1 Ket^Eff, Rb^Gvs, Rb^Eff, Rb^Eff, Gll^Fdf
Hhd^Fmf, Wwf, Wwf, Rr, Hhd^Dr, Gll^Es, Gll, Gs, Wwf, Ww, Mm^Xm, Chr, Rp, Wwf, Hhd^Vhh, Rp, Mm, Tb^Tf, Rb^Eff, Wwf^Es, Wwf, Gs, Ce, Ce, Gs, Rb^Eff, Gs, Hhd^Fmf, Ss
Mm, Hhd^Fmf, Wwf, Rr, Rr, Gll^Tf, Re^Fdf, Gs, Wwf, Hhd^Dr, Mm^Xm, Hhd^Dr, Gs^Es, Rp, Rp, Hhd^Fmf, Rb^Gvs, Rb^Gvs, Rb^Gvs, Rb^Eff, Mm^Xm, Wwf, Wwf, Wwf, Wwf, Gs, Rb^Vhr, Gll, Gll^Fdf
Mm, Hhd^Dr, Gll^Fdf, Wwf, Wwf, Rr, Rr, Gs, Wwf, Tb^Tf, Md, Mm^Xm, Rb^Eff, Gs, Ss, Rb^Eff, Rb^Eff, Rb^Gvs, Rb^Gvs, Hhd^Gvs, Hhd^Eff, Rb, Rr, Rr, Rb^Eff, Rb^Eff, Rb^Gvs, Rb^Eff, Mm^Eff
Mm^Xm, Hhd^Dr, Gll^Es, Gll^Fdf, Wwf, Wwr, Wwf, Wwf, Ss, Gd^Fdf, Tb^Tf, Mm^Xm, Rb^Gvs, Rb^Eff, Gll^Fdf, Ss, Hhd^Dr, Rb^Eff, Rb, Rb^Eff, Ce, Ket, Rb^Eff, Rb, Rb^Gvs, Rb^Gvs, Gll^Fdf, Md, Mm^Xm
Mm^Xm, Hhd^Dr, Gll^Es, Gs, Wwf, Wwf, Wwf^Es, Wwf, Rb^Gvs, Rb^Gvs, Rb^Gvs, Hhd^Fmf, Rb^Gvs, Rb^Gvs, Rb^Gvs, Rb^Eff, Rb^Eff, Gll^Fdf, Ce, Ce, Gll^Fdf, Rb^Eff, Rb^Gvs, Rb^Vct, Rb^Gvs, Rb^Gvs, Hhd^Dr, Hhd^Dr, Xv
Mm^Xm, Md, Hhd^Dr, Gs, Wwf, Hhd^Dr, Chw, Rb^Eff, Rb^Eff, Rb^Gvs, Rb^Gvs, Rb^Gvs, Rb^Gvs, Rb^Gvs, Rb, Rb^Eff, Rr, Ce, Gll^Vl, Ss, Gll^Fdf, Rb^Gvs, Rb^Gvs, Rb^Gvs, Ss, Gd^Fdf, Xv, Xv, Xv
Wo, Mm^Xm, Mm^Xm, Gll^Fdf, Wwf, Rr, Wo, Chw, Rr, Rb^Eff, Rb^Vh, Rb^Gvs, Rb^Eff, Rb^Eff, Rr, Rr, Gs, Hhd^Fmf, Ss, Ss, Hhd^Dr, Gll^Fdf, Gll^Fdf, Hhd^Dr, Xv, Xv, Xv, Xv, Xv
Wo, Wo, Wo, Chw, Ww, Wwf^Bw|r, Wo, Wwf^Fdf, Wwf, Rr, Rr, Rb, Rr, Rr, Gs, Gs, Ss, Chs, Chs, Hhd^Dr, Mm^Xm, Gll^Fdf, Xv, Xv, Xv, Xv, Xv, Xv, Xv
Wo, Wo, Wo, Wo, Wo, Wo^Bw|r, Wwf^Bw\, Wwf, Hhd^Dr, Wwf, Wwf, Rr, Rr, Gs^Es, Gll^Fdf, Gll^Fdf, Ss, Hhd^Dr, Mm^Xm, Mm^Xm, Xv, Xv, Xv, Xv, Xv, Xv, Xv, Xv, Xv
Wo, Wo, Wo, Wo, Wo, Ww, Wwf, Ss^Bw\, Chs, Gll^Fdf, Rr, Wwf^Bsb/, Wwf, Hhd^Dr, Ss, Ss, Md, Hhd^Dr, Xv, Xv, Xv, Xv, Xv, Xv, Xv, Xv, Xv, Xv, Xv
Wo, Wo, Wo, Wo, Wo, Ww^Ewl, Wwf, Ss, Gs, Gs, Rr, Gs, Wwf, Wwf, Wwf, Hhd^Fmf, Xv, Xv, Xv, Xv, Xv, Xv, Xv, Xv, Xv, Xv, Xv, Xv, Xv
Wo, Wo, Wo, Wo, Wo, Ww^Ewl, Wwf, Gs, Rr, Rr, Gll^Fdf, Gs, Wwf, Wwg, Xv, Xv, Xv, Xv, Xv, Xv, Xv, Xv, Xv, Xv, Xv, Xv, Xv, Xv, Xv
"
	name=_"2p — Clearing Gushes"
	next_scenario=""
	next_teleport_group_id=0
	next_underlying_unit_id=2
	random_calls=0
	random_seed="1c5744b8"
	random_start_time=no
	replay_pos=0
	server_request_number=0
	theme=""
	turn_at=1
	turns=-1
	unit_wml_ids="Javelineer,Orcish Slayer"
	victory_music=""
	[used_items]
	[/used_items]
	[next_item_name]
		next_item_name=0
	[/next_item_name]
	[event]
		name="prestart"
		[store_side]
			variable="new_side"
			[has_unit]
				id="id1"
			[/has_unit]
		[/store_side]
		[modify_side]
			color="$old_side1.color"
			side="$new_side.side"
			village_gold="$old_side1.village_gold"
		[/modify_side]
		[set_variable]
			name="side$new_side.side|_faction"
			value="$old_side1.faction"
		[/set_variable]
		[clear_variable]
			name="new_side"
		[/clear_variable]
		[store_side]
			variable="new_side"
			[has_unit]
				id="id2"
			[/has_unit]
		[/store_side]
		[modify_side]
			color="$old_side2.color"
			side="$new_side.side"
			village_gold="$old_side2.village_gold"
		[/modify_side]
		[set_variable]
			name="side$new_side.side|_faction"
			value="$old_side2.faction"
		[/set_variable]
		[clear_variable]
			name="new_side"
		[/clear_variable]
		[clear_variable]
			name="old_side1,old_side2,next_scenario"
		[/clear_variable]
	[/event]
	[event]
		name="prestart"
		[set_variable]
			name="maps"
			[join]
				key="name"
				separator="
"
				variable="map_pool"
			[/join]
		[/set_variable]
		[chat]
			message="Map pool:"
			speaker=""
		[/chat]
		[chat]
			message="$maps"
			speaker=""
		[/chat]
		[chat]
			message="/me ctrl+x to clear"
			speaker="Press"
		[/chat]
		[clear_variable]
			name="map_pool,maps"
		[/clear_variable]
	[/event]
	[event]
		name="prestart"
		[music]
			ms_before=12000
			name="knolls.ogg"
		[/music]
		[music]
			append=yes
			ms_before=12000
			name="wanderer.ogg"
		[/music]
		[music]
			append=yes
			ms_before=12000
			name="battle.ogg"
		[/music]
		[music]
			append=yes
			ms_before=12000
			name="transience.ogg"
		[/music]
		[music]
			append=yes
			ms_before=12000
			name="the_king_is_dead.ogg"
		[/music]
		[music]
			append=yes
			ms_before=12000
			name="knalgan_theme.ogg"
		[/music]
		[music]
			append=yes
			ms_before=12000
			name="the_city_falls.ogg"
		[/music]
		[music]
			append=yes
			ms_before=12000
			name="nunc_dimittis.ogg"
		[/music]
		[music]
			append=yes
			ms_before=12000
			name="revelation.ogg"
		[/music]
		[music]
			append=yes
			ms_before=12000
			name="loyalists.ogg"
		[/music]
		[music]
			append=yes
			ms_before=12000
			name="breaking_the_chains.ogg"
		[/music]
		[music]
			append=yes
			ms_before=12000
			name="elvish-theme.ogg"
		[/music]
		[music]
			append=yes
			ms_before=12000
			name="legends_of_the_north.ogg"
		[/music]
		[music]
			append=yes
			ms_before=12000
			name="traveling_minstrels.ogg"
		[/music]
		[music]
			append=yes
			ms_before=12000
			name="underground.ogg"
		[/music]
		[music]
			append=yes
			ms_before=12000
			name="vengeful.ogg"
		[/music]
		[music]
			append=yes
			ms_before=12000
			name="frantic.ogg"
		[/music]
		[music]
			append=yes
			ms_before=12000
			name="the_dangerous_symphony.ogg"
		[/music]
		[music]
			append=yes
			ms_before=12000
			name="heroes_rite.ogg"
		[/music]
		[music]
			append=yes
			ms_before=12000
			name="suspense.ogg"
		[/music]
		[music]
			append=yes
			ms_before=12000
			name="the_deep_path.ogg"
		[/music]
		[music]
			append=yes
			ms_before=12000
			name="siege_of_laurelmor.ogg"
		[/music]
		[music]
			append=yes
			ms_before=12000
			name="casualties_of_war.ogg"
		[/music]
		[music]
			append=yes
			ms_before=12000
			name="silvan_sanctuary.ogg"
		[/music]
		[music]
			append=yes
			ms_before=12000
			name="battle-epic.ogg"
		[/music]
	[/event]
	[event]
		first_time_only=no
		name="preload"
		[lua]
			code="-- pickadvance_dialog

pickadvance = {}
local T = wml.tag
local _ = wesnoth.textdomain ""wesnoth""

function pickadvance.show_dialog_unsynchronized(advance_info, unit)
-- dialog exit codes --
	local cancel_code = -2
	local single_unit_code = -1
--
	local unit_type_options = advance_info.type_advances
	local options = {}
	for _, ut in ipairs(unit_type_options) do
		options[#options + 1] = wesnoth.unit_types[ut]
	end

	local unit_override_one = (advance_info.unit_override or {})[2] == nil
		and (advance_info.unit_override or {})[1] or nil
	local game_override_one = (advance_info.game_override or {})[2] == nil
		and (advance_info.game_override or {})[1] or nil

	local description_row = T.row {
		T.column {
			border = ""all"",
			border_size = 5,
			horizontal_alignment = ""left"",
			T.label {
				definition = ""title"",
				label = _ ""Plan Advancement""
			}
		},
	}

	local list_row_definition = T.grid {
		T.row {
			T.column {
				border = ""all"",
				border_size = 5,
				grow_factor = 0,
				horizontal_alignment = ""left"",
				T.image {
					id = ""the_icon"",
					linked_group = ""image""
				}
			},
			T.column {
				border = ""all"",
				border_size = 5,
				grow_factor = 1,
				horizontal_alignment = ""left"",
				T.label {
					use_markup = true,
					id = ""the_label"",
					linked_group = ""type""
				}
			},
			T.column {
				border = ""all"",
				border_size = 5,
				horizontal_alignment = ""center"",
				vertical_alignment = ""center"",
				T.image {
					id = ""global_icon"",
					linked_group = ""global_icon"",
					label = ""icons/action/editor-tool-unit_30-pressed.png"",
					tooltip = _ ""This advancement is currently the default for all units of the same type""
				}
			}
		}
	}

	local listbox = T.listbox {
		id = ""the_list"",
		has_minimum = true,
		T.list_definition {
			T.row {
				T.column {
					horizontal_grow = true,
					vertical_grow = true,
					T.toggle_panel {
						return_value = single_unit_code,
						list_row_definition
					}
				}
			}
		}
	}

-- main dialog definition
	local dialog = {
		T.tooltip {
			id = ""tooltip""
		},
		T.helptip {
			id = ""tooltip""
		},
		T.linked_group {
			id = ""image"",
			fixed_width = true
		},
		T.linked_group {
			id = ""type"",
			fixed_width = true
		},
		T.linked_group {
			id = ""global_icon"",
			fixed_width = true
		},
		T.grid {
			description_row,
			T.row {
				grow_factor = 1,
				T.column {
					border = ""all"",
					border_size = 5,
					horizontal_grow = true,
					listbox
				}
			},
			T.row {
				grow_factor = 0,
				T.column {
					border = ""all"",
					border_size = 5,
					horizontal_alignment = ""left"",
					T.toggle_button {
						id = ""apply_to_all"",
						label = _ ""Apply to all units of this type""
					}
				}
			},
			T.row {
				T.column {
					horizontal_alignment = ""right"",
					T.grid {
						T.row {
							grow_factor = 0,
							T.column {
								border = ""all"",
								border_size = 5,
								horizontal_alignment = ""right"",
								T.button {
									return_value = single_unit_code,
									label = _ ""Save""
								}
							},
							T.column {
								border = ""all"",
								border_size = 5,
								horizontal_alignment = ""right"",
								T.button {
									id = ""cancel"",
									label = _ ""Cancel""
								}
							}
						}
					}
				}
			}
		}
	}

-- dialog preshow function
	local function preshow(window)
		window.apply_to_all.visible = not unit.canrecruit

		local selection = 0

		local empty_icon_unit = ""misc/blank-hex.png""

		local null_row = window.the_list[1]
		null_row.the_icon.label = empty_icon_unit
		null_row.the_label.label = _ ""No planned advancement""
		null_row.global_icon.visible = false

		for i, advance_type in ipairs(options) do
			local n = i + 1
			local text = advance_type.name
			if advance_type.id == game_override_one or advance_type.id == unit_override_one then
				selection = n
			end
			local this_row = window.the_list[n]
			this_row.the_label.label = text
			local img = advance_type.__cfg.image
			if img then
				img = (""%s~TC(%d,%s)""):format(img, unit.side, advance_type.__cfg.flag_rgb or ""magenta"")
			else
				img = empty_icon_unit
			end
			this_row.the_icon.label = img
			this_row.global_icon.visible = not not (advance_type.id == game_override_one) or ""hidden""
		end

		window.the_list:focus()
		if selection > 0 then
			window.the_list.selected_index = selection
		end
	end

-- dialog postshow function
	local item_result
	local apply_to_all
	local function postshow(window)
		item_result = window.the_list.selected_index - 1
		apply_to_all = window.apply_to_all.selected
	end

	local dialog_exit_code = gui.show_dialog(dialog, preshow, postshow)

	if dialog_exit_code == cancel_code then
		return { ignore = true }
	end

-- determine the choice made
	local is_reset = item_result == 0
	return {
		ignore = false,
		is_unit_override = not apply_to_all,
		unit_override = not is_reset and options[item_result].id or table.concat(unit_type_options, "",""),

		is_game_override = apply_to_all,
		game_override = apply_to_all and (not is_reset and options[item_result].id) or nil,
	}
end

-- "
		[/lua]
		[lua]
			code="-- pick_advance/main.lua

local on_event = wesnoth.require ""on_event""
local F = wesnoth.require ""functional""
local T = wml.tag
local _ = wesnoth.textdomain ""wesnoth""

wesnoth.wml_actions.set_menu_item {
	id = ""pickadvance"",
	description = _ ""Plan Advancement"",
	T.show_if {
		T.lua {
			code = ""return pickadvance.menu_available()""
		},
	},
	T.command {
		T.lua {
			code = ""pickadvance.pick_advance()""
		}
	}
}

-- replace any non-alphanumeric characters with an underscore
local function clean_type_func(unit_type)
	return string.gsub(unit_type, ""[^a-zA-Z0-9]"", ""_"")
end

-- splits a comma delimited string of unit types
-- returns a table of unit types that aren't blank, ""null"", and that exist
local function split_comma_units(string_to_split)
	return F.filter(
		stringx.split(string_to_split or """"),
		function(s) return s ~= """" and s ~= ""null"" and wesnoth.unit_types[s] end
	)
end

-- returns a table of the original unit types
--         a comma delimited string containing the same values
local function original_advances(unit)
	local clean_type = clean_type_func(unit.type)
	local variable = unit.variables[""pickadvance_orig_"" .. clean_type] or """"
	return split_comma_units(variable), clean_type_func(variable)
end

-- replace the unit's current advancements with the new set of units via object/effect
local function set_advances(unit, array)
	unit:add_modification(""object"", {
		pickadvance = true,
		take_only_once = false,
		T.effect {
			apply_to = ""new_advancement"",
			replace = true,
			types = array
		}
	})
end

-- for table ""arr"" containing sets of [index,unit_type]
-- return table containing sets of [unit_type,true]
local function array_to_set(arr)
	local result = {}
	for _, v in ipairs(arr) do
		result[v] = true
	end
	return result
end

-- works as anti-cheat and fixes tricky bugs in [male]/[female]/undead variation overrides
local function filter_overrides(unit, overrides)
	local possible_advances_array = original_advances(unit)
	local possible_advances = array_to_set(possible_advances_array)
	local filtered = F.filter(overrides, function(e) return possible_advances[e] end)
	return #filtered > 0 and filtered or possible_advances_array
end

-- returns a table with the unit's original advancements
--         the unit's currently overridden advancement or nil if not set
--         the unit's currently overridden advancement or nil if not set, but set by some other mechanism from the current game
local function get_advance_info(unit)
	local type_advances, orig_options_sanitized = original_advances(unit)
	local game_override_key = ""pickadvance_side"" .. unit.side .. ""_"" .. orig_options_sanitized
	local game_override = wml.variables[game_override_key]
	local function correct(override)
		return override and #override > 0 and #override < #type_advances and override or nil
	end

	return {
		type_advances = type_advances,
		unit_override = correct(unit.advances_to),
		game_override = correct(split_comma_units(game_override)),
	}
end

-- true if there's a unit at the selected hex
--      the unit has advancements
--      the unit is on a local human controlled side
--      the unit has multiple options in either its original set of advancements or current set of advancements
function pickadvance.menu_available()
	local unit = wesnoth.units.get(wml.variables.x1, wml.variables.y1)
	return unit and
		#unit.advances_to > 0
		and wesnoth.sides[unit.side].is_local and wesnoth.sides[unit.side].controller == ""human""
		and (#original_advances(unit) > 1 or #unit.advances_to > 1)
end

-- if the unit doesn't have a set of original advancements present, remove any existing ""pickadvance"" object
-- set the unit's original advancements in its variables
-- and then set the unit's advancement to either a game-provided override or its default advancements
local function initialize_unit(unit)
	local clean_type = clean_type_func(unit.type)
	if unit.variables[""pickadvance_orig_"" .. clean_type] == nil then
		unit:remove_modifications{
			pickadvance = true
		}
		unit.variables[""pickadvance_orig_"" .. clean_type] = table.concat(unit.advances_to, "","")
		local advance_info = get_advance_info(unit)
		local desired = advance_info.game_override or unit.advances_to
		desired = filter_overrides(unit, desired)
		set_advances(unit, desired)
	end
end

-- let the player select the unit's advancement via dialog
function pickadvance.pick_advance(unit)
	unit = unit or wesnoth.units.get(wml.variables.x1, wml.variables.y1)
	initialize_unit(unit)
	local _, orig_options_sanitized = original_advances(unit)
	local dialog_result = wesnoth.sync.evaluate_single(function()
		local local_result = pickadvance.show_dialog_unsynchronized(get_advance_info(unit), unit)
		return local_result
	end, function() return { is_ai = true } end)
	if dialog_result.ignore or dialog_result.is_ai then
		return
	end
	dialog_result.unit_override = split_comma_units(dialog_result.unit_override)
	dialog_result.game_override = split_comma_units(dialog_result.game_override)
	dialog_result.unit_override = filter_overrides(unit, dialog_result.unit_override)
	dialog_result.game_override = filter_overrides(unit, dialog_result.game_override)
	if dialog_result.is_unit_override then
		set_advances(unit, dialog_result.unit_override)
	end
	if dialog_result.is_game_override then
		local key = ""pickadvance_side"" .. unit.side .. ""_"" .. orig_options_sanitized
		wml.variables[key] = table.concat(dialog_result.game_override, "","")
	end
end

-- make unit advancement tree viewable in the ingame help
local known_units = {}
local function make_unit_known(unit)  -- can be both unit or unit type
	local type = unit.type or unit.id
	if known_units[type] then return end
	known_units[type] = true
	wesnoth.add_known_unit(type)
	for _, advance in ipairs(unit.advances_to) do
		make_unit_known(wesnoth.unit_types[advance])
	end
end

-- initialize a unit for picking an advancement
-- make its advancements viewable
-- force picking an advancement if it has multiple and the force option was specified
local function initialize_unit_x1y1(ctx)
	local unit = wesnoth.units.get(ctx.x1, ctx.y1)
	if not wesnoth.sides[unit.side].__cfg.allow_player then return end
	initialize_unit(unit)
	make_unit_known(unit)
	if #unit.advances_to > 1 and wml.variables.pickadvance_force_choice and unit.side == wesnoth.current.side then
		pickadvance.pick_advance(unit)
	end
end

-- return true if the side can be played and has either a recruit list set or non-leader units
local function humans_can_recruit()
	for _, side in ipairs(wesnoth.sides) do
		local units = wesnoth.units.find_on_map { side = side.side, canrecruit = false }
		if side.__cfg.allow_player and (#side.recruit ~= 0 or #units > 0) then
			return true
		end
	end
end
-- return true if any keeps exist
local function map_has_keeps()
	for x, y in wesnoth.current.map:iter() do
		local terr = wesnoth.current.map[{x, y}]
		local info = wesnoth.terrain_types[terr]
		if info.keep then
			return true
		end
	end
end

-- on start determine whether choosing an advancement is force for each unit
on_event(""start"", function()
	local map_has_recruits = humans_can_recruit() and map_has_keeps()
	wml.variables.pickadvance_force_choice = wml.variables.pickadvance_force_choice or not map_has_recruits
end)

-- set ""fresh_turn"" for the moveto event at the start of each side turn
local fresh_turn = false
on_event(""turn refresh"", function()
	fresh_turn = true
end)

-- the first time a unit moves at the start of each side's turn, check if there are any new units that need to be forced to make an advancement choice
on_event(""moveto"", function()
	if fresh_turn then
		fresh_turn = false
		if not wesnoth.sides[wesnoth.current.side].__cfg.allow_player then return end
		for _, unit in ipairs(wesnoth.units.find_on_map { side = wesnoth.current.side }) do
			if #unit.advances_to > 1 and wml.variables.pickadvance_force_choice and wesnoth.current.turn > 1 then
				pickadvance.pick_advance(unit)
				if #unit.advances_to > 1 then
					local len = #unit.advances_to
					local rand = mathx.random(len)
					unit.advances_to = { unit.advances_to[rand] }
				end
			else
				initialize_unit(unit)
			end
		end
	end
end)

-- initialize units on recruit and after advancing, forcing another advancement choice if required
on_event(""recruit"", initialize_unit_x1y1)
on_event(""post advance"", initialize_unit_x1y1)


-- "
		[/lua]
	[/event]
	[event]
		name="prestart"
		[chat]
			message="/me version 1.0.0"
			speaker=_"Ladder Era"
		[/chat]
	[/event]
	[event]
		name="time_over"
		[lua]
			code=" wesnoth.require(""multiplayer/eras.lua"").turns_over_advantage() "
		[/lua]
	[/event]
	[event]
		name="prestart"
		[lua]
			code=" wesnoth.require(""multiplayer/eras.lua"").quick_4mp_leaders(...) "
			[args]
				[trait]
#textdomain wesnoth-help
					female_name=_"female^quick"
					help_text=_"<italic>text='Quick'</italic> units have 1 extra movement point, but 5% less hitpoints than usual." +
						_"

Quick is the most noticeable trait, particularly in slower moving units such as trolls or heavy infantry. Units with the quick trait often have greatly increased mobility in rough terrain, which can be important to consider when deploying your forces. Also, quick units aren’t quite as tough as units without this trait and are subsequently less good at holding contested positions."
					id="quick"
					male_name=_"quick"
					[effect]
						apply_to="movement"
						increase=1
					[/effect]
					[effect]
						apply_to="hitpoints"
						increase_total="-5%"
					[/effect]
				[/trait]
			[/args]
		[/lua]
	[/event]
	[event]
		name="prestart"
		[lua]
			code=" wesnoth.require(""~add-ons/Ladder_Era/lua/slow_6mp_leaders.lua"").slow_6mp_leaders(...) "
			[args]
				[trait]
					female_name=_"female^slow"
					help_text=_"<italic>text='Slow'</italic> units have 1 less movement point but 5% more hitpoints." +
						_"

Thick-bodied and clumsy, slow individuals of goblins and other species take a movement penalty but are compensated for it with a slight increase in endurance."
					id="slow"
					male_name=_"slow"
					[effect]
						apply_to="movement"
						increase=-1
					[/effect]
					[effect]
						apply_to="hitpoints"
						increase_total="5%"
					[/effect]
				[/trait]
			[/args]
		[/lua]
	[/event]
	[event]
		first_time_only=no
		name="side_turn"
		[modify_unit]
			resting=yes
			[filter]
				side="$side_number"
				status="poisoned"
				trait="hardy"
				[filter_location]
					terrain="!,*^V*,*^Do"
				[/filter_location]
				[not]
					[filter_adjacent]
						ability_type="heals"
						is_enemy=no
					[/filter_adjacent]
				[/not]
			[/filter]
		[/modify_unit]
	[/event]
	[event]
		name="prestart"
		[set_menu_item]
#textdomain wesnoth-multiplayer
			description=_"Ladder Era Summary"
			id="0_summary"
			[command]
				[message]
					image="ladder-icon.png"
					message="Changes comparing to the Default Era.

Leaders
- Leaders with 6 movement points receive slow trait (similar to how 4 mp leaders receive quick trait, which is inherited from the Default Era)
- Pikeman, Red Mage, White Mage, Elvish Sorceress, Trapper and Rogue removed from the leader pools
- Removed leaders from the manual selection pool that are not present in the random selection pool

Drakes
- Drake Fighter: 30% defense in shallow water
- Drake Burner: -50% cold resistance

Knalgan Alliance
- Dwarves have 3 traits, hardy trait (always rest heal if poisoned) is mandatory, healthy trait is removed.
- Footpad: melee blade 5-2
- Poacher: 32 hitpoints
- Ulfserker: 20 gold
- Thunderer: 16 gold
- Guardsman: ranged attack 6-1

Loyalists
- Spearman: ranged attack 5-1
- Bowman: melee attack 5-2
- Cavalryman: 18 gold
- Heavy Infantryman: -10% cold resistance

Northerners
- Orcish Archer: ranged pierce attack 5-3

Rebels
- Elvish Shaman: no dextrous trait, ranged attack 3-2
- Merman Hunter: 32 hitpoints, 60% defense in deep water

Undead
- Vampire bat: no intelligent trait
- Skeleton Archer: 15 gold"
					side_for="$side_number"
					speaker="narrator"
				[/message]
			[/command]
		[/set_menu_item]
	[/event]
	[event]
		name="prestart"
		[set_menu_item]
			description=_"Ladder Era Changelog"
			id="1_changelog"
			[command]
				[message]
					image="ladder-icon.png"
					message="Version 1.0.0
- Release for Wesnoth 1.16
- Ghost and Wose were changed in Default Era of Wesnoth 1.16 and they became the same as in Ladder Era
- Ladder Era DOES NOT include Drake Burner, Heavy Infantryman, Elvish Shaman, Merman Hunter and Poacher changes from Default Era 1.16. Ladder Era versions of those units comparing to Default Era:
    -- Drake Burner: -50% cold resistance
    -- Heavy Infantryman: -10% cold resistance
    -- Elvish Shaman: no dextrous trait, ranged attack 3-2
    -- Merman Hunter: 32 hitpoints, 60% defense in deep water
    -- Poacher: 32 hitpoints

Version 0.1.17
- Created Ladder Test Era with Dwarvish Thunderer 9-2 ranged attack and 17 gold

Version 0.1.16
- Dwarvish Thunderer back to 18-1 ranged attack and 16 gold

Version 0.1.15
- Dwarvish Thunderer removed 18-1 ranged attack, 9-2 is left

Version 0.1.14
- Dwarvish Thunderer cost from 16 to 17

Version 0.1.13
- Fixed changelog displayed for both players

Version 0.1.12
- Added new ranged attack which shot twice to Dwarvish Thunderer line for testing purposes

Version 0.1.11
- Fixed Footpad animation bug

Version 0.1.10
- Made add-on compatible with older versions
- Updated all Footpad sprites

Version 0.1.9
- Added Competitive Map Pack
- Minor map updates to Den of Onis and Fallenstar Lake

Version 0.1.8
- Pikeman and Rogue removed from leader pools
- Removed dextrous trait from Poacher
- Dwarvish Ulfserker cost from 19 to 20
- Dwarvish Thunderer cost from 17 to 16
- Dwarvish Guardsman ranged attack from 5-1 to 6-1
- Dwarvish Steelclad hitpoints from 59 to 57
- Bowman melee attack from 4-2 to 5-2
- Skeleton Archer cost from 14 to 15
- Cavalry reverted movement from 7 to 8, cost changed from 17 to 18 gold
- Footpad sprite update

Version 0.1.7
- Reverted Dwarvish Ulfserker and Berserker arcane resistance back to 10% as in the Default Era

Version 0.1.6
- Fixed map picker Hornshark Island bug. Units on the map should depend on player's faction

Version 0.1.5
- Removed Elvish Sorceress from the leaders pool
- Removed Hornshark Island from the classic map pool

Version 0.1.4
- Updated map pickers: map pool is printed to the chat area

Version 0.1.3
- Improved map pickers code
- Added add-on documentation

Version 0.1.2
- Allowed 2v2 maps to be played with the Ladder Era
- Prevent map pickers to load if less than 2 maps are present in the map pool

Version 0.1.1
- Added feature to the map pickers to configure the pool of maps

Version 0.1.0
- Added modified versions of Den of Onis, Hamlets, Silverhead Crossing and The Freelands maps
- Created map pickers for selecting random map from a pool of approved maps
- Implemented Ladder Era with the next changes comparing to the Default Era:
    -- Leaders
        --- Leaders with 6 movement points receive slow trait (similar to how 4 mp leaders receive quick trait, which is inherited from the Default Era)
        --- Red Mage, White Mage and Trapper removed from the leaders pool
        --- Removed leaders from the manual selection pool that are not present in the random selection pool
    -- Drakes
        --- Drake Fighter: 30% defense in shallow water
    -- Knalgan Alliance
        --- Dwarves have 3 traits, hardy trait (always rest heal if poisoned) is mandatory, healthy trait is removed
        --- Dwarvish Ulfserker: -20% arcane resistance
        --- Poacher: can have dextrous trait
        --- Footpad: melee blade 5-2
    -- Loyalists
        --- Spearman: ranged attack 5-1
        --- Cavalryman: 7 movement points
    -- Northerners
        --- Orcish Archer: ranged pierce attack 5-3
    -- Rebels
        --- Elvish Shaman: no dextrous trait
        --- Wose: 0% cold resistance
        --- Merman Hunter: +2 hitpoints and 60% defense in deep water
    -- Undead
        --- Vampire bat: no intelligent trait
        --- Ghost: 19 gold"
					side_for="$side_number"
					speaker="narrator"
				[/message]
			[/command]
		[/set_menu_item]
	[/event]
	[menu_item]
		description=_"Ladder Era Summary"
		id="0_summary"
		image=""
		synced=yes
		use_hotkey=yes
		[command]
			first_time_only=no
			id="0_summary"
			name="menu item 0_summary"
			[message]
				image="ladder-icon.png"
				message="Changes comparing to the Default Era.

Leaders
- Leaders with 6 movement points receive slow trait (similar to how 4 mp leaders receive quick trait, which is inherited from the Default Era)
- Pikeman, Red Mage, White Mage, Elvish Sorceress, Trapper and Rogue removed from the leader pools
- Removed leaders from the manual selection pool that are not present in the random selection pool

Drakes
- Drake Fighter: 30% defense in shallow water
- Drake Burner: -50% cold resistance

Knalgan Alliance
- Dwarves have 3 traits, hardy trait (always rest heal if poisoned) is mandatory, healthy trait is removed.
- Footpad: melee blade 5-2
- Poacher: 32 hitpoints
- Ulfserker: 20 gold
- Thunderer: 16 gold
- Guardsman: ranged attack 6-1

Loyalists
- Spearman: ranged attack 5-1
- Bowman: melee attack 5-2
- Cavalryman: 18 gold
- Heavy Infantryman: -10% cold resistance

Northerners
- Orcish Archer: ranged pierce attack 5-3

Rebels
- Elvish Shaman: no dextrous trait, ranged attack 3-2
- Merman Hunter: 32 hitpoints, 60% defense in deep water

Undead
- Vampire bat: no intelligent trait
- Skeleton Archer: 15 gold"
				side_for="$side_number"
				speaker="narrator"
			[/message]
		[/command]
	[/menu_item]
	[menu_item]
		description=_"Ladder Era Changelog"
		id="1_changelog"
		image=""
		synced=yes
		use_hotkey=yes
		[command]
			first_time_only=no
			id="1_changelog"
			name="menu item 1_changelog"
			[message]
				image="ladder-icon.png"
				message="Version 1.0.0
- Release for Wesnoth 1.16
- Ghost and Wose were changed in Default Era of Wesnoth 1.16 and they became the same as in Ladder Era
- Ladder Era DOES NOT include Drake Burner, Heavy Infantryman, Elvish Shaman, Merman Hunter and Poacher changes from Default Era 1.16. Ladder Era versions of those units comparing to Default Era:
    -- Drake Burner: -50% cold resistance
    -- Heavy Infantryman: -10% cold resistance
    -- Elvish Shaman: no dextrous trait, ranged attack 3-2
    -- Merman Hunter: 32 hitpoints, 60% defense in deep water
    -- Poacher: 32 hitpoints

Version 0.1.17
- Created Ladder Test Era with Dwarvish Thunderer 9-2 ranged attack and 17 gold

Version 0.1.16
- Dwarvish Thunderer back to 18-1 ranged attack and 16 gold

Version 0.1.15
- Dwarvish Thunderer removed 18-1 ranged attack, 9-2 is left

Version 0.1.14
- Dwarvish Thunderer cost from 16 to 17

Version 0.1.13
- Fixed changelog displayed for both players

Version 0.1.12
- Added new ranged attack which shot twice to Dwarvish Thunderer line for testing purposes

Version 0.1.11
- Fixed Footpad animation bug

Version 0.1.10
- Made add-on compatible with older versions
- Updated all Footpad sprites

Version 0.1.9
- Added Competitive Map Pack
- Minor map updates to Den of Onis and Fallenstar Lake

Version 0.1.8
- Pikeman and Rogue removed from leader pools
- Removed dextrous trait from Poacher
- Dwarvish Ulfserker cost from 19 to 20
- Dwarvish Thunderer cost from 17 to 16
- Dwarvish Guardsman ranged attack from 5-1 to 6-1
- Dwarvish Steelclad hitpoints from 59 to 57
- Bowman melee attack from 4-2 to 5-2
- Skeleton Archer cost from 14 to 15
- Cavalry reverted movement from 7 to 8, cost changed from 17 to 18 gold
- Footpad sprite update

Version 0.1.7
- Reverted Dwarvish Ulfserker and Berserker arcane resistance back to 10% as in the Default Era

Version 0.1.6
- Fixed map picker Hornshark Island bug. Units on the map should depend on player's faction

Version 0.1.5
- Removed Elvish Sorceress from the leaders pool
- Removed Hornshark Island from the classic map pool

Version 0.1.4
- Updated map pickers: map pool is printed to the chat area

Version 0.1.3
- Improved map pickers code
- Added add-on documentation

Version 0.1.2
- Allowed 2v2 maps to be played with the Ladder Era
- Prevent map pickers to load if less than 2 maps are present in the map pool

Version 0.1.1
- Added feature to the map pickers to configure the pool of maps

Version 0.1.0
- Added modified versions of Den of Onis, Hamlets, Silverhead Crossing and The Freelands maps
- Created map pickers for selecting random map from a pool of approved maps
- Implemented Ladder Era with the next changes comparing to the Default Era:
    -- Leaders
        --- Leaders with 6 movement points receive slow trait (similar to how 4 mp leaders receive quick trait, which is inherited from the Default Era)
        --- Red Mage, White Mage and Trapper removed from the leaders pool
        --- Removed leaders from the manual selection pool that are not present in the random selection pool
    -- Drakes
        --- Drake Fighter: 30% defense in shallow water
    -- Knalgan Alliance
        --- Dwarves have 3 traits, hardy trait (always rest heal if poisoned) is mandatory, healthy trait is removed
        --- Dwarvish Ulfserker: -20% arcane resistance
        --- Poacher: can have dextrous trait
        --- Footpad: melee blade 5-2
    -- Loyalists
        --- Spearman: ranged attack 5-1
        --- Cavalryman: 7 movement points
    -- Northerners
        --- Orcish Archer: ranged pierce attack 5-3
    -- Rebels
        --- Elvish Shaman: no dextrous trait
        --- Wose: 0% cold resistance
        --- Merman Hunter: +2 hitpoints and 60% defense in deep water
    -- Undead
        --- Vampire bat: no intelligent trait
        --- Ghost: 19 gold"
				side_for="$side_number"
				speaker="narrator"
			[/message]
		[/command]
	[/menu_item]
	[menu_item]
#textdomain wesnoth
		description=_"Plan Advancement"
		id="pickadvance"
		image=""
		synced=yes
		use_hotkey=yes
		[show_if]
			[lua]
				code="return pickadvance.menu_available()"
			[/lua]
		[/show_if]
		[command]
			first_time_only=no
			id="pickadvance"
			name="menu item pickadvance"
			[lua]
				code="pickadvance.pick_advance()"
			[/lua]
		[/command]
	[/menu_item]
	[side]
		action_bonus_count=0
		allow_player=yes
		auto_shroud=yes
		carryover_add=no
		carryover_bonus=1
		carryover_gold=0
		carryover_percentage=80
		chose_random=no
		color="blue"
		controller="human"
		countdown_time=0
		current_player="Phoenixz"
		defeat_condition="no_leader_left"
		disallow_observers=no
		faction="Custom"
		faction_name=_"Custom"
		flag=""
		flag_icon=""
		fog=yes
		fog_data=""
		gold=100
		hidden=no
		id="id2"
		income=0
		lost=no
		no_leader=yes
		objectives="<big>Victory:</big>
<span color='#00ff00'>• Defeat enemy leader(s)</span>"
		objectives_changed=yes
		persistent=yes
		recall_cost=20
		recruit="Bowman Ladder_1,Cavalryman Ladder_1,Fencer,Heavy Infantryman Ladder_1,Horseman,Mage,Merman Fighter,Spearman Ladder_1"
		save_id="id2"
		scroll_to_leader=yes
		share_vision="all"
		shroud=no
		shroud_data=""
		side=1
		side_name=""
		start_gold=100
		suppress_end_turn_confirmation=no
		team_name="Team 1"
		user_team_name="Team 1"
		village_gold=1
		village_support=1
		[ai]
#textdomain wesnoth-lib
			description=_"Multiplayer_AI^Default AI (RCA)"
			id="ai_default_rca"
			mp_rank=1000
			[stage]
				id="main_loop"
				name="ai_default_rca::candidate_action_evaluation_loop"
				[candidate_action]
					engine="cpp"
					id="goto"
					max_score=200000
					name="ai_default_rca::goto_phase"
					score=200000
				[/candidate_action]
				[candidate_action]
					engine="lua"
					id="retreat_injured"
					location="ai/lua/ca_retreat_injured.lua"
					max_score=192000
					name="ai_default_rca::retreat_injured"
				[/candidate_action]
				[candidate_action]
					engine="lua"
					id="spread_poison"
					location="ai/lua/ca_spread_poison.lua"
					max_score=190000
					name="ai_default_rca::spread_poison"
				[/candidate_action]
				[candidate_action]
					engine="cpp"
					id="recruitment"
					max_score=180000
					name="default_recruitment::recruitment"
					score=180000
				[/candidate_action]
				[candidate_action]
					engine="cpp"
					id="move_leader_to_goals"
					max_score=140000
					name="ai_default_rca::move_leader_to_goals_phase"
					score=140000
				[/candidate_action]
				[candidate_action]
					engine="cpp"
					id="move_leader_to_keep"
					max_score=120000
					name="ai_default_rca::move_leader_to_keep_phase"
					score=120000
				[/candidate_action]
				[candidate_action]
					engine="lua"
					id="high_xp_attack"
					location="ai/lua/ca_high_xp_attack.lua"
					max_score=100010
					name="ai_default_rca::high_xp_attack"
				[/candidate_action]
				[candidate_action]
					engine="cpp"
					id="combat"
					max_score=100000
					name="ai_default_rca::combat_phase"
					score=100000
				[/candidate_action]
				[candidate_action]
					engine="lua"
					id="place_healers"
					location="ai/lua/ca_place_healers.lua"
					max_score=96000
					name="ai_default_rca::place_healers"
				[/candidate_action]
				[candidate_action]
					engine="cpp"
					id="healing"
					max_score=80000
					name="ai_default_rca::get_healing_phase"
					score=80000
				[/candidate_action]
				[candidate_action]
					engine="cpp"
					id="villages"
					max_score=60000
					name="ai_default_rca::get_villages_phase"
					score=60000
				[/candidate_action]
				[candidate_action]
					engine="cpp"
					id="move_to_targets"
					max_score=20000
					name="ai_default_rca::move_to_targets_phase"
					score=20000
				[/candidate_action]
				[candidate_action]
					engine="cpp"
					id="leader_shares_keep"
					max_score=10000
					name="ai_default_rca::leader_shares_keep_phase"
					score=10000
				[/candidate_action]
				[candidate_action]
					engine="lua"
					id="move_to_any_enemy"
					location="ai/lua/ca_move_to_any_enemy.lua"
					max_score=1000
					name="ai_default_rca::move_to_any_enemy"
				[/candidate_action]
			[/stage]
			[aspect]
				engine="cpp"
				id="advancements"
				name="composite_aspect"
				[default]
					engine="cpp"
					name="standard_aspect"
				[/default]
			[/aspect]
			[aspect]
				engine="cpp"
				id="aggression"
				name="composite_aspect"
				[default]
					engine="cpp"
					name="standard_aspect"
					value=0.4
				[/default]
			[/aspect]
			[aspect]
				engine="cpp"
				id="attacks"
				invalidate_on_gamestate_change=yes
				name="composite_aspect"
				[default]
					engine="cpp"
					invalidate_on_gamestate_change=yes
					name="ai_default_rca::aspect_attacks"
				[/default]
			[/aspect]
			[aspect]
				engine="cpp"
				id="avoid"
				name="composite_aspect"
				[default]
					engine="cpp"
					name="standard_aspect"
					[value]
						[not]
						[/not]
					[/value]
				[/default]
			[/aspect]
			[aspect]
				engine="cpp"
				id="caution"
				name="composite_aspect"
				[default]
					engine="cpp"
					name="standard_aspect"
					value=0.25
				[/default]
			[/aspect]
			[aspect]
				engine="cpp"
				id="grouping"
				name="composite_aspect"
				[default]
					engine="cpp"
					name="standard_aspect"
					value="offensive"
				[/default]
			[/aspect]
			[aspect]
				engine="cpp"
				id="leader_aggression"
				name="composite_aspect"
				[default]
					engine="cpp"
					name="standard_aspect"
					value="-4.0"
				[/default]
			[/aspect]
			[aspect]
				engine="cpp"
				id="leader_goal"
				name="composite_aspect"
				[default]
					engine="cpp"
					name="standard_aspect"
				[/default]
			[/aspect]
			[aspect]
				engine="cpp"
				id="leader_ignores_keep"
				name="composite_aspect"
				[default]
					engine="cpp"
					name="standard_aspect"
					value=no
				[/default]
			[/aspect]
			[aspect]
				engine="cpp"
				id="leader_value"
				name="composite_aspect"
				[default]
					engine="cpp"
					name="standard_aspect"
					value="3.0"
				[/default]
			[/aspect]
			[aspect]
				engine="cpp"
				id="passive_leader"
				name="composite_aspect"
				[default]
					engine="cpp"
					name="standard_aspect"
					value=no
				[/default]
			[/aspect]
			[aspect]
				engine="cpp"
				id="passive_leader_shares_keep"
				name="composite_aspect"
				[default]
					engine="cpp"
					name="standard_aspect"
					value=no
				[/default]
			[/aspect]
			[aspect]
				engine="cpp"
				id="recruitment_diversity"
				name="composite_aspect"
				[default]
					engine="cpp"
					name="standard_aspect"
					value="2.0"
				[/default]
			[/aspect]
			[aspect]
				engine="cpp"
				id="recruitment_instructions"
				name="composite_aspect"
				[default]
					engine="cpp"
					name="standard_aspect"
					[value]
						[recruit]
							importance=0
						[/recruit]
					[/value]
				[/default]
			[/aspect]
			[aspect]
				engine="cpp"
				id="recruitment_more"
				name="composite_aspect"
				[default]
					engine="cpp"
					name="standard_aspect"
				[/default]
			[/aspect]
			[aspect]
				engine="cpp"
				id="recruitment_pattern"
				name="composite_aspect"
				[default]
					engine="cpp"
					name="standard_aspect"
				[/default]
			[/aspect]
			[aspect]
				engine="cpp"
				id="recruitment_randomness"
				name="composite_aspect"
				[default]
					engine="cpp"
					name="standard_aspect"
					value=50
				[/default]
			[/aspect]
			[aspect]
				engine="cpp"
				id="recruitment_save_gold"
				name="composite_aspect"
				[default]
					engine="cpp"
					name="standard_aspect"
					[value]
						active=0
					[/value]
				[/default]
			[/aspect]
			[aspect]
				engine="cpp"
				id="retreat_enemy_weight"
				name="composite_aspect"
				[default]
					engine="cpp"
					name="standard_aspect"
					value="1.0"
				[/default]
			[/aspect]
			[aspect]
				engine="cpp"
				id="retreat_factor"
				name="composite_aspect"
				[default]
					engine="cpp"
					name="standard_aspect"
					value=0.25
				[/default]
			[/aspect]
			[aspect]
				engine="cpp"
				id="scout_village_targeting"
				name="composite_aspect"
				[default]
					engine="cpp"
					name="standard_aspect"
					value=3
				[/default]
			[/aspect]
			[aspect]
				engine="cpp"
				id="simple_targeting"
				name="composite_aspect"
				[default]
					engine="cpp"
					name="standard_aspect"
					value=no
				[/default]
			[/aspect]
			[aspect]
				engine="cpp"
				id="support_villages"
				name="composite_aspect"
				[default]
					engine="cpp"
					name="standard_aspect"
					value=no
				[/default]
			[/aspect]
			[aspect]
				engine="cpp"
				id="village_value"
				name="composite_aspect"
				[default]
					engine="cpp"
					name="standard_aspect"
					value="1.0"
				[/default]
			[/aspect]
			[aspect]
				engine="cpp"
				id="villages_per_scout"
				name="composite_aspect"
				[default]
					engine="cpp"
					name="standard_aspect"
					value=4
				[/default]
				[facet]
					engine="cpp"
					name="standard_aspect"
					time_of_day=""
					turns=""
					value=8
				[/facet]
			[/aspect]
		[/ai]
		[unit]
			attacks_left=1
			canrecruit=yes
			cost=25
			experience=0
			extra_recruit=""
			facing="se"
			flag_rgb="magenta"
			gender="male"
			generate_name=yes
			goto_x=0
			goto_y=0
			halo=""
			hidden=no
			hitpoints=48
			id="id2"
			image="units/human-loyalists/javelineer.png"
			image_icon=""
			jamming=0
#textdomain wesnoth-units
			language_name=_"Javelineer"
			moves=5
			name="Phoenixz"
			overlays=""
			race="human"
			random_traits=no
			recall_cost=-1
			resting=no
			role=""
			side=1
			type="Javelineer"
			undead_variation=""
			underlying_id=2
			unrenamable=no
			upkeep="full"
			usage="fighter"
			variation=""
			vision=-1
			x=24
			y=20
			[variables]
			[/variables]
			[filter_recall]
			[/filter_recall]
			[status]
			[/status]
			[modifications]
			[/modifications]
		[/unit]
	[/side]
	[side]
		action_bonus_count=0
		allow_player=yes
		auto_shroud=yes
		carryover_add=no
		carryover_bonus=1
		carryover_gold=0
		carryover_percentage=80
		chose_random=no
		color="red"
		controller="human"
		countdown_time=0
		current_player="StonyDrew"
		defeat_condition="no_leader_left"
		disallow_observers=no
		faction="Custom"
#textdomain wesnoth
		faction_name=_"Custom"
		flag=""
		flag_icon=""
		fog=yes
		fog_data=""
		gold=100
		hidden=no
		id="id1"
		income=0
		lost=no
		no_leader=yes
		objectives="<big>Victory:</big>
<span color='#00ff00'>• Defeat enemy leader(s)</span>"
		objectives_changed=yes
		persistent=yes
		recall_cost=20
		recruit="Goblin Spearman,Naga Fighter,Orcish Archer Ladder_1,Orcish Assassin,Orcish Grunt,Troll Whelp,Wolf Rider"
		save_id="id1"
		scroll_to_leader=yes
		share_vision="all"
		shroud=no
		shroud_data=""
		side=2
		side_name=""
		start_gold=100
		suppress_end_turn_confirmation=no
		team_name="Team 2"
		user_team_name="Team 2"
		village_gold=1
		village_support=1
		[ai]
#textdomain wesnoth-lib
			description=_"Multiplayer_AI^Default AI (RCA)"
			id="ai_default_rca"
			mp_rank=1000
			[stage]
				id="main_loop"
				name="ai_default_rca::candidate_action_evaluation_loop"
				[candidate_action]
					engine="cpp"
					id="goto"
					max_score=200000
					name="ai_default_rca::goto_phase"
					score=200000
				[/candidate_action]
				[candidate_action]
					engine="lua"
					id="retreat_injured"
					location="ai/lua/ca_retreat_injured.lua"
					max_score=192000
					name="ai_default_rca::retreat_injured"
				[/candidate_action]
				[candidate_action]
					engine="lua"
					id="spread_poison"
					location="ai/lua/ca_spread_poison.lua"
					max_score=190000
					name="ai_default_rca::spread_poison"
				[/candidate_action]
				[candidate_action]
					engine="cpp"
					id="recruitment"
					max_score=180000
					name="default_recruitment::recruitment"
					score=180000
				[/candidate_action]
				[candidate_action]
					engine="cpp"
					id="move_leader_to_goals"
					max_score=140000
					name="ai_default_rca::move_leader_to_goals_phase"
					score=140000
				[/candidate_action]
				[candidate_action]
					engine="cpp"
					id="move_leader_to_keep"
					max_score=120000
					name="ai_default_rca::move_leader_to_keep_phase"
					score=120000
				[/candidate_action]
				[candidate_action]
					engine="lua"
					id="high_xp_attack"
					location="ai/lua/ca_high_xp_attack.lua"
					max_score=100010
					name="ai_default_rca::high_xp_attack"
				[/candidate_action]
				[candidate_action]
					engine="cpp"
					id="combat"
					max_score=100000
					name="ai_default_rca::combat_phase"
					score=100000
				[/candidate_action]
				[candidate_action]
					engine="lua"
					id="place_healers"
					location="ai/lua/ca_place_healers.lua"
					max_score=96000
					name="ai_default_rca::place_healers"
				[/candidate_action]
				[candidate_action]
					engine="cpp"
					id="healing"
					max_score=80000
					name="ai_default_rca::get_healing_phase"
					score=80000
				[/candidate_action]
				[candidate_action]
					engine="cpp"
					id="villages"
					max_score=60000
					name="ai_default_rca::get_villages_phase"
					score=60000
				[/candidate_action]
				[candidate_action]
					engine="cpp"
					id="move_to_targets"
					max_score=20000
					name="ai_default_rca::move_to_targets_phase"
					score=20000
				[/candidate_action]
				[candidate_action]
					engine="cpp"
					id="leader_shares_keep"
					max_score=10000
					name="ai_default_rca::leader_shares_keep_phase"
					score=10000
				[/candidate_action]
				[candidate_action]
					engine="lua"
					id="move_to_any_enemy"
					location="ai/lua/ca_move_to_any_enemy.lua"
					max_score=1000
					name="ai_default_rca::move_to_any_enemy"
				[/candidate_action]
			[/stage]
			[aspect]
				engine="cpp"
				id="advancements"
				name="composite_aspect"
				[default]
					engine="cpp"
					name="standard_aspect"
				[/default]
			[/aspect]
			[aspect]
				engine="cpp"
				id="aggression"
				name="composite_aspect"
				[default]
					engine="cpp"
					name="standard_aspect"
					value=0.4
				[/default]
			[/aspect]
			[aspect]
				engine="cpp"
				id="attacks"
				invalidate_on_gamestate_change=yes
				name="composite_aspect"
				[default]
					engine="cpp"
					invalidate_on_gamestate_change=yes
					name="ai_default_rca::aspect_attacks"
				[/default]
			[/aspect]
			[aspect]
				engine="cpp"
				id="avoid"
				name="composite_aspect"
				[default]
					engine="cpp"
					name="standard_aspect"
					[value]
						[not]
						[/not]
					[/value]
				[/default]
			[/aspect]
			[aspect]
				engine="cpp"
				id="caution"
				name="composite_aspect"
				[default]
					engine="cpp"
					name="standard_aspect"
					value=0.25
				[/default]
			[/aspect]
			[aspect]
				engine="cpp"
				id="grouping"
				name="composite_aspect"
				[default]
					engine="cpp"
					name="standard_aspect"
					value="offensive"
				[/default]
			[/aspect]
			[aspect]
				engine="cpp"
				id="leader_aggression"
				name="composite_aspect"
				[default]
					engine="cpp"
					name="standard_aspect"
					value="-4.0"
				[/default]
			[/aspect]
			[aspect]
				engine="cpp"
				id="leader_goal"
				name="composite_aspect"
				[default]
					engine="cpp"
					name="standard_aspect"
				[/default]
			[/aspect]
			[aspect]
				engine="cpp"
				id="leader_ignores_keep"
				name="composite_aspect"
				[default]
					engine="cpp"
					name="standard_aspect"
					value=no
				[/default]
			[/aspect]
			[aspect]
				engine="cpp"
				id="leader_value"
				name="composite_aspect"
				[default]
					engine="cpp"
					name="standard_aspect"
					value="3.0"
				[/default]
			[/aspect]
			[aspect]
				engine="cpp"
				id="passive_leader"
				name="composite_aspect"
				[default]
					engine="cpp"
					name="standard_aspect"
					value=no
				[/default]
			[/aspect]
			[aspect]
				engine="cpp"
				id="passive_leader_shares_keep"
				name="composite_aspect"
				[default]
					engine="cpp"
					name="standard_aspect"
					value=no
				[/default]
			[/aspect]
			[aspect]
				engine="cpp"
				id="recruitment_diversity"
				name="composite_aspect"
				[default]
					engine="cpp"
					name="standard_aspect"
					value="2.0"
				[/default]
			[/aspect]
			[aspect]
				engine="cpp"
				id="recruitment_instructions"
				name="composite_aspect"
				[default]
					engine="cpp"
					name="standard_aspect"
					[value]
						[recruit]
							importance=0
						[/recruit]
					[/value]
				[/default]
			[/aspect]
			[aspect]
				engine="cpp"
				id="recruitment_more"
				name="composite_aspect"
				[default]
					engine="cpp"
					name="standard_aspect"
				[/default]
			[/aspect]
			[aspect]
				engine="cpp"
				id="recruitment_pattern"
				name="composite_aspect"
				[default]
					engine="cpp"
					name="standard_aspect"
				[/default]
			[/aspect]
			[aspect]
				engine="cpp"
				id="recruitment_randomness"
				name="composite_aspect"
				[default]
					engine="cpp"
					name="standard_aspect"
					value=50
				[/default]
			[/aspect]
			[aspect]
				engine="cpp"
				id="recruitment_save_gold"
				name="composite_aspect"
				[default]
					engine="cpp"
					name="standard_aspect"
					[value]
						active=0
					[/value]
				[/default]
			[/aspect]
			[aspect]
				engine="cpp"
				id="retreat_enemy_weight"
				name="composite_aspect"
				[default]
					engine="cpp"
					name="standard_aspect"
					value="1.0"
				[/default]
			[/aspect]
			[aspect]
				engine="cpp"
				id="retreat_factor"
				name="composite_aspect"
				[default]
					engine="cpp"
					name="standard_aspect"
					value=0.25
				[/default]
			[/aspect]
			[aspect]
				engine="cpp"
				id="scout_village_targeting"
				name="composite_aspect"
				[default]
					engine="cpp"
					name="standard_aspect"
					value=3
				[/default]
			[/aspect]
			[aspect]
				engine="cpp"
				id="simple_targeting"
				name="composite_aspect"
				[default]
					engine="cpp"
					name="standard_aspect"
					value=no
				[/default]
			[/aspect]
			[aspect]
				engine="cpp"
				id="support_villages"
				name="composite_aspect"
				[default]
					engine="cpp"
					name="standard_aspect"
					value=no
				[/default]
			[/aspect]
			[aspect]
				engine="cpp"
				id="village_value"
				name="composite_aspect"
				[default]
					engine="cpp"
					name="standard_aspect"
					value="1.0"
				[/default]
			[/aspect]
			[aspect]
				engine="cpp"
				id="villages_per_scout"
				name="composite_aspect"
				[default]
					engine="cpp"
					name="standard_aspect"
					value=4
				[/default]
				[facet]
					engine="cpp"
					name="standard_aspect"
					time_of_day=""
					turns=""
					value=8
				[/facet]
			[/aspect]
		[/ai]
		[village]
			x=2
			y=10
		[/village]
		[unit]
			attacks_left=1
			canrecruit=yes
			cost=26
			experience=0
			extra_recruit=""
			facing="se"
			flag_rgb="magenta"
			gender="male"
			generate_name=yes
			goto_x=0
			goto_y=0
			halo=""
			hidden=no
			hitpoints=38
			id="id1"
			image="units/orcs/slayer.png"
			image_icon=""
			jamming=0
#textdomain wesnoth-units
			language_name=_"Orcish Slayer"
			max_hitpoints=38
			max_moves=5
			moves=5
			name="StonyDrew"
			overlays=""
			race="orc"
			random_traits=no
			recall_cost=-1
			resting=no
			role=""
			side=2
			type="Orcish Slayer"
			undead_variation=""
			underlying_id=1
			unrenamable=no
			upkeep="full"
			usage="mixed fighter"
			variation=""
			vision=5
			x=4
			y=12
			[modifications]
				[trait]
#textdomain wesnoth-help
					female_name=_"female^slow"
					help_text=_"<italic>text='Slow'</italic> units have 1 less movement point but 5% more hitpoints." +
						_"

Thick-bodied and clumsy, slow individuals of goblins and other species take a movement penalty but are compensated for it with a slight increase in endurance."
					id="slow"
					male_name=_"slow"
					[effect]
						apply_to="movement"
						increase=-1
					[/effect]
					[effect]
						apply_to="hitpoints"
						increase_total="5%"
					[/effect]
				[/trait]
			[/modifications]
			[variables]
			[/variables]
			[filter_recall]
			[/filter_recall]
			[status]
			[/status]
		[/unit]
	[/side]
	[time]
		blue=0
		green=-15
		id="dawn"
		image="misc/time-schedules/default/schedule-dawn.png"
		lawful_bonus=0
		name=_"Dawn"
		red=-25
		sound="ambient/morning.ogg"
	[/time]
	[time]
		blue=0
		green=0
		id="morning"
		image="misc/time-schedules/default/schedule-morning.png"
		lawful_bonus=25
		name=_"Morning"
		red=0
	[/time]
	[time]
		blue=0
		green=0
		id="afternoon"
		image="misc/time-schedules/default/schedule-afternoon.png"
		lawful_bonus=25
		name=_"Afternoon"
		red=0
	[/time]
	[time]
		blue=-35
		green=-20
		id="dusk"
		image="misc/time-schedules/default/schedule-dusk.png"
		lawful_bonus=0
		name=_"Dusk"
		red=10
		sound="ambient/night.ogg"
	[/time]
	[time]
		blue=-13
		green=-45
		id="first_watch"
		image="misc/time-schedules/default/schedule-firstwatch.png"
		lawful_bonus=-25
		name=_"First Watch"
		red=-75
	[/time]
	[time]
		blue=-13
		green=-45
		id="second_watch"
		image="misc/time-schedules/default/schedule-secondwatch.png"
		lawful_bonus=-25
		name=_"Second Watch"
		red=-75
	[/time]
	[variables]
		next_scenario="multiplayer_Clearing_Gushes_Ladder_Random"
		pickadvance_force_choice=no
		turn_number=1
		x1=0
		x2=0
		y1=0
		y2=0
		[old_side1]
			action_bonus_count=0
			allow_player=yes
			auto_shroud=yes
			base_income=2
			carryover_add=no
			carryover_bonus=1
			carryover_gold=0
			carryover_percentage=80
			chose_random=yes
			color="white"
			controller="human"
			countdown_time=0
			current_player="StonyDrew"
			defeat_condition="no_leader_left"
			disallow_observers=no
			expenses=0
			faction="Ladder Northerners"
#textdomain wesnoth-multiplayer
			faction_name=_"Northerners"
			flag=""
			flag_icon=""
			fog=yes
			fog_data=""
			gold=100
			hidden=no
			id="id1"
			income=2
			lost=no
			net_income=2
			no_leader=no
			num_units=1
			num_villages=0
			objectives="<big>Victory:</big>
<span color='#00ff00'>• Defeat enemy leader(s)</span>"
			objectives_changed=yes
			persistent=yes
			recall_cost=20
			recruit="Goblin Spearman,Naga Fighter,Orcish Archer Ladder_1,Orcish Assassin,Orcish Grunt,Troll Whelp,Wolf Rider"
			save_id="id1"
			scroll_to_leader=yes
			share_vision="all"
			shroud=no
			shroud_data=""
			side=1
			side_name=""
			start_gold=100
			suppress_end_turn_confirmation=no
			team_name="team1"
			total_upkeep=0
			user_team_name=_"teamname^1"
			village_gold=2
			village_support=1
			[ai]
#textdomain wesnoth-lib
				description=_"Multiplayer_AI^Default AI (RCA)"
				id="ai_default_rca"
				mp_rank=1000
				[stage]
					id="main_loop"
					name="ai_default_rca::candidate_action_evaluation_loop"
					[candidate_action]
						engine="cpp"
						id="goto"
						max_score=200000
						name="ai_default_rca::goto_phase"
						score=200000
					[/candidate_action]
					[candidate_action]
						engine="lua"
						id="retreat_injured"
						location="ai/lua/ca_retreat_injured.lua"
						max_score=192000
						name="ai_default_rca::retreat_injured"
					[/candidate_action]
					[candidate_action]
						engine="lua"
						id="spread_poison"
						location="ai/lua/ca_spread_poison.lua"
						max_score=190000
						name="ai_default_rca::spread_poison"
					[/candidate_action]
					[candidate_action]
						engine="cpp"
						id="recruitment"
						max_score=180000
						name="default_recruitment::recruitment"
						score=180000
					[/candidate_action]
					[candidate_action]
						engine="cpp"
						id="move_leader_to_goals"
						max_score=140000
						name="ai_default_rca::move_leader_to_goals_phase"
						score=140000
					[/candidate_action]
					[candidate_action]
						engine="cpp"
						id="move_leader_to_keep"
						max_score=120000
						name="ai_default_rca::move_leader_to_keep_phase"
						score=120000
					[/candidate_action]
					[candidate_action]
						engine="lua"
						id="high_xp_attack"
						location="ai/lua/ca_high_xp_attack.lua"
						max_score=100010
						name="ai_default_rca::high_xp_attack"
					[/candidate_action]
					[candidate_action]
						engine="cpp"
						id="combat"
						max_score=100000
						name="ai_default_rca::combat_phase"
						score=100000
					[/candidate_action]
					[candidate_action]
						engine="lua"
						id="place_healers"
						location="ai/lua/ca_place_healers.lua"
						max_score=96000
						name="ai_default_rca::place_healers"
					[/candidate_action]
					[candidate_action]
						engine="cpp"
						id="healing"
						max_score=80000
						name="ai_default_rca::get_healing_phase"
						score=80000
					[/candidate_action]
					[candidate_action]
						engine="cpp"
						id="villages"
						max_score=60000
						name="ai_default_rca::get_villages_phase"
						score=60000
					[/candidate_action]
					[candidate_action]
						engine="cpp"
						id="move_to_targets"
						max_score=20000
						name="ai_default_rca::move_to_targets_phase"
						score=20000
					[/candidate_action]
					[candidate_action]
						engine="cpp"
						id="leader_shares_keep"
						max_score=10000
						name="ai_default_rca::leader_shares_keep_phase"
						score=10000
					[/candidate_action]
					[candidate_action]
						engine="lua"
						id="move_to_any_enemy"
						location="ai/lua/ca_move_to_any_enemy.lua"
						max_score=1000
						name="ai_default_rca::move_to_any_enemy"
					[/candidate_action]
				[/stage]
				[aspect]
					engine="cpp"
					id="advancements"
					name="composite_aspect"
					[default]
						engine="cpp"
						name="standard_aspect"
					[/default]
				[/aspect]
				[aspect]
					engine="cpp"
					id="aggression"
					name="composite_aspect"
					[default]
						engine="cpp"
						name="standard_aspect"
						value=0.4
					[/default]
				[/aspect]
				[aspect]
					engine="cpp"
					id="attacks"
					invalidate_on_gamestate_change=yes
					name="composite_aspect"
					[default]
						engine="cpp"
						invalidate_on_gamestate_change=yes
						name="ai_default_rca::aspect_attacks"
					[/default]
				[/aspect]
				[aspect]
					engine="cpp"
					id="avoid"
					name="composite_aspect"
					[default]
						engine="cpp"
						name="standard_aspect"
						[value]
							[not]
							[/not]
						[/value]
					[/default]
				[/aspect]
				[aspect]
					engine="cpp"
					id="caution"
					name="composite_aspect"
					[default]
						engine="cpp"
						name="standard_aspect"
						value=0.25
					[/default]
				[/aspect]
				[aspect]
					engine="cpp"
					id="grouping"
					name="composite_aspect"
					[default]
						engine="cpp"
						name="standard_aspect"
						value="offensive"
					[/default]
				[/aspect]
				[aspect]
					engine="cpp"
					id="leader_aggression"
					name="composite_aspect"
					[default]
						engine="cpp"
						name="standard_aspect"
						value="-4.0"
					[/default]
				[/aspect]
				[aspect]
					engine="cpp"
					id="leader_goal"
					name="composite_aspect"
					[default]
						engine="cpp"
						name="standard_aspect"
					[/default]
				[/aspect]
				[aspect]
					engine="cpp"
					id="leader_ignores_keep"
					name="composite_aspect"
					[default]
						engine="cpp"
						name="standard_aspect"
						value=no
					[/default]
				[/aspect]
				[aspect]
					engine="cpp"
					id="leader_value"
					name="composite_aspect"
					[default]
						engine="cpp"
						name="standard_aspect"
						value="3.0"
					[/default]
				[/aspect]
				[aspect]
					engine="cpp"
					id="passive_leader"
					name="composite_aspect"
					[default]
						engine="cpp"
						name="standard_aspect"
						value=no
					[/default]
				[/aspect]
				[aspect]
					engine="cpp"
					id="passive_leader_shares_keep"
					name="composite_aspect"
					[default]
						engine="cpp"
						name="standard_aspect"
						value=no
					[/default]
				[/aspect]
				[aspect]
					engine="cpp"
					id="recruitment_diversity"
					name="composite_aspect"
					[default]
						engine="cpp"
						name="standard_aspect"
						value="2.0"
					[/default]
				[/aspect]
				[aspect]
					engine="cpp"
					id="recruitment_instructions"
					name="composite_aspect"
					[default]
						engine="cpp"
						name="standard_aspect"
						[value]
							[recruit]
								importance=0
							[/recruit]
						[/value]
					[/default]
				[/aspect]
				[aspect]
					engine="cpp"
					id="recruitment_more"
					name="composite_aspect"
					[default]
						engine="cpp"
						name="standard_aspect"
					[/default]
				[/aspect]
				[aspect]
					engine="cpp"
					id="recruitment_pattern"
					name="composite_aspect"
					[default]
						engine="cpp"
						name="standard_aspect"
					[/default]
					[facet]
						engine="cpp"
						name="standard_aspect"
						time_of_day=""
						turns=""
						value="fighter,fighter,fighter,mixed fighter,archer,scout"
					[/facet]
				[/aspect]
				[aspect]
					engine="cpp"
					id="recruitment_randomness"
					name="composite_aspect"
					[default]
						engine="cpp"
						name="standard_aspect"
						value=50
					[/default]
				[/aspect]
				[aspect]
					engine="cpp"
					id="recruitment_save_gold"
					name="composite_aspect"
					[default]
						engine="cpp"
						name="standard_aspect"
						[value]
							active=0
						[/value]
					[/default]
				[/aspect]
				[aspect]
					engine="cpp"
					id="retreat_enemy_weight"
					name="composite_aspect"
					[default]
						engine="cpp"
						name="standard_aspect"
						value="1.0"
					[/default]
				[/aspect]
				[aspect]
					engine="cpp"
					id="retreat_factor"
					name="composite_aspect"
					[default]
						engine="cpp"
						name="standard_aspect"
						value=0.25
					[/default]
				[/aspect]
				[aspect]
					engine="cpp"
					id="scout_village_targeting"
					name="composite_aspect"
					[default]
						engine="cpp"
						name="standard_aspect"
						value=3
					[/default]
				[/aspect]
				[aspect]
					engine="cpp"
					id="simple_targeting"
					name="composite_aspect"
					[default]
						engine="cpp"
						name="standard_aspect"
						value=no
					[/default]
				[/aspect]
				[aspect]
					engine="cpp"
					id="support_villages"
					name="composite_aspect"
					[default]
						engine="cpp"
						name="standard_aspect"
						value=no
					[/default]
				[/aspect]
				[aspect]
					engine="cpp"
					id="village_value"
					name="composite_aspect"
					[default]
						engine="cpp"
						name="standard_aspect"
						value="1.0"
					[/default]
				[/aspect]
				[aspect]
					engine="cpp"
					id="villages_per_scout"
					name="composite_aspect"
					[default]
						engine="cpp"
						name="standard_aspect"
						value=4
					[/default]
				[/aspect]
			[/ai]
		[/old_side1]
		[old_side2]
			action_bonus_count=0
			allow_player=yes
			auto_shroud=yes
			base_income=2
			carryover_add=no
			carryover_bonus=1
			carryover_gold=0
			carryover_percentage=80
			chose_random=yes
			color="red"
			controller="human"
			countdown_time=0
			current_player="Phoenixz"
			defeat_condition="no_leader_left"
			disallow_observers=no
			expenses=0
			faction="Ladder Loyalists"
#textdomain wesnoth-multiplayer
			faction_name=_"Loyalists"
			flag=""
			flag_icon=""
			fog=yes
			fog_data=""
			gold=100
			hidden=no
			id="id2"
			income=2
			lost=no
			net_income=2
			no_leader=no
			num_units=1
			num_villages=0
			objectives="<big>Victory:</big>
<span color='#00ff00'>• Defeat enemy leader(s)</span>"
			objectives_changed=yes
			persistent=yes
			recall_cost=20
			recruit="Bowman Ladder_1,Cavalryman Ladder_1,Fencer,Heavy Infantryman Ladder_1,Horseman,Mage,Merman Fighter,Spearman Ladder_1"
			save_id="id2"
			scroll_to_leader=yes
			share_vision="all"
			shroud=no
			shroud_data=""
			side=2
			side_name=""
			start_gold=100
			suppress_end_turn_confirmation=no
			team_name="team2"
			total_upkeep=0
			user_team_name=_"teamname^2"
			village_gold=2
			village_support=1
			[ai]
#textdomain wesnoth-lib
				description=_"Multiplayer_AI^Default AI (RCA)"
				id="ai_default_rca"
				mp_rank=1000
				[stage]
					id="main_loop"
					name="ai_default_rca::candidate_action_evaluation_loop"
					[candidate_action]
						engine="cpp"
						id="goto"
						max_score=200000
						name="ai_default_rca::goto_phase"
						score=200000
					[/candidate_action]
					[candidate_action]
						engine="lua"
						id="retreat_injured"
						location="ai/lua/ca_retreat_injured.lua"
						max_score=192000
						name="ai_default_rca::retreat_injured"
					[/candidate_action]
					[candidate_action]
						engine="lua"
						id="spread_poison"
						location="ai/lua/ca_spread_poison.lua"
						max_score=190000
						name="ai_default_rca::spread_poison"
					[/candidate_action]
					[candidate_action]
						engine="cpp"
						id="recruitment"
						max_score=180000
						name="default_recruitment::recruitment"
						score=180000
					[/candidate_action]
					[candidate_action]
						engine="cpp"
						id="move_leader_to_goals"
						max_score=140000
						name="ai_default_rca::move_leader_to_goals_phase"
						score=140000
					[/candidate_action]
					[candidate_action]
						engine="cpp"
						id="move_leader_to_keep"
						max_score=120000
						name="ai_default_rca::move_leader_to_keep_phase"
						score=120000
					[/candidate_action]
					[candidate_action]
						engine="lua"
						id="high_xp_attack"
						location="ai/lua/ca_high_xp_attack.lua"
						max_score=100010
						name="ai_default_rca::high_xp_attack"
					[/candidate_action]
					[candidate_action]
						engine="cpp"
						id="combat"
						max_score=100000
						name="ai_default_rca::combat_phase"
						score=100000
					[/candidate_action]
					[candidate_action]
						engine="lua"
						id="place_healers"
						location="ai/lua/ca_place_healers.lua"
						max_score=96000
						name="ai_default_rca::place_healers"
					[/candidate_action]
					[candidate_action]
						engine="cpp"
						id="healing"
						max_score=80000
						name="ai_default_rca::get_healing_phase"
						score=80000
					[/candidate_action]
					[candidate_action]
						engine="cpp"
						id="villages"
						max_score=60000
						name="ai_default_rca::get_villages_phase"
						score=60000
					[/candidate_action]
					[candidate_action]
						engine="cpp"
						id="move_to_targets"
						max_score=20000
						name="ai_default_rca::move_to_targets_phase"
						score=20000
					[/candidate_action]
					[candidate_action]
						engine="cpp"
						id="leader_shares_keep"
						max_score=10000
						name="ai_default_rca::leader_shares_keep_phase"
						score=10000
					[/candidate_action]
					[candidate_action]
						engine="lua"
						id="move_to_any_enemy"
						location="ai/lua/ca_move_to_any_enemy.lua"
						max_score=1000
						name="ai_default_rca::move_to_any_enemy"
					[/candidate_action]
				[/stage]
				[aspect]
					engine="cpp"
					id="advancements"
					name="composite_aspect"
					[default]
						engine="cpp"
						name="standard_aspect"
					[/default]
				[/aspect]
				[aspect]
					engine="cpp"
					id="aggression"
					name="composite_aspect"
					[default]
						engine="cpp"
						name="standard_aspect"
						value=0.4
					[/default]
				[/aspect]
				[aspect]
					engine="cpp"
					id="attacks"
					invalidate_on_gamestate_change=yes
					name="composite_aspect"
					[default]
						engine="cpp"
						invalidate_on_gamestate_change=yes
						name="ai_default_rca::aspect_attacks"
					[/default]
				[/aspect]
				[aspect]
					engine="cpp"
					id="avoid"
					name="composite_aspect"
					[default]
						engine="cpp"
						name="standard_aspect"
						[value]
							[not]
							[/not]
						[/value]
					[/default]
				[/aspect]
				[aspect]
					engine="cpp"
					id="caution"
					name="composite_aspect"
					[default]
						engine="cpp"
						name="standard_aspect"
						value=0.25
					[/default]
				[/aspect]
				[aspect]
					engine="cpp"
					id="grouping"
					name="composite_aspect"
					[default]
						engine="cpp"
						name="standard_aspect"
						value="offensive"
					[/default]
				[/aspect]
				[aspect]
					engine="cpp"
					id="leader_aggression"
					name="composite_aspect"
					[default]
						engine="cpp"
						name="standard_aspect"
						value="-4.0"
					[/default]
				[/aspect]
				[aspect]
					engine="cpp"
					id="leader_goal"
					name="composite_aspect"
					[default]
						engine="cpp"
						name="standard_aspect"
					[/default]
				[/aspect]
				[aspect]
					engine="cpp"
					id="leader_ignores_keep"
					name="composite_aspect"
					[default]
						engine="cpp"
						name="standard_aspect"
						value=no
					[/default]
				[/aspect]
				[aspect]
					engine="cpp"
					id="leader_value"
					name="composite_aspect"
					[default]
						engine="cpp"
						name="standard_aspect"
						value="3.0"
					[/default]
				[/aspect]
				[aspect]
					engine="cpp"
					id="passive_leader"
					name="composite_aspect"
					[default]
						engine="cpp"
						name="standard_aspect"
						value=no
					[/default]
				[/aspect]
				[aspect]
					engine="cpp"
					id="passive_leader_shares_keep"
					name="composite_aspect"
					[default]
						engine="cpp"
						name="standard_aspect"
						value=no
					[/default]
				[/aspect]
				[aspect]
					engine="cpp"
					id="recruitment_diversity"
					name="composite_aspect"
					[default]
						engine="cpp"
						name="standard_aspect"
						value="2.0"
					[/default]
				[/aspect]
				[aspect]
					engine="cpp"
					id="recruitment_instructions"
					name="composite_aspect"
					[default]
						engine="cpp"
						name="standard_aspect"
						[value]
							[recruit]
								importance=0
							[/recruit]
						[/value]
					[/default]
				[/aspect]
				[aspect]
					engine="cpp"
					id="recruitment_more"
					name="composite_aspect"
					[default]
						engine="cpp"
						name="standard_aspect"
					[/default]
				[/aspect]
				[aspect]
					engine="cpp"
					id="recruitment_pattern"
					name="composite_aspect"
					[default]
						engine="cpp"
						name="standard_aspect"
					[/default]
					[facet]
						engine="cpp"
						name="standard_aspect"
						time_of_day=""
						turns=""
						value="fighter,fighter,fighter,archer,mixed fighter,scout"
					[/facet]
				[/aspect]
				[aspect]
					engine="cpp"
					id="recruitment_randomness"
					name="composite_aspect"
					[default]
						engine="cpp"
						name="standard_aspect"
						value=50
					[/default]
				[/aspect]
				[aspect]
					engine="cpp"
					id="recruitment_save_gold"
					name="composite_aspect"
					[default]
						engine="cpp"
						name="standard_aspect"
						[value]
							active=0
						[/value]
					[/default]
				[/aspect]
				[aspect]
					engine="cpp"
					id="retreat_enemy_weight"
					name="composite_aspect"
					[default]
						engine="cpp"
						name="standard_aspect"
						value="1.0"
					[/default]
				[/aspect]
				[aspect]
					engine="cpp"
					id="retreat_factor"
					name="composite_aspect"
					[default]
						engine="cpp"
						name="standard_aspect"
						value=0.25
					[/default]
				[/aspect]
				[aspect]
					engine="cpp"
					id="scout_village_targeting"
					name="composite_aspect"
					[default]
						engine="cpp"
						name="standard_aspect"
						value=3
					[/default]
				[/aspect]
				[aspect]
					engine="cpp"
					id="simple_targeting"
					name="composite_aspect"
					[default]
						engine="cpp"
						name="standard_aspect"
						value=no
					[/default]
				[/aspect]
				[aspect]
					engine="cpp"
					id="support_villages"
					name="composite_aspect"
					[default]
						engine="cpp"
						name="standard_aspect"
						value=no
					[/default]
				[/aspect]
				[aspect]
					engine="cpp"
					id="village_value"
					name="composite_aspect"
					[default]
						engine="cpp"
						name="standard_aspect"
						value="1.0"
					[/default]
				[/aspect]
				[aspect]
					engine="cpp"
					id="villages_per_scout"
					name="composite_aspect"
					[default]
						engine="cpp"
						name="standard_aspect"
						value=4
					[/default]
				[/aspect]
			[/ai]
		[/old_side2]
		[map_pool]
			id="multiplayer_Basilisk_Ladder_Random"
			name="Caves of the Basilisk"
		[/map_pool]
		[map_pool]
			id="multiplayer_Clearing_Gushes_Ladder_Random"
			name="Clearing Gushes"
		[/map_pool]
		[map_pool]
			id="multiplayer_elensefar_courtyard_Ladder_Random"
			name="Elensefar Courtyard"
		[/map_pool]
		[map_pool]
			id="multiplayer_Fallenstar_Lake_Ladder_Random"
			name="Fallenstar Lake"
		[/map_pool]
		[map_pool]
			id="multiplayer_Hamlets_Ladder_Random"
			name="Hamlets"
		[/map_pool]
		[map_pool]
			id="multiplayer_Hellhole_Ladder_Random"
			name="Hellhole"
		[/map_pool]
		[map_pool]
			id="multiplayer_Howling_Ghost_Badlands_Ladder_Random"
			name="Howling Ghost Badlands"
		[/map_pool]
		[map_pool]
			id="multiplayer_Silverhead_Crossing_Ladder_Random"
			name="Silverhead Crossing"
		[/map_pool]
		[map_pool]
			id="multiplayer_Sullas_Ruins_Ladder_Random"
			name="Sulla’s Ruins"
		[/map_pool]
		[map_pool]
			id="multiplayer_Swamp_of_Dread_Ladder_Random"
			name="Swamp of Dread"
		[/map_pool]
		[map_pool]
			id="multiplayer_The_Freelands_Ladder_Random"
			name="The Freelands"
		[/map_pool]
		[map_pool]
			id="multiplayer_Tombs_of_Kesorak_Ladder_Random"
			name="Tombs of Kesorak"
		[/map_pool]
		[map_pool]
			id="multiplayer_Weldyn_Channel_Ladder_Random"
			name="Weldyn Channel"
		[/map_pool]
	[/variables]
	[undo_stack]
		committed=no
		side=1
	[/undo_stack]
	[display]
		color_adjust_blue=0
		color_adjust_green=0
		color_adjust_red=0
		view_locked=no
		[location]
			x=16
			y=7
		[/location]
	[/display]
	[music]
		ms_after=0
		ms_before=12000
		name="knolls.ogg"
		shuffle=yes
	[/music]
	[music]
		append=yes
		ms_after=0
		ms_before=12000
		name="wanderer.ogg"
		shuffle=yes
	[/music]
	[music]
		append=yes
		ms_after=0
		ms_before=12000
		name="battle.ogg"
		shuffle=yes
	[/music]
	[music]
		append=yes
		ms_after=0
		ms_before=12000
		name="transience.ogg"
		shuffle=yes
	[/music]
	[music]
		append=yes
		ms_after=0
		ms_before=12000
		name="the_king_is_dead.ogg"
		shuffle=yes
	[/music]
	[music]
		append=yes
		ms_after=0
		ms_before=12000
		name="knalgan_theme.ogg"
		shuffle=yes
	[/music]
	[music]
		append=yes
		ms_after=0
		ms_before=12000
		name="the_city_falls.ogg"
		shuffle=yes
	[/music]
	[music]
		append=yes
		ms_after=0
		ms_before=12000
		name="nunc_dimittis.ogg"
		shuffle=yes
	[/music]
	[music]
		append=yes
		ms_after=0
		ms_before=12000
		name="revelation.ogg"
		shuffle=yes
	[/music]
	[music]
		append=yes
		ms_after=0
		ms_before=12000
		name="loyalists.ogg"
		shuffle=yes
	[/music]
	[music]
		append=yes
		ms_after=0
		ms_before=12000
		name="breaking_the_chains.ogg"
		shuffle=yes
	[/music]
	[music]
		append=yes
		ms_after=0
		ms_before=12000
		name="elvish-theme.ogg"
		shuffle=yes
	[/music]
	[music]
		append=yes
		ms_after=0
		ms_before=12000
		name="legends_of_the_north.ogg"
		shuffle=yes
	[/music]
	[music]
		append=yes
		ms_after=0
		ms_before=12000
		name="traveling_minstrels.ogg"
		shuffle=yes
	[/music]
	[music]
		append=yes
		ms_after=0
		ms_before=12000
		name="underground.ogg"
		shuffle=yes
	[/music]
	[music]
		append=yes
		ms_after=0
		ms_before=12000
		name="vengeful.ogg"
		shuffle=yes
	[/music]
	[music]
		append=yes
		ms_after=0
		ms_before=12000
		name="frantic.ogg"
		shuffle=yes
	[/music]
	[music]
		append=yes
		ms_after=0
		ms_before=12000
		name="the_dangerous_symphony.ogg"
		shuffle=yes
	[/music]
	[music]
		append=yes
		ms_after=0
		ms_before=12000
		name="heroes_rite.ogg"
		shuffle=yes
	[/music]
	[music]
		append=yes
		ms_after=0
		ms_before=12000
		name="suspense.ogg"
		shuffle=yes
	[/music]
	[music]
		append=yes
		ms_after=0
		ms_before=12000
		name="the_deep_path.ogg"
		shuffle=yes
	[/music]
	[music]
		append=yes
		ms_after=0
		ms_before=12000
		name="siege_of_laurelmor.ogg"
		shuffle=yes
	[/music]
	[music]
		append=yes
		ms_after=0
		ms_before=12000
		name="casualties_of_war.ogg"
		shuffle=yes
	[/music]
	[music]
		append=yes
		ms_after=0
		ms_before=12000
		name="silvan_sanctuary.ogg"
		shuffle=yes
	[/music]
	[music]
		append=yes
		ms_after=0
		ms_before=12000
		name="battle-epic.ogg"
		shuffle=yes
	[/music]
[/replay_start]
[replay]
	[upload_log]
		[ai_log]
			ai_id1="ai_default_rca"
			ai_id2="ai_default_rca"
			version="1.16.6"
			[turn_info]
				event="TURN_START"
				gold=100
				side=1
				turn=1
				units=1
				units_cost=25
				villages=0
			[/turn_info]
			[turn_info]
				event="TURN_START"
				gold=100
				side=2
				turn=1
				units=1
				units_cost=26
				villages=1
			[/turn_info]
			[turn_info]
				event="TURN_START"
				gold=46
				side=1
				turn=2
				units=4
				units_cost=79
				villages=1
			[/turn_info]
			[turn_info]
				event="TURN_START"
				gold=14
				side=2
				turn=2
				units=8
				units_cost=112
				villages=1
			[/turn_info]
			[turn_info]
				event="TURN_START"
				gold=12
				side=1
				turn=3
				units=6
				units_cost=115
				villages=3
			[/turn_info]
			[turn_info]
				event="TURN_START"
				gold=1
				side=2
				turn=3
				units=9
				units_cost=124
				villages=7
			[/turn_info]
			[turn_info]
				event="TURN_START"
				gold=4
				side=1
				turn=4
				units=7
				units_cost=129
				villages=7
			[/turn_info]
			[turn_info]
				event="TURN_START"
				gold=3
				side=2
				turn=4
				units=10
				units_cost=138
				villages=7
			[/turn_info]
		[/ai_log]
	[/upload_log]
	[command]
		sent=yes
		[start]
		[/start]
		[checkup]
			[result]
				next_unit_id=3
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		sent=yes
		undo=no
		[speak]
			id="server"
			message="Phoenixz advances to the next scenario"
			time=1673662342
		[/speak]
	[/command]
	[command]
		undo=no
		[speak]
			id="StonyDrew"
			message="glk hf"
			side=2
			time=1673662354
		[/speak]
	[/command]
	[command]
		sent=yes
		undo=no
		[speak]
			id="server"
			message="Vladrek has logged into the lobby"
			time=1673662368
		[/speak]
	[/command]
	[command]
		sent=yes
		[init_side]
			side_number=1
		[/init_side]
		[checkup]
			[result]
				next_unit_id=3
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=1
		sent=yes
		[recruit]
			type="Mage"
			x=22
			y=21
			[from]
				x=24
				y=20
			[/from]
		[/recruit]
		[checkup]
			[result]
				checksum="u75uZsIcasP7tsOfHiGrsrgKJPdqriIKHNB4IPyEwGJwY6DtrnzqmstvgrksvoBry>gNAJqLQmDCGIrtPO5INxRTYNCq5,>xJyH2mA1<Vxz4m6KPNwxaBGHq1MrfOsow"
			[/result]
			[result]
				next_unit_id=4
				random_calls=23
			[/result]
		[/checkup]
	[/command]
	[command]
		dependent=yes
		from_side="server"
		sent=yes
		[random_seed]
			new_seed="19b5837f"
		[/random_seed]
	[/command]
	[command]
		from_side=1
		sent=yes
		[recruit]
			type="Fencer"
			x=23
			y=21
			[from]
				x=24
				y=20
			[/from]
		[/recruit]
		[checkup]
			[result]
				checksum="ZUEb>5vnN98G8K-9,HDa91sRhc<Q0j+qrN4Baz.<yZ078>DX3-,5plv7>2gSX7uj0R4a-cc-B,2l+lebjJsk74dcMnzAIUzWk+IIy5e70uA,dtxPHikgHL74CUe.RHtq"
			[/result]
			[result]
				next_unit_id=5
				random_calls=22
			[/result]
		[/checkup]
	[/command]
	[command]
		dependent=yes
		from_side="server"
		sent=yes
		[random_seed]
			new_seed="7d36b19e"
		[/random_seed]
	[/command]
	[command]
		from_side=1
		sent=yes
		[recruit]
			type="Cavalryman Ladder_1"
			x=24
			y=19
			[from]
				x=24
				y=20
			[/from]
		[/recruit]
		[checkup]
			[result]
				checksum="<j+.k7c7U><tg2aY8vg4S94h68h>4j.Ifef,+,<+a.<4Q--ik69-7<R>bf9cneZ,gkZYl88X3-e7j922xZZ5WkWFlr<Rl8LhDH>0BbBIaBrQw<cavyzNIJvB50ebLMdP"
			[/result]
			[result]
				next_unit_id=6
				random_calls=22
			[/result]
		[/checkup]
	[/command]
	[command]
		dependent=yes
		from_side="server"
		sent=yes
		[random_seed]
			new_seed="5e3b5f00"
		[/random_seed]
	[/command]
	[command]
		from_side=1
		sent=yes
		[move]
			skip_sighted="only_ally"
			x="24,25,25,26"
			y="20,21,22,22"
		[/move]
		[checkup]
			[result]
				final_hex_x=26
				final_hex_y=22
				stopped_early=no
			[/result]
			[result]
				next_unit_id=6
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		sent=yes
		[end_turn]
			next_player_number=2
		[/end_turn]
		[checkup1]
			[result]
				next_unit_id=6
				random_calls=0
			[/result]
		[/checkup1]
	[/command]
	[command]
		[init_side]
			side_number=2
		[/init_side]
		[checkup]
			[result]
				next_unit_id=6
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=2
		[recruit]
			type="Orcish Grunt"
			x=4
			y=13
			[from]
				x=4
				y=12
			[/from]
		[/recruit]
		[checkup]
			[result]
				checksum="5cbU7.h<DfoAe<>g94xfeW.wg1-1fEl4X,hk-<VH7MYbpXifhe8ir>a>519+Bg>-j0ce0lfeia9i3o.e.Xk36,T8d<NGfgQ6IR0+bivwZIFC<4f2rCsEbKQA2d+PSP3w"
			[/result]
			[result]
				next_unit_id=7
				random_calls=22
			[/result]
		[/checkup]
	[/command]
	[command]
		dependent=yes
		from_side="server"
		sent=yes
		[random_seed]
			new_seed="cc4df9c1"
		[/random_seed]
	[/command]
	[command]
		from_side=2
		[recruit]
			type="Orcish Grunt"
			x=5
			y=12
			[from]
				x=4
				y=12
			[/from]
		[/recruit]
		[checkup]
			[result]
				checksum="-cbU7.h<DfoAe<>g94xfeW.wg1-1fEl4X,hk-<VH7MYbpXifhe8ir>a>519+Bg>-j0ce0lfeia9i3j>e.Xk36,T8d<NGXEfQA.4wCGJ>npsd+8<pQEQwgRQd12vCM2FF"
			[/result]
			[result]
				next_unit_id=8
				random_calls=22
			[/result]
		[/checkup]
	[/command]
	[command]
		dependent=yes
		from_side="server"
		sent=yes
		[random_seed]
			new_seed="7b5eada1"
		[/random_seed]
	[/command]
	[command]
		from_side=2
		[recruit]
			type="Orcish Grunt"
			x=6
			y=11
			[from]
				x=4
				y=12
			[/from]
		[/recruit]
		[checkup]
			[result]
				checksum="-cbU7.h<DgoAe<>g94xfeW.wg1-1fEl4X,hk-<VH7MYbpXifhe8ir>a>519+Bg>-j0ce0lfeia9i3j1e.Xk36,T8d<NGXEfQA.4wCGJ>npsd+8<pGEQwgRQd12vCM2FD"
			[/result]
			[result]
				next_unit_id=9
				random_calls=22
			[/result]
		[/checkup]
	[/command]
	[command]
		dependent=yes
		from_side="server"
		sent=yes
		[random_seed]
			new_seed="87b75c2e"
		[/random_seed]
	[/command]
	[command]
		from_side=2
		[move]
			x="4,5,6,6,6,7"
			y="12,12,11,10,9,9"
		[/move]
		[checkup]
			[result]
				final_hex_x=7
				final_hex_y=9
				stopped_early=no
			[/result]
			[result]
				next_unit_id=9
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=2
		[recruit]
			type="Orcish Grunt"
			x=10
			y=7
			[from]
				x=7
				y=9
			[/from]
		[/recruit]
		[checkup]
			[result]
				checksum="-cbU7.h<DfoAe<>g94xfeW.wg1-1fEl4X,hk-<VH7MYbpXifhe8ir>a>519+Bg>-j0ce0lfeia9i3j>e.Xk36,T8d<NGXEfQA.4wCGJ>npsd+8<pQEQwgRQd12vCM2FF"
			[/result]
			[result]
				next_unit_id=10
				random_calls=22
			[/result]
		[/checkup]
	[/command]
	[command]
		dependent=yes
		from_side="server"
		sent=yes
		[random_seed]
			new_seed=68554362
		[/random_seed]
	[/command]
	[command]
		from_side=2
		[recruit]
			type="Wolf Rider"
			x=11
			y=7
			[from]
				x=7
				y=9
			[/from]
		[/recruit]
		[checkup]
			[result]
				checksum="rutBXf0bL4gaxEak3t9n5Yc1.Q4da>,<JjYfj6jNhZ9a4,10+Ld+k5rd+ldojpf+k8h7iW50E71,HX,oc3a+lm7d<6fh+773<<e>5cZQily1F8GH7C08QFbOu5EdtGM>"
			[/result]
			[result]
				next_unit_id=11
				random_calls=22
			[/result]
		[/checkup]
	[/command]
	[command]
		dependent=yes
		from_side="server"
		sent=yes
		[random_seed]
			new_seed="9ee4a3b5"
		[/random_seed]
	[/command]
	[command]
		from_side=2
		[recruit]
			type="Goblin Spearman"
			x=9
			y=8
			[from]
				x=7
				y=9
			[/from]
		[/recruit]
		[checkup]
			[result]
				checksum="N1tqvroboxQg6Mt9Cki.byPHAueLwwxTFmLzHxQgJqoPMVnEpI2xrn8EALUPcA4ICpGRNqTvLeJJmyxEKAqvxvHINxPNKGOnurwHH8MMIAz5ic>d1H,.c397c34W-j0j"
			[/result]
			[result]
				next_unit_id=12
				random_calls=21
			[/result]
		[/checkup]
	[/command]
	[command]
		dependent=yes
		from_side="server"
		sent=yes
		[random_seed]
			new_seed="cab66069"
		[/random_seed]
	[/command]
	[command]
		sent=yes
		undo=no
		[speak]
			id="server"
			message="folij40 has logged into the lobby"
			time=1673662486
		[/speak]
	[/command]
	[command]
		from_side=2
		[recruit]
			type="Orcish Grunt"
			x=8
			y=8
			[from]
				x=7
				y=9
			[/from]
		[/recruit]
		[checkup]
			[result]
				checksum="-cbU7.h<DfoAe<>g94xfeW.wg1-1fEl4X,hk-<VH7MYbpXifhe8ir>a>519+Bg>-j0ce0lfeia9i3j>e.Xk36,T8d<NGXEfQA.4wCGJ>npsd+8<pQEQwgRQd12vCM2FF"
			[/result]
			[result]
				next_unit_id=13
				random_calls=22
			[/result]
		[/checkup]
	[/command]
	[command]
		dependent=yes
		from_side="server"
		sent=yes
		[random_seed]
			new_seed="6e11fee3"
		[/random_seed]
	[/command]
	[command]
		[end_turn]
			next_player_number=3
		[/end_turn]
		[checkup1]
			[result]
				next_unit_id=13
				random_calls=0
			[/result]
		[/checkup1]
		[checkup2]
			[result]
				next_unit_id=13
				random_calls=0
			[/result]
		[/checkup2]
	[/command]
	[command]
		sent=yes
		[init_side]
			side_number=1
		[/init_side]
		[checkup]
			[result]
				next_unit_id=13
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		sent=yes
		undo=no
		[speak]
			id="server"
			message="Urikalo has logged into the lobby"
			time=1673662507
		[/speak]
	[/command]
	[command]
		sent=yes
		undo=no
		[speak]
			id="server"
			message="Kwashiorkor advances to the next scenario"
			time=1673662519
		[/speak]
	[/command]
	[command]
		from_side=1
		sent=yes
		[move]
			skip_sighted="only_ally"
			x="23,23,23,23,23"
			y="21,22,23,24,25"
		[/move]
		[checkup]
			[result]
				final_hex_x=23
				final_hex_y=25
				stopped_early=no
			[/result]
			[result]
				next_unit_id=13
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=1
		sent=yes
		[move]
			skip_sighted="only_ally"
			x="24,24,24,24,24,24,24,25"
			y="19,18,17,16,15,14,13,13"
		[/move]
		[checkup]
			[result]
				final_hex_x=25
				final_hex_y=13
				stopped_early=no
			[/result]
			[result]
				next_unit_id=13
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=1
		sent=yes
		[move]
			skip_sighted="only_ally"
			x="26,25,25,24"
			y="22,22,21,20"
		[/move]
		[checkup]
			[result]
				final_hex_x=24
				final_hex_y=20
				stopped_early=no
			[/result]
			[result]
				next_unit_id=13
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=1
		sent=yes
		[recruit]
			type="Cavalryman Ladder_1"
			x=24
			y=19
			[from]
				x=24
				y=20
			[/from]
		[/recruit]
		[checkup]
			[result]
				checksum="<j+.k7c7U><tg2aY8vg4S94h68h>4j.Ifef,+,<+a.<4Q--ik69-7<R>bf9cneZ,gkZYl85X3-e7j922xZZ5WkWFlr<Rl8LhDH>0BbBIkBrQw<cavyzNIJvw50ebLMdP"
			[/result]
			[result]
				next_unit_id=14
				random_calls=22
			[/result]
		[/checkup]
	[/command]
	[command]
		dependent=yes
		from_side="server"
		sent=yes
		[random_seed]
			new_seed="3bff62a1"
		[/random_seed]
	[/command]
	[command]
		from_side=1
		sent=yes
		[move]
			skip_sighted="only_ally"
			x="22,22,21,20,20"
			y="21,20,20,19,18"
		[/move]
		[checkup]
			[result]
				final_hex_x=20
				final_hex_y=19
				stopped_early=no
			[/result]
			[result]
				next_unit_id=14
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=1
		sent=yes
		[recruit]
			type="Cavalryman Ladder_1"
			x=22
			y=21
			[from]
				x=24
				y=20
			[/from]
		[/recruit]
		[checkup]
			[result]
				checksum="<j+.k7c7U><tg2aY8vg4S94h68h>4j.Ifef,+,<+a.<4Q--ik69-7<R>bf9cneZ,gkZYl85X3-e7j922xZZ5WkWFlr<Rl8LhDH>0BbBIkBrQw<cavyzNIJvw50ebLMdP"
			[/result]
			[result]
				next_unit_id=15
				random_calls=22
			[/result]
		[/checkup]
	[/command]
	[command]
		dependent=yes
		from_side="server"
		sent=yes
		[random_seed]
			new_seed="a61ae281"
		[/random_seed]
	[/command]
	[command]
		sent=yes
		[end_turn]
			next_player_number=2
		[/end_turn]
		[checkup1]
			[result]
				next_unit_id=15
				random_calls=0
			[/result]
		[/checkup1]
	[/command]
	[command]
		[init_side]
			side_number=2
		[/init_side]
		[checkup]
			[result]
				next_unit_id=15
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=2
		[move]
			x="7,6,6,6,5,4"
			y="9,9,10,11,12,12"
		[/move]
		[checkup]
			[result]
				final_hex_x=4
				final_hex_y=12
				stopped_early=no
			[/result]
			[result]
				next_unit_id=15
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=2
		[move]
			x="9,10,10"
			y="8,7,6"
		[/move]
		[checkup]
			[result]
				final_hex_x=10
				final_hex_y=6
				stopped_early=no
			[/result]
			[result]
				next_unit_id=15
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=2
		[move]
			x="11,12,13,14,15,16,17,18"
			y="7,6,7,6,7,6,7,6"
		[/move]
		[checkup]
			[result]
				final_hex_x=18
				final_hex_y=6
				stopped_early=no
			[/result]
			[result]
				next_unit_id=15
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=2
		[move]
			x="18,18"
			y="6,5"
		[/move]
		[checkup]
			[result]
				final_hex_x=18
				final_hex_y=5
				stopped_early=no
			[/result]
			[result]
				next_unit_id=15
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=2
		[move]
			x="10,10,11,12,13,14,14"
			y="7,8,9,9,10,10,11"
		[/move]
		[checkup]
			[result]
				final_hex_x=14
				final_hex_y=11
				stopped_early=no
			[/result]
			[result]
				next_unit_id=15
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=2
		[move]
			x="8,7,6,5"
			y="8,9,8,8"
		[/move]
		[checkup]
			[result]
				final_hex_x=5
				final_hex_y=8
				stopped_early=no
			[/result]
			[result]
				next_unit_id=15
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		sent=yes
		undo=no
		[speak]
			id="server"
			message="Lorkvyss has logged into the lobby"
			time=1673662690
		[/speak]
	[/command]
	[command]
		from_side=2
		[move]
			x="4,3,3,2"
			y="13,14,15,15"
		[/move]
		[checkup]
			[result]
				final_hex_x=2
				final_hex_y=15
				stopped_early=no
			[/result]
			[result]
				next_unit_id=15
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=2
		[move]
			x="5,6,6,6,7,8,9"
			y="12,12,13,14,15,14,15"
		[/move]
		[checkup]
			[result]
				final_hex_x=9
				final_hex_y=15
				stopped_early=no
			[/result]
			[result]
				next_unit_id=15
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=2
		[move]
			x="6,6,6,6,6,6"
			y="11,12,13,14,15,16"
		[/move]
		[checkup]
			[result]
				final_hex_x=6
				final_hex_y=16
				stopped_early=no
			[/result]
			[result]
				next_unit_id=15
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=2
		[recruit]
			type="Orcish Grunt"
			x=4
			y=13
			[from]
				x=4
				y=12
			[/from]
		[/recruit]
		[checkup]
			[result]
				checksum="5cbU7.h<DgoAe<>g94xfeW.wg1-1fEl4X,hk-<VH7MYbpXifhe8ir>a>519+Bg>-j0ce0lfeia9i3j+e.Xk36,T8d<NGfgQ6IR0+bivwZIFC<4f2rCsEbKQA2d+PSP0v"
			[/result]
			[result]
				next_unit_id=16
				random_calls=22
			[/result]
		[/checkup]
	[/command]
	[command]
		dependent=yes
		from_side="server"
		sent=yes
		[random_seed]
			new_seed="01fc3b50"
		[/random_seed]
	[/command]
	[command]
		[end_turn]
			next_player_number=3
		[/end_turn]
		[checkup1]
			[result]
				next_unit_id=16
				random_calls=0
			[/result]
		[/checkup1]
		[checkup2]
			[result]
				next_unit_id=16
				random_calls=0
			[/result]
		[/checkup2]
	[/command]
	[command]
		sent=yes
		undo=no
		[speak]
			id="Phoenixz"
			message="I hate this game, when you you win if you caprture all the villages, I was always bad at it"
			side=1
			time=1673662729
		[/speak]
	[/command]
	[command]
		sent=yes
		[init_side]
			side_number=1
		[/init_side]
		[checkup]
			[result]
				next_unit_id=16
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=1
		sent=yes
		[move]
			skip_sighted="only_ally"
			x="20,20"
			y="19,18"
		[/move]
		[checkup]
			[result]
				final_hex_x=20
				final_hex_y=18
				stopped_early=no
			[/result]
			[result]
				next_unit_id=16
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=1
		sent=yes
		[move]
			skip_sighted="only_ally"
			x="20,19"
			y="18,18"
		[/move]
		[checkup]
			[result]
				final_hex_x=19
				final_hex_y=18
				stopped_early=no
			[/result]
			[result]
				next_unit_id=16
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		undo=no
		[speak]
			id="StonyDrew"
			message="hm"
			side=2
			time=1673662750
		[/speak]
	[/command]
	[command]
		from_side=1
		sent=yes
		[move]
			skip_sighted="only_ally"
			x="22,21,20,19,18,17,16,15,14,14"
			y="21,21,21,21,21,22,22,23,22,21"
		[/move]
		[checkup]
			[result]
				final_hex_x=14
				final_hex_y=22
				stopped_early=yes
			[/result]
			[result]
				next_unit_id=16
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=1
		sent=yes
		[move]
			skip_sighted="only_ally"
			x="14,14"
			y="22,21"
		[/move]
		[checkup]
			[result]
				final_hex_x=14
				final_hex_y=21
				stopped_early=no
			[/result]
			[result]
				next_unit_id=16
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=1
		sent=yes
		[move]
			skip_sighted="only_ally"
			x="23,22,21,20,19,18,18"
			y="25,24,24,24,25,25,26"
		[/move]
		[checkup]
			[result]
				final_hex_x=18
				final_hex_y=26
				stopped_early=no
			[/result]
			[result]
				next_unit_id=16
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		undo=no
		[speak]
			id="StonyDrew"
			message="that and the day  night cycle brings us into combat"
			side=2
			time=1673662774
		[/speak]
	[/command]
	[command]
		from_side=1
		sent=yes
		[move]
			skip_sighted="only_ally"
			x="25,25,25,25,24,24,23,22,22,21"
			y="13,12,11,10,9,8,8,7,6,6"
		[/move]
		[checkup]
			[result]
				final_hex_x=25
				final_hex_y=12
				stopped_early=yes
			[/result]
			[result]
				next_unit_id=16
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		sent=yes
		undo=no
		[speak]
			id="StonyDrew"
			message="you mean"
			side=2
			time=1673662781
		[/speak]
	[/command]
	[command]
		from_side=1
		sent=yes
		[move]
			skip_sighted="only_ally"
			x="25,25,24,23,22,22,21"
			y="12,11,10,10,9,8,8"
		[/move]
		[checkup]
			[result]
				final_hex_x=21
				final_hex_y=8
				stopped_early=no
			[/result]
			[result]
				next_unit_id=16
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		undo=no
		[speak]
			id="StonyDrew"
			message="grabbing your early villages?"
			side=2
			time=1673662789
		[/speak]
	[/command]
	[command]
		from_side=1
		sent=yes
		[move]
			skip_sighted="only_ally"
			x="21,21,21"
			y="8,7,6"
		[/move]
		[checkup]
			[result]
				final_hex_x=21
				final_hex_y=6
				stopped_early=no
			[/result]
			[result]
				next_unit_id=16
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=1
		sent=yes
		[move]
			skip_sighted="only_ally"
			x="24,23,22,21,20,19,18,17,16,15"
			y="19,20,20,21,21,22,22,23,22,23"
		[/move]
		[checkup]
			[result]
				final_hex_x=15
				final_hex_y=23
				stopped_early=no
			[/result]
			[result]
				next_unit_id=16
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=1
		sent=yes
		[recruit]
			type="Spearman Ladder_1"
			x=24
			y=19
			[from]
				x=24
				y=20
			[/from]
		[/recruit]
		[checkup]
			[result]
				checksum="aD3akniusq>uJvECKKEEA3KJrnqDAayQMKKqqPVMCuqIiqCAsCIAll4xdFLwjQLMPuvAIRoVKQICwHJE+qNz8HGwORq+IPAIyP<Prn.5xpxFFP411-XAk+OfFeMmfGkz"
			[/result]
			[result]
				next_unit_id=17
				random_calls=22
			[/result]
		[/checkup]
	[/command]
	[command]
		dependent=yes
		from_side="server"
		sent=yes
		[random_seed]
			new_seed="8d7d93ff"
		[/random_seed]
	[/command]
	[command]
		from_side=1
		sent=yes
		[move]
			skip_sighted="only_ally"
			x="24,24,25,25,26"
			y="20,19,19,18,17"
		[/move]
		[checkup]
			[result]
				final_hex_x=26
				final_hex_y=17
				stopped_early=no
			[/result]
			[result]
				next_unit_id=17
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		sent=yes
		[end_turn]
			next_player_number=2
		[/end_turn]
		[checkup1]
			[result]
				next_unit_id=17
				random_calls=0
			[/result]
		[/checkup1]
	[/command]
	[command]
		[init_side]
			side_number=2
		[/init_side]
		[checkup]
			[result]
				next_unit_id=17
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=2
		[move]
			x="2,2,2,2,2,3"
			y="15,16,17,18,19,20"
		[/move]
		[checkup]
			[result]
				final_hex_x=3
				final_hex_y=20
				stopped_early=no
			[/result]
			[result]
				next_unit_id=17
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=2
		[move]
			x="6,7,7,7,7"
			y="16,17,18,19,20"
		[/move]
		[checkup]
			[result]
				final_hex_x=7
				final_hex_y=20
				stopped_early=no
			[/result]
			[result]
				next_unit_id=17
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=2
		[move]
			x="4,4,4,4,4,4"
			y="13,14,15,16,17,18"
		[/move]
		[checkup]
			[result]
				final_hex_x=4
				final_hex_y=18
				stopped_early=no
			[/result]
			[result]
				next_unit_id=17
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=2
		[move]
			x="18,19,19,20"
			y="5,6,7,7"
		[/move]
		[checkup]
			[result]
				final_hex_x=20
				final_hex_y=7
				stopped_early=no
			[/result]
			[result]
				next_unit_id=17
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=2
		[move]
			x="20,21"
			y="7,8"
		[/move]
		[checkup]
			[result]
				final_hex_x=21
				final_hex_y=8
				stopped_early=no
			[/result]
			[result]
				next_unit_id=17
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=2
		[move]
			x="14,15,16,17,18,19"
			y="11,12,12,12,12,13"
		[/move]
		[checkup]
			[result]
				final_hex_x=16
				final_hex_y=12
				stopped_early=yes
			[/result]
			[result]
				next_unit_id=17
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=2
		[recruit]
			type="Orcish Archer Ladder_1"
			x=4
			y=13
			[from]
				x=4
				y=12
			[/from]
		[/recruit]
		[checkup]
			[result]
				checksum="MMN8W7,CmenOi,ig8.phaf.g3-1q41-1fEl4X,hk-<VH7MYbpXgfhe8ir>a>519+Bg>-j0ce0lfeia9i3o<e.Xk36,T8d<NGXEfQAK+U3N7wZIyC<4f5xCsEbKQA2duP"
			[/result]
			[result]
				next_unit_id=18
				random_calls=22
			[/result]
		[/checkup]
	[/command]
	[command]
		dependent=yes
		from_side="server"
		sent=yes
		[random_seed]
			new_seed="66b883cf"
		[/random_seed]
	[/command]
	[command]
		sent=yes
		undo=no
		[speak]
			id="Phoenixz"
			message="my home is your home, I have just a diffirent mentality to win this war! And I am not even speaking about Russian thugs now!"
			side=1
			time=1673662924
		[/speak]
	[/command]
	[command]
		from_side=2
		[move]
			x="16,17,18,19"
			y="12,12,12,13"
		[/move]
		[checkup]
			[result]
				final_hex_x=19
				final_hex_y=13
				stopped_early=no
			[/result]
			[result]
				next_unit_id=18
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=2
		[move]
			x="10,11,12,13,14,15"
			y="6,7,7,7,6,7"
		[/move]
		[checkup]
			[result]
				final_hex_x=15
				final_hex_y=7
				stopped_early=no
			[/result]
			[result]
				next_unit_id=18
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=2
		[move]
			x="5,6,7,8,9,10,11"
			y="8,8,9,8,8,7,7"
		[/move]
		[checkup]
			[result]
				final_hex_x=11
				final_hex_y=7
				stopped_early=no
			[/result]
			[result]
				next_unit_id=18
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		sent=yes
		undo=no
		[speak]
			id="server"
			message="the_real_mate has logged into the lobby"
			time=1673662987
		[/speak]
	[/command]
	[command]
		from_side=2
		[move]
			x="9,10,11,12,13,14"
			y="15,15,16,16,16,15"
		[/move]
		[checkup]
			[result]
				final_hex_x=11
				final_hex_y=16
				stopped_early=yes
			[/result]
			[result]
				next_unit_id=18
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=2
		[move]
			x="11,12,13,14"
			y="16,16,16,15"
		[/move]
		[checkup]
			[result]
				final_hex_x=14
				final_hex_y=15
				stopped_early=no
			[/result]
			[result]
				next_unit_id=18
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=2
		[move]
			x="21,22"
			y="8,8"
		[/move]
		[checkup]
			[result]
				final_hex_x=22
				final_hex_y=8
				stopped_early=no
			[/result]
			[result]
				next_unit_id=18
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=2
		[move]
			x="22,22"
			y="8,9"
		[/move]
		[checkup]
			[result]
				final_hex_x=22
				final_hex_y=9
				stopped_early=no
			[/result]
			[result]
				next_unit_id=18
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=2
		[move]
			x="22,22,22,21"
			y="9,8,7,7"
		[/move]
		[checkup]
			[result]
				final_hex_x=21
				final_hex_y=7
				stopped_early=no
			[/result]
			[result]
				next_unit_id=18
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		[end_turn]
			next_player_number=3
		[/end_turn]
		[checkup1]
			[result]
				next_unit_id=18
				random_calls=0
			[/result]
		[/checkup1]
		[checkup2]
			[result]
				next_unit_id=18
				random_calls=0
			[/result]
		[/checkup2]
	[/command]
	[command]
		sent=yes
		[init_side]
			side_number=1
		[/init_side]
		[checkup]
			[result]
				next_unit_id=18
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		sent=yes
		undo=no
		[speak]
			id="Phoenixz"
			message="Renaître de ses cendres - in french being reborn from ashes, as my french speaking Wesnothian friend from Quebec in Canada recently said, thats what Phoenexis do"
			side=1
			time=1673663159
		[/speak]
	[/command]
	[command]
		undo=no
		[speak]
			id="StonyDrew"
			message="ich weise"
			side=2
			time=1673663182
		[/speak]
	[/command]
	[command]
		sent=yes
		undo=no
		[speak]
			id="server"
			message="SandSculpture has logged into the lobby"
			time=1673663187
		[/speak]
	[/command]
	[command]
		from_side=1
		sent=yes
		[move]
			skip_sighted="only_ally"
			x="15,14,13,13,12,12,11,11,10"
			y="23,22,23,24,24,25,26,27,27"
		[/move]
		[checkup]
			[result]
				final_hex_x=10
				final_hex_y=27
				stopped_early=no
			[/result]
			[result]
				next_unit_id=18
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=1
		sent=yes
		[move]
			skip_sighted="only_ally"
			x="21,20,19,18"
			y="6,5,5,5"
		[/move]
		[checkup]
			[result]
				final_hex_x=18
				final_hex_y=5
				stopped_early=no
			[/result]
			[result]
				next_unit_id=18
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=1
		sent=yes
		[move]
			skip_sighted="only_ally"
			x="19,20,21,22"
			y="18,17,17,16"
		[/move]
		[checkup]
			[result]
				final_hex_x=22
				final_hex_y=16
				stopped_early=no
			[/result]
			[result]
				next_unit_id=18
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=1
		sent=yes
		[move]
			skip_sighted="only_ally"
			x="24,24,24,24,24,24"
			y="19,18,17,16,15,14"
		[/move]
		[checkup]
			[result]
				final_hex_x=24
				final_hex_y=14
				stopped_early=no
			[/result]
			[result]
				next_unit_id=18
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=1
		sent=yes
		[move]
			skip_sighted="only_ally"
			x="26,26,26,26,26,25"
			y="17,16,15,14,13,13"
		[/move]
		[checkup]
			[result]
				final_hex_x=25
				final_hex_y=13
				stopped_early=no
			[/result]
			[result]
				next_unit_id=18
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		sent=yes
		[end_turn]
			next_player_number=2
		[/end_turn]
		[checkup1]
			[result]
				next_unit_id=18
				random_calls=0
			[/result]
		[/checkup1]
	[/command]
	[command]
		[init_side]
			side_number=2
		[/init_side]
		[checkup]
			[result]
				next_unit_id=18
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=2
		[move]
			x="11,12,13,14,15,16,17"
			y="7,6,6,5,5,5,5"
		[/move]
		[checkup]
			[result]
				final_hex_x=17
				final_hex_y=5
				stopped_early=no
			[/result]
			[result]
				next_unit_id=18
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=2
		[attack]
			attacker_lvl=1
			attacker_type="Orcish Grunt"
			defender_lvl=1
			defender_type="Cavalryman Ladder_1"
			defender_weapon=0
			tod="dusk"
			turn=4
			weapon=0
			[source]
				x=17
				y=5
			[/source]
			[destination]
				x=18
				y=5
			[/destination]
		[/attack]
		[checkup]
			[result]
				chance=60
				damage=6
				hits=yes
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=60
				damage=0
				hits=no
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=60
				damage=0
				hits=no
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=60
				damage=6
				hits=yes
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=60
				damage=6
				hits=yes
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				next_unit_id=18
				random_calls=5
			[/result]
		[/checkup]
	[/command]
	[command]
		dependent=yes
		from_side="server"
		sent=yes
		[random_seed]
			new_seed="3ac9305f"
		[/random_seed]
	[/command]
	[command]
		from_side=2
		[move]
			x="15,16,16,16,17,18"
			y="7,6,5,4,4,4"
		[/move]
		[checkup]
			[result]
				final_hex_x=18
				final_hex_y=4
				stopped_early=no
			[/result]
			[result]
				next_unit_id=18
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=2
		[attack]
			attacker_lvl=0
			attacker_type="Goblin Spearman"
			defender_lvl=1
			defender_type="Cavalryman Ladder_1"
			defender_weapon=0
			tod="dusk"
			turn=4
			weapon=0
			[source]
				x=18
				y=4
			[/source]
			[destination]
				x=18
				y=5
			[/destination]
		[/attack]
		[checkup]
			[result]
				chance=60
				damage=0
				hits=no
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=60
				damage=6
				hits=yes
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=60
				damage=7
				hits=yes
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=60
				damage=6
				hits=yes
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=60
				damage=7
				hits=yes
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=60
				damage=0
				hits=no
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				next_unit_id=18
				random_calls=6
			[/result]
		[/checkup]
	[/command]
	[command]
		dependent=yes
		from_side="server"
		sent=yes
		[random_seed]
			new_seed="33a3b0e5"
		[/random_seed]
	[/command]
	[command]
		from_side=2
		[move]
			x="21,20,19"
			y="7,6,6"
		[/move]
		[checkup]
			[result]
				final_hex_x=19
				final_hex_y=6
				stopped_early=no
			[/result]
			[result]
				next_unit_id=18
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=2
		[attack]
			attacker_lvl=1
			attacker_type="Wolf Rider"
			defender_lvl=1
			defender_type="Cavalryman Ladder_1"
			defender_weapon=0
			tod="dusk"
			turn=4
			weapon=0
			[source]
				x=19
				y=6
			[/source]
			[destination]
				x=18
				y=5
			[/destination]
		[/attack]
		[checkup]
			[result]
				chance=60
				damage=4
				hits=yes
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=60
				damage=0
				hits=no
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=60
				damage=0
				hits=no
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=60
				damage=0
				hits=no
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=60
				damage=4
				hits=yes
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=60
				damage=6
				hits=yes
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				next_unit_id=18
				random_calls=6
			[/result]
		[/checkup]
	[/command]
	[command]
		dependent=yes
		from_side="server"
		sent=yes
		[random_seed]
			new_seed="110d9d5c"
		[/random_seed]
	[/command]
	[command]
		from_side=2
		[move]
			x="7,7,7"
			y="20,21,22"
		[/move]
		[checkup]
			[result]
				final_hex_x=7
				final_hex_y=22
				stopped_early=no
			[/result]
			[result]
				next_unit_id=18
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=2
		[move]
			x="7,7"
			y="22,23"
		[/move]
		[checkup]
			[result]
				final_hex_x=7
				final_hex_y=23
				stopped_early=no
			[/result]
			[result]
				next_unit_id=18
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=2
		[move]
			x="7,7,7"
			y="23,24,25"
		[/move]
		[checkup]
			[result]
				final_hex_x=7
				final_hex_y=25
				stopped_early=no
			[/result]
			[result]
				next_unit_id=18
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=2
		[move]
			x="3,3,4,4,4,4,5"
			y="20,21,21,22,23,24,25"
		[/move]
		[checkup]
			[result]
				final_hex_x=5
				final_hex_y=25
				stopped_early=no
			[/result]
			[result]
				next_unit_id=18
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=2
		[move]
			x="4,5,5,6,6,7"
			y="18,19,20,20,21,22"
		[/move]
		[checkup]
			[result]
				final_hex_x=7
				final_hex_y=22
				stopped_early=no
			[/result]
			[result]
				next_unit_id=18
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=2
		[move]
			x="4,4,4,4,4,4,5"
			y="13,14,15,16,17,18,19"
		[/move]
		[checkup]
			[result]
				final_hex_x=5
				final_hex_y=19
				stopped_early=no
			[/result]
			[result]
				next_unit_id=18
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=2
		[recruit]
			type="Orcish Archer Ladder_1"
			x=4
			y=13
			[from]
				x=4
				y=12
			[/from]
		[/recruit]
		[checkup]
			[result]
				checksum="MMN5W7,CmenOi,ig8.phaf.g3-1q41-1fEl4X,hk-<VH7MYbpXgfhe8ir>a>519+Bg>-j0ce0lfeia9i3o-e.Xk36,T8d<NGXEfQAK+U3N7wZIyC<4f2zCsEbKQA2duP"
			[/result]
			[result]
				next_unit_id=19
				random_calls=22
			[/result]
		[/checkup]
	[/command]
	[command]
		dependent=yes
		from_side="server"
		sent=yes
		[random_seed]
			new_seed="0ebe8bea"
		[/random_seed]
	[/command]
	[command]
		from_side=2
		[move]
			x="19,19,19,19,19,19"
			y="13,14,15,16,17,18"
		[/move]
		[checkup]
			[result]
				final_hex_x=19
				final_hex_y=18
				stopped_early=no
			[/result]
			[result]
				next_unit_id=19
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		sent=yes
		undo=no
		[speak]
			id="Phoenixz"
			message="gg"
			side=1
			time=1673663496
		[/speak]
	[/command]
	[command]
		sent=yes
		undo=no
		[speak]
			id="server"
			message="Phoenixz has left the game."
			time=1673663503
		[/speak]
	[/command]
	[command]
		sent=yes
		undo=no
		[speak]
			id="server"
			message="StonyDrew takes control of side 1."
			time=1673663503
		[/speak]
	[/command]
	[command]
		from_side=2
		[move]
			x="14,15,16,17,18,19,19,19,19"
			y="15,16,16,17,17,18,19,20,21"
		[/move]
		[checkup]
			[result]
				final_hex_x=18
				final_hex_y=17
				stopped_early=no
			[/result]
			[result]
				next_unit_id=19
				random_calls=0
			[/result]
		[/checkup]
	[/command]
[/replay]

