landsandboat/scripts/items/rusty_bolt_case.lua

17 lines
394 B
Lua
Raw Permalink Normal View History

2021-01-18 12:51:02 -05:00
-----------------------------------
2019-10-23 21:37:59 -04:00
-- ID: 4197
-- rusty_bolt_case
2021-01-18 12:51:02 -05:00
-----------------------------------
---@type TItem
local itemObject = {}
2019-10-23 21:37:59 -04:00
itemObject.onItemCheck = function(target, item, caster)
return xi.itemUtils.itemBoxOnItemCheck(target)
2019-10-23 21:37:59 -04:00
end
itemObject.onItemUse = function(target)
npcUtil.giveItem(target, { { xi.item.RUSTY_BOLT, 99 } })-- 99x rusty_bolt
end
2021-01-17 11:55:03 -05:00
return itemObject