module SapphCooking
{
	imports
	{
		Base,
	}

/**********::---------------------------:: ::---------------------------:: **************/
	/**********::--------------------:: Placeholder ::--------------------:: **************/
	/**********::---------------------------:: ::---------------------------:: **************/

    /*******sapph: since we can't use units yet, i don't want the player to use 60 units of flour for one recipe,********/
    /******* so in here i'll make a placeholder for flour in recipes!***********/

    /*******************PLACEHOLDER LIQUIDS**************************/
    /*****place holder until liquids are working*****/
	
	item ThermosCoffee
	{
		DisplayCategory 		= Food,
		Weight 		= 1,
		ItemType 		= base:food,
		IsCookable = FALSE,
		DisplayName 		= Thermos of Coffee,
		CustomEatSound 		= PZ_DrinkingFromBottle,
		Icon 		= CoffeeThermosIcon,
		ThirstChange 		= -80,
		HungerChange 		= -10,
		UnhappyChange 		= -80,
		FatigueChange 		= -80,
		StressChange 		= -80,
		ReplaceOnUse 		= EmptyThermos,
		CustomContextMenu 		= Drink,
		CustomEatSound 		= DrinkingFromMug,
		StaticModel 		= H_CoffeeThermos,
		WorldStaticModel 		= CoffeeThermos_Ground,
		Tags = sapphcooking:thermos;sapphcooking:coffeecup;base:hideuncooked;base:hidecooked;base:coffeemaker;base:hasmetal;sapphcooking:returnthermos,

	}
    item ThermosCoffeeEvolved
	{
		DisplayCategory 		= Food,
		Weight 		= 1,
		ItemType 		= base:food,
		IsCookable = FALSE,
		DisplayName 		= Thermos of Coffee,
		CustomEatSound 		= PZ_DrinkingFromBottle,
		Icon 		= CoffeeThermosIcon,
		ThirstChange 		= -100,
		HungerChange 		= -20,
		UnhappyChange 		= -100,
		FatigueChange 		= -100,
		StressChange 		= -100,
		ReplaceOnUse 		= EmptyThermos,
		CustomContextMenu 		= Drink,
		CustomEatSound 		= DrinkingFromMug,
		StaticModel 		= H_CoffeeThermos,
		WorldStaticModel 		= CoffeeThermos_Ground,
		Tags = sapphcooking:thermos;sapphcooking:coffeecup;base:hideuncooked;base:hidecooked;base:coffeemaker;base:hasmetal;sapphcooking:returnthermos,
	}
    item ThermosBeverage
	{
		DisplayCategory 		= Food,
		Weight 		= 1,
		ItemType 		= base:food,
		DisplayName 		= Thermos,
		CustomEatSound 		= PZ_DrinkingFromBottle,
		Icon 		= CoffeeThermosIcon,
		ThirstChange 		= -30,
		UnhappyChange 		= -5,
		FatigueChange 		= -5,
		StressChange 		= -5,
		ReplaceOnUse 		= EmptyThermos,
		CustomContextMenu 		= Drink,
		CustomEatSound 		= DrinkingFromMug,
		StaticModel 		= H_CoffeeThermos,
		WorldStaticModel 		= CoffeeThermos_Ground,
		Tags = base:coffeemaker;base:hasmetal;base:hidecooked;sapphcooking:returnthermos,
	}

