Historical signature: AddQuestStepHarvest(quest, step, description, quantity, percentage, str_taskgroup, icon, harvested_item_id)
Parameter and behavior details in the historical explanation are under review against the current implementation.
Function: AddQuestStepHarvest(quest, step, description, quantity, percentage, str_taskgroup, icon, harvested_item_id)
Description:
Adds a quest step to the player's journal requiring a harvest related action be performed. The result expected item can be specified as a number of last arguments crafted_item_id of the item to harvest.
Parameters:
quest (Quest) - Quest object representing quest.
step (int32) - Integer value step.
description (int32) - Integer value description.
quantity (int32) - Integer value quantity.
percentage (int32) - Integer value percentage.
str_taskgroup (string) - String str_taskgroup.
icon (int32) - Integer value icon.
harvested_item_id (int32) - Integer value harvested_item_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.
AddQuestStepHarvest(Quest, 1, "I need to catch eight seared char.", 8, 100, "I need some seared char for Dirzdia.", 2541, 37177)
Evidence: server/Quests/Darklight/SoHotYouCatchThemCooked.lua:14; binding EQ2Emu_lua_AddQuestStepHarvest.
Current registration: WorldServer/Lua/LuaInterface.cpp. Historical explanation: EQ2Emu Lua documentation.