Historical signature: AddItem(Spawn, ItemID, Quantity)
Parameter and behavior details in the historical explanation are under review against the current implementation.
Function: AddItem(Spawn, ItemID, Quantity)
Description:
Add an Item to a Spawn/Player with the defined Item ID and Quantity.
Parameters:
Spawn: Spawn - The spawn or entity involved.
ItemID: UInt32 - Item id to assign to Spawn.
Quantity: UInt32 - Quantity of item to assign to Spawn (default 1).
Returns: Boolean: True if successfully assigned the item, otherwise return's False.
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.
AddItem(Spawn, 12866, 1)
Evidence: server/Quests/BigBend/rat_barsh.lua:31; binding EQ2Emu_lua_AddItem.
Current registration: WorldServer/Lua/LuaInterface.cpp. Historical explanation: EQ2Emu Lua documentation.