Added the skeletons of the rest of the item commands.

This commit is contained in:
Filip Maj 2017-10-21 13:01:14 -04:00
parent fe4b9cb2bf
commit 2a489953db
5 changed files with 157 additions and 0 deletions

View file

@ -0,0 +1,23 @@
--[[
BazaarDealCommand Script
Handles various bazaar transfer options
All bazaar args have a Reward (The item the person who fufills the request gets) and a Seek (The item the player wants, either gil or an item).
--]]
function onEventStarted(player, actor, triggerName, rewardItem, seekItem, bazaarMode, arg1, bazaarActor, rewardAmount, seekAmount, arg2, arg3, type9ItemIds)
--Get reward reference or itemId
--Get seek reference or itemid
--Tell worldmaster to add bazaar entry with reward, seek, rewardAmount, seekAmount, and bazaarMode
--Remove reward items from inventory
player:EndEvent();
end