Merge branch 'master' of git://cams.pavlovian.net/questhelper
[QuestHelper.git] / core.lua
blob6e44ea6394bcf311c91c60ed7d2e708aacac6327
1 QuestHelper_File["core.lua"] = "Development Version"
2 QuestHelper_Loadtime["core.lua"] = GetTime()
5 QuestHelper.Astrolabe = DongleStub("Astrolabe-0.4-QuestHelper")
6 QuestHelper: Assert(QuestHelper.Astrolabe)
7 local walker = QuestHelper:CreateWorldMapWalker()
8 QuestHelper.minimap_marker = QuestHelper:CreateMipmapDodad()
10 QH_Route_RegisterNotification(function (route) walker:RouteChanged(route) end)
11 QH_Route_RegisterNotification(function (route) QH_Tracker_UpdateRoute(route) end)
12 QH_Route_RegisterNotification(function (route) QuestHelper.minimap_marker:SetObjective(route[2]) end)