Lua functions

AddQuestSelectableRewardItem

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

Historical signature: AddQuestSelectableRewardItem(quest, item_id, quantity)

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

Function: AddQuestSelectableRewardItem(quest, item_id, quantity)

Description: Adds a selectable reward item for completion of the current Quest. Triggered by calling the LUA Function GiveQuestReward on completion of 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.