"Landmarks" for our purposes roughly corresponds to what auto-run considers interesting enough to stop for: up/down stairs, zone entrances on the world map, stores, and grids marked 'special' (notably unopened golden chests) or 'orb_portal' (portal to the East? I assume). On the world map, it also flags Agrimley as a landmark (if you've found him), and marks entrances of zones you haven't entered yet as "[never visited]", so the list can also serve as a useful reminder of where your character has been.
Now, this one is definitely going into ZOmnibus eventually (else none of my poor characters will be able to use it until they've died and been restarted); I'm putting it out now for testing and feedback.
[And I keep forgetting to add the Technical info that Darkgod asked for:]
Code: Select all
Hooks:
  Game:alterGameMenu [to add our 'Show known Landmarks' menu option]
Superload:
  mod.class.Player:
    autoExplore() [to continue to the last selected landmark]


 Now, I wanted to be careful not to leave auto-explore in an invisibly hijacked state, continuing to go back to the same landmark when the player no longer wants it to, so I'm using a slightly dodgy hack, inspired by the Antimagic Disruption effect you get if you wear arcane-disrupting equipment while being arcane.  In this new version, when you use the go-to-landmark function you are given a new temporary status effect Going to Landmark, which persists until you arrive at the landmark, leave the level or cancel it manually; as long as you have this effect, the auto-explore key will try to go to your most recent landmark instead of doing its usual auto-exploring.  That seemed like a reasonably clean way of keeping the player informed of what's happening.
  Now, I wanted to be careful not to leave auto-explore in an invisibly hijacked state, continuing to go back to the same landmark when the player no longer wants it to, so I'm using a slightly dodgy hack, inspired by the Antimagic Disruption effect you get if you wear arcane-disrupting equipment while being arcane.  In this new version, when you use the go-to-landmark function you are given a new temporary status effect Going to Landmark, which persists until you arrive at the landmark, leave the level or cancel it manually; as long as you have this effect, the auto-explore key will try to go to your most recent landmark instead of doing its usual auto-exploring.  That seemed like a reasonably clean way of keeping the player informed of what's happening.