-
-
Notifications
You must be signed in to change notification settings - Fork 154
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: Refactor GoGump, moves LocationTree to GoLocations #1804
Conversation
I would recommend implementing these fields as properties using the read only auto pattern; |
TODOWe want to make this, and other map related functionality more data driven so that customizing your maps doesn't require gutting code in several places. |
@nerun - One last change. If the LocationTree is used outside of this script, maybe we should move the logic for determining which tree to it's own function. Something like This brings me to the next proposed change (optional for this PR). Should we move the LocationTree concept to the map directly, so it is defined outside of a Gump? This way the API would be: map.LocationTree Instead of the if/else-if to find the right one referenced by static constants. Thoughts? |
This update is not mine, I don't know the author. I got this from Discord, but it makes perfect sense to me. In the author words:
Additionally, this update also allows the famous Staff Runebook script to work.