module Base
{
    /************************ CRAFT STUFF ************************/

    recipe Create-Sheets
    {
       destroy RippedSheets=6,
       keep [Recipe.GetItemTypes.Scissors]/[Recipe.GetItemTypes.SharpKnife],

       Result:Sheet,
	   Sound:ClothesRipping,
       Time:100.0,
       AnimNode:RipSheets,
    }

    /************************ CONVERT STUFF ************************/

    /* Kill me. This took 500 years, and looks ridiculous. But if I made a function it'd be just as bad, so in pure Dracula fashion, have at you! */
    recipe Make-Sheets
    {
       destroy  ,
       keep [Recipe.GetItemTypes.Scissors]/[Recipe.GetItemTypes.SharpKnife],

       Result:Sheet,
	   Sound:ClothesRipping,
       Time:100.0,
       AnimNode:RipSheets,
    }

	/************************ EMPTY STUFF ************************/

    recipe Empty-Bag
    {
       ConcretePowder/PlasterPowder,

       Result:EmptyConcreteBag,
	    Sound:PutItemInBag,
       Time:100.0,
    }

    recipe Empty-Sack
    {
      destroy Dirtbag/Gravelbag/Sandbag=1,

       Result:EmptySandbag,
	   Sound:PutItemInBag,
       Time:100.0,
    }

	/************************ CREATE STUFF ************************/

    recipe Create Spear
    {
        Plank/TreeBranch/Mop/Broom,
        keep [Recipe.GetItemTypes.SharpKnife]/SharpedStone/MeatCleaver,

        Result:SpearCrafted,
        Time:100.0,
        OnCreate:Recipe.OnCreate.CreateSpear,
        Category:Survivalist,
        OnGiveXP:Recipe.OnGiveXP.WoodWork5,
        Override:true
    }

   /************************ SPEAR ATTACHMENTS ************************/

    recipe Attach Machete to Spear
    {
        SpearCrafted,
        Machete,
        Rope/DuctTape/RippedSheets/LeatherStrips,

        Result:SpearMachete,
        Time:100.0,
        OnCreate:Recipe.OnCreate.UpgradeSpear,
        Category:Survivalist,
        Override:true
    }

    recipe Attach Bread Knife to Spear
    {
        SpearCrafted,
        BreadKnife,
        Rope/DuctTape/RippedSheets/LeatherStrips,

        Result:SpearBreadKnife,
        Time:100.0,
        OnCreate:Recipe.OnCreate.UpgradeSpear,
        Category:Survivalist,
        Override:true
    }

    recipe Attach Butter Knife to Spear
    {
        SpearCrafted,
        ButterKnife,
        Rope/DuctTape/RippedSheets/LeatherStrips,

        Result:SpearButterKnife,
        Time:100.0,
        OnCreate:Recipe.OnCreate.UpgradeSpear,
        Category:Survivalist,
        Override:true
    }

    recipe Attach Fork to Spear
    {
        SpearCrafted,
        Fork,
        Rope/DuctTape/RippedSheets/LeatherStrips,

        Result:SpearFork,
        Time:100.0,
        OnCreate:Recipe.OnCreate.UpgradeSpear,
        Category:Survivalist,
        Override:true
    }

    recipe Attach Letter Opener to Spear
    {
        SpearCrafted,
        LetterOpener,
        Rope/DuctTape/RippedSheets/LeatherStrips,

        Result:SpearLetterOpener,
        Time:100.0,
        OnCreate:Recipe.OnCreate.UpgradeSpear,
        Category:Survivalist,
        Override:true
    }

    recipe Attach Scalpel to Spear
    {
        SpearCrafted,
        Scalpel,
        Rope/DuctTape/RippedSheets/LeatherStrips,

        Result:SpearScalpel,
        Time:100.0,
        OnCreate:Recipe.OnCreate.UpgradeSpear,
        Category:Survivalist,
        Override:true
    }

    recipe Attach Spoon to Spear
    {
        SpearCrafted,
        Spoon,
        Rope/DuctTape/RippedSheets/LeatherStrips,

        Result:SpearSpoon,
        Time:100.0,
        OnCreate:Recipe.OnCreate.UpgradeSpear,
        Category:Survivalist,
        Override:true
    }

    recipe Attach Scissors to Spear
    {
        SpearCrafted,
        Scissors,
        Rope/DuctTape/RippedSheets/LeatherStrips,

        Result:SpearScissors,
        Time:100.0,
        OnCreate:Recipe.OnCreate.UpgradeSpear,
        Category:Survivalist,
        Override:true
    }

    recipe Attach Hand Fork to Spear
    {
        SpearCrafted,
        HandFork,
        Rope/DuctTape/RippedSheets/LeatherStrips,

        Result:SpearHandFork,
        Time:100.0,
        OnCreate:Recipe.OnCreate.UpgradeSpear,
        Category:Survivalist,
        Override:true
    }

    recipe Attach Screwdriver to Spear
    {
        SpearCrafted,
        Screwdriver,
        Rope/DuctTape/RippedSheets/LeatherStrips,

        Result:SpearScrewdriver,
        Time:100.0,
        OnCreate:Recipe.OnCreate.UpgradeSpear,
        Category:Survivalist,
        Override:true
    }

    recipe Attach Kitchen Knife to Spear
    {
        SpearCrafted,
        KitchenKnife,
        Rope/DuctTape/RippedSheets/LeatherStrips,

        Result:SpearKnife,
        Time:100.0,
        OnCreate:Recipe.OnCreate.UpgradeSpear,
        Category:Survivalist,
        Override:true
    }

    recipe Attach Hunting Knife to Spear
    {
        SpearCrafted,
        HuntingKnife,
        Rope/DuctTape/RippedSheets/LeatherStrips,

        Result:SpearHuntingKnife,
        Time:100.0,
        OnCreate:Recipe.OnCreate.UpgradeSpear,
        Category:Survivalist,
        Override:true
    }

    recipe Attach Ice Pick to Spear
    {
        SpearCrafted,
        IcePick,
        Rope/DuctTape/RippedSheets/LeatherStrips,

        Result:SpearIcePick,
        Time:100.0,
        OnCreate:Recipe.OnCreate.UpgradeSpear,
        Category:Survivalist,
        Override:true
    }
}
