mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-04-20 11:47:48 +00:00
22 lines
No EOL
724 B
Lua
22 lines
No EOL
724 B
Lua
--[[
|
|
|
|
BazaarUndealCommand Script
|
|
|
|
Handles canceling bazaar items
|
|
|
|
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.
|
|
|
|
--]]
|
|
|
|
function onEventStarted(player, actor, triggerName, rewardItem, arg1, bazaarType, arg2, bazaarActor, rewardAmount, seekAmount, arg3, arg4, type9ItemIds)
|
|
|
|
GetWorldManager():RemoveFromBazaar(player, player:GetItem(rewardItem));
|
|
|
|
player:EndEvent();
|
|
|
|
end |