Red Wine: Difference between revisions

From PZwiki
mNo edit summary
Line 41: Line 41:


==Distribution==
==Distribution==
Red wine can be found in kitchen and bar [[Containers#Counters|counters]].
Red wine can be found in kitchen and bar [[Containers#Counters|counters]] and in people who committed suicide by drinking wine until they died.


== Code ==
== Code ==

Revision as of 23:48, 1 February 2023

Project ZomboidItemsFoodDrinksRed Wine
Red Wine
Red Wine
Red Wine Empty Bottle
General
Category Food
Encumbrance
Heavy Load
1
Can't be frozen True
Packaged True
Nutrition
Hunger
Hunger
-20
Thirst
Thirst
-20
Calories
Calories
510
Carbohydrates
Carbohydrates
0
Proteins
Proteins
0
Fat
Fat
0
Effect
Unhappiness
Unhappiness
-20
Alcohol
Drunk
True
Technical details
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 as it is consumed. Being drunk will affect the player's coordination (controls), both on foot and in a vehicle, and 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 and in people who committed suicide by drinking wine until they died.

Code

From items.txt (Project Zomboid directory/media/scripts/) Retrieved: Build 40.7

	item Wine2
		HungerChange		= -20,
	    	Weight			= 1,
		Type			= Food,
		ThirstChange		= -20,
        	UnhappyChange		= -20,
		DisplayName		= Red Wine,
		Alcoholic		= TRUE,
		ReplaceOnUse		= WineEmpty2,
		Icon			= Wine2Full,
		CustomContextMenu 	= Drink,
		CustomEatSound 		= PZ_DrinkingFromBottle,
        	Carbohydrates 		= 0,
        	Proteins 		= 0,
        	Lipids 			= 0,
        	Calories 		= 510,
        	Packaged 		= TRUE,
        	CantBeFrozen 		= TRUE,

See also

Template:Navbox/Consumables