[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:
Kinglykrab
2021-09-12 23:39:09 -04:00
committed by GitHub
parent 56b9b6f2c4
commit 38a86edc70
7 changed files with 21 additions and 19 deletions
+2 -1
View File
@@ -3241,7 +3241,8 @@ luabind::scope lua_register_events() {
luabind::value("death_zone", static_cast<int>(EVENT_DEATH_ZONE)),
luabind::value("use_skill", static_cast<int>(EVENT_USE_SKILL)),
luabind::value("warp", static_cast<int>(EVENT_WARP)),
luabind::value("test_buff", static_cast<int>(EVENT_TEST_BUFF))
luabind::value("test_buff", static_cast<int>(EVENT_TEST_BUFF)),
luabind::value("consider_corpse", static_cast<int>(EVENT_CONSIDER_CORPSE))
];
}