mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-07-27 12:56:07 +02:00
Consolidated server data and automatically place them in approporate directories post build
This commit is contained in:
parent
e501d5b796
commit
ddf4d0d202
92 changed files with 272 additions and 270 deletions
15
data/scripts/commands/ItemWasteCommand.lua
Normal file
15
data/scripts/commands/ItemWasteCommand.lua
Normal file
|
@ -0,0 +1,15 @@
|
|||
--[[
|
||||
|
||||
ItemWasteCommand Script
|
||||
|
||||
Notes:
|
||||
|
||||
The param "invActionInfo" has the vars: actorId, unknown, slot, and inventoryType.
|
||||
The param "itemDBIds" has the vars: item1 and item2.
|
||||
|
||||
--]]
|
||||
|
||||
function onEventStarted(player, actor, triggerName, invActionInfo, param1, param2, param3, param4, param5, param6, param7, param8, itemDBIds)
|
||||
player:getInventory(0x00):removeItem(invActionInfo.slot);
|
||||
player:endEvent();
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue