Scripts for running the various commands/npcs (done so far) are pushed.

This commit is contained in:
Filip Maj 2016-03-12 02:54:03 -05:00
parent e851c767df
commit e409d3792c
67 changed files with 1447 additions and 0 deletions

View 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, invActionInfo, param1, param2, param3, param4, param5, param6, param7, param8, itemDBIds)
player:getInventory(0x00):removeItem(invActionInfo.slot);
player:endEvent();
end