rename to reflect type definition Annotate xi.itemUtils.foodOnItemCheck Make TItemFood functions optional, since the definition does not include types
16 lines
322 B
Lua
16 lines
322 B
Lua
-----------------------------------
|
|
-- ID: 4215
|
|
-- Popstar
|
|
-- A yellow star rises and bursts in the air
|
|
-----------------------------------
|
|
---@type TItem
|
|
local itemObject = {}
|
|
|
|
itemObject.onItemCheck = function(target, item, param, caster)
|
|
return 0
|
|
end
|
|
|
|
itemObject.onItemUse = function(target)
|
|
end
|
|
|
|
return itemObject
|