ItemData::onPickup(%this,%obj,%player)
You can change ItemData to your item name.
%this is the datablock.
%obj is the item object.
%player is the person picking it up.
You do not need to use a package if you change ItemData to your datablock's name in order to use Parent::