[Quest API] Add EVENT_BOT_CREATE to Perl/Lua (#2713)

* [Quest API] Add EVENT_BOT_CREATE to Perl/Lua

# Perl
- Add `EVENT_BOT_CREATE`.
- Exports `$bot_id`, `$bot_name`, `$bot_class`, `$bot_race`, and `$bot_gender`.

# Lua
- Add `event_bot_create`.
- Exports `e.bot_id`, `e.bot_name`, `e.bot_class`, `e.bot_race`, and `e.bot_gender`.
This commit is contained in:
Alex King
2023-01-08 21:46:40 -05:00
committed by GitHub
parent 0c105a2b91
commit 4c8b65ecc6
9 changed files with 76 additions and 26 deletions
+9
View File
@@ -618,6 +618,15 @@ void handle_player_gm_command(
std::vector<std::any> *extra_pointers
);
void handle_player_bot_create(
QuestInterface *parse,
lua_State* L,
Client* client,
std::string data,
uint32 extra_data,
std::vector<std::any> *extra_pointers
);
// Item
void handle_item_click(