2017-10-21 13:01:14 -04:00
|
|
|
--[[
|
|
|
|
|
|
|
|
BazaarUndealCommand Script
|
|
|
|
|
|
|
|
Handles canceling bazaar items
|
|
|
|
|
2017-12-17 14:47:12 -05:00
|
|
|
25107 - Your bazaar is either full or already contains that unique item.
|
|
|
|
25111 - Unable to complete transaction.
|
|
|
|
25112 - You are unable to remove the item from your bazaar. You cannot hold any more items.
|
|
|
|
25113 - Offered and sought items cannot be identical.
|
|
|
|
25114 - Items in less than mint condition cannot be offered.
|
|
|
|
25115 - Items in less than mint condition cannot be placed in your bazaar.
|
|
|
|
|
2017-10-21 13:01:14 -04:00
|
|
|
--]]
|
|
|
|
|
2019-06-06 01:45:06 -04:00
|
|
|
function onEventStarted(player, actor, triggerName, rewardItem, seekItem, bazaarType, narg, bazaarActor, rewardAmount, seekAmount, narg, narg, type9ItemIds)
|
2017-10-21 13:01:14 -04:00
|
|
|
|
2017-12-10 22:54:47 -05:00
|
|
|
GetWorldManager():RemoveFromBazaar(player, player:GetItem(rewardItem));
|
|
|
|
|
2017-10-21 13:01:14 -04:00
|
|
|
player:EndEvent();
|
|
|
|
|
|
|
|
end
|