chesko = 0
lhb = 0
DeSelectAll

SelectMany "Required Files",\
	"|Skeleton Rig map","Contain skeleton.hkx/skeleton_female.hkx that required in order to make animation that using its rig to play properly","Fomod\\Screens\\1.png",\
	"Magic-Shield-Crouch patch for NON FNIS User","Install this only if you don't have FNIS","Fomod\\Screens\\1.png"
	"XPMS Base Slider for ECE User","Full CREDIT for Groovtama for making this file. Contain modified "humanraces_slider.ini" that using XPMS scale for ECE slider","Fomod\\Screens\\1.png"
	Case "Skeleton Rig map"
		SelectSubPackage "00 Skeleton Rig"
		Break
	Case "Magic-Shield-Crouch-Torch patch for NON FNIS User"
		SelectSubPackage "01 NON FNIS patch"
		Break
	Case "XPMS Base Slider for ECE User"
		SelectSubPackage "00 ECE Slider"
		Break
EndSelect

SelectOne "1st Person Skeleton",\
	"Default","Choose this if you ARE NOT using Joy Of perspective Mod!!","Fomod\\Screens\\1.png",\
	"Joy Of perspective","Choose this if you are using Joy Of perspective Mod","Fomod\\Screens\\1.png"
	Case "Default"
		SelectSubPackage "04 1stpersonSkeleton Default BBP and belly bone"
		Break
	Case "Joy Of perspective"
		SelectSubPackage "04 1stpersonSkeleton for Joy Of Perspective Mod"
		Break
EndSelect

SelectOne "XPMS",\
		"Default XPMS","Skeletons structure and scales are edited to match XPMS settings. All sheathed equiment will placed base on vanilla","Fomod\\Screens\\XPMS.jpg",\
		"Default XPMS Chesko","All sheathed equiment will placed base on vanilla except for quiver and bow. Quiver and Bow will positioned to match Frostfall mod","Fomod\\Screens\\C.jpg",\
		"Default XPMS Frostfall LHB","Left Hip Bolt Quiver-Frostfall Variant for the XPMS-BOLT placement. All sheathed equiment will placed base on vanilla except for quiver and bow. Quiver and Bow will positioned to match Frostfall mod","Fomod\Screens\BOLT.jpg",\
		"Back 1H Sword","Will put 1H sword at the back like 2H sword","Fomod\\Screens\\B1HS.jpg",\
		"Back 1H Sword Chesko","Will put 1H sword at the back like 2H sword. Quiver and Bow will positioned to match Frostfall mod","Fomod\\Screens\\1.png",\
		"Back 1H Sword Frostfall LHB","Left Hip Bolt Quiver-Frostfall Variant for the XPMS-BOLT placement. Will put 1H sword at the back like 2H sword. Quiver and Bow will positioned to match Frostfall mod","Fomod\Screens\BOLT.jpg",\
		"Back Hip Dagger","Will put Dagger at the back Hip","Fomod\\Screens\\BHD.jpg",\
		"Back Hip Dagger Chesko","Will put Dagger at the back Hip. Quiver and Bow will positioned to match Frostfall mod","Fomod\\Screens\\1.png",\
		"Back Hip Dagger Frostfall LHB","Left Hip Bolt Quiver-Frostfall Variant for the XPMS-BOLT placement. Will put Dagger at the back Hip. Quiver and Bow will positioned to match Frostfall mod","Fomod\Screens\BOLT.jpg",\
		"Back Hip Dagger and Back 1H Sword","Will put Dagger at the back Hip and 1H sword at the back like 2H sword","Fomod\\Screens\\1.png",\
		"Back Hip Dagger and Back 1H Sword Chesko","Will put Dagger at the back Hip and 1H sword at the back like 2H sword. Quiver and Bow will positioned to match Frostfall mod","Fomod\\Screens\\1.png",\
		"Back Hip Dagger and Back 1H Sword Frostfall LHB","Left Hip Bolt Quiver-Frostfall Variant for the XPMS-BOLT placement. Will put Dagger at the back Hip and 1H sword at the back like 2H sword. Quiver and Bow will positioned to match Frostfall mod","Fomod\Screens\BOLT.jpg"
	Case "Default XPMS"
		SelectSubPackage "10 Default Weapon Placement"
		Break
	Case "Default XPMS Chesko"
		SelectSubPackage "10 Default Weapon Placement Chesko BFQ"
		chesko = 1
		Break
	Case "Default XPMS Frostfall LHB"
		SelectSubPackage "10 Default Weapon Placement LeftHandBolt Quiver"
		lhb = 1
		Break
	Case "Back 1H Sword"
		SelectSubPackage "11 Back 1H Swords"
		back = 1
		sword = 1
		Break
	Case "Back 1H Sword Chesko"
		SelectSubPackage "11 Back 1H Swords Chesko BFQ"
		chesko = 1
		back = 1
		sword = 1
		Break
	Case "Back 1H Sword Frostfall LHB"
		SelectSubPackage "11 Back 1H Swords LeftHandBolt"
		lhb = 1
		back = 1
		sword = 1
		Break
	Case "Back Hip Dagger"
		SelectSubPackage "12 Back Hip Daggers"
		back = 1
		dagger = 1
		Break
	Case "Back Hip Dagger Chesko"
		SelectSubPackage "12 Back Hip Daggers Chesko BFQ"
		chesko = 1
		back = 1
		dagger = 1
		Break
	Case "Back Hip Dagger Frostfall LHB"
		SelectSubPackage "12 Back Hip Daggers LeftHandBolt"
		lhb = 1
		back = 1
		dagger = 1
		Break
	Case "Back Hip Dagger and Back 1H Sword"
		SelectSubPackage "13 Back Hip Daggers Back 1H Swords"
		back = 1
		sword = 1
		dagger = 1
		Break
	Case "Back Hip Dagger and Back 1H Sword Chesko"
		SelectSubPackage "13 Back Hip Daggers Back 1H Swords Chesko BFQ"
		chesko =1
		back = 1
		sword = 1
		dagger = 1
		Break
	Case "Back Hip Dagger and Back 1H Sword Frostfall LHB"
		SelectSubPackage "13 Back Hip Daggers Back 1H Swords LHB Quiver"
		lhb =1
		back = 1
		sword = 1
		dagger = 1
		Break
EndSelect	

If chesko == 1
	SelectOne "Bolt Placement Chesko Compatible",\
		"Bolts Quiver - Chesko", "Use this if you want the same quiver placement that chesko provided.", "Fomod\\Screens\\BOLTC.jpg", \
		"Left-Hip Bolts Quiver v1", "EXPERIMENTAL VERSION. Using a new node for the bolt quiver. It has issues with reloading crossbow where the bolt is dissapear.", "Fomod\\Screens\\BOLT.jpg"
		Case "Bolts Quiver - Chesko"
			SelectSubPackage "01 BOLT quiver Chesko meshes"
			Break
		Case "Left-Hip Bolts Quiver v1"
			SelectSubPackage "01 BOLT1"
			Note "Using a new node for the bolt quiver. It has issues with reloading crossbow where the bolt is dissapear."
			Break
	EndSelect
EndIf

If lhb == 1
	SelectOne "Bolt Placement Frostfall Compatible",\
		"Left-Hip Bolts Quiver - Frostfall", "Move the quiver node to HIP without using v1 method.", "Fomod\\Screens\\BOLT.jpg", \
		"Left-Hip Bolts Quiver v1", "EXPERIMENTAL VERSION. Using a new node for the bolt quiver. It has issues with reloading crossbow where the bolt is dissapear.", "Fomod\\Screens\\BOLT.jpg"
		Case "Left-Hip Bolts Quiver - Frostfall"
			SelectSubPackage "01 BOLT quiver LeftHandBolt meshes"
			Break
		Case "Left-Hip Bolts Quiver v1"
			SelectSubPackage "01 BOLT1"
			Note "Using a new node for the bolt quiver. It has issues with reloading crossbow where the bolt is dissapear."
			Break
	EndSelect
EndIf

If chesko == 0
	If lhb == 0
		SelectOne "Bolt Placement",\
			"Vanilla", "Vanilla Game Setting(Not change any thing).", "Fomod\\Screens\\1.png", \
			"Left-Hip Bolts Quiver v1", "EXPERIMENTAL VERSION. Using a new node for the bolt quiver. It has issues with reloading crossbow where the bolt is dissapear.", "Fomod\\Screens\\BOLT.jpg"
			Case "Vanilla"
				Break
			Case "Left-Hip Bolts Quiver v1"
				SelectSubPackage "01 BOLT1"
				Note "Using a new node for the bolt quiver. It has issues with reloading crossbow where the bolt is dissapear."
				Break
		EndSelect
	EndIf
EndIf

If back == 1
	SelectOne "Install Animation files for Back Weapons as well?",\
		"Yes","","Fomod\\Screens\\1.png",\
		"No","","Fomod\\Screens\\1.png"
	Case "Yes"
		If dagger == 1
			SelectSubPackage "02 Back Hand Dagger equip unquip animations"
		EndIf
		If sword == 1
			SelectSubPackage "03 Back 1H Sword equip unquip animations"
			Note "One handed sword on back has sounds issues. I recommend to see this mod for more variability on equip's animations \"http://skyrim.nexusmods.com/mods/34950\""
		EndIf
		Break
	Case "No"
		Break
	EndSelect	
EndIf
