Scriptname TEGTelMQ03script extends Quest  

MiscObject Property telvannisapphire  Auto  
Actor Property TelKullyOdol  Auto
MiscObject Property PlayerGold  Auto  
ObjectReference Property TELMQ03Lootchestref  Auto  

Function giveplayergold()
Game.GetPlayer().AddItem(PlayerGold, 200)
TelKullyOdol.Enable()
SetCurrentStageID(10)
endfunction

Function placebandits()
SetCurrentStageID(20)
TELMQ03Lootchestref.Enable()
endfunction

Function giveplayergold02()
Game.GetPlayer().AddItem(PlayerGold, 200)
endfunction

Function givebanditgold()
Game.GetPlayer().Removeitem(PlayerGold, 200)
endfunction

Function cleanup01()
Game.GetPlayer().AddItem(PlayerGold, 500)
Game.GetPlayer().Removeitem(telvannisapphire, 1)
TELMQ03Lootchestref.disable()
TelKullyOdol.disable()
SetObjectiveCompleted(30)
SetCurrentStageID(40)
CompleteQuest()
endfunction


