module YCG
{
    imports
{
    Base
}

    item RepairKit
    {
        DisplayCategory = Material,
        Weight	=	1,
        Type	=	Drainable,
        UseDelta	=	0.25,
        UseWhileEquipped	=	FALSE,
        DisplayName	=	RepairKit,
        Icon	=	RepairKit,
        Tooltip = Tooltip_FixFirearm,
        ConsolidateOption = ContextMenu_Merge,
        SurvivalGear = TRUE,
        WorldStaticModel = RepairKit,
    }

    item GunLubricant
    {
        DisplayCategory = Material,
        Weight	=	0.3,
        Type	=	Drainable,
        UseDelta	=	0.25,
        UseWhileEquipped	=	FALSE,
        DisplayName	=	GunLubricant,
        Icon	=	GunLubricant,
        Tooltip = Tooltip_FixFirearm,
        ConsolidateOption = ContextMenu_Merge,
        SurvivalGear = TRUE,
        WorldStaticModel = GunLubricant,
    }
	
    recipe Fix with Repair Kit
    {
        keep AssaultRifleAR/AssaultRifleAK/AssaultRifleMK/AssaultRifleDSA/BRifle700M/BRifleMOS/SRifleSVD/SRifleM1A,
        RepairKit=1,
        Result:RepairKit,
        RemoveResultItem:true,
        NoBrokenItems:false,
        Time:500.0,
        AnimNode:Disassemble,
        OnCreate:FixFirearmRepairKit,
    }
	
    recipe Fix with Gun Lubricant
    {
		keep WoodenStick,
        keep AssaultRifleAR/AssaultRifleAK/AssaultRifleMK/AssaultRifleDSA/BRifle700M/BRifleMOS/SRifleSVD/SRifleM1A,
        GunLubricant=2,

        Result:GunLubricant,
        RemoveResultItem:true,
        NoBrokenItems:false,
        Time:500.0,
        AnimNode:Disassemble,
        OnCreate:FixFirearmRepairKit,
    }
	
	fixing Fix AssaultRifleAR
	{
	   Require : AssaultRifleAR,
	   
       Fixer : DuctTape=2,
       Fixer : Scotchtape=4,
	}

	fixing Fix AssaultRifleAK
	{
	   Require : AssaultRifleAK,
	   
       Fixer : DuctTape=2,
       Fixer : Scotchtape=4,
	}

	fixing Fix AssaultRifleMK
	{
	   Require : AssaultRifleMK,
	   
       Fixer : DuctTape=2,
       Fixer : Scotchtape=4,
	}

	fixing Fix AssaultRifleDSA
	{
	   Require : AssaultRifleDSA,
	   
       Fixer : DuctTape=2,
       Fixer : Scotchtape=4,
	}

	fixing Fix BRifle700M
	{
	   Require : BRifle700M,
	   
       Fixer : DuctTape=2,
       Fixer : Scotchtape=4,
	}

	fixing Fix BRifleMOS
	{
	   Require : BRifleMOS,
	   
       Fixer : DuctTape=2,
       Fixer : Scotchtape=4,
	}

	fixing Fix SRifleM1A
	{
	   Require : SRifleM1A,
	   
       Fixer : DuctTape=2,
       Fixer : Scotchtape=4,
	}

	fixing Fix SRifleSVD
	{
	   Require : SRifleSVD,
	   
       Fixer : DuctTape=2,
       Fixer : Scotchtape=4,
	}
}