Skip to content
Snippets Groups Projects
Commit 49483502 authored by Chris Davidson's avatar Chris Davidson
Browse files

Escort portals are now shown on quest start

Currently you have to spam ask escorts and extrapolate their pathing from that.  This is reliable but tedious, may as well just show where they're going.
parent dfef32d6
No related branches found
No related tags found
1 merge request!5111.6 Misc
......@@ -418,6 +418,7 @@ on_grant = function(self, who)
g:resolve() g:resolve(nil, true)
game.zone:addEntity(game.level, g, "terrain", gx, gy)
game.state:locationRevealAround(gx, gy)
npc.escort_target = {x=gx, y=gy}
npc.x, npc.y = nil, nil
game.zone:addEntity(game.level, npc, "actor", x, y)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment