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

[Bots] Remove hardcoded race-class combinations from bots. #1375

Merged
merged 2 commits into from
Jun 11, 2021

Conversation

ghost
Copy link

@ghost ghost commented Jun 5, 2021

  • Allows server operators to directly influence via a database table the classes a specific bot race can be.
  • Previously this was hardcoded and required a source modification to do, this will allow those who use the installer or cannot modify their own source to have a higher level of customization with this system.
  • Allowed races, classes, and genders have been removed due to redundancy at this point.
  • Removed bot-specific race and class name functions and used the ones we use everywhere else.
  • Adds a ^viewcombos [race_id] command for bots to view proper race-class combinations.
  • Saylink for viewing proper combinations is sent on invalid combination.

- Allows server operators to directly influence via a database table the classes a specific bot race can be.
- Previously this was hardcoded and required a source modification to do.
- Allowed races, classes, and genders have been removed due to redundancy at this point.
@mackal mackal requested a review from Akkadius June 8, 2021 16:49
zone/bot_command.cpp Outdated Show resolved Hide resolved
zone/bot_command.cpp Outdated Show resolved Hide resolved
@Akkadius Akkadius merged commit c3456eb into master Jun 11, 2021
@ghost ghost deleted the bot_create_combinations branch June 12, 2021 21:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants