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

[Quest API] Add Bot Methods to Perl/Lua #4113

Merged
merged 2 commits into from Feb 25, 2024

Conversation

Kinglykrab
Copy link
Contributor

Perl

  • Add quest::GetBotClassByID(bot_id).
  • Add quest::GetBotGenderByID(bot_id).
  • Add quest::GetBotIDsByCharacterID(character_id).
  • Add quest::GetBotIDsByCharacterID(character_id, class_id).
  • Add quest::GetBotLevelByID(bot_id).
  • Add quest::GetBotNameByID(bot_id).
  • Add quest::GetBotRaceByID(bot_id).

Lua

  • Add eq.get_bot_class_by_id(bot_id).
  • Add eq.get_bot_gender_by_id(bot_id).
  • Add eq.get_bot_ids_by_character_id(character_id).
  • Add eq.get_bot_ids_by_character_id(character_id, class_id).
  • Add eq.get_bot_level_by_id(bot_id).
  • Add eq.get_bot_name_by_id(bot_id).
  • Add eq.get_bot_race_by_id(bot_id).

Notes

  • Allows operators to get a list of a player's bot IDs, get a bot's class, gender, level, name, and race.

# Perl
- Add `quest::GetBotClassByID(bot_id)`.
- Add `quest::GetBotGenderByID(bot_id)`.
- Add `quest::GetBotIDsByCharacterID(character_id)`.
- Add `quest::GetBotIDsByCharacterID(character_id, class_id)`.
- Add `quest::GetBotLevelByID(bot_id)`.
- Add `quest::GetBotNameByID(bot_id)`.
- Add `quest::GetBotRaceByID(bot_id)`.

# Lua
- Add `eq.get_bot_class_by_id(bot_id)`.
- Add `eq.get_bot_gender_by_id(bot_id)`.
- Add `eq.get_bot_ids_by_character_id(character_id)`.
- Add `eq.get_bot_ids_by_character_id(character_id, class_id)`.
- Add `eq.get_bot_level_by_id(bot_id)`.
- Add `eq.get_bot_name_by_id(bot_id)`.
- Add `eq.get_bot_race_by_id(bot_id)`.

# Notes
- Allows operators to get a list of a player's bot IDs, get a bot's class, gender, level, name, and race.
@Akkadius Akkadius merged commit 8314f23 into master Feb 25, 2024
2 checks passed
@Akkadius Akkadius deleted the quest_api/bot_methods_perl_lua branch February 25, 2024 04:53
@Akkadius Akkadius mentioned this pull request Feb 25, 2024
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.

None yet

2 participants