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
|
|
|
-----------------------------------
|
2024-08-24 12:32:37 -04:00
|
|
|
---@type TItem
|
2022-10-06 17:25:46 +03:00
|
|
|
local itemObject = {}
|
2019-10-23 21:37:59 -04:00
|
|
|
|
2026-05-25 20:42:11 -06:00
|
|
|
itemObject.onItemCheck = function(target, item, caster)
|
2023-08-30 18:47:43 -04:00
|
|
|
return xi.itemUtils.itemBoxOnItemCheck(target)
|
2019-10-23 21:37:59 -04:00
|
|
|
end
|
|
|
|
|
|
2022-10-06 17:25:46 +03:00
|
|
|
itemObject.onItemUse = function(target)
|
2024-04-02 13:45:54 -05:00
|
|
|
npcUtil.giveItem(target, { { xi.item.RUSTY_BOLT, 99 } })-- 99x rusty_bolt
|
2020-03-19 18:41:42 -07:00
|
|
|
end
|
2021-01-17 11:55:03 -05:00
|
|
|
|
2022-10-06 17:25:46 +03:00
|
|
|
return itemObject
|