mirror of
https://github.com/EQEmu/Server.git
synced 2026-06-11 15:58:36 +00:00
[Items] Overhaul Item Hand-in System (#4593)
* [Items] Overhaul Item Hand-in System * Edge case lua fix * Merge fix * I'm going to be amazed if this works first try * Update linux-build.sh * Update linux-build.sh * Update linux-build.sh * Update linux-build.sh * Update linux-build.sh * Update linux-build.sh * Update linux-build.sh * Update linux-build.sh * Add protections against scripts that hand back items themselves * Remove EVENT_ITEM_ScriptStopReturn * test * Update npc_handins.cpp * Add Items:AlwaysReturnHandins * Update spdat.cpp * Bypass update prompt on CI
This commit is contained in:
@@ -9,6 +9,7 @@ class Lua_Mob;
|
||||
class Lua_NPC;
|
||||
class Lua_Client;
|
||||
struct Lua_NPC_Loot_List;
|
||||
class Lua_Inventory;
|
||||
|
||||
namespace luabind {
|
||||
struct scope;
|
||||
@@ -186,6 +187,15 @@ public:
|
||||
void SetNPCAggro(bool in_npc_aggro);
|
||||
uint32 GetNPCSpellsEffectsID();
|
||||
void DescribeSpecialAbilities(Lua_Client c);
|
||||
bool IsMultiQuestEnabled();
|
||||
void MultiQuestEnable();
|
||||
bool LuaCheckHandin(
|
||||
Lua_Client c,
|
||||
luabind::adl::object handin_table,
|
||||
luabind::adl::object required_table,
|
||||
luabind::adl::object items_table
|
||||
);
|
||||
void ReturnHandinItems(Lua_Client c);
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user