module Base
{

    
    recipe Make Pipe bomb
    {
       UZRG,
       BodyRGD,

       Result:PipeBomb,
       Time:15.0,
       NeedToBeLearn:false,
       Category:Engineer,
    }

    recipe unscrew UZRG
    {
       PipeBomb,

       Result:BodyRGD,
       OnCreate:OnUZRG,
       Time:15.0,
       NeedToBeLearn:false,
       Category:Engineer,
    }

    recipe Open Can of UZRG
    {
        CannedUZRG,
        keep [Recipe.GetItemTypes.CanOpener],

        Result:UZRG=10,
        Sound:BoxOfRoundsOpenOne,
        Time:25.0,
    }







    recipe Open Box of 9x18mm Bullets
    {
        Bullets9x18mmBox,

        Result:Bullets9x18mm=4,
        Sound:BoxOfRoundsOpenOne,
        Time:15.0,
    }

    recipe Open Box of 9x39mm Bullets
    {
        Bullets939Box,

        Result:Bullets939=2,
        Sound:BoxOfRoundsOpenOne,
        Time:15.0,
    }

    recipe Open Box of 7.62x25 Bullets
    {
        Bullets762TokarevBox,

        Result:Bullets762Tokarev=6,
        Sound:BoxOfRoundsOpenOne,
        Time:15.0,
    }



    recipe Open Box of 7.62x38R Bullets
    {
        Bullets762NagantBox,

        Result:Bullets762Nagant=7,
        Sound:BoxOfRoundsOpenOne,
        Time:15.0,
    }



    recipe Open Box of 7.62x54R Bullets
    {
        Bullets762PKMBox,

        Result:Bullets762PKM=4,
        Sound:BoxOfRoundsOpenOne,
        Time:15.0,
    }

    recipe Open Box of .22LR Bullets
    {
        Bullets22LRBox,

        Result:Bullets22LR=5,
        Sound:BoxOfRoundsOpenOne,
        Time:15.0,
    }

    recipe Open Box of 5.45x39 Bullets
    {
        Bullets545Box,

        Result:Bullets545=6,
        Sound:BoxOfRoundsOpenOne,
        Time:15.0,
    }

    recipe Open Box of 7.62x39 Bullets
    {
        Bullets762AKBox,

        Result:Bullets762AK=6,
        Sound:BoxOfRoundsOpenOne,
        Time:15.0,
    }

    recipe Open Box of 23x75mm Shotgun Shells
    {
        23x75ShotgunShellsBox,

        Result:23x75ShotgunShells=2,
        Sound:BoxOfShellsOpenOne,
        Time:15.0,
    }

	recipe Open Box of 4mm Bullets
    {
        4mmBulletsBox,

        Result:4mmBullets=100,
        Sound:BoxOfRoundsOpenOne,
        Time:15.0,
    }

    recipe Open Can of 545 Bullets
    {
        Canned545,
        keep [Recipe.GetItemTypes.CanOpener],

        Result:Bullets545Box=36,
    	OnCreate:OnOpenCan,
        Sound:BoxOfRoundsOpenOne,
        Time:50.0,
    }
    recipe Open Can of 762ak Bullets
    {
        Canned762AK,
        keep [Recipe.GetItemTypes.CanOpener],

        Result:Bullets762AKBox=24,
    	OnCreate:OnOpenCan,
        Sound:BoxOfRoundsOpenOne,
        Time:50.0,
    }
    recipe Open Can of 762pkm Bullets
    {
        Canned762PKM,
        keep [Recipe.GetItemTypes.CanOpener],

        Result:Bullets762PKMBox=9,
    	OnCreate:OnOpenCan,
        Sound:BoxOfRoundsOpenOne,
        Time:50.0,
    }
    recipe Open Can of 939 Bullets
    {
        Canned939,
        keep [Recipe.GetItemTypes.CanOpener],

        Result:Bullets939Box=40,
    	OnCreate:OnOpenCan,
        Sound:BoxOfRoundsOpenOne,
        Time:50.0,
    }

