Is it possible to allow store "blood" in tool cupboard?

I'm trying to allow adding a "blood" item into tool cupboard with CanAcceptItem hook, but nothing.
Here is my code:

ItemContainer.CanAcceptResult? CanAcceptItem(ItemContainer container, Item item, int targetPos)
{
    if (container == null || item == null) return null;
    if (container.entityOwner == null) return null;
    if (container.entityOwner.ShortPrefabName == "cupboard.tool.deployed" && item.info.shortname == "blood")
    {
         return ItemContainer.CanAcceptResult.CanAccept;
     }
     return null;
}​

Is it possible to override cupboard behavior at all?

Desc: I'm using blood as "flag" in my raid capture the flag plugin.

try container.entityOwner.onlyAcceptCategory = ItemCategory.All

XpBhmpUR6sHBukC.jpg AVOCoder

try container.entityOwner.onlyAcceptCategory = ItemCategory.All

Thanks!

CodeInjection

Thanks!

try new hook

object OnItemFilter(Item item, BuildingPrivlidge bp, int targetSlot)