Tasty Soup

From PZwiki
Revision as of 10:42, 6 February 2014 by Rorschach (talk | contribs)

Tasty Soup


Tasty Soup is a tasty yet nutritious food item that is crafted with a full pot of water and three soup ingredients, the soup relieves a huge amount of hunger and a medium amount of boredom and unhappiness. It is not advised to eat simple soup if the 'hungry' moodle has not appeared, as a good amount of will go to waste. Cooking the soup will greatly increase its effectiveness.

Effects

Moodles: -15
Hungry: -55
Unhappy: -20

Crafting

Name Recipe Description
























Bugs

- 0.2.0R: Trying to craft tasty soup (soup with three ingredients) causes the game to crash. Copy/pasting recipecode.lua in Project Zomboid\media\luaexamples\other to Project Zomboid\media\lua solves the problem.

- 0.2.0R: Placing a pot of any soup and four bowls will output 4 bowls but not refund you an empty pot of soup, meaning the pot of soup is destroyed by pouring the soup into the bowls. This can be fixed by adding a TastyBowl_OnGrab function to the recipecode.lua that adds "Base.Pot" to the player's inventory, and this function needs to be called by adding "TastyBowl4_OnGrab," after the output lines of the TastyBowls4 recipe.

Code

	item TastySoup
	{
		HungerChange	=	-55,
		Weight	=	6,
		Type	=	Food,
		IsCookable	=	TRUE,
		UnhappyChange	=	-20,
		MinutesToBurn	=	140,
		DisplayName	=	Tasty Soup,
		ReplaceOnUse	=	Pot,
		Icon	=	PotFull,
		MinutesToCook	=	90,
		BoredomChange	=	-15,
        DaysTotallyRotten	=	4,
        DaysFresh = 2,
        CustomContextMenu = Drink,
	}
}

Template:Navbox/Consumables