ScriptName BetterVampiresInitialization extends Quest conditional

Spell Property BetterVampiresMenuOptionsSpell Auto
Perk Property VampireFeed Auto
GlobalVariable Property VampireMenuSpell Auto

EVENT OnInit()

	If VampireMenuSpell.GetValue() == 0
		Game.GetPlayer().AddSpell(BetterVampiresMenuOptionsSpell, abVerbose = False)
	ElseIf VampireMenuSpell.GetValue() == 10000
		Game.GetPlayer().RemoveSpell(BetterVampiresMenuOptionsSpell)		
	EndIf	
	
	If Game.GetPlayer().HasPerk(VampireFeed) == False
		Game.GetPlayer().AddPerk(VampireFeed)	
	EndIf		
	
EndEvent
