563 B
563 B
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 representingquest
.item_id
(uint32) - Integer valueitem_id
.quantity
(int32) - Integer valuequantity
.
Returns: None.
Example:
-- Require the item with item_id 123 and a quantity of 2 be required to receive the quest.
function Init(Quest)
AddQuestPrereqItem(Quest, 123, 2)
end