scriptname DfSV_MCM extends SKI_ConfigBase

Actor Property PlayerAlias auto

;>>> Other Values

Quest Property DfVS_Main auto
Quest Property DfVS_MCMquest auto

Spell property DfSV_ss_focusshot auto

;>>> Status Values
GlobalVariable Property DfSV_PCSheartXP auto
GlobalVariable Property DfSV_PCSheartXPgain auto
GlobalVariable Property DfSV_PCSheartForce auto
GlobalVariable Property DfSV_PCSheartForceMAX auto
GlobalVariable Property DfSV_PCSheartForceInc auto
GlobalVariable Property DfSV_PCShpabsorb auto
GlobalVariable Property DfSV_PCSmpabsorb auto
GlobalVariable Property DfSV_PCSspabsorb auto
GlobalVariable Property DfSV_PCSspermhvalue auto
GlobalVariable Property DfSV_PCSspermmvalue auto
GlobalVariable Property DfSV_PCSspermsvalue auto
GlobalVariable Property DfSV_PCSspermfvalue auto
GlobalVariable Property DfSV_Set_absorbconsent auto
GlobalVariable Property DfSV_Set_playerdecay auto


;>>> Pages
; Status
; Soul Burn
; HeartXP
; Heart Spells
; Settings

;>>> Menu ID
;>>> Status
	int playerHealthID
	int playerMagickaID
	int playerStaminaID
	int playerHeartXPID
	int playerHeartXPgainID
	int playerHeartForceID
	int playerHeartForceMAXID
	int absorbheffectID
	int absorbmeffectID
	int absorbseffectID
	int spermheffectID
	int spermmeffectID
	int spermseffectID
	int spermfeffectID
	
;>>> Soul Burn
	int soulHealthID
	bool soulHealth = false
	int soulMagickaID
	bool soulMagicka = false
	int soulStaminaID
	bool soulStamina = false
	int soulHeartID
	bool soulHeart = false
	int carryHID
	bool carryH = false
	int carryMID
	bool carryM = false
	int carrySID
	bool carryS = false
	int carryXID
	bool carryX = false
	int alchemyHID
	bool alchemyH = false
	int alchemyMID
	bool alchemyM = false
	int alchemySID
	bool alchemyS = false
	int alchemyXID
	bool alchemyX = false
	int alterationHID
	bool alterationH = false
	int alterationMID
	bool alterationM = false
	int alterationSID
	bool alterationS = false
	int alterationXID
	bool alterationX = false
	int blockHID
	bool blockH = false
	int blockMID
	bool blockM = false
	int blockSID
	bool blockS = false
	int blockXID
	bool blockX = false
	int conjurationHID
	bool conjurationH = false
	int conjurationMID
	bool conjurationM = false
	int conjurationSID
	bool conjurationS = false
	int conjurationXID
	bool conjurationX = false
	int destructionHID
	bool destructionH = false
	int destructionMID
	bool destructionM = false
	int destructionSID
	bool destructionS = false
	int destructionXID
	bool destructionX = false
	int enchantingHID
	bool enchantingH = false
	int enchantingMID
	bool enchantingM = false
	int enchantingSID
	bool enchantingS = false
	int enchantingXID
	bool enchantingX = false
	int heavyarmorHID
	bool heavyarmorH = false
	int heavyarmorMID
	bool heavyarmorM = false
	int heavyarmorSID
	bool heavyarmorS = false
	int heavyarmorXID
	bool heavyarmorX = false
	int illusionHID
	bool illusionH = false
	int illusionMID
	bool illusionM = false
	int illusionSID
	bool illusionS = false
	int illusionXID
	bool illusionX = false
	int lightarmorHID
	bool lightarmorH = false
	int lightarmorMID
	bool lightarmorM = false
	int lightarmorSID
	bool lightarmorS = false
	int lightarmorXID
	bool lightarmorX = false
	int lockpickingHID
	bool lockpickingH = false
	int lockpickingMID
	bool lockpickingM = false
	int lockpickingSID
	bool lockpickingS = false
	int lockpickingXID
	bool lockpickingX = false
	int marksmanHID
	bool marksmanH = false
	int marksmanMID
	bool marksmanM = false
	int marksmanSID
	bool marksmanS = false
	int marksmanXID
	bool marksmanX = false
	int onehandedHID
	bool onehandedH = false
	int onehandedMID
	bool onehandedM = false
	int onehandedSID
	bool onehandedS = false
	int onehandedXID
	bool onehandedX = false
	int pickpocketHID
	bool pickpocketH = false
	int pickpocketMID
	bool pickpocketM = false
	int pickpocketSID
	bool pickpocketS = false
	int pickpocketXID
	bool pickpocketX = false
	int restorationHID
	bool restorationH = false
	int restorationMID
	bool restorationM = false
	int restorationSID
	bool restorationS = false
	int restorationXID
	bool restorationX = false
	int smithingHID
	bool smithingH = false
	int smithingMID
	bool smithingM = false
	int smithingSID
	bool smithingS = false
	int smithingXID
	bool smithingX = false
	int sneakHID
	bool sneakH = false
	int sneakMID
	bool sneakM = false
	int sneakSID
	bool sneakS = false
	int sneakXID
	bool sneakX = false
	int speechcraftHID
	bool speechcraftH = false
	int speechcraftMID
	bool speechcraftM = false
	int speechcraftSID
	bool speechcraftS = false
	int speechcraftXID
	bool speechcraftX = false
	int twohandedHID
	bool twohandedH = false
	int twohandedMID
	bool twohandedM = false
	int twohandedSID
	bool twohandedS = false
	int twohandedXID
	bool twohandedX = false
	
;>>> HeartXP
	int increaseHFmaxID
	bool increaseHFmax = false
	int increaseHFincID
	bool increaseHFinc = false
	int incabsorbHID
	bool incabsorbH = false
	int incabsorbMID
	bool incabsorbM = false
	int incabsorbSID
	bool incabsorbS = false
	int incXPgainID
	bool incXPgain = false
	int spermehID
	bool spermeh = false
	int spermemID
	bool spermem = false
	int spermesID
	bool spermes = false
	
;>>> Heart Spells
	int ssFocusShotID
	bool ssFocusShot = false
	
;>>> Settings
	int Set_consentAbsorbID
	bool Set_consentAbsorb = false
	int Set_playerdecayID
	bool Set_playerdecay = false
	
	
	int creditsID
	bool credits = false


	
Event OnPageReset(string page)
	if (page == "")
        ;LoadCustomContent("skyui/skyui_splash.swf")
        return
    else
		UnloadCustomContent()
	endIf
	
	If (page == "Status")
		SetCursorFillMode(TOP_TO_Bottom)
		
		;Left Side
		SetCursorPosition(0)
		
		AddHeaderOption("Force Status")
			Float playerHeartXP = DfSV_PCSheartXP.GetValue()
			float playerHealth = (Game.GetPlayer().GetBaseActorValue("Health"))
			float playerMagicka = (Game.GetPlayer().GetBaseActorValue("Magicka"))
			float playerStamina = (Game.GetPlayer().GetBaseActorValue("Stamina"))
		playerHealthID = AddTextOption("Health Force", playerHealth)
		playerMagickaID = AddTextOption("Magic Force", playerMagicka)
		playerStaminaID = AddTextOption("Energy Force", playerStamina)
		playerHeartXPID = AddTextOption("HeartXP", playerHeartXP)
		AddEmptyOption()
		
		AddHeaderOption("Absorb Effects")
			Float absorbhvalue = DfSV_PCShpabsorb.GetValue()
			Float absorbmvalue = DfSV_PCSmpabsorb.GetValue()
			Float absorbsvalue = DfSV_PCSspabsorb.GetValue()
		absorbheffectID = AddTextOption("Health Force",absorbhvalue)
		absorbmeffectID = AddTextOption("Magic Force",absorbmvalue)
		absorbseffectID = AddTextOption("Energy Force",absorbsvalue)
		AddEmptyOption()
		
		;Right Side
		SetCursorPosition(1)
		
		AddHeaderOption("Heart Status")
				Float playerHeartXPgain = DfSV_PCSheartXPgain.GetValue()
				Float playerHeartForceMax = DfSV_PCSheartForceMAX.GetValue()
				Float playerHeartForce = DfSV_PCSheartForce.GetValue()
		playerHeartForceID = AddTextOption("Current Heart Force", playerHeartForce)
		playerHeartForceMAXID = AddTextOption("Max Heart Force", playerHeartForceMax)
		playerHeartXPgainID = AddTextOption("HeartXP Gain", playerHeartXPgain)
		AddEmptyOption()
		AddEmptyOption()
		
		AddHeaderOption("Sperm Effects")
			Float spermhvalue = DfSV_PCSspermhvalue.GetValue()
			Float spermmvalue = DfSV_PCSspermmvalue.GetValue()
			Float spermsvalue = DfSV_PCSspermsvalue.GetValue()
			Float spermfvalue = DfSV_PCSspermfvalue.GetValue()
		spermheffectID = AddTextOption("Health Force",spermhvalue)
		spermmeffectID = AddTextOption("Magic Force",spermmvalue)
		spermseffectID = AddTextOption("Energy Force",spermsvalue)
		spermfeffectID = AddTextOption("Heart Force",spermfvalue)
		AddEmptyOption()
		
	elseIf (page == "Soul Burn")
		SetCursorFillMode(TOP_TO_BOTTOM)
		
		;Left Side
		SetCursorPosition(0)
		AddHeaderOption("Status")
		float playerHealth = (Game.GetPlayer().GetBaseActorValue("Health"))
		float playerMagicka = (Game.GetPlayer().GetBaseActorValue("Magicka"))
		float playerStamina = (Game.GetPlayer().GetBaseActorValue("Stamina"))
		Float playerHeartXP = DfSV_PCSheartXP.GetValue()
		soulHealthID = AddTextOption("Health Force", playerHealth)
		soulMagickaID = AddTextOption("Magic Force", playerMagicka)
		soulStaminaID = AddTextOption("Energy Force", playerStamina)
		soulHeartID = AddTextOption("HeartXP", playerHeartXP)
		
		AddEmptyOption()
		AddHeaderOption("Alchemy Knowledge "+(Game.GetPlayer().GetActorValue("alchemy")))
		alchemyHID = AddToggleOption("130 Health Force", alchemyH)
		alchemyMID = AddToggleOption("90 Magic Force", alchemyM)
		alchemySID = AddToggleOption("160 Energy Force", alchemyS)
		alchemyXID = AddToggleOption("4000 HeartXP", alchemyX)
		AddEmptyOption()
		AddHeaderOption("Block Knowledge "+(Game.GetPlayer().GetActorValue("block")))
		blockHID = AddToggleOption("150 Health Force", blockH)
		blockMID = AddToggleOption("200 Magic Force", blockM)
		blockSID = AddToggleOption("360 Energy Force", blockS)
		blockXID = AddToggleOption("4000 HeartXP", blockX)
		AddEmptyOption()
		AddHeaderOption("Destruction Knowledge "+(Game.GetPlayer().GetActorValue("destruction")))
		destructionHID = AddToggleOption("300 Health Force", destructionH)
		destructionMID = AddToggleOption("100 Magic Force", destructionM)
		destructionSID = AddToggleOption("360 Energy Force", destructionS)
		destructionXID = AddToggleOption("4000 HeartXP", destructionX)
		AddEmptyOption()
		AddHeaderOption("Heavy Armor Knowledge "+(Game.GetPlayer().GetActorValue("heavyarmor")))
		heavyarmorHID = AddToggleOption("150 Health Force", heavyarmorH)
		heavyarmorMID = AddToggleOption("200 Magic Force", heavyarmorM)
		heavyarmorSID = AddToggleOption("360 Energy Force", heavyarmorS)
		heavyarmorXID = AddToggleOption("4000 HeartXP", heavyarmorX)
		AddEmptyOption()
		AddHeaderOption("Light Armor Knowledge "+(Game.GetPlayer().GetActorValue("lightarmor")))
		lightarmorHID = AddToggleOption("300 Health Force", lightarmorH)
		lightarmorMID = AddToggleOption("200 Magic Force", lightarmorM)
		lightarmorSID = AddToggleOption("180 Energy Force", lightarmorS)
		lightarmorXID = AddToggleOption("4000 HeartXP", lightarmorX)
		AddEmptyOption()
		AddHeaderOption("Marksman Knowledge "+(Game.GetPlayer().GetActorValue("marksman")))
		marksmanHID = AddToggleOption("300 Health Force", marksmanH)
		marksmanMID = AddToggleOption("200 Magic Force", marksmanM)
		marksmanSID = AddToggleOption("180 Energy Force", marksmanS)
		marksmanXID = AddToggleOption("4000 HeartXP", marksmanX)
		AddEmptyOption()
		AddHeaderOption("Pickpocket Knowledge "+(Game.GetPlayer().GetActorValue("pickpocket")))
		pickpocketHID = AddToggleOption("130 Health Force", pickpocketH)
		pickpocketMID = AddToggleOption("90 Magic Force", pickpocketM)
		pickpocketSID = AddToggleOption("160 Energy Force", pickpocketS)
		pickpocketXID = AddToggleOption("4000 HeartXP", pickpocketX)
		AddEmptyOption()
		AddHeaderOption("Smithing Knowledge "+(Game.GetPlayer().GetActorValue("smithing")))
		smithingHID = AddToggleOption("130 Health Force", smithingH)
		smithingMID = AddToggleOption("90 Magic Force", smithingM)
		smithingSID = AddToggleOption("160 Energy Force", smithingS)
		smithingXID = AddToggleOption("4000 HeartXP", smithingX)
		AddEmptyOption()
		AddHeaderOption("Speechcraft Knowledge "+(Game.GetPlayer().GetActorValue("speechcraft")))
		speechcraftHID = AddToggleOption("130 Health Force", speechcraftH)
		speechcraftMID = AddToggleOption("90 Magic Force", speechcraftM)
		speechcraftSID = AddToggleOption("160 Energy Force", speechcraftS)
		speechcraftXID = AddToggleOption("4000 HeartXP", speechcraftX)
		AddEmptyOption()
		
		;Right Side
		SetCursorPosition(1)
		AddHeaderOption("Carry Weight +10")
		carryHID = AddToggleOption("130 Health Force", carryH)
		carryMID = AddToggleOption("90 Magic Force", carryM)
		carrySID = AddToggleOption("160 Energy Force", carryS)
		carryXID = AddToggleOption("4000 HeartXP", carryX)
		AddEmptyOption()
		AddHeaderOption("Alteration Knowledge "+(Game.GetPlayer().GetActorValue("alteration")))
		alterationHID = AddToggleOption("300 Health Force", alterationH)
		alterationMID = AddToggleOption("100 Magic Force", alterationM)
		alterationSID = AddToggleOption("360 Energy Force", alterationS)
		alterationXID = AddToggleOption("4000 HeartXP", alterationX)
		AddEmptyOption()
		AddHeaderOption("Conjuration Knowledge "+(Game.GetPlayer().GetActorValue("conjuration")))
		conjurationHID = AddToggleOption("300 Health Force", conjurationH)
		conjurationMID = AddToggleOption("100 Magic Force", conjurationM)
		conjurationSID = AddToggleOption("360 Energy Force", conjurationS)
		conjurationXID = AddToggleOption("4000 HeartXP", conjurationX)
		AddEmptyOption()
		AddHeaderOption("Enchanting Knowledge "+(Game.GetPlayer().GetActorValue("enchanting")))
		enchantingHID = AddToggleOption("130 Health Force", enchantingH)
		enchantingMID = AddToggleOption("90 Magic Force", enchantingM)
		enchantingSID = AddToggleOption("160 Energy Force", enchantingS)
		enchantingXID = AddToggleOption("4000 HeartXP", enchantingX)
		AddEmptyOption()
		AddHeaderOption("Illusion Knowledge "+(Game.GetPlayer().GetActorValue("illusion")))
		illusionHID = AddToggleOption("300 Health Force", illusionH)
		illusionMID = AddToggleOption("100 Magic Force", illusionM)
		illusionSID = AddToggleOption("360 Energy Force", illusionS)
		illusionXID = AddToggleOption("4000 HeartXP", illusionX)
		AddEmptyOption()
		AddHeaderOption("Lockpicking Knowledge "+(Game.GetPlayer().GetActorValue("lockpicking")))
		lockpickingHID = AddToggleOption("300 Health Force", lockpickingH)
		lockpickingMID = AddToggleOption("200 Magic Force", lockpickingM)
		lockpickingSID = AddToggleOption("180 Energy Force", lockpickingS)
		lockpickingXID = AddToggleOption("4000 HeartXP", lockpickingX)
		AddEmptyOption()
		AddHeaderOption("One-Handed Knowledge "+(Game.GetPlayer().GetActorValue("onehanded")))
		onehandedHID = AddToggleOption("150 Health Force", onehandedH)
		onehandedMID = AddToggleOption("200 Magic Force", onehandedM)
		onehandedSID = AddToggleOption("360 Energy Force", onehandedS)
		onehandedXID = AddToggleOption("4000 HeartXP", onehandedX)
		AddEmptyOption()
		AddHeaderOption("Restoration Knowledge "+(Game.GetPlayer().GetActorValue("restoration")))
		restorationHID = AddToggleOption("300 Health Force", restorationH)
		restorationMID = AddToggleOption("100 Magic Force", restorationM)
		restorationSID = AddToggleOption("360 Energy Force", restorationS)
		restorationXID = AddToggleOption("4000 HeartXP", restorationX)
		AddEmptyOption()
		AddHeaderOption("Sneak Knowledge "+(Game.GetPlayer().GetActorValue("sneak")))
		sneakHID = AddToggleOption("300 Health Force", sneakH)
		sneakMID = AddToggleOption("200 Magic Force", sneakM)
		sneakSID = AddToggleOption("180 Energy Force", sneakS)
		sneakXID = AddToggleOption("4000 HeartXP", sneakX)
		AddEmptyOption()
		AddHeaderOption("Two-Handed Knowledge "+(Game.GetPlayer().GetActorValue("twohanded")))
		twohandedHID = AddToggleOption("150 Health Force", twohandedH)
		twohandedMID = AddToggleOption("200 Magic Force", twohandedM)
		twohandedSID = AddToggleOption("360 Energy Force", twohandedS)
		twohandedXID = AddToggleOption("4000 HeartXP", twohandedX)
		AddEmptyOption()
		
	elseIf (page == "HeartXP")
		SetCursorFillMode(TOP_TO_BOTTOM)
		
		;Left Side
		SetCursorPosition(0)
		AddHeaderOption("Heart Force")
		increaseHFmaxID = AddToggleOption("Max +10 [4000 HeartXP]", increaseHFmax)
		AddHeaderOption("Heart Force Regeneration")
		increaseHFincID = AddToggleOption("Regen +1/5sec [6000 HeartXP]", increaseHFinc)
		AddEmptyOption()
		AddEmptyOption()
		AddEmptyOption()
		
		;Right Side
		SetCursorPosition(1)
		AddHeaderOption("Force Absorption")
		incabsorbHID = AddToggleOption("Health Absorb +1 [6000 HeartXP]", incabsorbH)
		incabsorbMID = AddToggleOption("Magic Absorb +1 [6500 HeartXP]", incabsorbM)
		incabsorbSID = AddToggleOption("Energy Absorb +1 [5500 HeartXP]", incabsorbS)
		incXPgainID = AddToggleOption("HeartXP Gain +10 [5500 HeartXP]", incXPgain)
		AddEmptyOption()
		
		AddHeaderOption("Sperm Effect")
		spermehID = AddToggleOption("Health Gain +1 [4500 HeartXP]", spermeh)
		spermemID = AddToggleOption("Magic Gain +1 [5000 HeartXP]", spermem)
		spermesID = AddToggleOption("Energy Gain +1 [4000 HeartXP]", spermes)
		AddEmptyOption()
		
		
	elseIf (page == "Heart Spells")
        ssFocusShotID = AddToggleOption("Focus Shot [3000 HeartXP]",ssFocusShot)
		
	elseIf (page == "Settings")
		SetCursorFillMode(TOP_TO_BOTTOM)
		
		;Left Side
		SetCursorPosition(0)
		creditsID = AddTextOption("DfSV : Created by : Spirit_Shard // LoversLab","")
		
		;Right Side
	else
    endIf
endEvent

Event OnOptionSelect(int option)
;>>> Soul Burn
	If(option == carryHID)
		Float fPlayerHealth = Game.GetPlayer().GetBaseActorValue("health")
		if fPlayerHealth >= 150
			float playerHealth = Game.GetPlayer().GetBaseActorValue("health")
			playerHealth -= 130.0
			Game.GetPlayer().SetActorValue("health", playerHealth)
			float playerCarryweight = Game.GetPlayer().GetBaseActorValue("carryweight")
			playerCarryweight += 10
			Game.GetPlayer().SetActorValue("carryweight", playerCarryweight)
			Debug.MessageBox("Carry Weight Increased")
		else
			Debug.MessageBox("Not enough Health Force")
		endIf
	elseIf(option == carryMID)
		Float fPlayerMagicka = Game.GetPlayer().GetBaseActorValue("magicka")
		if fPlayerMagicka >= 110
			float playerMagicka = Game.GetPlayer().GetBaseActorValue("magicka")
			playerMagicka -= 90.0
			Game.GetPlayer().SetActorValue("magicka", playerMagicka)
			float playerCarryweight = Game.GetPlayer().GetBaseActorValue("carryweight")
			playerCarryweight += 10
			Game.GetPlayer().SetActorValue("carryweight", playerCarryweight)
			Debug.MessageBox("Carry Weight Increased")
		else
			Debug.MessageBox("Not enough Magic Force")
		endIf
	elseIf(option == carrySID)
		Float fPlayerStamina = Game.GetPlayer().GetBaseActorValue("stamina")
		if fPlayerStamina >= 180
			float playerStamina = Game.GetPlayer().GetBaseActorValue("stamina")
			playerStamina -= 160.0
			Game.GetPlayer().SetActorValue("stamina", playerStamina)
			float playerCarryweight = Game.GetPlayer().GetBaseActorValue("carryweight")
			playerCarryweight += 10
			Game.GetPlayer().SetActorValue("carryweight", playerCarryweight)
			Debug.MessageBox("Carry Weight Increased")
		else
			Debug.MessageBox("Not enough Energy Force")
		endIf
	elseIf(option == carryXID)
		Float fPlayerHeartXP = DfSV_PCSheartXP.GetValue()
		if fPlayerHeartXP >= 4000
			float playerHeartXP = DfSV_PCSheartXP.GetValue()
			playerHeartXP -= 4000.0
			DfSV_PCSheartXP.SetValue(playerHeartXP)
			float playerCarryweight = Game.GetPlayer().GetBaseActorValue("carryweight")
			playerCarryweight += 10
			Game.GetPlayer().SetActorValue("carryweight", playerCarryweight)
			Debug.MessageBox("Carry Weight Increased")
		else
			Debug.MessageBox("Not enough HeartXP")
		endIf
	elseIf(option == alchemyHID)
		Float fPlayerHealth = Game.GetPlayer().GetBaseActorValue("health")
		if fPlayerHealth >= 150
			float playerHealth = Game.GetPlayer().GetBaseActorValue("health")
			playerHealth -= 130.0
			Game.GetPlayer().SetActorValue("health", playerHealth)
			Game.IncrementSkill("alchemy")
			Debug.MessageBox("Alchemy Increased")
		else
			Debug.MessageBox("Not enough Health Force")
		endIf
	elseIf(option == alchemyMID)
		Float fPlayerMagicka = Game.GetPlayer().GetBaseActorValue("magicka")
		if fPlayerMagicka >= 110
			float playerMagicka = Game.GetPlayer().GetBaseActorValue("magicka")
			playerMagicka -= 90.0
			Game.GetPlayer().SetActorValue("magicka", playerMagicka)
			Game.IncrementSkill("alchemy")
			Debug.MessageBox("Alchemy Increased")
		else
			Debug.MessageBox("Not enough Magic Force")
		endIf
	elseIf(option == alchemySID)
		Float fPlayerStamina = Game.GetPlayer().GetBaseActorValue("stamina")
		if fPlayerStamina >= 180
			float playerStamina = Game.GetPlayer().GetBaseActorValue("stamina")
			playerStamina -= 160.0
			Game.GetPlayer().SetActorValue("stamina", playerStamina)
			Game.IncrementSkill("alchemy")
			Debug.MessageBox("Alchemy Increased")
		else
			Debug.MessageBox("Not enough Energy Force")
		endIf
	elseIf(option == alchemyXID)
		Float fPlayerHeartXP = DfSV_PCSheartXP.GetValue()
		if fPlayerHeartXP >= 4000
			float playerHeartXP = DfSV_PCSheartXP.GetValue()
			playerHeartXP -= 4000.0
			DfSV_PCSheartXP.SetValue(playerHeartXP)
			Game.IncrementSkill("alchemy")
			Debug.MessageBox("Alchemy Increased")
		else
			Debug.MessageBox("Not enough HeartXP")
		endIf
	elseIf(option == alterationHID)
		Float fPlayerHealth = Game.GetPlayer().GetBaseActorValue("health")
		if fPlayerHealth >= 120
			float playerHealth = Game.GetPlayer().GetBaseActorValue("health")
			playerHealth -= 300.0
			Game.GetPlayer().SetActorValue("health", playerHealth)
			Game.IncrementSkill("alteration")
			Debug.MessageBox("Alteration Increased")
		else
			Debug.MessageBox("Not enough Health Force")
		endIf
	elseIf(option == alterationMID)
		Float fPlayerMagicka = Game.GetPlayer().GetBaseActorValue("magicka")
		if fPlayerMagicka >= 120
			float playerMagicka = Game.GetPlayer().GetBaseActorValue("magicka")
			playerMagicka -= 100.0
			Game.GetPlayer().SetActorValue("magicka", playerMagicka)
			Game.IncrementSkill("alteration")
			Debug.MessageBox("Alteration Increased")
		else
			Debug.MessageBox("Not enough Magic Force")
		endIf
	elseIf(option == alterationSID)
		Float fPlayerStamina = Game.GetPlayer().GetBaseActorValue("stamina")
		if fPlayerStamina >= 380
			float playerStamina = Game.GetPlayer().GetBaseActorValue("stamina")
			playerStamina -= 360.0
			Game.GetPlayer().SetActorValue("stamina", playerStamina)
			Game.IncrementSkill("alteration")
			Debug.MessageBox("Alteration Increased")
		else
			Debug.MessageBox("Not enough Energy Force")
		endIf
	elseIf(option == alterationXID)
		Float fPlayerHeartXP = DfSV_PCSheartXP.GetValue()
		if fPlayerHeartXP >= 4000
			float playerHeartXP = DfSV_PCSheartXP.GetValue()
			playerHeartXP -= 4000.0
			DfSV_PCSheartXP.SetValue(playerHeartXP)
			Game.IncrementSkill("alteration")
			Debug.MessageBox("Alteration Increased")
		else
			Debug.MessageBox("Not enough HeartXP")
		endIf
	elseIf(option == blockHID)
		Float fPlayerHealth = Game.GetPlayer().GetBaseActorValue("health")
		if fPlayerHealth >= 170
			float playerHealth = Game.GetPlayer().GetBaseActorValue("health")
			playerHealth -= 150.0
			Game.GetPlayer().SetActorValue("health", playerHealth)
			Game.IncrementSkill("block")
			Debug.MessageBox("Block Increased")
		else
			Debug.MessageBox("Not enough Health Force")
		endIf
	elseIf(option == blockMID)
		Float fPlayerMagicka = Game.GetPlayer().GetBaseActorValue("magicka")
		if fPlayerMagicka >= 220
			float playerMagicka = Game.GetPlayer().GetBaseActorValue("magicka")
			playerMagicka -= 200.0
			Game.GetPlayer().SetActorValue("magicka", playerMagicka)
			Game.IncrementSkill("block")
			Debug.MessageBox("Block Increased")
		else
			Debug.MessageBox("Not enough Magic Force")
		endIf
	elseIf(option == blockSID)
		Float fPlayerStamina = Game.GetPlayer().GetBaseActorValue("stamina")
		if fPlayerStamina >= 380
			float playerStamina = Game.GetPlayer().GetBaseActorValue("stamina")
			playerStamina -= 360.0
			Game.GetPlayer().SetActorValue("stamina", playerStamina)
			Game.IncrementSkill("block")
			Debug.MessageBox("Block Increased")
		else
			Debug.MessageBox("Not enough Energy Force")
		endIf
	elseIf(option == blockXID)
		Float fPlayerHeartXP = DfSV_PCSheartXP.GetValue()
		if fPlayerHeartXP >= 4000
			float playerHeartXP = DfSV_PCSheartXP.GetValue()
			playerHeartXP -= 4000.0
			DfSV_PCSheartXP.SetValue(playerHeartXP)
			Game.IncrementSkill("block")
			Debug.MessageBox("Block Increased")
		else
			Debug.MessageBox("Not enough HeartXP")
		endIf
	elseIf(option == conjurationHID)
		Float fPlayerHealth = Game.GetPlayer().GetBaseActorValue("health")
		if fPlayerHealth >= 320
			float playerHealth = Game.GetPlayer().GetBaseActorValue("health")
			playerHealth -= 300.0
			Game.GetPlayer().SetActorValue("health", playerHealth)
			Game.IncrementSkill("conjuration")
			Debug.MessageBox("Conjuration Increased")
		else
			Debug.MessageBox("Not enough Health Force")
		endIf
	elseIf(option == conjurationMID)
		Float fPlayerMagicka = Game.GetPlayer().GetBaseActorValue("magicka")
		if fPlayerMagicka >= 120
			float playerMagicka = Game.GetPlayer().GetBaseActorValue("magicka")
			playerMagicka -= 100.0
			Game.GetPlayer().SetActorValue("magicka", playerMagicka)
			Game.IncrementSkill("conjuration")
			Debug.MessageBox("Conjuration Increased")
		else
			Debug.MessageBox("Not enough Magic Force")
		endIf
	elseIf(option == conjurationSID)
		Float fPlayerStamina = Game.GetPlayer().GetBaseActorValue("stamina")
		if fPlayerStamina >= 380
			float playerStamina = Game.GetPlayer().GetBaseActorValue("stamina")
			playerStamina -= 360.0
			Game.GetPlayer().SetActorValue("stamina", playerStamina)
			Game.IncrementSkill("conjuration")
			Debug.MessageBox("Conjuration Increased")
		else
			Debug.MessageBox("Not enough Energy Force")
		endIf
	elseIf(option == conjurationXID)
		Float fPlayerHeartXP = DfSV_PCSheartXP.GetValue()
		if fPlayerHeartXP >= 4000
			float playerHeartXP = DfSV_PCSheartXP.GetValue()
			playerHeartXP -= 4000.0
			DfSV_PCSheartXP.SetValue(playerHeartXP)
			Game.IncrementSkill("conjuration")
			Debug.MessageBox("Conjuration Increased")
		else
			Debug.MessageBox("Not enough HeartXP")
		endIf
	elseIf(option == destructionHID)
		Float fPlayerHealth = Game.GetPlayer().GetBaseActorValue("health")
		if fPlayerHealth >= 320
			float playerHealth = Game.GetPlayer().GetBaseActorValue("health")
			playerHealth -= 300.0
			Game.GetPlayer().SetActorValue("health", playerHealth)
			Game.IncrementSkill("destruction")
			Debug.MessageBox("Destruction Increased")
		else
			Debug.MessageBox("Not enough Health Force")
		endIf
	elseIf(option == destructionMID)
		Float fPlayerMagicka = Game.GetPlayer().GetBaseActorValue("magicka")
		if fPlayerMagicka >= 120
			float playerMagicka = Game.GetPlayer().GetBaseActorValue("magicka")
			playerMagicka -= 100.0
			Game.GetPlayer().SetActorValue("magicka", playerMagicka)
			Game.IncrementSkill("destruction")
			Debug.MessageBox("Destruction Increased")
		else
			Debug.MessageBox("Not enough Magic Force")
		endIf
	elseIf(option == destructionSID)
		Float fPlayerStamina = Game.GetPlayer().GetBaseActorValue("stamina")
		if fPlayerStamina >= 380
			float playerStamina = Game.GetPlayer().GetBaseActorValue("stamina")
			playerStamina -= 360.0
			Game.GetPlayer().SetActorValue("stamina", playerStamina)
			Game.IncrementSkill("destruction")
			Debug.MessageBox("Destruction Increased")
		else
			Debug.MessageBox("Not enough Energy Force")
		endIf
	elseIf(option == destructionXID)
		Float fPlayerHeartXP = DfSV_PCSheartXP.GetValue()
		if fPlayerHeartXP >= 4000
			float playerHeartXP = DfSV_PCSheartXP.GetValue()
			playerHeartXP -= 4000.0
			DfSV_PCSheartXP.SetValue(playerHeartXP)
			Game.IncrementSkill("destruction")
			Debug.MessageBox("Destruction Increased")
		else
			Debug.MessageBox("Not enough HeartXP")
		endIf
	elseIf(option == enchantingHID)
		Float fPlayerHealth = Game.GetPlayer().GetBaseActorValue("health")
		if fPlayerHealth >= 150
			float playerHealth = Game.GetPlayer().GetBaseActorValue("health")
			playerHealth -= 130.0
			Game.GetPlayer().SetActorValue("health", playerHealth)
			Game.IncrementSkill("enchanting")
			Debug.MessageBox("Enchanting Increased")
		else
			Debug.MessageBox("Not enough Health Force")
		endIf
	elseIf(option == enchantingMID)
		Float fPlayerMagicka = Game.GetPlayer().GetBaseActorValue("magicka")
		if fPlayerMagicka >= 110
			float playerMagicka = Game.GetPlayer().GetBaseActorValue("magicka")
			playerMagicka -= 90.0
			Game.GetPlayer().SetActorValue("magicka", playerMagicka)
			Game.IncrementSkill("enchanting")
			Debug.MessageBox("Enchanting Increased")
		else
			Debug.MessageBox("Not enough Magic Force")
		endIf
	elseIf(option == enchantingSID)
		Float fPlayerStamina = Game.GetPlayer().GetBaseActorValue("stamina")
		if fPlayerStamina >= 180
			float playerStamina = Game.GetPlayer().GetBaseActorValue("stamina")
			playerStamina -= 160.0
			Game.GetPlayer().SetActorValue("stamina", playerStamina)
			Game.IncrementSkill("enchanting")
			Debug.MessageBox("Enchanting Increased")
		else
			Debug.MessageBox("Not enough Energy Force")
		endIf
	elseIf(option == enchantingXID)
		Float fPlayerHeartXP = DfSV_PCSheartXP.GetValue()
		if fPlayerHeartXP >= 4000
			float playerHeartXP = DfSV_PCSheartXP.GetValue()
			playerHeartXP -= 4000.0
			DfSV_PCSheartXP.SetValue(playerHeartXP)
			Game.IncrementSkill("enchanting")
			Debug.MessageBox("Enchanting Increased")
		else
			Debug.MessageBox("Not enough HeartXP")
		endIf
	elseIf(option == heavyarmorHID)
		Float fPlayerHealth = Game.GetPlayer().GetBaseActorValue("health")
		if fPlayerHealth >= 170
			float playerHealth = Game.GetPlayer().GetBaseActorValue("health")
			playerHealth -= 150.0
			Game.GetPlayer().SetActorValue("health", playerHealth)
			Game.IncrementSkill("heavyarmor")
			Debug.MessageBox("Heavy Armor Increased")
		else
			Debug.MessageBox("Not enough Health Force")
		endIf
	elseIf(option == heavyarmorMID)
		Float fPlayerMagicka = Game.GetPlayer().GetBaseActorValue("magicka")
		if fPlayerMagicka >= 220
			float playerMagicka = Game.GetPlayer().GetBaseActorValue("magicka")
			playerMagicka -= 200.0
			Game.GetPlayer().SetActorValue("magicka", playerMagicka)
			Game.IncrementSkill("heavyarmor")
			Debug.MessageBox("Heavy Armor Increased")
		else
			Debug.MessageBox("Not enough Magic Force")
		endIf
	elseIf(option == heavyarmorSID)
		Float fPlayerStamina = Game.GetPlayer().GetBaseActorValue("stamina")
		if fPlayerStamina >= 380
			float playerStamina = Game.GetPlayer().GetBaseActorValue("stamina")
			playerStamina -= 360.0
			Game.GetPlayer().SetActorValue("stamina", playerStamina)
			Game.IncrementSkill("heavyarmor")
			Debug.MessageBox("Heavy Armor Increased")
		else
			Debug.MessageBox("Not enough Energy Force")
		endIf
	elseIf(option == heavyarmorXID)
		Float fPlayerHeartXP = DfSV_PCSheartXP.GetValue()
		if fPlayerHeartXP >= 4000
			float playerHeartXP = DfSV_PCSheartXP.GetValue()
			playerHeartXP -= 4000.0
			DfSV_PCSheartXP.SetValue(playerHeartXP)
			Game.IncrementSkill("heavyarmor")
			Debug.MessageBox("Heavy Armor Increased")
		else
			Debug.MessageBox("Not enough HeartXP")
		endIf
	elseIf(option == illusionHID)
		Float fPlayerHealth = Game.GetPlayer().GetBaseActorValue("health")
		if fPlayerHealth >= 320
			float playerHealth = Game.GetPlayer().GetBaseActorValue("health")
			playerHealth -= 300.0
			Game.GetPlayer().SetActorValue("health", playerHealth)
			Game.IncrementSkill("illusion")
			Debug.MessageBox("Illusion Increased")
		else
			Debug.MessageBox("Not enough Health Force")
		endIf
	elseIf(option == illusionMID)
		Float fPlayerMagicka = Game.GetPlayer().GetBaseActorValue("magicka")
		if fPlayerMagicka >= 120
			float playerMagicka = Game.GetPlayer().GetBaseActorValue("magicka")
			playerMagicka -= 100.0
			Game.GetPlayer().SetActorValue("magicka", playerMagicka)
			Game.IncrementSkill("illusion")
			Debug.MessageBox("Illusion Increased")
		else
			Debug.MessageBox("Not enough Magic Force")
		endIf
	elseIf(option == illusionSID)
		Float fPlayerStamina = Game.GetPlayer().GetBaseActorValue("stamina")
		if fPlayerStamina >= 380
			float playerStamina = Game.GetPlayer().GetBaseActorValue("stamina")
			playerStamina -= 360.0
			Game.GetPlayer().SetActorValue("stamina", playerStamina)
			Game.IncrementSkill("illusion")
			Debug.MessageBox("Illusion Increased")
		else
			Debug.MessageBox("Not enough Energy Force")
		endIf
	elseIf(option == illusionXID)
		Float fPlayerHeartXP = DfSV_PCSheartXP.GetValue()
		if fPlayerHeartXP >= 4000
			float playerHeartXP = DfSV_PCSheartXP.GetValue()
			playerHeartXP -= 4000.0
			DfSV_PCSheartXP.SetValue(playerHeartXP)
			Game.IncrementSkill("illusion")
			Debug.MessageBox("Illusion Increased")
		else
			Debug.MessageBox("Not enough HeartXP")
		endIf
	elseIf(option == lightarmorHID)
		Float fPlayerHealth = Game.GetPlayer().GetBaseActorValue("health")
		if fPlayerHealth >= 320
			float playerHealth = Game.GetPlayer().GetBaseActorValue("health")
			playerHealth -= 300.0
			Game.GetPlayer().SetActorValue("health", playerHealth)
			Game.IncrementSkill("lightarmor")
			Debug.MessageBox("Light Armor Increased")
		else
			Debug.MessageBox("Not enough Health Force")
		endIf
	elseIf(option == lightarmorMID)
		Float fPlayerMagicka = Game.GetPlayer().GetBaseActorValue("magicka")
		if fPlayerMagicka >= 220
			float playerMagicka = Game.GetPlayer().GetBaseActorValue("magicka")
			playerMagicka -= 200.0
			Game.GetPlayer().SetActorValue("magicka", playerMagicka)
			Game.IncrementSkill("lightarmor")
			Debug.MessageBox("Light Armor Increased")
		else
			Debug.MessageBox("Not enough Magic Force")
		endIf
	elseIf(option == lightarmorSID)
		Float fPlayerStamina = Game.GetPlayer().GetBaseActorValue("stamina")
		if fPlayerStamina >= 200
			float playerStamina = Game.GetPlayer().GetBaseActorValue("stamina")
			playerStamina -= 180.0
			Game.GetPlayer().SetActorValue("stamina", playerStamina)
			Game.IncrementSkill("lightarmor")
			Debug.MessageBox("Light Armor Increased")
		else
			Debug.MessageBox("Not enough Energy Force")
		endIf
	elseIf(option == lightarmorXID)
		Float fPlayerHeartXP = DfSV_PCSheartXP.GetValue()
		if fPlayerHeartXP >= 4000
			float playerHeartXP = DfSV_PCSheartXP.GetValue()
			playerHeartXP -= 4000.0
			DfSV_PCSheartXP.SetValue(playerHeartXP)
			Game.IncrementSkill("lightarmor")
			Debug.MessageBox("Light Armor Increased")
		else
			Debug.MessageBox("Not enough HeartXP")
		endIf
	elseIf(option == lockpickingHID)
		Float fPlayerHealth = Game.GetPlayer().GetBaseActorValue("health")
		if fPlayerHealth >= 320
			float playerHealth = Game.GetPlayer().GetBaseActorValue("health")
			playerHealth -= 300.0
			Game.GetPlayer().SetActorValue("health", playerHealth)
			Game.IncrementSkill("lockpicking")
			Debug.MessageBox("Lockpicking Increased")
		else
			Debug.MessageBox("Not enough Health Force")
		endIf
	elseIf(option == lockpickingMID)
		Float fPlayerMagicka = Game.GetPlayer().GetBaseActorValue("magicka")
		if fPlayerMagicka >= 220
			float playerMagicka = Game.GetPlayer().GetBaseActorValue("magicka")
			playerMagicka -= 200.0
			Game.GetPlayer().SetActorValue("magicka", playerMagicka)
			Game.IncrementSkill("lockpicking")
			Debug.MessageBox("Lockpicking Increased")
		else
			Debug.MessageBox("Not enough Magic Force")
		endIf
	elseIf(option == lockpickingSID)
		Float fPlayerStamina = Game.GetPlayer().GetBaseActorValue("stamina")
		if fPlayerStamina >= 200
			float playerStamina = Game.GetPlayer().GetBaseActorValue("stamina")
			playerStamina -= 180.0
			Game.GetPlayer().SetActorValue("stamina", playerStamina)
			Game.IncrementSkill("lockpicking")
			Debug.MessageBox("Lockpicking Increased")
		else
			Debug.MessageBox("Not enough Energy Force")
		endIf
	elseIf(option == lockpickingXID)
		Float fPlayerHeartXP = DfSV_PCSheartXP.GetValue()
		if fPlayerHeartXP >= 4000
			float playerHeartXP = DfSV_PCSheartXP.GetValue()
			playerHeartXP -= 4000.0
			DfSV_PCSheartXP.SetValue(playerHeartXP)
			Game.IncrementSkill("lockpicking")
			Debug.MessageBox("Lockpicking Increased")
		else
			Debug.MessageBox("Not enough HeartXP")
		endIf
	elseIf(option == marksmanHID)
		Float fPlayerHealth = Game.GetPlayer().GetBaseActorValue("health")
		if fPlayerHealth >= 320
			float playerHealth = Game.GetPlayer().GetBaseActorValue("health")
			playerHealth -= 300.0
			Game.GetPlayer().SetActorValue("health", playerHealth)
			Game.IncrementSkill("marksman")
			Debug.MessageBox("Marksman Increased")
		else
			Debug.MessageBox("Not enough Health Force")
		endIf
	elseIf(option == marksmanMID)
		Float fPlayerMagicka = Game.GetPlayer().GetBaseActorValue("magicka")
		if fPlayerMagicka >= 220
			float playerMagicka = Game.GetPlayer().GetBaseActorValue("magicka")
			playerMagicka -= 200.0
			Game.GetPlayer().SetActorValue("magicka", playerMagicka)
			Game.IncrementSkill("marksman")
			Debug.MessageBox("Marksman Increased")
		else
			Debug.MessageBox("Not enough Magic Force")
		endIf
	elseIf(option == marksmanSID)
		Float fPlayerStamina = Game.GetPlayer().GetBaseActorValue("stamina")
		if fPlayerStamina >= 200
			float playerStamina = Game.GetPlayer().GetBaseActorValue("stamina")
			playerStamina -= 180.0
			Game.GetPlayer().SetActorValue("stamina", playerStamina)
			Game.IncrementSkill("marksman")
			Debug.MessageBox("Marksman Increased")
		else
			Debug.MessageBox("Not enough Energy Force")
		endIf
	elseIf(option == marksmanXID)
		Float fPlayerHeartXP = DfSV_PCSheartXP.GetValue()
		if fPlayerHeartXP >= 4000
			float playerHeartXP = DfSV_PCSheartXP.GetValue()
			playerHeartXP -= 4000.0
			DfSV_PCSheartXP.SetValue(playerHeartXP)
			Game.IncrementSkill("marksman")
			Debug.MessageBox("Marksman Increased")
		else
			Debug.MessageBox("Not enough HeartXP")
		endIf
	elseIf(option == onehandedHID)
		Float fPlayerHealth = Game.GetPlayer().GetBaseActorValue("health")
		if fPlayerHealth >= 170
			float playerHealth = Game.GetPlayer().GetBaseActorValue("health")
			playerHealth -= 150.0
			Game.GetPlayer().SetActorValue("health", playerHealth)
			Game.IncrementSkill("onehanded")
			Debug.MessageBox("One-Handed Increased")
		else
			Debug.MessageBox("Not enough Health Force")
		endIf
	elseIf(option == onehandedMID)
		Float fPlayerMagicka = Game.GetPlayer().GetBaseActorValue("magicka")
		if fPlayerMagicka >= 220
			float playerMagicka = Game.GetPlayer().GetBaseActorValue("magicka")
			playerMagicka -= 200.0
			Game.GetPlayer().SetActorValue("magicka", playerMagicka)
			Game.IncrementSkill("onehanded")
			Debug.MessageBox("One-Handed Increased")
		else
			Debug.MessageBox("Not enough Magic Force")
		endIf
	elseIf(option == onehandedSID)
		Float fPlayerStamina = Game.GetPlayer().GetBaseActorValue("stamina")
		if fPlayerStamina >= 380
			float playerStamina = Game.GetPlayer().GetBaseActorValue("stamina")
			playerStamina -= 360.0
			Game.GetPlayer().SetActorValue("stamina", playerStamina)
			Game.IncrementSkill("onehanded")
			Debug.MessageBox("ONe-Handed Increased")
		else
			Debug.MessageBox("Not enough Energy Force")
		endIf
	elseIf(option == onehandedXID)
		Float fPlayerHeartXP = DfSV_PCSheartXP.GetValue()
		if fPlayerHeartXP >= 4000
			float playerHeartXP = DfSV_PCSheartXP.GetValue()
			playerHeartXP -= 4000.0
			DfSV_PCSheartXP.SetValue(playerHeartXP)
			Game.IncrementSkill("onehanded")
			Debug.MessageBox("One-Handed Increased")
		else
			Debug.MessageBox("Not enough HeartXP")
		endIf
	elseIf(option == pickpocketHID)
		Float fPlayerHealth = Game.GetPlayer().GetBaseActorValue("health")
		if fPlayerHealth >= 150
			float playerHealth = Game.GetPlayer().GetBaseActorValue("health")
			playerHealth -= 130.0
			Game.GetPlayer().SetActorValue("health", playerHealth)
			Game.IncrementSkill("pickpocket")
			Debug.MessageBox("Pickpocket Increased")
		else
			Debug.MessageBox("Not enough Health Force")
		endIf
	elseIf(option == pickpocketMID)
		Float fPlayerMagicka = Game.GetPlayer().GetBaseActorValue("magicka")
		if fPlayerMagicka >= 110
			float playerMagicka = Game.GetPlayer().GetBaseActorValue("magicka")
			playerMagicka -= 90.0
			Game.GetPlayer().SetActorValue("magicka", playerMagicka)
			Game.IncrementSkill("pickpocket")
			Debug.MessageBox("Pickpocket Increased")
		else
			Debug.MessageBox("Not enough Magic Force")
		endIf
	elseIf(option == pickpocketSID)
		Float fPlayerStamina = Game.GetPlayer().GetBaseActorValue("stamina")
		if fPlayerStamina >= 180
			float playerStamina = Game.GetPlayer().GetBaseActorValue("stamina")
			playerStamina -= 160.0
			Game.GetPlayer().SetActorValue("stamina", playerStamina)
			Game.IncrementSkill("pickpocket")
			Debug.MessageBox("Pickpocket Increased")
		else
			Debug.MessageBox("Not enough Energy Force")
		endIf
	elseIf(option == pickpocketXID)
		Float fPlayerHeartXP = DfSV_PCSheartXP.GetValue()
		if fPlayerHeartXP >= 4000
			float playerHeartXP = DfSV_PCSheartXP.GetValue()
			playerHeartXP -= 4000.0
			DfSV_PCSheartXP.SetValue(playerHeartXP)
			Game.IncrementSkill("pickpocket")
			Debug.MessageBox("Pickpocket Increased")
		else
			Debug.MessageBox("Not enough HeartXP")
		endIf
	elseIf(option == restorationHID)
		Float fPlayerHealth = Game.GetPlayer().GetBaseActorValue("health")
		if fPlayerHealth >= 320
			float playerHealth = Game.GetPlayer().GetBaseActorValue("health")
			playerHealth -= 300.0
			Game.GetPlayer().SetActorValue("health", playerHealth)
			Game.IncrementSkill("restoration")
			Debug.MessageBox("Restoration Increased")
		else
			Debug.MessageBox("Not enough Health Force")
		endIf
	elseIf(option == restorationMID)
		Float fPlayerMagicka = Game.GetPlayer().GetBaseActorValue("magicka")
		if fPlayerMagicka >= 120
			float playerMagicka = Game.GetPlayer().GetBaseActorValue("magicka")
			playerMagicka -= 100.0
			Game.GetPlayer().SetActorValue("magicka", playerMagicka)
			Game.IncrementSkill("restoration")
			Debug.MessageBox("Restoration Increased")
		else
			Debug.MessageBox("Not enough Magic Force")
		endIf
	elseIf(option == restorationSID)
		Float fPlayerStamina = Game.GetPlayer().GetBaseActorValue("stamina")
		if fPlayerStamina >= 380
			float playerStamina = Game.GetPlayer().GetBaseActorValue("stamina")
			playerStamina -= 360.0
			Game.GetPlayer().SetActorValue("stamina", playerStamina)
			Game.IncrementSkill("restoration")
			Debug.MessageBox("Restoration Increased")
		else
			Debug.MessageBox("Not enough Energy Force")
		endIf
	elseIf(option == restorationXID)
		Float fPlayerHeartXP = DfSV_PCSheartXP.GetValue()
		if fPlayerHeartXP >= 4000
			float playerHeartXP = DfSV_PCSheartXP.GetValue()
			playerHeartXP -= 4000.0
			DfSV_PCSheartXP.SetValue(playerHeartXP)
			Game.IncrementSkill("restoration")
			Debug.MessageBox("Restoration Increased")
		else
			Debug.MessageBox("Not enough HeartXP")
		endIf
	elseIf(option == smithingHID)
		Float fPlayerHealth = Game.GetPlayer().GetBaseActorValue("health")
		if fPlayerHealth >= 150
			float playerHealth = Game.GetPlayer().GetBaseActorValue("health")
			playerHealth -= 130.0
			Game.GetPlayer().SetActorValue("health", playerHealth)
			Game.IncrementSkill("smithing")
			Debug.MessageBox("Smithing Increased")
		else
			Debug.MessageBox("Not enough Health Force")
		endIf
	elseIf(option == smithingMID)
		Float fPlayerMagicka = Game.GetPlayer().GetBaseActorValue("magicka")
		if fPlayerMagicka >= 110
			float playerMagicka = Game.GetPlayer().GetBaseActorValue("magicka")
			playerMagicka -= 90.0
			Game.GetPlayer().SetActorValue("magicka", playerMagicka)
			Game.IncrementSkill("smithing")
			Debug.MessageBox("Smithing Increased")
		else
			Debug.MessageBox("Not enough Magic Force")
		endIf
	elseIf(option == smithingSID)
		Float fPlayerStamina = Game.GetPlayer().GetBaseActorValue("stamina")
		if fPlayerStamina >= 180
			float playerStamina = Game.GetPlayer().GetBaseActorValue("stamina")
			playerStamina -= 160.0
			Game.GetPlayer().SetActorValue("stamina", playerStamina)
			Game.IncrementSkill("smithing")
			Debug.MessageBox("Smithing Increased")
		else
			Debug.MessageBox("Not enough Energy Force")
		endIf
	elseIf(option == smithingXID)
		Float fPlayerHeartXP = DfSV_PCSheartXP.GetValue()
		if fPlayerHeartXP >= 4000
			float playerHeartXP = DfSV_PCSheartXP.GetValue()
			playerHeartXP -= 4000.0
			DfSV_PCSheartXP.SetValue(playerHeartXP)
			Game.IncrementSkill("smithing")
			Debug.MessageBox("Smithing Increased")
		else
			Debug.MessageBox("Not enough HeartXP")
		endIf
	elseIf(option == sneakHID)
		Float fPlayerHealth = Game.GetPlayer().GetBaseActorValue("health")
		if fPlayerHealth >= 320
			float playerHealth = Game.GetPlayer().GetBaseActorValue("health")
			playerHealth -= 300.0
			Game.GetPlayer().SetActorValue("health", playerHealth)
			Game.IncrementSkill("sneak")
			Debug.MessageBox("Sneak Increased")
		else
			Debug.MessageBox("Not enough Health Force")
		endIf
	elseIf(option == sneakMID)
		Float fPlayerMagicka = Game.GetPlayer().GetBaseActorValue("magicka")
		if fPlayerMagicka >= 220
			float playerMagicka = Game.GetPlayer().GetBaseActorValue("magicka")
			playerMagicka -= 200.0
			Game.GetPlayer().SetActorValue("magicka", playerMagicka)
			Game.IncrementSkill("sneak")
			Debug.MessageBox("Sneak Increased")
		else
			Debug.MessageBox("Not enough Magic Force")
		endIf
	elseIf(option == sneakSID)
		Float fPlayerStamina = Game.GetPlayer().GetBaseActorValue("stamina")
		if fPlayerStamina >= 200
			float playerStamina = Game.GetPlayer().GetBaseActorValue("stamina")
			playerStamina -= 180.0
			Game.GetPlayer().SetActorValue("stamina", playerStamina)
			Game.IncrementSkill("sneak")
			Debug.MessageBox("Sneak Increased")
		else
			Debug.MessageBox("Not enough Energy Force")
		endIf
	elseIf(option == sneakXID)
		Float fPlayerHeartXP = DfSV_PCSheartXP.GetValue()
		if fPlayerHeartXP >= 4000
			float playerHeartXP = DfSV_PCSheartXP.GetValue()
			playerHeartXP -= 4000.0
			DfSV_PCSheartXP.SetValue(playerHeartXP)
			Game.IncrementSkill("sneak")
			Debug.MessageBox("Sneak Increased")
		else
			Debug.MessageBox("Not enough HeartXP")
		endIf
	elseIf(option == speechcraftHID)
		Float fPlayerHealth = Game.GetPlayer().GetBaseActorValue("health")
		if fPlayerHealth >= 150
			float playerHealth = Game.GetPlayer().GetBaseActorValue("health")
			playerHealth -= 130.0
			Game.GetPlayer().SetActorValue("health", playerHealth)
			Game.IncrementSkill("speechcraft")
			Debug.MessageBox("Speechcraft Increased")
		else
			Debug.MessageBox("Not enough Health Force")
		endIf
	elseIf(option == speechcraftMID)
		Float fPlayerMagicka = Game.GetPlayer().GetBaseActorValue("magicka")
		if fPlayerMagicka >= 110
			float playerMagicka = Game.GetPlayer().GetBaseActorValue("magicka")
			playerMagicka -= 90.0
			Game.GetPlayer().SetActorValue("magicka", playerMagicka)
			Game.IncrementSkill("speechcraft")
			Debug.MessageBox("Speechcraft Increased")
		else
			Debug.MessageBox("Not enough Magic Force")
		endIf
	elseIf(option == speechcraftSID)
		Float fPlayerStamina = Game.GetPlayer().GetBaseActorValue("stamina")
		if fPlayerStamina >= 180
			float playerStamina = Game.GetPlayer().GetBaseActorValue("stamina")
			playerStamina -= 160.0
			Game.GetPlayer().SetActorValue("stamina", playerStamina)
			Game.IncrementSkill("speechcraft")
			Debug.MessageBox("Speechcraft Increased")
		else
			Debug.MessageBox("Not enough Energy Force")
		endIf
	elseIf(option == speechcraftXID)
		Float fPlayerHeartXP = DfSV_PCSheartXP.GetValue()
		if fPlayerHeartXP >= 4000
			float playerHeartXP = DfSV_PCSheartXP.GetValue()
			playerHeartXP -= 4000.0
			DfSV_PCSheartXP.SetValue(playerHeartXP)
			Game.IncrementSkill("speechcraft")
			Debug.MessageBox("Speechcraft Increased")
		else
			Debug.MessageBox("Not enough HeartXP")
		endIf
	elseIf(option == twohandedHID)
		Float fPlayerHealth = Game.GetPlayer().GetBaseActorValue("health")
		if fPlayerHealth >= 170
			float playerHealth = Game.GetPlayer().GetBaseActorValue("health")
			playerHealth -= 150.0
			Game.GetPlayer().SetActorValue("health", playerHealth)
			Game.IncrementSkill("twohanded")
			Debug.MessageBox("Two-Handed Increased")
		else
			Debug.MessageBox("Not enough Health Force")
		endIf
	elseIf(option == twohandedMID)
		Float fPlayerMagicka = Game.GetPlayer().GetBaseActorValue("magicka")
		if fPlayerMagicka >= 220
			float playerMagicka = Game.GetPlayer().GetBaseActorValue("magicka")
			playerMagicka -= 200.0
			Game.GetPlayer().SetActorValue("magicka", playerMagicka)
			Game.IncrementSkill("twohanded")
			Debug.MessageBox("Two-Handed Increased")
		else
			Debug.MessageBox("Not enough Magic Force")
		endIf
	elseIf(option == twohandedSID)
		Float fPlayerStamina = Game.GetPlayer().GetBaseActorValue("stamina")
		if fPlayerStamina >= 380
			float playerStamina = Game.GetPlayer().GetBaseActorValue("stamina")
			playerStamina -= 360.0
			Game.GetPlayer().SetActorValue("stamina", playerStamina)
			Game.IncrementSkill("twohanded")
			Debug.MessageBox("Two-Handed Increased")
		else
			Debug.MessageBox("Not enough Energy Force")
		endIf
	elseIf(option == twohandedXID)
		Float fPlayerHeartXP = DfSV_PCSheartXP.GetValue()
		if fPlayerHeartXP >= 4000
			float playerHeartXP = DfSV_PCSheartXP.GetValue()
			playerHeartXP -= 4000.0
			DfSV_PCSheartXP.SetValue(playerHeartXP)
			Game.IncrementSkill("twohanded")
			Debug.MessageBox("Two-Handed Increased")
		else
			Debug.MessageBox("Not enough HeartXP")
		endIf
	
	
	
	
	
	;HeartXP
	elseIf(option == increaseHFmaxID)
		float fplayerHeartXP = DfSV_PCSheartXP.GetValue()
		if fplayerHeartXP >= 4000
			float playerHeartXP = DfSV_PCSheartXP.GetValue()
			playerHeartXP -= 4000
			DfSV_PCSheartXP.SetValue(playerHeartXP)
			float playerHeartMax = DfSV_PCSheartForceMax.getValue()
			playerHeartMax += 10
			DfSV_PCSheartForceMax.SetValue(playerHeartMax)
			debug.MessageBox("Max Heart Force Increased")
		else
			debug.MessageBox("Not enough HeartXP")
		endIf
	
	elseIf(option == increaseHFincID)
		float fplayerHeartXP = DfSV_PCSheartXP.GetValue()
		if fplayerHeartXP >= 6000
			float playerHeartXP = DfSV_PCSheartXP.GetValue()
			playerHeartXP -= 6000
			DfSV_PCSheartXP.SetValue(playerHeartXP)
			float playerHeartInc = DfSV_PCSheartForceInc.getValue()
			playerHeartInc += 1
			DfSV_PCSheartForceInc.SetValue(playerHeartInc)
			debug.MessageBox("Health Force Regeneration Increased")
		else
			debug.MessageBox("Not enough HeartXP")
		endIf
	
	elseIf(option == incabsorbHID)
		float fplayerHeartXP = DfSV_PCSheartXP.GetValue()
		if fplayerHeartXP >= 6000
			float playerHeartXP = DfSV_PCSheartXP.GetValue()
			playerHeartXP -= 6000
			DfSV_PCSheartXP.SetValue(playerHeartXP)
			float playerAbsorbH = DfSV_PCShpabsorb.getValue()
			playerAbsorbH += 1
			DfSV_PCShpabsorb.SetValue(playerAbsorbH)
			debug.MessageBox("Health Absorption Increased")
		else
			debug.MessageBox("Not enough HeartXP")
		endIf
		
	elseIf(option == incabsorbMID)
		float fplayerHeartXP = DfSV_PCSheartXP.GetValue()
		if fplayerHeartXP >= 6500
			float playerHeartXP = DfSV_PCSheartXP.GetValue()
			playerHeartXP -= 6500
			DfSV_PCSheartXP.SetValue(playerHeartXP)
			float playerAbsorbM = DfSV_PCSmpabsorb.getValue()
			playerAbsorbM += 1
			DfSV_PCSmpabsorb.SetValue(playerAbsorbM)
			debug.MessageBox("Magic Absorption Increased")
		else
			debug.MessageBox("Not enough HeartXP")
		endIf
		
	elseIf(option == incabsorbSID)
		float fplayerHeartXP = DfSV_PCSheartXP.GetValue()
		if fplayerHeartXP >= 5500
			float playerHeartXP = DfSV_PCSheartXP.GetValue()
			playerHeartXP -= 5500
			DfSV_PCSheartXP.SetValue(playerHeartXP)
			float playerAbsorbS = DfSV_PCSspabsorb.getValue()
			playerAbsorbS += 1
			DfSV_PCSspabsorb.SetValue(playerAbsorbS)
			debug.MessageBox("Stamina Absorption Increased")
		else
			debug.MessageBox("Not enough HeartXP")
		endIf
	
	elseIf(option == incXPgainID)
		float fplayerHeartXP = DfSV_PCSheartXP.GetValue()
		if fplayerHeartXP >= 5500
			float playerHeartXP = DfSV_PCSheartXP.GetValue()
			playerHeartXP -= 5500
			DfSV_PCSheartXP.SetValue(playerHeartXP)
			float playerXPgain = DfSV_PCSheartXPgain.getValue()
			playerXPgain += 10
			DfSV_PCSheartXPgain.SetValue(playerXPgain)
			debug.MessageBox("HeartXP Gain Increased")
		else
			debug.MessageBox("Not enough HeartXP")
		endIf
	
	elseIf(option == spermehID)
		float fplayerHeartXP = DfSV_PCSheartXP.GetValue()
		if fplayerHeartXP >= 4500
			float playerHeartXP = DfSV_PCSheartXP.GetValue()
			playerHeartXP -= 4500
			DfSV_PCSheartXP.SetValue(playerHeartXP)
			float spermh = DfSV_PCSspermhvalue.getValue()
			spermh += 1
			DfSV_PCSspermhvalue.SetValue(spermh)
			debug.MessageBox("Health Sperm Effect Increased")
		else
			debug.MessageBox("Not enough HeartXP")
		endIf
	
	elseIf(option == spermemID)
		float fplayerHeartXP = DfSV_PCSheartXP.GetValue()
		if fplayerHeartXP >= 5000
			float playerHeartXP = DfSV_PCSheartXP.GetValue()
			playerHeartXP -= 5000
			DfSV_PCSheartXP.SetValue(playerHeartXP)
			float spermm = DfSV_PCSspermmvalue.getValue()
			spermm += 1
			DfSV_PCSspermmvalue.SetValue(spermm)
			debug.MessageBox("Magic Sperm Effect Increased")
		else
			debug.MessageBox("Not enough HeartXP")
		endIf
	
	elseIf(option == spermesID)
		float fplayerHeartXP = DfSV_PCSheartXP.GetValue()
		if fplayerHeartXP >= 4000
			float playerHeartXP = DfSV_PCSheartXP.GetValue()
			playerHeartXP -= 4000
			DfSV_PCSheartXP.SetValue(playerHeartXP)
			float sperms = DfSV_PCSspermsvalue.getValue()
			sperms += 1
			DfSV_PCSspermsvalue.SetValue(sperms)
			debug.MessageBox("Energy Sperm Effect Increased")
		else
			debug.MessageBox("Not enough HeartXP")
		endIf
	
	;Heart Spells
	elseIf(option == ssFocusShotID)
		float fplayerHeartXP = DfSV_PCSheartXP.GetValue()
		If(Game.GetPlayer().HasSpell(DfSV_ss_focusshot))
			debug.MessageBox("You have already learned Focus Shot")
		elseIf fplayerHeartXP >= 3000
			float playerHeartXP = DfSV_PCSheartXP.GetValue()
			playerHeartXP -= 3000
			DfSV_PCSheartXP.SetValue(playerHeartXP)
			Game.GetPlayer().AddSpell(DfSV_ss_focusshot)
			debug.MessageBox("You have learned Focus Shot")
		else
			debug.MessageBox("Not enough HeartXP")
		endIf
	
	;Settings
	
	endIf
endEvent



Event OnOptionDefault(int option)
	
endEvent

Event OnOptionHighlight(int option)
	
	;Status Left
		if(option == playerHealthID)
			SetInfoText("Character's base Health")
		elseIf(option == playerMagickaID)
			SetInfoText("Character's base Magicka")
		elseIf(option == playerStaminaID)
			SetInfoText("Character's base Stamina")
			
	;Status Right
		elseif(option == playerHeartXPID)
			SetInfoText("Current HeartXP Amount")
		elseIf(option == playerHeartForceID)
			SetInfoText("Current Heart Force")
	;Settings
		
		endIf
endEvent