Lua functions

HasFreeSlot

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

Historical signature: HasFreeSlot(player)

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

Function: HasFreeSlot(player)

Description:

Return's true if the player has a free slot in their inventory.

Parameters:

  • player (Spawn) - Spawn object representing player.

Returns: True if the player has an open inventory slot.

Checked example

No checked example is published for this function yet. No active script call with the current C++ argument count was found.

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