Red Wine: Difference between revisions

From PZwiki
(→‎Code: Codebox Update)
(→‎Code: Update codebox to B41)
Line 51: Line 51:
   | lang = java
   | lang = java
   | line = true
   | line = true
   | start =  
   | start = 3631
   | source = items.txt
   | source = items_food.txt
   | retrieved = true
   | retrieved = true
   | version = 40.7
   | version = 41.78.16
   | code =
   | code =
item Wine2
item Wine2
{
{
  HungerChange        = -20,
DisplayName = Red Wine,
  Weight             = 1,
DisplayCategory = Food,
  Type                = Food,
Type = Food,
  ThirstChange        = -20,
Weight = 1,
  UnhappyChange      = -20,
Icon = Wine2Full,
  DisplayName        = Red Wine,
EvolvedRecipe = Beverage:4;Beverage2:4;HotDrink:4;HotDrinkRed:4;HotDrinkWhite:4;HotDrinkSpiffo:4;HotDrinkTea:4;WineInGlass:4;PastaPot:4;PastaPan:4,
  Alcoholic           = TRUE,
/*EvolvedRecipe = Beverage:4;Beverage2:4;HotDrink:4;HotDrinkRed:4;HotDrinkWhite:4;HotDrinkSpiffo:4;HotDrinkTea:4;Soup:4;Stew:4;PastaPot:4;PastaPan:4;WineInGlass:4,*/
  ReplaceOnUse       = WineEmpty2,
FoodType = Wine,
  Icon                = Wine2Full,
Alcoholic = TRUE,
  CustomContextMenu  = Drink,
CantBeFrozen = TRUE,
  CustomEatSound      = PZ_DrinkingFromBottle,
EatType = Bourbon,
  Carbohydrates       = 0,
Packaged = TRUE,
  Proteins           = 0,
ReplaceOnUse = WineEmpty2,
  Lipids              = 0,
HungerChange = -20,
  Calories            = 510,
ThirstChange = -20,
  Packaged            = TRUE,
UnhappyChange = -20,
  CantBeFrozen        = TRUE,
Calories = 510,
}
Carbohydrates = 0,
Lipids = 0,
Proteins = 0,
CustomContextMenu = Drink,
CustomEatSound = DrinkingFromBottleGlass,
StaticModel = RedWineBottle,
WorldStaticModel = WineRedGround,
}
   }}
   }}
}}
}}

Revision as of 09:00, 2 February 2024

Template:Header/sandbox2

UI Tick.png
This page has been revised for the current stable version (41.78.16).
Help by adding any missing content. [edit]
Red Wine
RedWineBottle Model.png
Empty Bottle Empty Bottle (Alcohol)
General
Category
Food
Encumbrance
Moodle Icon HeavyLoad.png
1
Properties
Packaged
True
Nutrition
HungerMoodle Icon Hungry.png
-20
ThirstMoodle Icon Thirsty.png
-20
CaloriesCalories
510
CarbohydratesCarbohydrates
0
ProteinsProteins
0
FatFat
0
Effect
UnhappinessMoodle Icon Unhappy.png
-20
Sterilize powerDisinfection
True
Technical
Item ID
Wine2

Red wine is an alcoholic non-perishable food item.

Usage

Red wine can be consumed, relieving some thirst, hunger and unhappiness.

Alcohol

Red wine is an alcoholic beverage, and will therefore increase the player's drunkenness when consumed. Being drunk will affect the player's coordination (controls), both on foot and in a vehicle. It also lowers weapon accuracy.

Crafting

Red wine is unable to be turned into a molotov cocktail.

Distribution

Red wine can be found in kitchen and bar counters, as well as near people who committed suicide.

Evolved recipes

red wine is a cooking ingredient.

Product Nutrition
Soup
Soup
10
Stew
Stew
10
Salad
Salad
10
Beverage
Beverage
10

Code

Code icon.png Code snippet! This section contains source code from Project ZomboidShow / Hide

Source: ProjectZomboid\media\scripts\items_food.txt

Retrieved: Build 41.78.16
item Wine2
	{
		DisplayName = Red Wine,
		DisplayCategory = Food,
		Type = Food,
		Weight = 1,
		Icon = Wine2Full,
		EvolvedRecipe = Beverage:4;Beverage2:4;HotDrink:4;HotDrinkRed:4;HotDrinkWhite:4;HotDrinkSpiffo:4;HotDrinkTea:4;WineInGlass:4;PastaPot:4;PastaPan:4,
		/*EvolvedRecipe = Beverage:4;Beverage2:4;HotDrink:4;HotDrinkRed:4;HotDrinkWhite:4;HotDrinkSpiffo:4;HotDrinkTea:4;Soup:4;Stew:4;PastaPot:4;PastaPan:4;WineInGlass:4,*/
		FoodType = Wine,
		Alcoholic = TRUE,
		CantBeFrozen = TRUE,
		EatType = Bourbon,
		Packaged = TRUE,
		ReplaceOnUse = WineEmpty2,
		HungerChange = -20,
		ThirstChange = -20,
		UnhappyChange = -20,
		Calories = 510,
		Carbohydrates = 0,
		Lipids = 0,
		Proteins = 0,
		CustomContextMenu = Drink,
		CustomEatSound = DrinkingFromBottleGlass,
		StaticModel = RedWineBottle,
		WorldStaticModel = WineRedGround,
	}

See also