module Base
{
    craftRecipe Route45_PutRagInEmptyImprovisedGasMask
    {
        timedAction = Making,
        time = 30,
        OnCreate = Route45ScripShopRecipes.refillEmptyMask,
        OnTest = Route45ScripShopRecipes.testEmptyMask,
        AllowBatchCraft = false,
        Tooltip = Tooltip_Recipe_CantBeWorn,
        Tags = InHandCraft;CanBeDoneInDark,
        category = Miscellaneous,
        inputs
        {
            item 1 [Base.Hat_ImprovisedGasMask_nofilter] mode:destroy flags[IsNotWorn;AllowFavorite;InheritFavorite;CopyClothing;InheritCondition;InheritEquipped;ItemCount],
            item 1 [Base.RippedSheets] mode:destroy flags[ItemCount],
        }
        outputs
        {
            item 1 Base.Hat_ImprovisedGasMask,
        }
    }

    craftRecipe Route45_PutFiltersInEmptyHalfMaskRespirator
    {
        timedAction = Making,
        time = 30,
        OnCreate = Route45ScripShopRecipes.refillEmptyMask,
        OnTest = Route45ScripShopRecipes.testEmptyMask,
        AllowBatchCraft = false,
        Tooltip = Tooltip_Recipe_CantBeWorn,
        Tags = InHandCraft;CanBeDoneInDark,
        category = Miscellaneous,
        inputs
        {
            item 1 [Base.Hat_BuildersRespirator_nofilter] mode:destroy flags[IsNotWorn;AllowFavorite;InheritFavorite;CopyClothing;InheritCondition;InheritEquipped;ItemCount],
            item 1 tags[base:respiratorfilter] mode:destroy flags[ItemCount;NotEmpty],
        }
        outputs
        {
            item 1 Base.Hat_BuildersRespirator,
        }
    }

    craftRecipe Route45_PutFilterInEmptyGasMask
    {
        timedAction = Making,
        time = 30,
        OnCreate = Route45ScripShopRecipes.refillEmptyMask,
        OnTest = Route45ScripShopRecipes.testEmptyMask,
        AllowBatchCraft = false,
        Tooltip = Tooltip_Recipe_CantBeWorn,
        Tags = InHandCraft;CanBeDoneInDark,
        category = Miscellaneous,
        inputs
        {
            item 1 [Base.Hat_GasMask_nofilter] mode:destroy flags[IsNotWorn;AllowFavorite;InheritFavorite;CopyClothing;InheritCondition;InheritEquipped;ItemCount],
            item 1 tags[base:gasmaskfilter] mode:destroy flags[ItemCount;NotEmpty],
        }
        outputs
        {
            item 1 Base.Hat_GasMask,
        }
    }

    craftRecipe Route45_PutFilterInEmptyNBCMask
    {
        timedAction = Making,
        time = 30,
        OnCreate = Route45ScripShopRecipes.refillEmptyMask,
        OnTest = Route45ScripShopRecipes.testEmptyMask,
        AllowBatchCraft = false,
        Tooltip = Tooltip_Recipe_CantBeWorn,
        Tags = InHandCraft;CanBeDoneInDark,
        category = Miscellaneous,
        inputs
        {
            item 1 [Base.Hat_NBCmask_nofilter] mode:destroy flags[IsNotWorn;AllowFavorite;InheritFavorite;CopyClothing;InheritCondition;InheritEquipped;ItemCount],
            item 1 tags[base:gasmaskfilter] mode:destroy flags[ItemCount;NotEmpty],
        }
        outputs
        {
            item 1 Base.Hat_NBCmask,
        }
    }
}
