Lua functions

HasCollectionsToHandIn

Registered in this checkout as EQ2Emu_lua_HasCollectionsToHandIn; implementation found at WorldServer/Lua/LuaFunctions.cpp:5776.

Historical signature: HasCollectionsToHandIn(player)

Parameter and behavior details in the historical explanation are under review against the current implementation.

Function: HasCollectionsToHandIn(player)

Description:

Return's if the player has collections to turn in.

Parameters:

  • player (Spawn) - Spawn object representing player.

Returns: True if the player has active collections to turn in.

Checked example

Active call in a local runtime Lua script. Argument count matches current fixed C++ readers. This is a contextual call pattern, not a tested standalone script.

if HasCollectionsToHandIn(Spawn) then

Evidence: server/SpawnScripts/EastFreeport/RennyParvat.lua:31; binding EQ2Emu_lua_HasCollectionsToHandIn.

Current registration: WorldServer/Lua/LuaInterface.cpp. Historical explanation: EQ2Emu Lua documentation.