Lua functions

AddQuestPrereqItem

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

Historical signature: AddQuestPrereqItem(quest, item_id, quantity)

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

Function: AddQuestPrereqItem(quest, item_id, quantity)

Description: Not implemented. CanReceiveQuest should require an item of item_id and quantity to be allowed to receive the quest.

Parameters:

  • quest (Quest) - Quest object representing quest.
  • item_id (uint32) - Integer value item_id.
  • quantity (int32) - Integer value quantity.

Returns: None.

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.