Scriptname tegtelvannihousemq01script extends Quest  

MiscObject Property PlayerGold  Auto  
Key Property telvannihallkey  Auto  
Key Property telvannihallplayerroomkey  Auto  
Faction Property Telvannihallfaction  Auto  
Quest Property TEGTelvanniHallMQ02  Auto  
Quest Property TEGTelvanniHallMQ03  Auto  
Quest Property TEGTelvanniHallMQ04  Auto  
Quest Property TEG_BackgroundStory  Auto  

Function take2000gold()
Game.GetPlayer().RemoveItem(PlayerGold, 2000)
Game.GetPlayer().AddItem(telvannihallkey, 1, false)
Game.GetPlayer().AddItem(telvannihallplayerroomkey, 1, false)
Game.GetPlayer().SetFactionRank(Telvannihallfaction , 0)
TEGTelvanniHallMQ02.Start()
TEGTelvanniHallMQ03.Start()
TEGTelvanniHallMQ04.Start()
TEG_BackgroundStory.Start()
SetObjectiveCompleted(20)
SetCurrentStageID(20)
CompleteQuest()
endfunction


