feat(lua,mods): NPC OMT movement & unload bindings, surv radio#8405
Open
shmakota wants to merge 11 commits intocataclysmbn:mainfrom
Open
feat(lua,mods): NPC OMT movement & unload bindings, surv radio#8405shmakota wants to merge 11 commits intocataclysmbn:mainfrom
shmakota wants to merge 11 commits intocataclysmbn:mainfrom
Conversation
Contributor
|
Autofix has formatted code style violation in this PR. I edit commits locally (e.g: git, github desktop) and want to keep autofix
I do not want the automated commit
If you don't do this, your following commits will be based on the old commit, and cause MERGE CONFLICT. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Purpose of change (The Why)
We need a bunch of hooks for NPC movement on the overmap for it to actually be useful. Also these are requirements for the survivor radio mod.
Describe the solution (The How)
Add bindings for getting, setting, and clearing the omt destination of NPCs, and signaling them to travel there
Also adds bindings for when creatures and NPCs are unloaded.
Describe alternatives you've considered
Testing
Try out the included survivor radio mod.
Additional context
Checklist
Mandatory
closes #1234in Summary of the PR so it can be closed automatically.mainso it won't cause conflict when updatingmainbranch later.Optional
modsscope to the PR title.mod_nameindata/mods/<mod_name>matchesidinmodinfo.json.deno task semantic.luascope to the PR title.