scriptname DfSV_MCM extends SKI_ConfigBase

Actor Property PlayerAlias auto

;ent/ Quests
Quest Property DfVS_Main auto
Quest Property DfVS_MCMquest auto
;end/
;ent/ Spells
Spell property DfSV_ss_focusshot auto
Spell property DfSV_ss_darkpierce auto
Spell property DfSV_sp_stickyspermlover auto
Spell property DfSV_sp_sweetspermlover auto
Spell property DfSV_sp_warmspermlover auto
Spell property DfSV_sp_thickspermlover auto
;end/
;ent/ Global Var
GlobalVariable Property DfSV_PCSheartXP auto
GlobalVariable Property DfSV_PCSheartXPgain auto
GlobalVariable Property DfSV_PCSheartForce auto
GlobalVariable Property DfSV_PCSheartForceMAX 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_Set_absorbconsent auto
GlobalVariable Property DfSV_Set_playerdecay auto
GlobalVariable Property DfSV_lvlup_Match auto
GlobalVariable Property DfSV_spX_stickyspermlover auto
GlobalVariable Property DfSV_spX_sweetspermlover auto
GlobalVariable Property DfSV_spX_warmspermlover auto
GlobalVariable Property DfSV_spX_thickspermlover auto
;end/
;ent/ Pages
; Status
; Soul Burn
; HeartXP
; Heart Spells
; Settings
; Help
;end/
;ent/ Menu ID
	;ent/ 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
	;end/
	;ent/ 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
	;end/
	;ent/ HeartXP
		int heartHeartXPID
		bool heartHeartXP = false
		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
	;end/
	;ent/ Heart Spells
		int ssFocusShotID
		bool ssFocusShot = true
		int ssDarkPierceID
		bool ssDarkPierce = false
		int spStickySpermLoverID
		bool spStickySpermLover = false
		int spSweetSpermLoverID
		bool spSweetSpermLover = false
		int spWarmSpermLoverID
		bool spWarmSpermLover = false
		int spThickSpermLoverID
		bool spThickSpermLover = false
	;end/
	;ent/ Settings
		int creditsID
		bool credits = false
		int Set_consentAbsorbID
		bool Set_consentAbsorb = false
		int Set_playerdecayID
		bool Set_playerdecay = false
	;end/
;end/

;ent/ Get Version
int function GetVersion()
	return 2
endFunction
;end/
;ent/ OnInit
event OnConfigInit()

endEvent
;end/
;ent/ Version Update
event OnVersionUpdate(int a_version)
	if(a_version > 1)
		float heartXPgain = 100
		DfSV_PCSheartXPgain.SetValue(heartXPgain)
	endIf
	if(a_version > 2)
		If(Game.GetPlayer().HasSpell(DfSV_ss_focusshot))
		else
			Game.GetPlayer().AddSpell(DfSV_ss_focusshot)
			debug.Notification("You have learned [Heart] Focus Shot")
		endIf
		debug.Notification("Dragon from Succubus Valley - Updated to V1.1.0")
	endIf
endEvent
;end/

