AardCrowley / Search-and-Destroy

Safe, Legal Search and Destroy
10 stars 14 forks source link

Change target room to start of area when no path is found #93

Open AardPringle opened 3 years ago

AardPringle commented 3 years ago

Pwar's version had an option where if no path is found to the target room in a room name CP, it will change the target room to the zone entrance. Can this be implemented here?

RogueYun commented 1 year ago

Just providing my unsolicited +1. I'd appreciate an enhancement or option that would default to the xset mark room of the area if no mapper path is found.

fiendish commented 1 year ago

Zones don't have entrances.

RogueYun commented 1 year ago

I think the OP meant "area" instead of "zone" but to be fair I'm not sure myself what the difference is.

But just to clear up confusion if I can, currently when you use the xcp command and it isn't able to mapper to the mob's room and you, the PC, are outside the area then the PC remains in place (SnD doesn't attempt to go to the area where the mob is). Pwar's, on the other hand, would run you to the xset mark of the mob's area which was a little more convenient with navigation as that is likely where the player wants to go since he will be hunting for the cp mob there. I assume that is what the OP meant and I concur if that is the case.

I appreciate what you guys do and have done so don't sweat it if it isn't feasible. Beggars can't be choosers.

AardCrowley commented 1 year ago

The problem actually becomes that SnD does not inherently know there isn't a path to a certain room. It entirely relies on mapper commands, which may not broadcast information in an easily readable format (e.g. can't trigger off the text).

I suppose I could do a CallPlugin for the mapper command and call it from the plugin itself, but if Fiendish makes a change, it can potentially break it, too. It's something I'm considering, though. It's on a list of things that could possibly be added, but isn't detrimental.

------- Original Message ------- On Friday, September 30th, 2022 at 12:57 PM, RogueYun @.***> wrote:

I think the OP meant "area" instead of "zone" but to be fair I'm not sure myself what the difference is.

But just to clear up confusion if I can, currently when you use the xcp command and it isn't able to mapper to the mob's room and you, the PC, are outside the area then the PC remains in place (SnD doesn't attempt to go to the area where the mob is). Pwar's, on the other hand, would run you to the xset mark of the mob's area which was a little more convenient with navigation as that is likely where the player wants to go since he will be hunting for the cp mob there. I assume that is what the OP meant and I concur if that is the case.

I appreciate what you guys do and have done so don't sweat it if it isn't feasible. Beggars can't be choosers.

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.Message ID: @.***>