mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-18 16:38:26 +00:00
[Quest API] Add EVENT_CONSIDER_CORPSE to Perl and Lua. (#1530)
- Exports $corpse_entity_id in Perl. - Exports e.corpse_entity_id in Lua. Allows you to perform events on corpse consider for server operators.
This commit is contained in:
+3
-1
@@ -132,7 +132,8 @@ const char *LuaEvents[_LargestEventID] = {
|
||||
"event_combine_validate",
|
||||
"event_bot_command",
|
||||
"event_warp",
|
||||
"event_test_buff"
|
||||
"event_test_buff",
|
||||
"event_consider_corpse"
|
||||
};
|
||||
|
||||
extern Zone *zone;
|
||||
@@ -220,6 +221,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_CONSIDER_CORPSE] = handle_player_consider_corpse;
|
||||
|
||||
ItemArgumentDispatch[EVENT_ITEM_CLICK] = handle_item_click;
|
||||
ItemArgumentDispatch[EVENT_ITEM_CLICK_CAST] = handle_item_click;
|
||||
|
||||
Reference in New Issue
Block a user