    recipe Place 9x18mm Bullets in Box
    {
        Bullets9x18mm=16,

        Result:Bullets9x18mmBox,
        Sound:BoxOfRoundsOpenOne,
        Time:15.0,
    }

    recipe Place 22LR Bullets in Box
    {
        Bullets22LR=50,

        Result:Bullets22LRBox,
        Sound:BoxOfRoundsOpenOne,
        Time:15.0,
    }

    recipe Place 7.62x25 Bullets in Box
    {
        Bullets762Tokarev=30,

        Result:Bullets762TokarevBox,
        Sound:BoxOfRoundsOpenOne,
        Time:15.0,
    }

    recipe Place 7.62x38R Bullets in Box
    {
        Bullets762Nagant=14,

        Result:Bullets762NagantBox,
        Sound:BoxOfRoundsOpenOne,
        Time:15.0,
    }

    recipe Place 9x39mm Bullets in Box
    {
        Bullets939=10,

        Result:Bullets939Box,
        Sound:BoxOfRoundsOpenOne,
        Time:15.0,
    }

    recipe Place 5.45x39 Bullets in Box
    {
        Bullets545=30,

        Result:Bullets545Box,
        Sound:BoxOfRoundsOpenOne,
        Time:15.0,
    }

    recipe Place 7.62x39 Bullets in Box
    {
        Bullets762AK=30,

        Result:Bullets762AKBox,
        Sound:BoxOfRoundsOpenOne,
        Time:15.0,
    }

    recipe Place 7.62x54R Bullets in Box
    {
        Bullets762PKM=20,

        Result:Bullets762PKMBox,
        Sound:BoxOfRoundsOpenOne,
        Time:15.0,
    }

    recipe Place 23x75mm Shotgun Shells in Box
    {
        23x75ShotgunShells=8,

        Result:23x75ShotgunShellsBox,
        Sound:BoxOfShellsOpenOne,
        Time:15.0,
    }

	recipe Saw Off TOZ34
	{
	   TOZ34Shotgun,
	   keep Saw,

	   Result:TOZ34ShotgunSawnoff,
	   Sound:Sawing,
	   Time:200.0,
	   OnCreate:TOZ34Sawnoff_OnCreate,
	}
	recipe Saw Off IZH18
	{
	   IzhRifle,
	   keep Saw,

	   Result:IzhRifleSawnoff,
	   Sound:Sawing,
	   Time:200.0,
	   OnCreate:IzhRifleSawnoff_OnCreate,
	}
	recipe Saw Off KO44
	{
	   HuntingRifle,
	   keep Saw,

	   Result:MosinSawnoff,
	   Sound:Sawing,
	   Time:200.0,
	   OnCreate:MosinSawnoff_OnCreate,
	}
	recipe Saw Off Mosin
	{
	   Mosin,
	   keep Saw,

	   Result:MosinSawnoff,
	   Sound:Sawing,
	   Time:200.0,
	   OnCreate:MosinSawnoff_OnCreate,
	}

    recipe Fold AKMS
	{
		AKMS,
		Result:AKMS_Folded,
		Category:Firearm,		
		Sound:PutItemInBag,
		Time:10,
        OnCreate:FoldingStock
	}
	recipe Unfold AKMS
	{
	    AKMS_Folded,
	    Result:AKMS,
		Category:Firearm,
        Sound:PutItemInBag,
	    Time:10,
        OnCreate:FoldingStock
	}



	recipe Fold AKS74Sliva
	{
		AKS74PRifle,
		Result:AKS74PRifle_Folded,
		Category:Firearm,		
		Sound:PutItemInBag,
		Time:10,
        OnCreate:FoldingStock
	}
	recipe Unfold AKS74Sliva
	{
	    AKS74PRifle_Folded,
	    Result:AKS74PRifle,
		Category:Firearm,
        Sound:PutItemInBag,
	    Time:10,
        OnCreate:FoldingStock
	}
	



