Lua functions

ProvidesQuest

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

Historical signature: ProvidesQuest(npc, quest_id)

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

Function: ProvidesQuest(npc, quest_id)

Description: The NPC provides a quest offering to Player's. This will support the feather flags for players.

Parameters:

  • npc (Spawn) - Spawn object representing npc.
  • quest_id (uint32) - Integer value quest_id.

Returns: None.

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.

ProvidesQuest(NPC,5760)

Evidence: server/SpawnScripts/Baubbleshire/Leon.lua:12; binding EQ2Emu_lua_ProvidesQuest.

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