    item MugBrewCoffee
	{
		DisplayCategory 		= Food,
		Weight 		= 0.5,
		ItemType 		= base:food,
		DisplayName 		= Mug of Brewed Coffee,
		CustomEatSound 		= PZ_DrinkingFromBottle,
		IconsForTexture = Mugl;MugRed;MugWhite;MugBlue;MugYellow,
		WorldStaticModelsByIndex = Mug;MugRed;MugWhite;MugBlue;MugYellow,
		ThirstChange 		= -20,
		HungerChange 		= -10,
		UnhappyChange 		= -20,
		FatigueChange 		= -30,
		StressChange 		= -20,
		ReplaceOnUse 		= Mugl,
		CustomContextMenu 		= Drink,
		CustomEatSound 		= DrinkingFromMug,
		GoodHot 		= true,
		StaticModel 		= Mug,
		Tags = base:coffeemaker;base:hasmetal,
	}
    item MugBrewCoffee2
	{
		DisplayCategory 		= Food,
		Weight 		= 0.5,
		CustomEatSound 		= PZ_DrinkingFromBottle,
		ItemType 		= base:food,
		DisplayName 		= Mug of Brewed Coffee,
		Icon 		= MugWhiteFull,
		ThirstChange 		= -20,
		HungerChange 		= -10,
		UnhappyChange 		= -20,
		FatigueChange 		= -30,
		StressChange 		= -20,
		ReplaceOnUse 		= MugWhite,
		CustomContextMenu 		= Drink,
		CustomEatSound 		= DrinkingFromMug,
		GoodHot 		= true,
		StaticModel 		= MugWhite,
		WorldStaticModel 		= MugWhite,
		Tags = base:coffeemaker;base:hasmetal,
	}
	item MugBrewCoffee4
	{
		DisplayCategory 		= Food,
		Weight 		= 0.5,
		ItemType 		= base:food,
		DisplayName 		= Mug of Brewed Coffee,
		CustomEatSound 		= PZ_DrinkingFromBottle,
		Icon 		= MugSpiffoFull,
		ThirstChange 		= -20,
		HungerChange 		= -10,
		UnhappyChange 		= -20,
		FatigueChange 		= -30,
		StressChange 		= -20,
		ReplaceOnUse 		= MugSpiffo,
		CustomContextMenu 		= Drink,
		CustomEatSound 		= DrinkingFromMug,
		GoodHot 		= true,
		StaticModel 		= MugSpiffo,
		WorldStaticModel 		= MugSpiffo,
		Tags = base:coffeemaker;base:hasmetal,
	}
    item MugCoffee_Metal
	{
		DisplayCategory 		= Food,
		Weight 		= 0.5,
		ItemType 		= base:food,
		DisplayName 		= Mug of Coffee,
		CustomEatSound 		= PZ_DrinkingFromBottle,
		Icon 		= MugMetalIcon,
		ThirstChange 		= -10,
		HungerChange 		= -5,
		FatigueChange 		= -5,
		StressChange 		= -5,
		UnhappyChange 		= -10,
		DaysFresh 		= 1,
		DaysTotallyRotten 		= 1,
		ReplaceOnUse 		= Mug_Metal,
		CustomContextMenu 		= Drink,
		CustomEatSound 		= DrinkingFromMug,
		GoodHot 		= true,
		StaticModel 		= H_MugMetal,
		WorldStaticModel 		= MugMetal_Ground,
		Tags = base:coffeemaker;base:hasmetal,
	}

    /****************PLACE HOLDER RECIPES********************/

	craftRecipe UseasCookingOil1
    {
        timedAction = MixingBowl,
        time            = 30,
        category = SapphCooking,
		CanWalk = true,
        Tags = InHandCraft;Cooking,
        inputs
        {
            item 8 [Base.Butter;Base.Lard],
			item 1 [Base.Bowl],
			+fluid 0.4 CookingOil,
        }
        outputs
        {
        }
    }

	craftRecipe UseasCookingOil2
    {
        timedAction = MixingBowl,
        time            = 20,
        category = SapphCooking,
		CanWalk = true,
        Tags = InHandCraft;Cooking,
        inputs
        {
            item 1 [Base.OilOlive;Base.OilVegetable] flags[ItemCount],
        }
        outputs
        {
			item 1 SapphCooking.PeanutOil,
        }
    }

	craftRecipe ConvertBottleSapph
    {
        timedAction = UnPackBoxSapph_Small,
        time            = 10,
        category = SapphCooking,
        Tags = InHandCraft;Cooking;CanBeDoneInDark,
        inputs
        {
            item 1 [SapphCooking.BottleofAppleJuice;SapphCooking.BottleofGrapeJuice;SapphCooking.BottleofOrangeJuice;SapphCooking.BottleofPeachJuice;SapphCooking.BottleofPineappleJuice;SapphCooking.BottleofWatermelonJuice;SapphCooking.BottleofStrawberryJuice] mode:destroy flags[IsEmpty;ItemCount],
        }
        outputs
       	{
           item 1 Base.WaterBottle,
       	}
	}

}