        recipe Fold AKS74
	{
		AKS74Rifle,
		Result:AKS74Rifle_Folded,
		Category:Firearm,		
		Sound:PutItemInBag,
		Time:10,
        OnCreate:FoldingStock
	}

	recipe Unfold AKS74
	{
	        AKS74Rifle_Folded,
	        Result:AKS74Rifle,
		Category:Firearm,
                Sound:PutItemInBag,
	        Time:10,
        OnCreate:FoldingStock
	}






    recipe Fold AK74M
	{
		AK74MRifle,
		Result:AK74MRifle_Folded,
		Category:Firearm,		
		Sound:PutItemInBag,
		Time:10,
        OnCreate:FoldingStock
	}
	recipe Unfold AK74M
	{
	    AK74MRifle_Folded,
	    Result:AK74MRifle,
		Category:Firearm,
        Sound:PutItemInBag,
	    Time:10,
        OnCreate:FoldingStock
	}


    recipe Fold AKSU
	{
		AKSURifle,
		Result:AKSURifle_Folded,
		Category:Firearm,		
		Sound:PutItemInBag,
		Time:10,
        OnCreate:FoldingStock
	}
	recipe Unfold AKSU
	{
	    AKSURifle_Folded,
	    Result:AKSURifle,
		Category:Firearm,
        Sound:PutItemInBag,
	    Time:10,
        OnCreate:FoldingStock
	}

	recipe Unfold MP40
	{
	    MP40smg,
	    Result:MP40smg_Folded,
		Category:Firearm,
        Sound:PutItemInBag,
	    Time:10,
        OnCreate:FoldingStock
	}
    recipe Fold MP40
	{
		MP40smg_Folded,
		Result:MP40smg,
		Category:Firearm,		
		Sound:PutItemInBag,
		Time:10,
        OnCreate:FoldingStock
	}

    recipe Fold OTs-02
	{
	Kiparissmg,
	Result:Kiparissmg_folded,
        Category:Firearm,
        Sound:PutItemInBag,
	Time:10,
        OnCreate:FoldingStock
	}
    recipe Unfold OTs-02
	{
		Kiparissmg_folded,
		Result:Kiparissmg,
		Category:Firearm,		
		Sound:PutItemInBag,
		Time:10,
        OnCreate:FoldingStock
	}
	
	recipe Unfold PPS43
	{
	    PPSsmg,
	    Result:PPSsmg_folded,
		Category:Firearm,
        Sound:PutItemInBag,
	    Time:10,
        OnCreate:FoldingStock
	}
    recipe Fold PPS43
	{
		PPSsmg_folded,
		Result:PPSsmg,
		Category:Firearm,		
		Sound:PutItemInBag,
		Time:10,
        OnCreate:FoldingStock
	}

    recipe Fold ASVal
	{
		ASValrifle,
		Result:ASValrifle_Folded,
		Category:Firearm,		
		Sound:PutItemInBag,
		Time:10,
        OnCreate:FoldingStock
	}
	recipe Unfold ASVal
	{
	    ASValrifle_Folded,
	    Result:ASValrifle,
		Category:Firearm,
        Sound:PutItemInBag,
	    Time:10,
        OnCreate:FoldingStock
	}

    # recipe Attach APS stock
	# {
	# 	Pistol3,
	#     APSstock,

	# 	Result:APSpistolStock,
	# 	Category:Firearm,		
	# 	Sound:PutItemInBag,
	# 	Time:10,
    #     OnCreate:FoldingStock
	# }
	# recipe Detach APS stock
	# {
	#     APSpistolStock,
	#     Result:Pistol3,
	# 	Category:Firearm,
    #     Sound:PutItemInBag,
	#     Time:10,
    #     OnCreate:APSDetachStock
	# }

}