Scriptname tegtelmq02script extends Quest  

Actor Property TargetActor  Auto  
MiscObject Property PlayerGold  Auto  
WEAPON Property telpackagestaff  Auto  
ObjectReference Property tegbanditenabler  Auto  

Function enablecourier()
targetactor.Enable()
SetCurrentStageID(10)
endfunction

Function giveplayerstaff()
Game.GetPlayer().AddItem(telpackagestaff, 1)
SetCurrentStageID(20)
endfunction

Function enablebandits()
tegbanditenabler.Enable()
endfunction

Function cleanupquest()
targetactor.Disable()
tegbanditenabler.Disable()
Game.GetPlayer().AddItem(PlayerGold, 500)
Game.GetPlayer().Removeitem(telpackagestaff, 1)
SetCurrentStageID(30)
endfunction


