ScriptName _amm_AcquireSummonSpellScript Extends ObjectReference

Actor Property acPlayer Auto
ObjectReference Property orBarrelOrig Auto
ObjectReference Property orBarrelFinal Auto
GlobalVariable Property gvBarrelQst Auto

Event OnContainerChanged(ObjectReference akNewContainer, ObjectReference akOldContainer)

	If (akNewContainer == acPlayer)
		orBarrelOrig.Disable(True)
		orBarrelFinal.Enable()
		gvBarrelQst.SetValue(1)
	EndIf
	
EndEvent
