Historical signature: AddQuestRewardCoin(quest, copper, silver, gold, plat)
Parameter and behavior details in the historical explanation are under review against the current implementation.
Function: AddQuestRewardCoin(quest, copper, silver, gold, plat)
Description:
Upon completion of the quest the Player will receive the copper, silver, gold, platinum described.
Parameters:
quest (Quest) - Quest object representing quest.
copper (int32) - Integer value copper.
silver (int32) - Integer value silver.
gold (int32) - Integer value gold.
plat (int32) - Integer value plat.
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.
AddQuestRewardCoin(Quest, math.random(8,80), math.random(2,5), 0, 0)
Evidence: server/Quests/FrostfangSea/call_to_arms.lua:14; binding EQ2Emu_lua_AddQuestRewardCoin.
Current registration: WorldServer/Lua/LuaInterface.cpp. Historical explanation: EQ2Emu Lua documentation.