[Quest API] Add EVENT_COMBINE to Perl and Lua. (#1536)

- Exports $container_slot in Perl.
- Exports e.container_slot in Lua.

Allows you to perform events when clicking combine in a tradeskill container.
This commit is contained in:
Kinglykrab
2021-09-19 16:22:51 -04:00
committed by GitHub
parent 80493719f2
commit 8eef7bb283
6 changed files with 24 additions and 0 deletions
+2
View File
@@ -133,6 +133,7 @@ const char *LuaEvents[_LargestEventID] = {
"event_bot_command",
"event_warp",
"event_test_buff",
"event_combine",
"event_consider",
"event_consider_corpse"
};
@@ -222,6 +223,7 @@ LuaParser::LuaParser() {
PlayerArgumentDispatch[EVENT_COMBINE_VALIDATE] = handle_player_combine_validate;
PlayerArgumentDispatch[EVENT_BOT_COMMAND] = handle_player_bot_command;
PlayerArgumentDispatch[EVENT_WARP] = handle_player_warp;
PlayerArgumentDispatch[EVENT_COMBINE] = handle_player_quest_combine;
PlayerArgumentDispatch[EVENT_CONSIDER] = handle_player_consider;
PlayerArgumentDispatch[EVENT_CONSIDER_CORPSE] = handle_player_consider_corpse;