;ent/ OnPageReset
Event OnPageReset(string page)

	;ent/ Initial Page ("")
	if (page == "")
        ;LoadCustomContent("skyui/skyui_splash.swf")
        return
    else
		UnloadCustomContent()
	endIf
	;end/
	;ent/ Status Page
	If (page == "Status")
		SetCursorFillMode(TOP_TO_Bottom)
		;ent/ Left Side
			SetCursorPosition(0)
			;ent/ Force Status
			AddHeaderOption("Force Status")
				int playerHealth = Math.Floor(Game.GetPlayer().GetBaseActorValue("Health"))
				int playerMagicka = Math.Floor(Game.GetPlayer().GetBaseActorValue("Magicka"))
				int playerStamina = Math.Floor(Game.GetPlayer().GetBaseActorValue("Stamina"))
				int HeartXP = Math.Floor(DfSV_PCSheartXP.GetValue())
			playerHealthID = AddTextOption("Health Force", playerHealth)
			playerMagickaID = AddTextOption("Magic Force", playerMagicka)
			playerStaminaID = AddTextOption("Energy Force", playerStamina)
			playerHeartXPID = AddTextOption("HeartXP", HeartXP)
			AddEmptyOption()
			;end/
			;ent/ Absorb Effects
			AddHeaderOption("Absorb Effects")
				int HealthAbsorb = Math.Floor(DfSV_PCShpabsorb.GetValue())
				int MagickaAbsorb = Math.Floor(DfSV_PCSmpabsorb.GetValue())
				int StaminaAbsorb = Math.Floor(DfSV_PCSspabsorb.GetValue())
			absorbheffectID = AddTextOption("Health Absorb",HealthAbsorb)
			absorbmeffectID = AddTextOption("Magic Absorb",MagickaAbsorb)
			absorbseffectID = AddTextOption("Energy Absorb",StaminaAbsorb)
			AddEmptyOption()
			AddEmptyOption()
			;end/
			;end/
		;ent/ Right Side
			SetCursorPosition(1)
			;ent/ Heart Status
			AddHeaderOption("Heart Status")
				int HeartForce = Math.Floor(DfSV_PCSheartForce.GetValue())
				int HeartForceMAX = Math.Floor(DfSV_PCSheartForceMAX.GetValue())
				int HeartXPgain = Math.Floor(DfSV_PCSheartXPgain.GetValue())
			playerHeartForceID = AddTextOption("Current Heart Force", HeartForce)
			playerHeartForceMAXID = AddTextOption("Max Heart Force", HeartForceMax)
			playerHeartXPgainID = AddTextOption("HeartXP Gain", HeartXPgain)
			AddEmptyOption()
			AddEmptyOption()
			;end/
			;ent/ Sperm Effects
			AddHeaderOption("Sperm Effects")
				int SpermHealth = Math.Floor(DfSV_PCSspermhvalue.GetValue())
				int SpermMagicka = Math.Floor(DfSV_PCSspermmvalue.GetValue())
				int SpermStamina = Math.Floor(DfSV_PCSspermsvalue.GetValue())
			spermheffectID = AddTextOption("Sperm Health",SpermHealth)
			spermmeffectID = AddTextOption("Sperm Magic",SpermMagicka)
			spermseffectID = AddTextOption("Sperm Energy",SpermStamina)
			AddEmptyOption()
			;end/
		;end/
	;end/
	;ent/ Soul Burn
	elseIf (page == "Soul Burn")
	
		;ent/ public var
		int lvlupMatch = 5
		float lvlM = 0.5
		float lvlN = 1
		int lvlX = 100
		int lvlHX = 1
		
		int alchemylvl = Math.Floor(Game.GetPlayer().GetActorValue("alchemy"))
		int alchemyMcost = Math.Floor(lvlupMatch*lvlM*(alchemylvl*1.45))
		int alchemyXcost = Math.Floor(lvlupMatch*lvlX*(alchemylvl*1.45))
		int alterationlvl = Math.Floor(Game.GetPlayer().GetActorValue("alteration"))
		int alterationMcost = Math.Floor(lvlupMatch*lvlM*(alterationlvl*1.45))
		int alterationNcost = Math.Floor(lvlupMatch*lvlN*(alterationlvl*1.45))
		int alterationXcost = Math.Floor(lvlupMatch*lvlX*(alterationlvl*1.45))
		int blocklvl = Math.Floor(Game.GetPlayer().GetActorValue("block"))
		int blockMcost = Math.Floor(lvlupMatch*lvlM*(blocklvl*1.45))
		int blockNcost = Math.Floor(lvlupMatch*lvlN*(blocklvl*1.45))
		int blockXcost = Math.Floor(lvlupMatch*lvlX*(blocklvl*1.45))
		int conjurationlvl = Math.Floor(Game.GetPlayer().GetActorValue("conjuration"))
		int conjurationMcost = Math.Floor(lvlupMatch*lvlM*(conjurationlvl*1.45))
		int conjurationNcost = Math.Floor(lvlupMatch*lvlN*(conjurationlvl*1.45))
		int conjurationXcost = Math.Floor(lvlupMatch*lvlX*(conjurationlvl*1.45))
		int destructionlvl = Math.Floor(Game.GetPlayer().GetActorValue("destruction"))
		int destructionMcost = Math.Floor(lvlupMatch*lvlM*(destructionlvl*1.45))
		int destructionNcost = Math.Floor(lvlupMatch*lvlN*(destructionlvl*1.45))
		int destructionXcost = Math.Floor(lvlupMatch*lvlX*(destructionlvl*1.45))
		int enchantinglvl = Math.Floor(Game.GetPlayer().GetActorValue("enchanting"))
		int enchantingMcost = Math.Floor(lvlupMatch*lvlM*(enchantinglvl*1.45))
		int enchantingXcost = Math.Floor(lvlupMatch*lvlX*(enchantinglvl*1.45))
		int heavyarmorlvl = Math.Floor(Game.GetPlayer().GetActorValue("heavyarmor"))
		int heavyarmorMcost = Math.Floor(lvlupMatch*lvlM*(heavyarmorlvl*1.45))
		int heavyarmorNcost = Math.Floor(lvlupMatch*lvlN*(heavyarmorlvl*1.45))
		int heavyarmorXcost = Math.Floor(lvlupMatch*lvlX*(heavyarmorlvl*1.45))
		int illusionlvl = Math.Floor(Game.GetPlayer().GetActorValue("illusion"))
		int illusionMcost = Math.Floor(lvlupMatch*lvlM*(illusionlvl*1.45))
		int illusionNcost = Math.Floor(lvlupMatch*lvlN*(illusionlvl*1.45))
		int illusionXcost = Math.Floor(lvlupMatch*lvlX*(illusionlvl*1.45))
		int lightarmorlvl = Math.Floor(Game.GetPlayer().GetActorValue("lightarmor"))
		int lightarmorMcost = Math.Floor(lvlupMatch*lvlM*(lightarmorlvl*1.45))
		int lightarmorNcost = Math.Floor(lvlupMatch*lvlN*(lightarmorlvl*1.45))
		int lightarmorXcost = Math.Floor(lvlupMatch*lvlX*(lightarmorlvl*1.45))
		int lockpickinglvl = Math.Floor(Game.GetPlayer().GetActorValue("lockpicking"))
		int lockpickingMcost = Math.Floor(lvlupMatch*lvlM*(lockpickinglvl*1.45))
		int lockpickingNcost = Math.Floor(lvlupMatch*lvlN*(lockpickinglvl*1.45))
		int lockpickingXcost = Math.Floor(lvlupMatch*lvlX*(lockpickinglvl*1.45))
		int marksmanlvl = Math.Floor(Game.GetPlayer().GetActorValue("marksman"))
		int marksmanMcost = Math.Floor(lvlupMatch*lvlM*(marksmanlvl*1.45))
		int marksmanNcost = Math.Floor(lvlupMatch*lvlN*(marksmanlvl*1.45))
		int marksmanXcost = Math.Floor(lvlupMatch*lvlX*(marksmanlvl*1.45))
		int onehandedlvl = Math.Floor(Game.GetPlayer().GetActorValue("onehanded"))
		int onehandedMcost = Math.Floor(lvlupMatch*lvlM*(onehandedlvl*1.45))
		int onehandedNcost = Math.Floor(lvlupMatch*lvlN*(onehandedlvl*1.45))
		int onehandedXcost = Math.Floor(lvlupMatch*lvlX*(onehandedlvl*1.45))
		int pickpocketlvl = Math.Floor(Game.GetPlayer().GetActorValue("pickpocket"))
		int pickpocketMcost = Math.Floor(lvlupMatch*lvlM*(pickpocketlvl*1.45))
		int pickpocketXcost = Math.Floor(lvlupMatch*lvlX*(pickpocketlvl*1.45))
		int restorationlvl = Math.Floor(Game.GetPlayer().GetActorValue("restoration"))
		int restorationMcost = Math.Floor(lvlupMatch*lvlM*(restorationlvl*1.45))
		int restorationNcost = Math.Floor(lvlupMatch*lvlN*(restorationlvl*1.45))
		int restorationXcost = Math.Floor(lvlupMatch*lvlX*(restorationlvl*1.45))	
		int smithinglvl = Math.Floor(Game.GetPlayer().GetActorValue("smithing"))
		int smithingMcost = Math.Floor(lvlupMatch*lvlM*(smithinglvl*1.45))
		int smithingXcost = Math.Floor(lvlupMatch*lvlX*(smithinglvl*1.45))
		int sneaklvl = Math.Floor(Game.GetPlayer().GetActorValue("sneak"))
		int sneakMcost = Math.Floor(lvlupMatch*lvlM*(sneaklvl*1.45))
		int sneakNcost = Math.Floor(lvlupMatch*lvlN*(sneaklvl*1.45))
		int sneakXcost = Math.Floor(lvlupMatch*lvlX*(sneaklvl*1.45))
		int speechcraftlvl = Math.Floor(Game.GetPlayer().GetActorValue("speechcraft"))
		int speechcraftMcost = Math.Floor(lvlupMatch*lvlM*(speechcraftlvl*1.45))
		int speechcraftXcost = Math.Floor(lvlupMatch*lvlX*(speechcraftlvl*1.45))
		int twohandedlvl = Math.Floor(Game.GetPlayer().GetActorValue("twohanded"))
		int twohandedMcost = Math.Floor(lvlupMatch*lvlM*(twohandedlvl*1.45))
		int twohandedNcost = Math.Floor(lvlupMatch*lvlN*(twohandedlvl*1.45))
		int twohandedXcost = Math.Floor(lvlupMatch*lvlX*(twohandedlvl*1.45))
		;end/
		
		SetCursorFillMode(TOP_TO_BOTTOM)
		
		;ent/ Left Side
		
			SetCursorPosition(0)
			
			;ent/ Status
			AddHeaderOption("Status")
				int playerHealth = Math.Floor(Game.GetPlayer().GetBaseActorValue("Health"))
				int playerMagicka = Math.Floor(Game.GetPlayer().GetBaseActorValue("Magicka"))
				int playerStamina = Math.Floor(Game.GetPlayer().GetBaseActorValue("Stamina"))
				int HeartXP = Math.Floor(DfSV_PCSheartXP.GetValue())
			soulHealthID = AddTextOption("Health Force", playerHealth)
			soulMagickaID = AddTextOption("Magic Force", playerMagicka)
			soulStaminaID = AddTextOption("Energy Force", playerStamina)
			soulHeartID = AddTextOption("HeartXP", HeartXP)
			AddEmptyOption()
			;end/
			;ent/ Alchemy
				
			AddHeaderOption("Alchemy Knowledge "+alchemylvl)
			alchemyHID = AddToggleOption(alchemyMcost+"/"+playerHealth+" Health Force", alchemyH)
			alchemyMID = AddToggleOption(alchemyMCost+"/"+playerMagicka+" Magic Force", alchemyM)
			alchemySID = AddToggleOption(alchemyMCost+"/"+playerStamina+" Energy Force", alchemyS)
			alchemyXID = AddToggleOption(alchemyXcost+"/"+HeartXP+" HeartXP", alchemyX)
			AddEmptyOption()
			;end/
			;ent/ Block
				
			AddHeaderOption("Block Knowledge "+blocklvl)
			blockHID = AddToggleOption(blockMcost+"/"+playerHealth+" Health Force", blockH)
			blockMID = AddToggleOption(blockNcost+"/"+playerMagicka+" Magic Force", blockM)
			blockSID = AddToggleOption(blockNcost+"/"+playerStamina+" Energy Force", blockS)
			blockXID = AddToggleOption(blockXcost+"/"+HeartXP+" HeartXP", blockX)
			AddEmptyOption()
			;end/
			;ent/ Destruction
				
			AddHeaderOption("Destruction Knowledge "+destructionlvl)
			destructionHID = AddToggleOption(destructionNcost+"/"+playerHealth+" Health Force", destructionH)
			destructionMID = AddToggleOption(destructionMcost+"/"+playerMagicka+" Magic Force", destructionM)
			destructionSID = AddToggleOption(destructionNcost+"/"+playerStamina+" Energy Force", destructionS)
			destructionXID = AddToggleOption(destructionXcost+"/"+HeartXP+" HeartXP", destructionX)
			AddEmptyOption()
			;end/
			;ent/ Heavy Armor
				
			AddHeaderOption("Heavy Armor Knowledge "+heavyarmorlvl)
			heavyarmorHID = AddToggleOption(heavyarmorMcost+"/"+playerHealth+" Health Force", heavyarmorH)
			heavyarmorMID = AddToggleOption(heavyarmorNcost+"/"+playerMagicka+" Magic Force", heavyarmorM)
			heavyarmorSID = AddToggleOption(heavyarmorNcost+"/"+playerStamina+" Energy Force", heavyarmorS)
			heavyarmorXID = AddToggleOption(heavyarmorXcost+"/"+HeartXP+" HeartXP", heavyarmorX)
			AddEmptyOption()
			;end/
			;ent/ Light Armor
				
			AddHeaderOption("Light Armor Knowledge "+lightarmorlvl)
			lightarmorHID = AddToggleOption(lightarmorNcost+"/"+playerHealth+" Health Force", lightarmorH)
			lightarmorMID = AddToggleOption(lightarmorNcost+"/"+playerMagicka+" Magic Force", lightarmorM)
			lightarmorSID = AddToggleOption(lightarmorMcost+"/"+playerStamina+" Energy Force", lightarmorS)
			lightarmorXID = AddToggleOption(lightarmorXcost+"/"+HeartXP+" HeartXP", lightarmorX)
			AddEmptyOption()
			;end/
			;ent/ Marksman
				
			AddHeaderOption("Marksman Knowledge "+marksmanlvl)
			marksmanHID = AddToggleOption(marksmanNcost+"/"+playerHealth+" Health Force", marksmanH)
			marksmanMID = AddToggleOption(marksmanNcost+"/"+playerMagicka+" Magic Force", marksmanM)
			marksmanSID = AddToggleOption(marksmanMcost+"/"+playerStamina+" Energy Force", marksmanS)
			marksmanXID = AddToggleOption(marksmanXcost+"/"+HeartXP+" HeartXP", marksmanX)
			AddEmptyOption()
			;end/
			;ent/ Pickpocket
			AddHeaderOption("Pickpocket Knowledge "+pickpocketlvl)
			pickpocketHID = AddToggleOption(pickpocketMcost+"/"+playerHealth+" Health Force", pickpocketH)
			pickpocketMID = AddToggleOption(pickpocketMcost+"/"+playerMagicka+" Magic Force", pickpocketM)
			pickpocketSID = AddToggleOption(pickpocketMcost+"/"+playerStamina+" Energy Force", pickpocketS)
			pickpocketXID = AddToggleOption(pickpocketXcost+"/"+HeartXP+" HeartXP", pickpocketX)
			AddEmptyOption()
			;end/
			;ent/ Smithing	
			AddHeaderOption("Smithing Knowledge "+smithinglvl)
			smithingHID = AddToggleOption(smithingMcost+"/"+playerHealth+" Health Force", smithingH)
			smithingMID = AddToggleOption(smithingMcost+"/"+playerMagicka+" Magic Force", smithingM)
			smithingSID = AddToggleOption(smithingMcost+"/"+playerStamina+" Energy Force", smithingS)
			smithingXID = AddToggleOption(smithingXcost+"/"+HeartXP+" HeartXP", smithingX)
			AddEmptyOption()
			;end/
			;ent/ Speechcraft
			AddHeaderOption("Speechcraft Knowledge "+speechcraftlvl)
			speechcraftHID = AddToggleOption(speechcraftMcost+"/"+playerHealth+" Health Force", speechcraftH)
			speechcraftMID = AddToggleOption(speechcraftMcost+"/"+playerMagicka+" Magic Force", speechcraftM)
			speechcraftSID = AddToggleOption(speechcraftMcost+"/"+playerStamina+" Energy Force", speechcraftS)
			speechcraftXID = AddToggleOption(speechcraftXcost+"/"+HeartXP+" HeartXP", speechcraftX)
			AddEmptyOption()
			;end/
		;end/
		;ent/ Right Side
			
			SetCursorPosition(1)
			
			;ent/ Empty Space
			AddEmptyOption()
			AddEmptyOption()
			AddEmptyOption()
			AddEmptyOption()
			AddEmptyOption()
			AddEmptyOption()
			;end/
			;ent/ Alteration
			AddHeaderOption("Alteration Knowledge "+alterationlvl)
			alterationHID = AddToggleOption(alterationNcost+"/"+playerHealth+" Health Force", alterationH)
			alterationMID = AddToggleOption(alterationMcost+"/"+playerMagicka+" Magic Force", alterationM)
			alterationSID = AddToggleOption(alterationNcost+"/"+playerStamina+" Energy Force", alterationS)
			alterationXID = AddToggleOption(alterationXcost+"/"+HeartXP+" HeartXP", alterationX)
			AddEmptyOption()
			;end/
			;ent/ Conjuration
				
			AddHeaderOption("Conjuration Knowledge "+conjurationlvl)
			conjurationHID = AddToggleOption(conjurationNcost+"/"+playerHealth+" Health Force", conjurationH)
			conjurationMID = AddToggleOption(conjurationMcost+"/"+playerMagicka+" Magic Force", conjurationM)
			conjurationSID = AddToggleOption(conjurationNcost+"/"+playerStamina+" Energy Force", conjurationS)
			conjurationXID = AddToggleOption(conjurationXcost+"/"+HeartXP+" HeartXP", conjurationX)
			AddEmptyOption()
			;end/
			;ent/ Enchanting
			AddHeaderOption("Enchanting Knowledge "+enchantinglvl)
			enchantingHID = AddToggleOption(enchantingMcost+"/"+playerHealth+" Health Force", enchantingH)
			enchantingMID = AddToggleOption(enchantingMcost+"/"+playerMagicka+" Magic Force", enchantingM)
			enchantingSID = AddToggleOption(enchantingMcost+"/"+playerStamina+" Energy Force", enchantingS)
			enchantingXID = AddToggleOption(enchantingXcost+"/"+HeartXP+" HeartXP", enchantingX)
			AddEmptyOption()
			;end/
			;ent/ Illusion
				
			AddHeaderOption("Illusion Knowledge "+illusionlvl)
			illusionHID = AddToggleOption(illusionNcost+"/"+playerHealth+" Health Force", illusionH)
			illusionMID = AddToggleOption(illusionMcost+"/"+playerMagicka+" Magic Force", illusionM)
			illusionSID = AddToggleOption(illusionNcost+"/"+playerStamina+" Energy Force", illusionS)
			illusionXID = AddToggleOption(illusionXcost+"/"+HeartXP+" HeartXP", illusionX)
			AddEmptyOption()
			;end/
			;ent/ Lockpicking
			AddHeaderOption("Lockpicking Knowledge "+lockpickinglvl)
			lockpickingHID = AddToggleOption(lockpickingNcost+"/"+playerHealth+" Health Force", lockpickingH)
			lockpickingMID = AddToggleOption(lockpickingNcost+"/"+playerMagicka+" Magic Force", lockpickingM)
			lockpickingSID = AddToggleOption(lockpickingMcost+"/"+playerStamina+" Energy Force", lockpickingS)
			lockpickingXID = AddToggleOption(lockpickingXcost+"/"+HeartXP+" HeartXP", lockpickingX)
			AddEmptyOption()
			;end/
			;ent/ One-Handed
			AddHeaderOption("One-Handed Knowledge "+onehandedlvl)
			onehandedHID = AddToggleOption(onehandedMcost+"/"+playerHealth+" Health Force", onehandedH)
			onehandedMID = AddToggleOption(onehandedNcost+"/"+playerMagicka+" Magic Force", onehandedM)
			onehandedSID = AddToggleOption(onehandedNcost+"/"+playerStamina+" Energy Force", onehandedS)
			onehandedXID = AddToggleOption(onehandedXcost+"/"+HeartXP+" HeartXP", onehandedX)
			AddEmptyOption()
			;end/
			;ent/ Restoration
			AddHeaderOption("Restoration Knowledge "+restorationlvl)
			restorationHID = AddToggleOption(restorationNcost+"/"+playerHealth+" Health Force", restorationH)
			restorationMID = AddToggleOption(restorationMcost+"/"+playerMagicka+" Magic Force", restorationM)
			restorationSID = AddToggleOption(restorationNcost+"/"+playerStamina+" Energy Force", restorationS)
			restorationXID = AddToggleOption(restorationXcost+"/"+HeartXP+" HeartXP", restorationX)
			AddEmptyOption()
			;end/
			;ent/ Sneak
			AddHeaderOption("Sneak Knowledge "+sneaklvl)
			sneakHID = AddToggleOption(sneakNcost+"/"+playerHealth+" Health Force", sneakH)
			sneakMID = AddToggleOption(sneakNcost+"/"+playerMagicka+" Magic Force", sneakM)
			sneakSID = AddToggleOption(sneakMcost+"/"+playerStamina+" Energy Force", sneakS)
			sneakXID = AddToggleOption(sneakXcost+"/"+HeartXP+" HeartXP", sneakX)
			AddEmptyOption()
			;end/
			;ent/ Two-Handed
			AddHeaderOption("Two-Handed Knowledge "+twohandedlvl)
			twohandedHID = AddToggleOption(twohandedMcost+"/"+playerHealth+" Health Force", twohandedH)
			twohandedMID = AddToggleOption(twohandedNcost+"/"+playerMagicka+" Magic Force", twohandedM)
			twohandedSID = AddToggleOption(twohandedNcost+"/"+playerStamina+" Energy Force", twohandedS)
			twohandedXID = AddToggleOption(twohandedXcost+"/"+HeartXP+" HeartXP", twohandedX)
			AddEmptyOption()
			;end/
		;end/
	;end/
	;ent/ HeartXP
	elseIf (page == "HeartXP")
	
		SetCursorFillMode(TOP_TO_BOTTOM)
		
		;ent/ public var
		int lvlupMatch = 5
		float lvlM = 0.5
		float lvlN = 1
		int lvlX = 100
		int lvlHX = 1
		
		int HeartXP = Math.Floor(DfSV_PCSheartXP.GetValue())
		int heartforcelvl = Math.Floor((DfSV_PCSheartForceMAX.GetValue())/10)
		int heartforceXcost = Math.Floor(lvlupMatch*lvlX/lvlHX*(heartforcelvl*1.45))
		int healthlvl = Math.Floor(DfSV_PCShpabsorb.GetValue())
		int healthXcost = Math.Floor(lvlupMatch*lvlX/lvlHX*(healthlvl*1.45))
		int magiclvl = Math.Floor(DfSV_PCSmpabsorb.GetValue())
		int magicXcost = Math.Floor(lvlupMatch*lvlX/lvlHX*(magiclvl*1.45))
		int energylvl = Math.Floor(DfSV_PCSspabsorb.GetValue())
		int energyXcost = Math.Floor(lvlupMatch*lvlX/lvlHX*(energylvl*1.45))
		int HeartXPlvl = Math.Floor(DfSV_PCSheartXPgain.GetValue())
		int HeartXPcost = Math.Floor(lvlupMatch*lvlX/lvlHX*(HeartXPlvl*1.45))
		int spermHlvl = Math.Floor(DfSV_PCSspermhvalue.GetValue())
		int spermHcost = Math.Floor(lvlupMatch*lvlX/lvlHX*(spermHlvl*1.45))
		int spermMlvl = Math.Floor(DfSV_PCSspermmvalue.GetValue())
		int spermMcost = Math.Floor(lvlupMatch*lvlX/lvlHX*(spermMlvl*1.45))
		int spermSlvl = Math.Floor(DfSV_PCSspermsvalue.GetValue())
		int spermScost = Math.Floor(lvlupMatch*lvlX/lvlHX*(spermSlvl*1.45))
		
		
		
		;end/
		
		;ent/ Left Side
		
			SetCursorPosition(0)
			
			;ent/ Status
			AddHeaderOption("Status")
			heartHeartXPID = AddTextOption("HeartXP", HeartXP)
			AddEmptyOption()
			;end/
			;ent/ Heart Force
			AddHeaderOption("Heart Force")
			increaseHFmaxID = AddToggleOption("Max +10 ["+heartforceXcost+" HeartXP]", increaseHFmax)
			AddEmptyOption()
			;end/
		;end/
		;ent/ Right Side
		
			SetCursorPosition(1)
			
			;ent/ Force Absorption
			AddHeaderOption("Force Absorption")
			incabsorbHID = AddToggleOption("Health Absorb +1 ["+healthXcost+" HeartXP]", incabsorbH)
			incabsorbMID = AddToggleOption("Magic Absorb +1 ["+magicXcost+" HeartXP]", incabsorbM)
			incabsorbSID = AddToggleOption("Energy Absorb +1 ["+energyXcost+" HeartXP]", incabsorbS)
			incXPgainID = AddToggleOption("HeartXP Gain +1% ["+HeartXPcost+" HeartXP]", incXPgain)
			AddEmptyOption()
			;end/
			;ent/ Sperm Effect
			AddHeaderOption("Sperm Effect")
			spermehID = AddToggleOption("Health Gain +1 ["+spermHcost+" HeartXP]", spermeh)
			spermemID = AddToggleOption("Magic Gain +1 ["+spermMcost+" HeartXP]", spermem)
			spermesID = AddToggleOption("Energy Gain +1 ["+spermScost+" HeartXP]", spermes)
			AddEmptyOption()
			;end/
		;end/
	;end/
	;ent/ Heart Spells
	elseIf (page == "Heart Spells")
	
        SetCursorFillMode(TOP_TO_BOTTOM)
		
		;Left Side
			SetCursorPosition(0)
			AddHeaderOption("Casting Spells")
			ssFocusShotID = AddToggleOption("Focus Shot",ssFocusShot)
			ssDarkPierceID = AddToggleOption("Dark Pierce [50000 HeartXP]",ssDarkPierce)
		;Right Side
			SetCursorPosition(1)
			AddHeaderOption("Passive Spells")
			spStickySpermLoverID = AddToggleOption("Sticky Sperm Lover [80000 HeartXP]",spStickySpermLover)
			spSweetSpermLoverID = AddToggleOption("Sweet Sperm Lover [80000 HeartXP]",spSweetSpermLover)
			spWarmSpermLoverID = AddToggleOption("Sticky Sperm Lover [80000 HeartXP]",spWarmSpermLover)
			spThickSpermLoverID = AddToggleOption("Thick Sperm Lover [80000 HeartXP]",spThickSpermLover)
	;end/
	;ent/ Settings
	elseIf (page == "Settings")
		SetCursorFillMode(TOP_TO_BOTTOM)
		
		;Left Side
		SetCursorPosition(0)
		creditsID = AddTextOption("DfSV : Created by : Spirit_Shard // LoversLab","")
		
		;Right Side
	else
    endIf
	;end/

endEvent
;end/
;ent/ OnOptionSelect
Event OnOptionSelect(int option)
	;ent/ public var
		int lvlupMatch = 5
		float lvlM = 0.5
		float lvlN = 1
		int lvlX = 100
		int lvlHX = 1
		int playerHealth = Math.Floor(Game.GetPlayer().GetBaseActorValue("Health"))
		int playerMagicka = Math.Floor(Game.GetPlayer().GetBaseActorValue("Magicka"))
		int playerStamina = Math.Floor(Game.GetPlayer().GetBaseActorValue("Stamina"))
		int HeartXP = Math.Floor(DfSV_PCSheartXP.GetValue())
		
		int alchemylvl = Math.Floor(Game.GetPlayer().GetActorValue("alchemy"))
		int alchemyMcost = Math.Floor(lvlupMatch*lvlM*(alchemylvl*1.45))
		int alchemyXcost = Math.Floor(lvlupMatch*lvlX*(alchemylvl*1.45))
		int alterationlvl = Math.Floor(Game.GetPlayer().GetActorValue("alteration"))
		int alterationMcost = Math.Floor(lvlupMatch*lvlM*(alterationlvl*1.45))
		int alterationNcost = Math.Floor(lvlupMatch*lvlN*(alterationlvl*1.45))
		int alterationXcost = Math.Floor(lvlupMatch*lvlX*(alterationlvl*1.45))
		int blocklvl = Math.Floor(Game.GetPlayer().GetActorValue("block"))
		int blockMcost = Math.Floor(lvlupMatch*lvlM*(blocklvl*1.45))
		int blockNcost = Math.Floor(lvlupMatch*lvlN*(blocklvl*1.45))
		int blockXcost = Math.Floor(lvlupMatch*lvlX*(blocklvl*1.45))
		int conjurationlvl = Math.Floor(Game.GetPlayer().GetActorValue("conjuration"))
		int conjurationMcost = Math.Floor(lvlupMatch*lvlM*(conjurationlvl*1.45))
		int conjurationNcost = Math.Floor(lvlupMatch*lvlN*(conjurationlvl*1.45))
		int conjurationXcost = Math.Floor(lvlupMatch*lvlX*(conjurationlvl*1.45))
		int destructionlvl = Math.Floor(Game.GetPlayer().GetActorValue("destruction"))
		int destructionMcost = Math.Floor(lvlupMatch*lvlM*(destructionlvl*1.45))
		int destructionNcost = Math.Floor(lvlupMatch*lvlN*(destructionlvl*1.45))
		int destructionXcost = Math.Floor(lvlupMatch*lvlX*(destructionlvl*1.45))
		int enchantinglvl = Math.Floor(Game.GetPlayer().GetActorValue("enchanting"))
		int enchantingMcost = Math.Floor(lvlupMatch*lvlM*(enchantinglvl*1.45))
		int enchantingXcost = Math.Floor(lvlupMatch*lvlX*(enchantinglvl*1.45))
		int heavyarmorlvl = Math.Floor(Game.GetPlayer().GetActorValue("heavyarmor"))
		int heavyarmorMcost = Math.Floor(lvlupMatch*lvlM*(heavyarmorlvl*1.45))
		int heavyarmorNcost = Math.Floor(lvlupMatch*lvlN*(heavyarmorlvl*1.45))
		int heavyarmorXcost = Math.Floor(lvlupMatch*lvlX*(heavyarmorlvl*1.45))
		int illusionlvl = Math.Floor(Game.GetPlayer().GetActorValue("illusion"))
		int illusionMcost = Math.Floor(lvlupMatch*lvlM*(illusionlvl*1.45))
		int illusionNcost = Math.Floor(lvlupMatch*lvlN*(illusionlvl*1.45))
		int illusionXcost = Math.Floor(lvlupMatch*lvlX*(illusionlvl*1.45))
		int lightarmorlvl = Math.Floor(Game.GetPlayer().GetActorValue("lightarmor"))
		int lightarmorMcost = Math.Floor(lvlupMatch*lvlM*(lightarmorlvl*1.45))
		int lightarmorNcost = Math.Floor(lvlupMatch*lvlN*(lightarmorlvl*1.45))
		int lightarmorXcost = Math.Floor(lvlupMatch*lvlX*(lightarmorlvl*1.45))
		int lockpickinglvl = Math.Floor(Game.GetPlayer().GetActorValue("lockpicking"))
		int lockpickingMcost = Math.Floor(lvlupMatch*lvlM*(lockpickinglvl*1.45))
		int lockpickingNcost = Math.Floor(lvlupMatch*lvlN*(lockpickinglvl*1.45))
		int lockpickingXcost = Math.Floor(lvlupMatch*lvlX*(lockpickinglvl*1.45))
		int marksmanlvl = Math.Floor(Game.GetPlayer().GetActorValue("marksman"))
		int marksmanMcost = Math.Floor(lvlupMatch*lvlM*(marksmanlvl*1.45))
		int marksmanNcost = Math.Floor(lvlupMatch*lvlN*(marksmanlvl*1.45))
		int marksmanXcost = Math.Floor(lvlupMatch*lvlX*(marksmanlvl*1.45))
		int onehandedlvl = Math.Floor(Game.GetPlayer().GetActorValue("onehanded"))
		int onehandedMcost = Math.Floor(lvlupMatch*lvlM*(onehandedlvl*1.45))
		int onehandedNcost = Math.Floor(lvlupMatch*lvlN*(onehandedlvl*1.45))
		int onehandedXcost = Math.Floor(lvlupMatch*lvlX*(onehandedlvl*1.45))
		int pickpocketlvl = Math.Floor(Game.GetPlayer().GetActorValue("pickpocket"))
		int pickpocketMcost = Math.Floor(lvlupMatch*lvlM*(pickpocketlvl*1.45))
		int pickpocketXcost = Math.Floor(lvlupMatch*lvlX*(pickpocketlvl*1.45))
		int restorationlvl = Math.Floor(Game.GetPlayer().GetActorValue("restoration"))
		int restorationMcost = Math.Floor(lvlupMatch*lvlM*(restorationlvl*1.45))
		int restorationNcost = Math.Floor(lvlupMatch*lvlN*(restorationlvl*1.45))
		int restorationXcost = Math.Floor(lvlupMatch*lvlX*(restorationlvl*1.45))	
		int smithinglvl = Math.Floor(Game.GetPlayer().GetActorValue("smithing"))
		int smithingMcost = Math.Floor(lvlupMatch*lvlM*(smithinglvl*1.45))
		int smithingXcost = Math.Floor(lvlupMatch*lvlX*(smithinglvl*1.45))
		int sneaklvl = Math.Floor(Game.GetPlayer().GetActorValue("sneak"))
		int sneakMcost = Math.Floor(lvlupMatch*lvlM*(sneaklvl*1.45))
		int sneakNcost = Math.Floor(lvlupMatch*lvlN*(sneaklvl*1.45))
		int sneakXcost = Math.Floor(lvlupMatch*lvlX*(sneaklvl*1.45))
		int speechcraftlvl = Math.Floor(Game.GetPlayer().GetActorValue("speechcraft"))
		int speechcraftMcost = Math.Floor(lvlupMatch*lvlM*(speechcraftlvl*1.45))
		int speechcraftXcost = Math.Floor(lvlupMatch*lvlX*(speechcraftlvl*1.45))
		int twohandedlvl = Math.Floor(Game.GetPlayer().GetActorValue("twohanded"))
		int twohandedMcost = Math.Floor(lvlupMatch*lvlM*(twohandedlvl*1.45))
		int twohandedNcost = Math.Floor(lvlupMatch*lvlN*(twohandedlvl*1.45))
		int twohandedXcost = Math.Floor(lvlupMatch*lvlX*(twohandedlvl*1.45))
		
		int heartforcelvl = Math.Floor((DfSV_PCSheartForceMAX.GetValue())/10)
		int heartforceXcost = Math.Floor(lvlupMatch*lvlX/lvlHX*(heartforcelvl*1.45))
		int healthlvl = Math.Floor(DfSV_PCShpabsorb.GetValue())
		int healthXcost = Math.Floor(lvlupMatch*lvlX/lvlHX*(healthlvl*1.45))
		int magiclvl = Math.Floor(DfSV_PCSmpabsorb.GetValue())
		int magicXcost = Math.Floor(lvlupMatch*lvlX/lvlHX*(magiclvl*1.45))
		int energylvl = Math.Floor(DfSV_PCSspabsorb.GetValue())
		int energyXcost = Math.Floor(lvlupMatch*lvlX/lvlHX*(energylvl*1.45))
		int HeartXPlvl = Math.Floor(DfSV_PCSheartXPgain.GetValue())
		int HeartXPcost = Math.Floor(lvlupMatch*lvlX/lvlHX*(HeartXPlvl*1.45))
		int spermHlvl = Math.Floor(DfSV_PCSspermhvalue.GetValue())
		int spermHcost = Math.Floor(lvlupMatch*lvlX/lvlHX*(spermHlvl*1.45))
		int spermMlvl = Math.Floor(DfSV_PCSspermmvalue.GetValue())
		int spermMcost = Math.Floor(lvlupMatch*lvlX/lvlHX*(spermMlvl*1.45))
		int spermSlvl = Math.Floor(DfSV_PCSspermsvalue.GetValue())
		int spermScost = Math.Floor(lvlupMatch*lvlX/lvlHX*(spermSlvl*1.45))
		;end/
	;ent/ Soul Burn
		;ent/ Alchemy
		If(option == alchemyHID)
			if playerHealth >= alchemyMcost
				playerHealth -= alchemyMcost
				Game.GetPlayer().SetActorValue("health", playerHealth)
				Game.IncrementSkill("alchemy")
				Debug.MessageBox("Alchemy Increased to "+(alchemylvl+1))
				ForcePageReset()
			else
				Debug.MessageBox("Not enough Health Force")
			endIf
		elseIf(option == alchemyMID)
			if playerMagicka >= alchemyMcost
				playerMagicka -= alchemyMcost
				Game.GetPlayer().SetActorValue("magicka", playerMagicka)
				Game.IncrementSkill("alchemy")
				Debug.MessageBox("Alchemy Increased to "+(alchemylvl+1))
				ForcePageReset()
			else
				Debug.MessageBox("Not enough Magic Force")
			endIf
		elseIf(option == alchemySID)
			if playerStamina >= alchemyMcost
				playerStamina -= alchemyMcost
				Game.GetPlayer().SetActorValue("stamina", playerStamina)
				Game.IncrementSkill("alchemy")
				Debug.MessageBox("Alchemy Increased to "+(alchemylvl+1))
				ForcePageReset()
			else
				Debug.MessageBox("Not enough Energy Force")
			endIf
		elseIf(option == alchemyXID)
			if HeartXP >= alchemyXcost
				HeartXP -= alchemyXcost
				DfSV_PCSheartXP.SetValue(HeartXP)
				Game.IncrementSkill("alchemy")
				Debug.MessageBox("Alchemy Increased to "+(alchemylvl+1))
				ForcePageReset()
			else
				Debug.MessageBox("Not enough HeartXP")
			endIf
		;end/
		;ent/ Alteration
		elseIf(option == alterationHID)
			if playerHealth >= alterationNcost
				playerHealth -= alterationNcost
				Game.GetPlayer().SetActorValue("health", playerHealth)
				Game.IncrementSkill("alteration")
				Debug.MessageBox("Alteration Increased to "+(alterationlvl+1))
				ForcePageReset()
			else
				Debug.MessageBox("Not enough Health Force")
			endIf
		elseIf(option == alterationMID)
			if playerMagicka >= alterationMcost
				playerMagicka -= alterationMcost
				Game.GetPlayer().SetActorValue("magicka", playerMagicka)
				Game.IncrementSkill("alteration")
				Debug.MessageBox("Alteration Increased to"+(alterationlvl+1))
				ForcePageReset()
			else
				Debug.MessageBox("Not enough Magic Force")
			endIf
		elseIf(option == alterationSID)
			if playerStamina >= alterationNcost
				playerStamina -= alterationNcost
				Game.GetPlayer().SetActorValue("stamina", playerStamina)
				Game.IncrementSkill("alteration")
				Debug.MessageBox("Alteration Increased to "+(alterationlvl+1))
				ForcePageReset()
			else
				Debug.MessageBox("Not enough Energy Force")
			endIf
		elseIf(option == alterationXID)
			if HeartXP >= alterationXcost
				HeartXP -= alterationXcost
				DfSV_PCSheartXP.SetValue(HeartXP)
				Game.IncrementSkill("alteration")
				Debug.MessageBox("Alteration Increased to "+(alterationlvl+1))
				ForcePageReset()
			else
				Debug.MessageBox("Not enough HeartXP")
			endIf
		;end/
		;ent/ Block
		elseIf(option == blockHID)
			if playerHealth >= blockMcost
				playerHealth -= blockMcost
				Game.GetPlayer().SetActorValue("health", playerHealth)
				Game.IncrementSkill("block")
				Debug.MessageBox("Block Increased to "+(blocklvl+1))
				ForcePageReset()
			else
				Debug.MessageBox("Not enough Health Force")
			endIf
		elseIf(option == blockMID)
			if playerMagicka >= blockNcost
				playerMagicka -= blockNcost
				Game.GetPlayer().SetActorValue("magicka", playerMagicka)
				Game.IncrementSkill("block")
				Debug.MessageBox("Block Increased to "+(blocklvl+1))
				ForcePageReset()
			else
				Debug.MessageBox("Not enough Magic Force")
			endIf
		elseIf(option == blockSID)
			if playerStamina >= blockNcost
				playerStamina -= blockNcost
				Game.GetPlayer().SetActorValue("stamina", playerStamina)
				Game.IncrementSkill("block")
				Debug.MessageBox("Block Increased to "+(blocklvl+1))
				ForcePageReset()
			else
				Debug.MessageBox("Not enough Energy Force")
			endIf
		elseIf(option == blockXID)
			if HeartXP >= blockXcost
				HeartXP -= blockXcost
				DfSV_PCSheartXP.SetValue(HeartXP)
				Game.IncrementSkill("block")
				Debug.MessageBox("Block Increased to "+(blocklvl+1))
				ForcePageReset()
			else
				Debug.MessageBox("Not enough HeartXP")
			endIf
		;end/
		;ent/ Conjuration
		elseIf(option == conjurationHID)
			if playerHealth >= conjurationNcost
				playerHealth -= conjurationNcost
				Game.GetPlayer().SetActorValue("health", playerHealth)
				Game.IncrementSkill("conjuration")
				Debug.MessageBox("Conjuration Increased to "+(conjurationlvl+1))
				ForcePageReset()
			else
				Debug.MessageBox("Not enough Health Force")
			endIf
		elseIf(option == conjurationMID)
			if playerMagicka >= conjurationMcost
				playerMagicka -= conjurationMcost
				Game.GetPlayer().SetActorValue("magicka", playerMagicka)
				Game.IncrementSkill("conjuration")
				Debug.MessageBox("Conjuration Increased to "+(conjurationlvl+1))
				ForcePageReset()
			else
				Debug.MessageBox("Not enough Magic Force")
			endIf
		elseIf(option == conjurationSID)
			if playerStamina >= conjurationNcost
				playerStamina -= conjurationNcost
				Game.GetPlayer().SetActorValue("stamina", playerStamina)
				Game.IncrementSkill("conjuration")
				Debug.MessageBox("Conjuration Increased to "+(conjurationlvl+1))
				ForcePageReset()
			else
				Debug.MessageBox("Not enough Energy Force")
			endIf
		elseIf(option == conjurationXID)
			if HeartXP >= conjurationXcost
				HeartXP -= conjurationXcost
				DfSV_PCSheartXP.SetValue(HeartXP)
				Game.IncrementSkill("conjuration")
				Debug.MessageBox("Conjuration Increased to "+(conjurationlvl+1))
				ForcePageReset()
			else
				Debug.MessageBox("Not enough HeartXP")
			endIf
		;end/
		;ent/ Destruction
		elseIf(option == destructionHID)
			if playerHealth >= destructionNcost
				playerHealth -= destructionNcost
				Game.GetPlayer().SetActorValue("health", playerHealth)
				Game.IncrementSkill("destruction")
				Debug.MessageBox("Destruction Increased to "+(destructionlvl+1))
				ForcePageReset()
			else
				Debug.MessageBox("Not enough Health Force")
			endIf
		elseIf(option == destructionMID)
			if playerMagicka >= destructionMcost
				playerMagicka -= destructionMcost
				Game.GetPlayer().SetActorValue("magicka", playerMagicka)
				Game.IncrementSkill("destruction")
				Debug.MessageBox("Destruction Increased to "+(destructionlvl+1))
				ForcePageReset()
			else
				Debug.MessageBox("Not enough Magic Force")
			endIf
		elseIf(option == destructionSID)
			if playerStamina >= destructionNcost
				playerStamina -= destructionNcost
				Game.GetPlayer().SetActorValue("stamina", playerStamina)
				Game.IncrementSkill("destruction")
				Debug.MessageBox("Destruction Increased to "+(destructionlvl+1))
				ForcePageReset()
			else
				Debug.MessageBox("Not enough Energy Force")
			endIf
		elseIf(option == destructionXID)
			if HeartXP >= destructionXcost
				HeartXP -= destructionXcost
				DfSV_PCSheartXP.SetValue(HeartXP)
				Game.IncrementSkill("destruction")
				Debug.MessageBox("Destruction Increased to "+(destructionlvl+1))
				ForcePageReset()
			else
				Debug.MessageBox("Not enough HeartXP")
			endIf
		;end/
		;ent/ Enchanting
		elseIf(option == enchantingHID)
			if playerHealth >= enchantingMcost
				playerHealth -= enchantingMcost
				Game.GetPlayer().SetActorValue("health", playerHealth)
				Game.IncrementSkill("enchanting")
				Debug.MessageBox("Enchanting Increased to "+(enchantinglvl+1))
				ForcePageReset()
			else
				Debug.MessageBox("Not enough Health Force")
			endIf
		elseIf(option == enchantingMID)
			if playerMagicka >= enchantingMcost
				playerMagicka -= enchantingMcost
				Game.GetPlayer().SetActorValue("magicka", playerMagicka)
				Game.IncrementSkill("enchanting")
				Debug.MessageBox("Enchanting Increased to "+(enchantinglvl+1))
				ForcePageReset()
			else
				Debug.MessageBox("Not enough Magic Force")
			endIf
		elseIf(option == enchantingSID)
			if playerStamina >= enchantingMcost
				playerStamina -= enchantingMcost
				Game.GetPlayer().SetActorValue("stamina", playerStamina)
				Game.IncrementSkill("enchanting")
				Debug.MessageBox("Enchanting Increased to "+(enchantinglvl+1))
				ForcePageReset()
			else
				Debug.MessageBox("Not enough Energy Force")
			endIf
		elseIf(option == enchantingXID)
			if HeartXP >= enchantingXcost
				HeartXP -= enchantingXcost
				DfSV_PCSheartXP.SetValue(HeartXP)
				Game.IncrementSkill("enchanting")
				Debug.MessageBox("Enchanting Increased to "+(enchantinglvl+1))
				ForcePageReset()
			else
				Debug.MessageBox("Not enough HeartXP")
			endIf
		;end/
		;ent/ Heavy Armor
		elseIf(option == heavyarmorHID)
			if playerHealth >= heavyarmorMcost
				playerHealth -= heavyarmorMcost
				Game.GetPlayer().SetActorValue("health", playerHealth)
				Game.IncrementSkill("heavyarmor")
				Debug.MessageBox("Heavy Armor Increased to "+(heavyarmorlvl+1))
				ForcePageReset()
			else
				Debug.MessageBox("Not enough Health Force")
			endIf
		elseIf(option == heavyarmorMID)
			if playerMagicka >= heavyarmorNcost
				playerMagicka -= heavyarmorNcost
				Game.GetPlayer().SetActorValue("magicka", playerMagicka)
				Game.IncrementSkill("heavyarmor")
				Debug.MessageBox("Heavy Armor Increased to "+(heavyarmorlvl+1))
				ForcePageReset()
			else
				Debug.MessageBox("Not enough Magic Force")
			endIf
		elseIf(option == heavyarmorSID)
			if playerStamina >= heavyarmorNcost
				playerStamina -= heavyarmorNcost
				Game.GetPlayer().SetActorValue("stamina", playerStamina)
				Game.IncrementSkill("heavyarmor")
				Debug.MessageBox("Heavy Armor Increased to "+(heavyarmorlvl+1))
				ForcePageReset()
			else
				Debug.MessageBox("Not enough Energy Force")
			endIf
		elseIf(option == heavyarmorXID)
			if HeartXP >= heavyarmorXcost
				HeartXP -= heavyarmorXcost
				DfSV_PCSheartXP.SetValue(HeartXP)
				Game.IncrementSkill("heavyarmor")
				Debug.MessageBox("Heavy Armor Increased to "+(heavyarmorlvl+1))
				ForcePageReset()
			else
				Debug.MessageBox("Not enough HeartXP")
			endIf
		;end/
		;ent/ Illusion
		elseIf(option == illusionHID)
			if playerHealth >= illusionNcost
				playerHealth -= illusionNcost
				Game.GetPlayer().SetActorValue("health", playerHealth)
				Game.IncrementSkill("illusion")
				Debug.MessageBox("Illusion Increased to "+(illusionlvl+1))
				ForcePageReset()
			else
				Debug.MessageBox("Not enough Health Force")
			endIf
		elseIf(option == illusionMID)
			if playerMagicka >= illusionMcost
				playerMagicka -= illusionMcost
				Game.GetPlayer().SetActorValue("magicka", playerMagicka)
				Game.IncrementSkill("illusion")
				Debug.MessageBox("Illusion Increased to "+(illusionlvl+1))
				ForcePageReset()
			else
				Debug.MessageBox("Not enough Magic Force")
			endIf
		elseIf(option == illusionSID)
			if playerStamina >= illusionNcost
				playerStamina -= illusionNcost
				Game.GetPlayer().SetActorValue("stamina", playerStamina)
				Game.IncrementSkill("illusion")
				Debug.MessageBox("Illusion Increased to "+(illusionlvl+1))
				ForcePageReset()
			else
				Debug.MessageBox("Not enough Energy Force")
			endIf
		elseIf(option == illusionXID)
			if HeartXP >= illusionXcost
				HeartXP -= illusionXcost
				DfSV_PCSheartXP.SetValue(HeartXP)
				Game.IncrementSkill("illusion")
				Debug.MessageBox("Illusion Increased to "+(illusionlvl+1))
				ForcePageReset()
			else
				Debug.MessageBox("Not enough HeartXP")
			endIf
		;end/
		;ent/ Light Armor
		elseIf(option == lightarmorHID)
			if playerHealth >= lightarmorNcost
				playerHealth -= lightarmorNcost
				Game.GetPlayer().SetActorValue("health", playerHealth)
				Game.IncrementSkill("lightarmor")
				Debug.MessageBox("Light Armor Increased to "+(lightarmorlvl+1))
				ForcePageReset()
			else
				Debug.MessageBox("Not enough Health Force")
			endIf
		elseIf(option == lightarmorMID)
			if playerMagicka >= lightarmorNcost
				playerMagicka -= lightarmorNcost
				Game.GetPlayer().SetActorValue("magicka", playerMagicka)
				Game.IncrementSkill("lightarmor")
				Debug.MessageBox("Light Armor Increased to "+(lightarmorlvl+1))
				ForcePageReset()
			else
				Debug.MessageBox("Not enough Magic Force")
			endIf
		elseIf(option == lightarmorSID)
			if playerStamina >= lightarmorMcost
				playerStamina -= lightarmorMcost
				Game.GetPlayer().SetActorValue("stamina", playerStamina)
				Game.IncrementSkill("lightarmor")
				Debug.MessageBox("Light Armor Increased to "+(lightarmorlvl+1))
				ForcePageReset()
			else
				Debug.MessageBox("Not enough Energy Force")
			endIf
		elseIf(option == lightarmorXID)
			if HeartXP >= lightarmorXcost
				HeartXP -= lightarmorXcost
				DfSV_PCSheartXP.SetValue(HeartXP)
				Game.IncrementSkill("lightarmor")
				Debug.MessageBox("Light Armor Increased to "+(lightarmorlvl+1))
				ForcePageReset()
			else
				Debug.MessageBox("Not enough HeartXP")
			endIf
		;end/
		;ent/ Lockpicking
		elseIf(option == lockpickingHID)
			if playerHealth >= lockpickingNcost
				playerHealth -= lockpickingNcost
				Game.GetPlayer().SetActorValue("health", playerHealth)
				Game.IncrementSkill("lockpicking")
				Debug.MessageBox("Lockpicking Increased to "+(lockpickinglvl+1))
				ForcePageReset()
			else
				Debug.MessageBox("Not enough Health Force")
			endIf
		elseIf(option == lockpickingMID)
			if playerMagicka >= lockpickingNcost
				playerMagicka -= lockpickingNcost
				Game.GetPlayer().SetActorValue("magicka", playerMagicka)
				Game.IncrementSkill("lockpicking")
				Debug.MessageBox("Lockpicking Increased to "+(lockpickinglvl+1))
				ForcePageReset()
			else
				Debug.MessageBox("Not enough Magic Force")
			endIf
		elseIf(option == lockpickingSID)
			if playerStamina >= lockpickingMcost
				playerStamina -= lockpickingMcost
				Game.GetPlayer().SetActorValue("stamina", playerStamina)
				Game.IncrementSkill("lockpicking")
				Debug.MessageBox("Lockpicking Increased to "+(lockpickinglvl+1))
				ForcePageReset()
			else
				Debug.MessageBox("Not enough Energy Force")
			endIf
		elseIf(option == lockpickingXID)
			if HeartXP >= lockpickingXcost
				HeartXP -= lockpickingXcost
				DfSV_PCSheartXP.SetValue(HeartXP)
				Game.IncrementSkill("lockpicking")
				Debug.MessageBox("Lockpicking Increased to "+(lockpickinglvl+1))
				ForcePageReset()
			else
				Debug.MessageBox("Not enough HeartXP")
			endIf
		;end/
		;ent/ Marksman
		elseIf(option == marksmanHID)
			if playerHealth >= marksmanNcost
				playerHealth -= marksmanNcost
				Game.GetPlayer().SetActorValue("health", playerHealth)
				Game.IncrementSkill("marksman")
				Debug.MessageBox("Marksman Increased to "+(marksmanlvl+1))
				ForcePageReset()
			else
				Debug.MessageBox("Not enough Health Force")
			endIf
		elseIf(option == marksmanMID)
			if playerMagicka >= marksmanNcost
				playerMagicka -= marksmanNcost
				Game.GetPlayer().SetActorValue("magicka", playerMagicka)
				Game.IncrementSkill("marksman")
				Debug.MessageBox("Marksman Increased to "+(marksmanlvl+1))
				ForcePageReset()
			else
				Debug.MessageBox("Not enough Magic Force")
			endIf
		elseIf(option == marksmanSID)
			if playerStamina >= marksmanMcost
				playerStamina -= marksmanMcost
				Game.GetPlayer().SetActorValue("stamina", playerStamina)
				Game.IncrementSkill("marksman")
				Debug.MessageBox("Marksman Increased to "+(marksmanlvl+1))
				ForcePageReset()
			else
				Debug.MessageBox("Not enough Energy Force")
			endIf
		elseIf(option == marksmanXID)
			if HeartXP >= marksmanXcost
				HeartXP -= marksmanXcost
				DfSV_PCSheartXP.SetValue(HeartXP)
				Game.IncrementSkill("marksman")
				Debug.MessageBox("Marksman Increased to "+(marksmanlvl+1))
				ForcePageReset()
			else
				Debug.MessageBox("Not enough HeartXP")
			endIf
		;end/
		;ent/ One-Handed
		elseIf(option == onehandedHID)
			if playerHealth >= onehandedMcost
				playerHealth -= onehandedMcost
				Game.GetPlayer().SetActorValue("health", playerHealth)
				Game.IncrementSkill("onehanded")
				Debug.MessageBox("One-Handed Increased to "+(onehandedlvl+1))
				ForcePageReset()
			else
				Debug.MessageBox("Not enough Health Force")
			endIf
		elseIf(option == onehandedMID)
			if playerMagicka >= onehandedNcost
				playerMagicka -= onehandedNcost
				Game.GetPlayer().SetActorValue("magicka", playerMagicka)
				Game.IncrementSkill("onehanded")
				Debug.MessageBox("One-Handed Increased to "+(onehandedlvl+1))
				ForcePageReset()
			else
				Debug.MessageBox("Not enough Magic Force")
			endIf
		elseIf(option == onehandedSID)
			if playerStamina >= onehandedNcost
				playerStamina -= onehandedNcost
				Game.GetPlayer().SetActorValue("stamina", playerStamina)
				Game.IncrementSkill("onehanded")
				Debug.MessageBox("One-Handed Increased to "+(onehandedlvl+1))
				ForcePageReset()
			else
				Debug.MessageBox("Not enough Energy Force")
			endIf
		elseIf(option == onehandedXID)
			if HeartXP >= onehandedXcost
				HeartXP -= onehandedXcost
				DfSV_PCSheartXP.SetValue(HeartXP)
				Game.IncrementSkill("onehanded")
				Debug.MessageBox("One-Handed Increased to "+(onehandedlvl+1))
				ForcePageReset()
			else
				Debug.MessageBox("Not enough HeartXP")
			endIf
		;end/
		;ent/ Pickpocket
		elseIf(option == pickpocketHID)
			if playerHealth >= pickpocketMcost
				playerHealth -= pickpocketMcost
				Game.GetPlayer().SetActorValue("health", playerHealth)
				Game.IncrementSkill("pickpocket")
				Debug.MessageBox("Pickpocket Increased to "+(pickpocketlvl+1))
				ForcePageReset()
			else
				Debug.MessageBox("Not enough Health Force")
			endIf
		elseIf(option == pickpocketMID)
			if playerMagicka >= pickpocketMcost
				playerMagicka -= pickpocketMcost
				Game.GetPlayer().SetActorValue("magicka", playerMagicka)
				Game.IncrementSkill("pickpocket")
				Debug.MessageBox("Pickpocket Increased to "+(pickpocketlvl+1))
				ForcePageReset()
			else
				Debug.MessageBox("Not enough Magic Force")
			endIf
		elseIf(option == pickpocketSID)
			if playerStamina >= pickpocketMcost
				playerStamina -= pickpocketMcost
				Game.GetPlayer().SetActorValue("stamina", playerStamina)
				Game.IncrementSkill("pickpocket")
				Debug.MessageBox("Pickpocket Increased to "+(pickpocketlvl+1))
				ForcePageReset()
			else
				Debug.MessageBox("Not enough Energy Force")
			endIf
		elseIf(option == pickpocketXID)
			if HeartXP >= pickpocketXcost
				HeartXP -= pickpocketXcost
				DfSV_PCSheartXP.SetValue(HeartXP)
				Game.IncrementSkill("pickpocket")
				Debug.MessageBox("Pickpocket Increased to "+(pickpocketlvl+1))
				ForcePageReset()
			else
				Debug.MessageBox("Not enough HeartXP")
			endIf
		;end/
		;ent/ Restoration
		elseIf(option == restorationHID)
			if playerHealth >= restorationNcost
				playerHealth -= restorationNcost
				Game.GetPlayer().SetActorValue("health", playerHealth)
				Game.IncrementSkill("restoration")
				Debug.MessageBox("Restoration Increased to "+(restorationlvl+1))
				ForcePageReset()
			else
				Debug.MessageBox("Not enough Health Force")
			endIf
		elseIf(option == restorationMID)
			if playerMagicka >= restorationMcost
				playerMagicka -= restorationMcost
				Game.GetPlayer().SetActorValue("magicka", playerMagicka)
				Game.IncrementSkill("restoration")
				Debug.MessageBox("Restoration Increased to "+(restorationlvl+1))
				ForcePageReset()
			else
				Debug.MessageBox("Not enough Magic Force")
			endIf
		elseIf(option == restorationSID)
			if playerStamina >= restorationNcost
				playerStamina -= restorationNcost
				Game.GetPlayer().SetActorValue("stamina", playerStamina)
				Game.IncrementSkill("restoration")
				Debug.MessageBox("Restoration Increased to "+(restorationlvl+1))
				ForcePageReset()
			else
				Debug.MessageBox("Not enough Energy Force")
			endIf
		elseIf(option == restorationXID)
			if HeartXP >= restorationXcost
				HeartXP -= restorationXcost
				DfSV_PCSheartXP.SetValue(HeartXP)
				Game.IncrementSkill("restoration")
				Debug.MessageBox("Restoration Increased to "+(restorationlvl+1))
				ForcePageReset()
			else
				Debug.MessageBox("Not enough HeartXP")
			endIf
		;end/
		;ent/ Smithing
		elseIf(option == smithingHID)
			if playerHealth >= smithingMcost
				playerHealth -= smithingMcost
				Game.GetPlayer().SetActorValue("health", playerHealth)
				Game.IncrementSkill("smithing")
				Debug.MessageBox("Smithing Increased to "+(smithinglvl+1))
				ForcePageReset()
			else
				Debug.MessageBox("Not enough Health Force")
			endIf
		elseIf(option == smithingMID)
			if playerMagicka >= smithingMcost
				playerMagicka -= smithingMcost
				Game.GetPlayer().SetActorValue("magicka", playerMagicka)
				Game.IncrementSkill("smithing")
				Debug.MessageBox("Smithing Increased to "+(smithinglvl+1))
				ForcePageReset()
			else
				Debug.MessageBox("Not enough Magic Force")
			endIf
		elseIf(option == smithingSID)
			if playerStamina >= smithingMcost
				playerStamina -= smithingMcost
				Game.GetPlayer().SetActorValue("stamina", playerStamina)
				Game.IncrementSkill("smithing")
				Debug.MessageBox("Smithing Increased to "+(smithinglvl+1))
				ForcePageReset()
			else
				Debug.MessageBox("Not enough Energy Force")
			endIf
		elseIf(option == smithingXID)
			if HeartXP >= smithingXcost
				HeartXP -= smithingXcost
				DfSV_PCSheartXP.SetValue(HeartXP)
				Game.IncrementSkill("smithing")
				Debug.MessageBox("Smithing Increased to "+(smithinglvl+1))
				ForcePageReset()
			else
				Debug.MessageBox("Not enough HeartXP")
			endIf
		;end/
		;ent/ Sneak
		elseIf(option == sneakHID)
			if playerHealth >= sneakNcost
				playerHealth -= sneakNcost
				Game.GetPlayer().SetActorValue("health", playerHealth)
				Game.IncrementSkill("sneak")
				Debug.MessageBox("Sneak Increased to "+(sneaklvl+1))
				ForcePageReset()
			else
				Debug.MessageBox("Not enough Health Force")
			endIf
		elseIf(option == sneakMID)
			if playerMagicka >= sneakNcost
				playerMagicka -= sneakNcost
				Game.GetPlayer().SetActorValue("magicka", playerMagicka)
				Game.IncrementSkill("sneak")
				Debug.MessageBox("Sneak Increased to "+(sneaklvl+1))
				ForcePageReset()
			else
				Debug.MessageBox("Not enough Magic Force")
			endIf
		elseIf(option == sneakSID)
			if playerStamina >= sneakMcost
				playerStamina -= sneakMcost
				Game.GetPlayer().SetActorValue("stamina", playerStamina)
				Game.IncrementSkill("sneak")
				Debug.MessageBox("Sneak Increased to "+(sneaklvl+1))
				ForcePageReset()
			else
				Debug.MessageBox("Not enough Energy Force")
			endIf
		elseIf(option == sneakXID)
			if HeartXP >= sneakXcost
				HeartXP -= sneakXcost
				DfSV_PCSheartXP.SetValue(HeartXP)
				Game.IncrementSkill("sneak")
				Debug.MessageBox("Sneak Increased to "+(sneaklvl+1))
				ForcePageReset()
			else
				Debug.MessageBox("Not enough HeartXP")
			endIf
		;end/
		;ent/ Speechcraft
		elseIf(option == speechcraftHID)
			if playerHealth >= speechcraftMcost
				playerHealth -= speechcraftMcost
				Game.GetPlayer().SetActorValue("health", playerHealth)
				Game.IncrementSkill("speechcraft")
				Debug.MessageBox("Speechcraft Increased to "+(speechcraftlvl+1))
				ForcePageReset()
			else
				Debug.MessageBox("Not enough Health Force")
			endIf
		elseIf(option == speechcraftMID)
			if playerMagicka >= speechcraftMcost
				playerMagicka -= speechcraftMcost
				Game.GetPlayer().SetActorValue("magicka", playerMagicka)
				Game.IncrementSkill("speechcraft")
				Debug.MessageBox("Speechcraft Increased to "+(speechcraftlvl+1))
				ForcePageReset()
			else
				Debug.MessageBox("Not enough Magic Force")
			endIf
		elseIf(option == speechcraftSID)
			if playerStamina >= speechcraftMcost
				playerStamina -= speechcraftMcost
				Game.GetPlayer().SetActorValue("stamina", playerStamina)
				Game.IncrementSkill("speechcraft")
				Debug.MessageBox("Speechcraft Increased to "+(speechcraftlvl+1))
				ForcePageReset()
			else
				Debug.MessageBox("Not enough Energy Force")
			endIf
		elseIf(option == speechcraftXID)
			if HeartXP >= speechcraftXcost
				HeartXP -= speechcraftXcost
				DfSV_PCSheartXP.SetValue(HeartXP)
				Game.IncrementSkill("speechcraft")
				Debug.MessageBox("Speechcraft Increased to "+(speechcraftlvl+1))
				ForcePageReset()
			else
				Debug.MessageBox("Not enough HeartXP")
			endIf
		;end/
		;ent/ Two-Handed
		elseIf(option == twohandedHID)
			if playerHealth >= twohandedMcost
				playerHealth -= twohandedMcost
				Game.GetPlayer().SetActorValue("health", playerHealth)
				Game.IncrementSkill("twohanded")
				Debug.MessageBox("Two-Handed Increased to "+(twohandedlvl+1))
				ForcePageReset()
			else
				Debug.MessageBox("Not enough Health Force")
			endIf
		elseIf(option == twohandedMID)
			if playerMagicka >= twohandedNcost
				playerMagicka -= twohandedNcost
				Game.GetPlayer().SetActorValue("magicka", playerMagicka)
				Game.IncrementSkill("twohanded")
				Debug.MessageBox("Two-Handed Increased to "+(twohandedlvl+1))
				ForcePageReset()
			else
				Debug.MessageBox("Not enough Magic Force")
			endIf
		elseIf(option == twohandedSID)
			if playerStamina >= twohandedNcost
				playerStamina -= twohandedNcost
				Game.GetPlayer().SetActorValue("stamina", playerStamina)
				Game.IncrementSkill("twohanded")
				Debug.MessageBox("Two-Handed Increased to "+(twohandedlvl+1))
				ForcePageReset()
			else
				Debug.MessageBox("Not enough Energy Force")
			endIf
		elseIf(option == twohandedXID)
			if HeartXP >= twohandedXcost
				HeartXP -= twohandedXcost
				DfSV_PCSheartXP.SetValue(HeartXP)
				Game.IncrementSkill("twohanded")
				Debug.MessageBox("Two-Handed Increased to "+(twohandedlvl+1))
				ForcePageReset()
			else
				Debug.MessageBox("Not enough HeartXP")
			endIf
		;end/
	;end/
	;ent/ HeartXP
		;ent/ Heart Force Max
		elseIf(option == increaseHFmaxID)
			if HeartXP >= heartforceXcost
				HeartXP -= heartforceXcost
				DfSV_PCSheartXP.SetValue(HeartXP)
				int playerHeartMax = Math.Floor(DfSV_PCSheartForceMax.getValue())
				playerHeartMax += 10
				DfSV_PCSheartForceMax.SetValue(playerHeartMax)
				debug.MessageBox("Max Heart Force Increased to "+playerHeartMax)
				ForcePageReset()
			else
				debug.MessageBox("Not enough HeartXP")
			endIf
		;end/
		;ent/ Health Absorb
		elseIf(option == incabsorbHID)
			if HeartXP >= healthXcost
				HeartXP -= healthXcost
				DfSV_PCSheartXP.SetValue(HeartXP)
				int playerAbsorbH = Math.Floor(DfSV_PCShpabsorb.getValue())
				playerAbsorbH += 1
				DfSV_PCShpabsorb.SetValue(playerAbsorbH)
				debug.MessageBox("Health Absorption Increased to "+playerAbsorbH)
				ForcePageReset()
			else
				debug.MessageBox("Not enough HeartXP")
			endIf
		;end/
		;ent/ Magicka Absorb
		elseIf(option == incabsorbMID)
			if HeartXP >= magicXcost
				HeartXP -= magicXcost
				DfSV_PCSheartXP.SetValue(HeartXP)
				int playerAbsorbM = Math.Floor(DfSV_PCSmpabsorb.getValue())
				playerAbsorbM += 1
				DfSV_PCSmpabsorb.SetValue(playerAbsorbM)
				debug.MessageBox("Magic Absorption Increased to "+playerAbsorbM)
				ForcePageReset()
			else
				debug.MessageBox("Not enough HeartXP")
			endIf
		;end/
		;ent/ Stamina Absorb
		elseIf(option == incabsorbSID)
			if HeartXP >= energyXcost
				HeartXP -= energyXcost
				DfSV_PCSheartXP.SetValue(HeartXP)
				int playerAbsorbS = Math.Floor(DfSV_PCSspabsorb.getValue())
				playerAbsorbS += 1
				DfSV_PCSspabsorb.SetValue(playerAbsorbS)
				debug.MessageBox("Stamina Absorption Increased to "+playerAbsorbS)
				ForcePageReset()
			else
				debug.MessageBox("Not enough HeartXP")
			endIf
		;end/
		;ent/ HeartXP Gain
		elseIf(option == incXPgainID)
			if HeartXP >= HeartXPcost
				HeartXP -= HeartXPcost
				DfSV_PCSheartXP.SetValue(HeartXP)
				int playerXPgain = Math.Floor(DfSV_PCSheartXPgain.getValue())
				playerXPgain += 1
				DfSV_PCSheartXPgain.SetValue(playerXPgain)
				debug.MessageBox("HeartXP Gain Increased to "+playerXPgain+"%")
				ForcePageReset()
			else
				debug.MessageBox("Not enough HeartXP")
			endIf
		;end/
		;ent/ Sperm Health
		elseIf(option == spermehID)
			if HeartXP >= spermHcost
				HeartXP -= spermHcost
				DfSV_PCSheartXP.SetValue(HeartXP)
				int spermh = Math.Floor(DfSV_PCSspermhvalue.getValue())
				spermh += 1
				DfSV_PCSspermhvalue.SetValue(spermh)
				debug.MessageBox("Health Sperm Effect Increased to "+spermh)
				ForcePageReset()
			else
				debug.MessageBox("Not enough HeartXP")
			endIf
		;end/
		;ent/ Sperm Magicka
		elseIf(option == spermemID)
			if HeartXP >= spermMcost
				HeartXP -= spermMcost
				DfSV_PCSheartXP.SetValue(HeartXP)
				int spermm = Math.Floor(DfSV_PCSspermmvalue.getValue())
				spermm += 1
				DfSV_PCSspermmvalue.SetValue(spermm)
				debug.MessageBox("Magic Sperm Effect Increased to "+spermm)
				ForcePageReset()
			else
				debug.MessageBox("Not enough HeartXP")
			endIf
		;end/
		;ent/ Sperm Stamina
		elseIf(option == spermesID)
			if HeartXP >= spermScost
				HeartXP -= spermScost
				DfSV_PCSheartXP.SetValue(HeartXP)
				int sperms = Math.Floor(DfSV_PCSspermsvalue.getValue())
				sperms += 1
				DfSV_PCSspermsvalue.SetValue(sperms)
				debug.MessageBox("Energy Sperm Effect Increased to "+sperms)
				ForcePageReset()
			else
				debug.MessageBox("Not enough HeartXP")
			endIf
		;end/
	;end/
	;ent/ Heart Spells
		;ent/ Casting Spells
		elseIf(option == ssFocusShotID)
			If(Game.GetPlayer().HasSpell(DfSV_ss_focusshot))
				debug.MessageBox("You have already learned Focus Shot")
				ssFocusShot = true
			else
				Game.GetPlayer().AddSpell(DfSV_ss_focusshot)
				debug.MessageBox("You have learned Focus Shot")
				ssFocusShot = true
			endIf
		elseIf(option == ssDarkPierceID)
			If(Game.GetPlayer().HasSpell(DfSV_ss_darkpierce))
				debug.MessageBox("You have already learned Dark Pierce")
				ssDarkPierce = true
			elseIf HeartXP >= 50000
				HeartXP -= 50000
				DfSV_PCSheartXP.SetValue(HeartXP)
				Game.GetPlayer().AddSpell(DfSV_ss_darkpierce)
				debug.MessageBox("You have learned Dark Pierce")
				ssDarkPierce = true
			else
				debug.MessageBox("Not enough HeartXP")
				ssDarkPierce = false
			endIf
		;end/
		;ent/ Passive Spells
		elseIf(option == spStickySpermLoverID)
				float bcheck = DfSV_spX_stickyspermlover.GetValue()
			If(bcheck >= 1)
				spStickySpermLover = true
				debug.MessageBox("You have already learned Sticky Sperm Lover")
			elseIf HeartXP >= 80000
				HeartXP -= 80000
				DfSV_PCSheartXP.SetValue(HeartXP)
				float bset = 1
				DfSV_spX_stickyspermlover.SetValue(bset)
				spStickySpermLover = true
				debug.MessageBox("You have become a Sticky Sperm Lover")
			else
				debug.MessageBox("Not enough HeartXP")
			endIf
		elseIf(option == spSweetSpermLoverID)
				float bcheck = DfSV_spX_sweetspermlover.GetValue()
			If(bcheck >= 1)
				spSweetSpermLover = true
				debug.MessageBox("You have already learned Sweet Sperm Lover")
			elseIf HeartXP >= 80000
				HeartXP -= 80000
				DfSV_PCSheartXP.SetValue(HeartXP)
				float bset = 1
				DfSV_spX_sweetspermlover.SetValue(bset)
				spSweetSpermLover = true
				debug.MessageBox("You have become a Sweet Sperm Lover")
			else
				debug.MessageBox("Not enough HeartXP")
			endIf
		elseIf(option == spWarmSpermLoverID)
				float bcheck = DfSV_spX_warmspermlover.GetValue()
			If(bcheck >= 1)
				spWarmSpermLover = true
				debug.MessageBox("You have already learned Warm Sperm Lover")
			elseIf HeartXP >= 80000
				HeartXP -= 80000
				DfSV_PCSheartXP.SetValue(HeartXP)
				float bset = 1
				DfSV_spX_warmspermlover.SetValue(bset)
				spWarmSpermLover = true
				debug.MessageBox("You have become a Warm Sperm Lover")
			else
				debug.MessageBox("Not enough HeartXP")
			endIf
		elseIf(option == spThickSpermLoverID)
				float bcheck = DfSV_spX_thickspermlover.GetValue()
			If(bcheck >= 1)
				spThickSpermLover = true
				debug.MessageBox("You have already learned Thick Sperm Lover")
			elseIf HeartXP >= 80000
				HeartXP -= 80000
				DfSV_PCSheartXP.SetValue(HeartXP)
				float bset = 1
				DfSV_spX_thickspermlover.SetValue(bset)
				spThickSpermLover = true
				debug.MessageBox("You have become a Thick Sperm Lover")
			else
				debug.MessageBox("Not enough HeartXP")
			endIf
		;end/
	;end/
	;Settings
	
	endIf
endEvent
;end/
;ent/ OnOptionDefault
Event OnOptionDefault(int option)
	
endEvent
;end/
;ent/ OnOptionHighlight
Event OnOptionHighlight(int option)
	
	;ent/ Status
		;ent/ Left Side
			if(option == playerHealthID)
				SetInfoText("Character's base Health")
			elseIf(option == playerMagickaID)
				SetInfoText("Character's base Magicka")
			elseIf(option == playerStaminaID)
				SetInfoText("Character's base Stamina")
		;end/
		;ent/ Right Side
			elseif(option == playerHeartXPID)
				SetInfoText("Current HeartXP Amount")
			elseIf(option == playerHeartForceID)
				SetInfoText("Current Heart Force")
			endIf
		;end/
	;end/
	;ent/ Heart Spells
		;ent/ Casting Spells
			if(option == ssFocusShotID)
				SetInfoText("Consumes 10% of your current Heart Force and damages the target by that amount. 50% of that goes into HeartXP.")
			elseIf(option == ssDarkPierceID)
				SetInfoText("Consume 20% of your Health/Magicka/Stamina and damage the target's Health/Magicka/Stamina by that amount. 50% total of that goes into HeartXP")
		;end/
		;ent/ Passive Spells
			elseIf(option == spStickySpermLoverID)
				SetInfoText("Consuming Sticky Sperm increases Magicka regeneration for 5 seconds")
			elseIf(option == spSweetSpermLoverID)
				SetInfoText("Consuming Sweet Sperm increases Stamina regeneration for 5 seconds")
			elseIf(option == spWarmSpermLoverID)
				SetInfoText("Consuming Warm Sperm increases Health regeneration for 5 seconds")
			elseIf(option == spThickSpermLoverID)
				SetInfoText("Consuming Thick Sperm increases Health/Magicka/Stamina regeneration for 3 seconds")
			endIf
		;end/
	;end/
	endEvent
;end/