module Hydrocraft
{
    imports
    {
        Base

    }

/************************ITEMS************************/


item HCCharcoalpowder
    {
        Weight    		= 0.1,
        Type    		= Normal,
        DisplayName         	= Charcoal Powder,
        icon 			= HCCharcoalpowder,
    } 

item HCSaltpowder
    {
        Weight    		= 0.1,
        Type    		= Normal,
        DisplayName         	= Salt Powder,
        icon 			= HCSaltpowder,
    } 

item HCSaltpeterpowder
    {
        Weight    		= 0.1,
        Type    		= Normal,
        DisplayName         	= Saltpeter Powder,
        icon 			= HCSaltpeterpowder,
    }  

item HCSulphurpowder
    {
        Weight    		= 0.1,
        Type    		= Normal,
        DisplayName         	= Sulphur Powder,
        icon 			= HCSulphurpowder,
    }

item HCAluminumpowder
    {
        Weight    		= 0.1,
        Type    		= Normal,
        DisplayName         	= Aluminum Powder,
        icon 			= HCAluminumpowder,
    }

item HCPhosphoruspowder
    {
        Weight    		= 0.1,
        Type    		= Normal,
        DisplayName         	= Phosphorus Powder,
        icon 			= HCPhosphoruspowder,
    }

item HCLithiumpowder
    {
        Weight    		= 0.1,
        Type    		= Normal,
        DisplayName         	= Lithium Powder,
        icon 			= HCLithiumpowder,
    }

item HCChalkpowder
    {
        Weight   		= 0.1,
        Type    		= Normal,
        DisplayName         	= Chalk Powder,
        icon 			= HCChalkpowder,
    }

item HCEphedrinepowder
    {
        Weight    		= 0.1,
        Type    		= Normal,
        DisplayName         	= Ephedrine Powder,
        icon 			= HCEphedrinepowder,
    }

item HCTar
    {
        Weight    		= 0.3,
        Type    		= Drainable,
        UseDelta	        = 0.2,
        DisplayName         	= Tar,
        icon 			= HCTar,
    } 

item HCTarmug
    {
        Weight    		= 0.5,
        Type    		= Drainable,
        UseDelta	        = 0.4,
        ReplaceOnDeplete        = Mugl,
        DisplayName         	= Mug of Tar,
        icon 			= HCTarmug,
    } 

item HCTarbucket
    {
        Weight    		= 1,
        Type    		= Drainable,
        UseDelta	        = 0.8,
        ReplaceOnDeplete        = BucketEmpty,
        DisplayName         	= Bucket of Tar,
        icon 			= HCTarbucket,
    } 

item HCWoodenbuckettar
    {
        Weight    		= 4,
        Type    		= Normal,
        DisplayName         	= Wooden Bucket with Tar,
        icon 			= HCWoodenbuckettar,
	ResizeWorldIcon 	= FALSE,
    }

item HCThermite
    {
        Weight			= 0.1,
        Type    		= Normal,
        DisplayName         	= Thermite,
        icon 			= HCThermite,
    }

item HCAmmoniawet
    {
        Weight			= 2,
        Type    		= Normal,
        DisplayName         	= Wet Ammoia Bag,
        icon 			= HCAmmoniawet,
    }

item HCAmmoniatray
    {
	IsCookable		= TRUE,
        MinutesToCook	        = 40,
        MinutesToBurn	        = 200,
        ReplaceOnCooked		= BBAmmonaiadry,
        Weight			= 2,
        Type    		= Food,
        DisplayName         	= Ammonia Tray,
        icon 			= HCAmmoniatray,
        Poison                  = true,
	PoisonDetectionLevel 	= 3,
	PoisonPower 		= 40,
    }

item HCAmmoniadry
    {
        Weight			= 2,
        Type    		= Food,
        DisplayName         	= Dry Ammonia,
        icon 			= HCAmmonaldry,
    }

item HCAmmonia
    {
        Weight			= 2,
        Type    		= Normal,
        DisplayName         	= Ammonia Bag,
        icon 			= HCAmmonia,
    }

item HCCrystalmeth
    {  
        Weight                  = 0.8,
        Type                    = Food,
        ThirstChange            = -5,
        UnhappyChange		= -15,
        FatigueChange           = -20,
        StressChange            = 20,
        Poison                  = true,
        PoisonDetectionLevel    = 1,
        PoisonPower             = 5,
        UseForPoison            = 1,
        DisplayName		= Homemade Crystal Meth,                                                    
        ReplaceOnUse	        = HCZipperbag,    
        Icon			= HCCrystalmeth,
    }

item HCBluebarrel
    {
        Weight    		= 10,
        Type    		= Drainable,
        DisplayName     	= Methylamin,
        ResizeWorldIcon 	= FALSE,
        icon 			= HCBluebarrel,
	ReplaceOnDeplete	= HCEmptybarrelblue,
    } 

item HCToxicwaste
    {
        Weight    		= 25,
        Type    		= Normal,
        DisplayName     	= Toxic Waste,
        ResizeWorldIcon 	= FALSE,
        icon 			= HCToxicwaste,
    } 

item HCMetalbarrel
    {
        Weight    		= 10,
        Type    		= Drainable,
        DisplayName     	= Phenylacetic Acid,
        ResizeWorldIcon 	= FALSE,
        icon 			= HCMetalbarrel,
	ReplaceOnDeplete	= HCEmptybarrelmetal,
    } 

item HCEmptybarrelmetal
    {
        Weight    		= 4,
        Type	                = Container,
        Capacity	        = 27,
        DisplayName     	= Empty Metal Barrel,
        ResizeWorldIcon 	= FALSE,
        icon 			= HCEmptybarrelmetal,
    } 

item HCEmptybarrelblue
    {
        Weight    		= 3,
        Type	                = Container,
        Capacity	        = 27,
        DisplayName     	= Empty Blue Barrel,
        ResizeWorldIcon 	= FALSE,
        icon 			= HCEmptybarrelblue,
    } 

item HCBluemethtray
    {
        Weight    		= 3,
        Type    		= Normal,
        DisplayName     	= Bakingtray with Blue Meth,
        icon 			= HCBluemethtray,
    } 


item HCBluemeth
    {  
        HungerChange            = -20,
        Weight                  = 0.5,
        Type                    = Food,
        ThirstChange            = -5,
        UnhappyChange		= -15,
        FatigueChange           = -60,
        StressChange            = 30,
        DisplayName		= Blue Meth,                                                                             
	ReplaceOnUse	        = HCZipperbag,                                                                              
	Icon			= HCBluemeth,
     }

item HCWoodenbucketlye
    {
        Weight    		= 4,
        Type    		= Normal,
        DisplayName         	= Wooden Bucket with Lye,
        icon 			= HCWoodenbucketlye,
	ResizeWorldIcon 	= FALSE,
    }

/************************RECIPES************************/
    

recipe Make Chalk Powder
    {
    keep HCMortarandpestle/HCGrindstone/HCLab,
    HCChalk/HCChalkrock,
    CanBeDoneFromFloor:true,
    Result:HCChalkpowder,
    Time:50,
    Category:Alchemy,
    }

recipe Make Charcoal Powder
    {
    keep HCMortarandpestle/HCGrindstone/HCLab,
    Charcoal,
    CanBeDoneFromFloor:true,
    Result:HCCharcoalpowder,
    NeedToBeLearn:true,
    Time:50,
    Category:Alchemy,
    }

recipe Make Saltpeter Powder
    {
    keep HCMortarandpestle/HCGrindstone/HCLab,
    HCSaltpeter,
    CanBeDoneFromFloor:true,
    Result:HCSaltpeterpowder,
    NeedToBeLearn:true,
    Time:50,
    Category:Alchemy,
    }

recipe Make Sulphur Powder
    {
    keep HCMortarandpestle/HCGrindstone/HCLab,
    HCSulphur,
    CanBeDoneFromFloor:true,
    Result:HCSulphurpowder,
    NeedToBeLearn:true,
    Time:50,
    Category:Alchemy,
    }

recipe Make Aluminum Powder
    {
    keep HCMortarandpestle/HCGrindstone/HCLab,
    HCAluminumingot,
    CanBeDoneFromFloor:true,
    Result:HCAluminumpowder,
    NeedToBeLearn:true,
    Time:50,
    Category:Alchemy,
    }

recipe Make Phosphorus Powder
    {
    keep HCMortarandpestle/HCGrindstone/HCLab,
    keep KitchenKnife/HCScalpel/HCJackknife,
    Matches=15,
    CanBeDoneFromFloor:true,
    Result:HCPhosphoruspowder,
    NeedToBeLearn:true,
    Time:50,
    Category:Alchemy,
    }

recipe Make Lithium Powder
    {
    keep HCMortarandpestle/HCGrindstone/HCLab,
    HCLithiumingot,
    Result:HCLithiumpowder,
    CanBeDoneFromFloor:true,
    NeedToBeLearn:true,
    Time:50,
    Category:Alchemy,
    }

recipe Make Thermite
    {
    Aluminum,
    HCToydrawing=2,
    keep HCPliers,
    Result:HCThermite,
    NeedToBeLearn:true,
    Time:50,
    Category:Alchemy,
    }

recipe Make Thermite
    {
    Sparklers=10,
    keep HCMortarandpestle/HCGrindstone/HCLab,
    Result:HCThermite,
    NeedToBeLearn:true,
    Time:50,
    Category:Alchemy,
    }

recipe Make Ammonia
    {
         destroy Fertilizer,
         Water=10, 
         keep Shovel,
	 keep HCEmptybarrelmetal/HCEmptybarrelblue/HCWoodenbarrel,
         CanBeDoneFromFloor:true,
	 Result:HCAmmoniawet,
         NeedToBeLearn:true,
	 Time:400.0,
    	 Category:Alchemy,
         OnCreate:hcammoniamaking,
    }

recipe Dry Ammonia
    {
       	HCAmmoniawet,
       	BakingTray,
       	Result:HCAmmoniatray,
       	NeedToBeLearn:true,
       	Time:1000.0,
    	Category:Alchemy,
       	OnCreate:hcdryammoniarecipe,
    }

recipe Fill Ammonia in Bag
    {
       HCAmmoniadry,
       EmptySandbag,
       NeedToBeLearn:true,
       Result:HCAmmonia,
       Time:100.0,
       Category:Alchemy,
       OnCreate:hcfillammoniarecipe,
    }

recipe Make Ephedrin Powder
    {
    keep HCMortarandpestle/HCGrindstone/HCLab,
    PillsVitamins=15,
    Result:HCEphedrinepowder,
    CanBeDoneFromFloor:true,
    NeedToBeLearn:true,
    Time:50,
    Category:Alchemy,
    }

recipe Make Gunpowder
    {
    HCSulphurpowder,
    HCSaltpeterpowder,
    HCCharcoalpowder,
    Result:GunPowder,
    NeedToBeLearn:true,
    Time:100,
    Category:Alchemy,
    }

recipe Make 9mm Bullets
    {
    keep HCFunnel,
    GunPowder=10,
    HCBulletcasings=10,
    HCBullettips=10,
    Result:BulletsBox,
    Time:100,
    Category:Engineer,
    }

recipe Make .223 Bullets
    {
    keep HCFunnel,
    GunPowder=30,
    HCBulletcasings=10,
    HCBullettips=10,
    Result:223Box,
    Time:100,
    Category:Engineer,
    }

recipe Make .308 Bullets
    {
    keep HCFunnel,
    GunPowder=30,
    HCBulletcasings=10,
    HCBullettips=10,
    Result:308Box,
    Time:100,
    Category:Engineer,
    }

recipe Make Shotgun Shells
    {
    keep HCFunnel,
    GunPowder=10,
    HCBuckshot=10,
    SheetPaper=10,
    Result:ShotgunShellsBox,
    Time:100,
    Category:Engineer,
    }

recipe Fill Mug With Tar 
    {
    Mugl,
    HCTar=2,
    Result:HCTarmug,
    Time:50,
    Category:Alchemy,
    }

recipe Fill Bucket With Tar 
    {
    BucketEmpty,
    HCTar=6,
    Result:HCTarbucket,
    Time:50,
    Category:Alchemy,
    }


recipe Fill Wooden Bucket With Tar 
    {
    HCWoodenbucket,
    HCTar=6,
    Result:HCWoodenbuckettar,
    Time:50,
    Category:Alchemy,
    }


recipe Empty Mug of Tar
    {
    destroy HCTarmug,
    Result:HCTar=2,
    Time:40.0,
    OnCreate:HCEmptytarmug,
    Category:Alchemy,
    }

recipe Empty Bucket of Tar
    {
    destroy HCTarbucket,
    Result:HCTar=6,
    Time:50,
    OnCreate:HCEmptytarbucket,
    Category:Alchemy,
    }

recipe Empty Wooden Bucket of Tar
    {
    destroy HCWoodenbuckettar,
    Result:HCTar=6,
    Time:50,
    OnCreate:recipe_hcwoodenbucket,
    Category:Alchemy,
    }

recipe Make Homemade Crystal Meth 
    {
       	SkillRequired:Doctor=3,        
        keep HCLab,
        keep HCGasmask/HCGasmaskimpro,
        HCLatexgloves/HCRubberglove,
        HCLithiumpowder,
        HCPhosphoruspowder,
        HCEphedrinepowder,
        HCZipperbag,
        CanBeDoneFromFloor:true, 
        NeedToBeLearn:true,
        Result:HCCrystalmeth,
        Time:600,
    	Category:Alchemy,
    }

recipe Liquidate Body
    {
        CorpseMale/CorpseFemale,
        HCMetalbarrel=10,
	HCEmptybarrelblue,
        CanBeDoneFromFloor:true,
   	Result:HCToxicwaste,
    	Time:350,
    	Category:Alchemy,
    }

recipe Cook Blue Meth
    {
       	SkillRequired:Doctor=4,
        keep HCLabbig,
        keep HCHazmat,
        BakingTray=5,
        HCAluminumpowder=5,
        destroy HCBluebarrel,
        destroy HCMetalbarrel,
        CanBeDoneFromFloor:true,
        NeedToBeLearn:true,
        OnGiveXP:MakeEphedrin_OnGiveXP, 
   	Result:HCBluemethtray=5,
    	Time:5000,
    	Category:Alchemy,
        OnCreate:hcmeth,
    }

recipe Fill Blue Meth in Bags
    {
        HCBluemethtray=1,
        keep KitchenKnife/HCSpatula,
        HCZipperbag=5,
   	Result:HCBluemeth=5,
    	Time:500,
        OnCreate:hcbluemethrecipe,
    	Category:Alchemy,
    }

recipe Make Bucket of Lye
    {
       	SkillRequired:Cooking=3,
	destroy HCWoodenbucketwater,
	HCCharcoalpowder=5,
	Stone,
	HCGrass/HCStraw,
   	Result:HCWoodenbucketlye,
    	Time:5000,
    	Category:Alchemy,
    }

recipe Empty Metal Barrel
    {
	destroy HCMetalbarrel,
   	Result:HCEmptybarrelmetal,
    	Time:15,
    	Category:Alchemy,
    }

}