local action = Action()
function action.onUse(player, item, fromPosition, target, toPosition, isHotkey)
print("Doing something.")
return true
end
-- choose 1
action:aid(45001) -- can be put on multiple objects
action:uid(45001) -- can be put on a single object. (unique)
action:id(111111) -- triggers when an item with this itemid is clicked / interacted with.
action:register()