Skip to content
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

Change NPC faction from debug menu #69693

Merged
merged 3 commits into from
Nov 24, 2023

Conversation

sparr
Copy link
Member

@sparr sparr commented Nov 24, 2023

Summary

Infrastructure "Change NPC faction from debug menu"

Purpose of change

Moving NPCs between factions helps with testing many parts of NPC, faction, and mission code.

Describe the solution

Add option to debug menu when editing an NPC to select a new faction for them.

Describe alternatives you've considered

Testing

Changed some NPC factions, saw different behavior, then changed them back.

Additional context

I considered making select_faction more complex so that it could have a different message for different use cases, or automatically select a particular option like the current npc faction, but those seemed overkill for this initial implementation.

@sparr
Copy link
Member Author

sparr commented Nov 24, 2023

This is built on top of #69690

@github-actions github-actions bot added [C++] Changes (can be) made in C++. Previously named `Code` Code: Infrastructure / Style / Static Analysis Code internal infrastructure and style json-styled JSON lint passed, label assigned by github actions astyled astyled PR, label is assigned by github actions labels Nov 24, 2023
@sparr sparr force-pushed the debug_npc_faction branch from 3863a33 to a5d8bc6 Compare November 24, 2023 05:54
@github-actions github-actions bot added the BasicBuildPassed This PR builds correctly, label assigned by github actions label Nov 24, 2023
@Maleclypse Maleclypse merged commit adf890d into CleverRaven:master Nov 24, 2023
25 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
astyled astyled PR, label is assigned by github actions BasicBuildPassed This PR builds correctly, label assigned by github actions [C++] Changes (can be) made in C++. Previously named `Code` Code: Infrastructure / Style / Static Analysis Code internal infrastructure and style json-styled JSON lint passed, label assigned by github actions
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants