You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I noticed the TODO section listed portals. For my own use I wanted to figure this out and added it in. If you're open to PRs I can put my work together and push something up. I started building it on the side from this package, but can move things around so it can be included with this, which is mainly moving the data to the aard object and adding something in the config to handle a portal bag variable for your character.
The general idea is that it adds the portal rooms as a special exit right before calculating the path and then removes it. So far it's been working out for me, though trying to run to a place in a no-portal area will fail if it decides the portal is the better path. I also don't have a complete list of portals since I just started, but added in what I have so far.
In game my name is Swifin, feel free to send me a tell and we can talk. I didn't see any mention of your in game name in the readme.
The text was updated successfully, but these errors were encountered:
I think the quick and dirty solution for it trying to run someplace from a no-portal room, would be to simply have a toggle-able option that turns portals on and off, then you could toggle this if you happen to be a no-portal room or area.
The better way would be to have all rooms that are no-portal marked in the mapper, but that might be a lot of work.
I noticed the TODO section listed portals. For my own use I wanted to figure this out and added it in. If you're open to PRs I can put my work together and push something up. I started building it on the side from this package, but can move things around so it can be included with this, which is mainly moving the data to the aard object and adding something in the config to handle a portal bag variable for your character.
The general idea is that it adds the portal rooms as a special exit right before calculating the path and then removes it. So far it's been working out for me, though trying to run to a place in a no-portal area will fail if it decides the portal is the better path. I also don't have a complete list of portals since I just started, but added in what I have so far.
In game my name is Swifin, feel free to send me a tell and we can talk. I didn't see any mention of your in game name in the readme.
The text was updated successfully, but these errors were encountered: