Scriptname aaUCSkullCauldronScript extends ObjectReference  
{Script for placing skulls into Morfrans cauldron}

Message property SkullMsg auto
{Skull Message}

MiscObject property HumanSkull auto
{Human Skull}

MiscObject property TrollSkull auto
{Troll Skull}

MiscObject property Gold Auto
{Gold}

Sound property BoneSound auto
{Bone Sound}

Event OnActivate(ObjectReference akActionRef)
  
	Int iButton = SkullMsg.Show()

	If (iButton == 0)
        	Game.GetPlayer().RemoveItem(HumanSkull, 1)
		BoneSound.Play(Self)
		Game.GetPlayer().AddItem(Gold, 40)

	ElseIf (iButton == 1)
		Game.GetPlayer().RemoveItem(TrollSkull, 1)
		BoneSound.Play(Self)
		Game.GetPlayer().AddItem(Gold, 60)
       
	ElseIf (iButton == 2)
		Return 
       EndIf

endEvent