mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-17 11:28:25 +00:00
[Quest API] Add EVENT_EQUIP_ITEM_CLIENT and EVENT_UNEQUIP_ITEM_CLIENT to Perl/Lua. (#2015)
- These events allow more customization beyond forcing operators to use a script file for each and every item they want to have some sort of functionality for these events. - Perl event exports $item_id, $item_quantity, and $slot_id. - Lua event exports item_id, item_quantity, slot_id, and item.
This commit is contained in:
@@ -4212,7 +4212,9 @@ luabind::scope lua_register_events() {
|
||||
luabind::value("test_buff", static_cast<int>(EVENT_TEST_BUFF)),
|
||||
luabind::value("consider", static_cast<int>(EVENT_CONSIDER)),
|
||||
luabind::value("consider_corpse", static_cast<int>(EVENT_CONSIDER_CORPSE)),
|
||||
luabind::value("loot_zone", static_cast<int>(EVENT_LOOT_ZONE))
|
||||
luabind::value("loot_zone", static_cast<int>(EVENT_LOOT_ZONE)),
|
||||
luabind::value("equip_item_client", static_cast<int>(EVENT_EQUIP_ITEM_CLIENT)),
|
||||
luabind::value("unequip_item_client", static_cast<int>(EVENT_UNEQUIP_ITEM_CLIENT))
|
||||
];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user