// priority: 500
_RegistryOrgan('example:test')
    .addScore('chestcavity:defense', 2)

/**
* @param {OrganChestCavityUpdateStrategyCustomData} customData
* @param {Internal.NetworkEventJS} event
* @param {Internal.ItemStack} organItem
* @param {number} organIndex
* @param {string} slotType
*/
function TestKeyActive(customData, event, organItem, organIndex, slotType) {
    const player = event.player
    player.tell(123)
    player.addItemCooldown(organItem, 20 * 2)
}

_RegistryOrganStrategy(
    new _OrganStrategyModel('example:test')
        .addOnlyStrategy('key_active', TestKeyActive)
)