module Base
{

/* <<<<<  Meat  >>>>> */

    craftRecipe VFX_PrepareMinceMeat
	{
		timedAction = SliceFood_Surface,
		time = 300,
		category = Cooking,
		Tags = AnySurfaceCraft;Cooking,
		xpAward = Cooking:3,
        OnCreate = VFX.TransferNutrition,

		inputs
		{
			item 30 [Base.Beef;Base.Steak;VFX.BeefBrisket;VFX.BeefShank;VFX.BeefShortRibs;Base.MuttonChop;VFX.LambLeg;Base.Chicken;Base.ChickenWings;Base.ChickenFillet;VFX.ChickenThighs;VFX.ChickenDrumsticks;Base.Pork;Base.PorkChop;VFX.PorkRibs;VFX.PorkBelly;Base.TurkeyLegs;Base.TurkeyWings;Base.TurkeyFillet;Base.Rabbitmeat;Base.Smallanimalmeat;Base.Venison;Base.Salmon;Base.FrogMeat;Base.FishFillet;Base.Smallbirdmeat] mappers[meatType] flags[InheritFoodAge;InheritWeight;IsUncookedFoodItem;IsExclusive],
			item 1 tags[base:sharpknife;base:meatcleaver] mode:keep flags[MayDegradeVeryLight],
		}

		outputs
		{
			item 1 mapper:meatType,
		}

		itemMapper meatType
		{
			Base.MincedMeat = Base.Beef,
			Base.MincedMeat = Base.Steak,
			Base.MincedMeat = VFX.BeefBrisket,
			Base.MincedMeat = VFX.BeefShank,
			Base.MincedMeat = VFX.BeefShortRibs,
			VFX.GroundLamb = Base.MuttonChop,
			VFX.GroundLamb = VFX.LambLeg,
			VFX.GroundChicken = Base.Chicken,
			VFX.GroundChicken = Base.ChickenWings,
			VFX.GroundChicken = Base.ChickenFillet,
            VFX.GroundChicken = VFX.ChickenThighs,
            VFX.GroundChicken = VFX.ChickenDrumsticks,
			VFX.GroundPork = Base.Pork,
			VFX.GroundPork = Base.PorkChop,
			VFX.GroundPork = VFX.PorkRibs,
			VFX.GroundPork = VFX.PorkBelly,
			VFX.GroundTurkey = Base.TurkeyLegs,
			VFX.GroundTurkey = Base.TurkeyWings,
			VFX.GroundTurkey = Base.TurkeyFillet,
			VFX.GroundRabbit = Base.Rabbitmeat,
			VFX.GroundRodent = Base.Smallanimalmeat,
			VFX.GroundVenison = Base.Venison,
			VFX.GroundSalmon = Base.Salmon,
			VFX.GroundFrog = Base.FrogMeat,
			VFX.GroundFish = Base.FishFillet,
			VFX.GroundSmallBird = Base.Smallbirdmeat,
		}
	}

    craftRecipe VFX_PreparePatty
	{
		timedAction = SliceFood_Surface,
		time = 30,
		category = Cooking,
		Tags = AnySurfaceCraft;Cooking,
		OnCreate = VFX.TransferNutrition,

		inputs
		{
			item 30 [VFX.GroundChicken;VFX.GroundPork;VFX.GroundLamb;VFX.GroundTurkey;VFX.GroundVenison;VFX.GroundRabbit;VFX.GroundRodent;VFX.GroundSmallBird;VFX.GroundFish;VFX.GroundSalmon;VFX.GroundFrog] mappers[meatType] flags[IsUncookedFoodItem;IsExclusive;InheritFoodAge],
		}

		outputs
		{
			item 1 mapper:meatType,
		}

		itemMapper meatType
		{
			VFX.PattyChicken = VFX.GroundChicken,
			VFX.PattyPork = VFX.GroundPork,
			VFX.PattyLamb = VFX.GroundLamb,
			VFX.PattyTurkey = VFX.GroundTurkey,
			VFX.PattyVenison = VFX.GroundVenison,
			VFX.PattyRabbit = VFX.GroundRabbit,
			VFX.PattyRodent = VFX.GroundRodent,
			VFX.PattySmallBird = VFX.GroundSmallBird,
			VFX.PattyFish = VFX.GroundFish,
			VFX.PattySalmon = VFX.GroundSalmon,
			VFX.PattyFrog = VFX.GroundFrog,
		}
	}

	craftRecipe VFX_PrepareMeatball
	{
		timedAction = SliceFood_Surface,
		time = 6,
		category = Cooking,
		Tags = AnySurfaceCraft;Cooking,
		OnCreate = VFX.TransferNutrition,

		inputs
		{
			item 8 [VFX.GroundChicken;VFX.GroundPork;VFX.GroundLamb;VFX.GroundTurkey;VFX.GroundVenison;VFX.GroundRabbit;VFX.GroundRodent;VFX.GroundSmallBird;VFX.GroundFish;VFX.GroundSalmon;VFX.GroundFrog;Base.MincedMeat] mappers[meatType] flags[IsUncookedFoodItem;IsExclusive;InheritFoodAge],
		}

		outputs
		{
			item 1 mapper:meatType,
		}

		itemMapper meatType
		{
            VFX.BeefMeatball = Base.MincedMeat,	
            VFX.ChickenMeatball = VFX.GroundChicken,
            VFX.TurkeyMeatball = VFX.GroundTurkey,
			VFX.PorkMeatball = VFX.GroundPork,
			VFX.MeatballLamb = VFX.GroundLamb,
			VFX.MeatballVenison = VFX.GroundVenison,
			VFX.MeatballRabbit = VFX.GroundRabbit,
			VFX.MeatballRodent = VFX.GroundRodent,
			VFX.MeatballSmallBird = VFX.GroundSmallBird,
			VFX.MeatballFish = VFX.GroundFish,
			VFX.MeatballSalmon = VFX.GroundSalmon,
			VFX.MeatballFrog = VFX.GroundFrog,
		}
	}

    craftRecipe VFX_SplitChickenLeg
    {
        timedAction = SliceFood_Surface,
        time = 15,
        category = Cooking,
        Tags = AnySurfaceCraft;Cooking,
        OnCreate = VFX.TransferHungerNutrition,

        inputs
        {
            item 1 [Base.Chicken] flags[InheritCooked;ItemCount;InheritWeight],
            item 1 tags[base:sharpknife;base:meatcleaver] mode:keep flags[IsNotDull;SharpnessCheck],
        }

        outputs
        {
            item 1 VFX.ChickenThighs,
            item 1 VFX.ChickenDrumsticks,
        }
    }

}