Juice Box: Difference between revisions

From PZwiki
(New infobox + new layout)
(updated to 41.68 + added model + navbox)
Line 1: Line 1:
{{languages|Juice Box}}
{{languages}}
{{header|Project Zomboid|Items|Food|Non-Perishable Food|type=Food|version=Version 40|incver=14}}{{Infobox food
{{header|Project Zomboid|Items|Food|Drinks|type=Food|version=Version 41|incver=68}}{{Infobox food
|display_name=Juice Box
|display_name=Juice Box
|name_colour=Food
|name_colour=Food
|name_text_colour=Food
|name_text_colour=Food
|image=JuiceBox_120px.png
|image=JuiceBox_Model.png
|image_width=200px
|alternate_image=JuiceBox.png
|alternate_name=Juice Box
|alternate_link=
<!--GENERAL-->
<!--GENERAL-->
|category=Food
|category=Food
Line 29: Line 33:


== Code ==
== Code ==
'''''From newitems.txt (Project Zomboid directory/media/scripts/)'''''
'''''From items_food.txt (Project Zomboid directory/media/scripts/)'''''
{{Retrieved|version=40|incver=14}}
{{Retrieved|version=41|incver=68}}
<pre> item JuiceBox
<pre>   item JuiceBox
{
DisplayCategory = Food,
Type = Food,
Type = Food,
DisplayName = Juice Box,
DisplayName = Juice Box,
Line 38: Line 44:
HungerChange = -2,
HungerChange = -2,
ThirstChange = -13,
ThirstChange = -13,
UnhappyChange = -10,
UnhappyChange     = -10,
CustomContextMenu = Drink,
CustomContextMenu = Drink,
CustomEatSound = PZ_DrinkingFromBottle,
CustomEatSound = DrinkingFromCarton,
         Carbohydrates = 14,
         Carbohydrates = 14,
         Proteins = 0,
         Proteins = 0,
         Lipids = 0,
         Lipids = 0,
         Calories = 60,
         Calories = 60,
         Packaged = TRUE,</pre>
         Packaged = TRUE,
        WorldStaticModel = JuiceBox,
}</pre>


==See also==
==See also==
Line 52: Line 60:
*[[Milk]]
*[[Milk]]


{{Navbox/Consumables}}
{{Navbox_food}}

Revision as of 14:10, 13 March 2022

Project ZomboidItemsFoodDrinksJuice Box
Juice Box
Juice Box
Juice Box
General
Category Food
Encumbrance
Heavy Load
0.1
Packaged True
Nutrition
Hunger
Hunger
-2
Thirst
Thirst
-13
Calories
Calories
60
Carbohydrates
Carbohydrates
14
Proteins
Proteins
0
Fat
Fat
0
Effect
Unhappiness
Unhappiness
-10
Technical details
Item ID Base.JuiceBox

A juice box is a non-perishable food item.

Usage

A juice box can be eaten, providing the player with some positive effects, including reducing unhappiness.

Distribution

Juice boxes can be found in convenience store, Spiffo's and Pizza Whirled refrigerators.

Code

From items_food.txt (Project Zomboid directory/media/scripts/) Retrieved: Build 41.68

    item JuiceBox
	{
		DisplayCategory 	= Food,
		Type			= Food,
		DisplayName		= Juice Box,
		Icon			= JuiceBox,
		Weight			= 0.1,
		HungerChange 		= -2,
		ThirstChange		= -13,
		UnhappyChange	    	= -10,
		CustomContextMenu 	= Drink,
		CustomEatSound 		= DrinkingFromCarton,
        	Carbohydrates 		= 14,
        	Proteins 		= 0,
        	Lipids 			= 0,
        	Calories 		= 60,
        	Packaged 		= TRUE,
        	WorldStaticModel 	= JuiceBox,
	}

See also