Juice Box: Difference between revisions

From PZwiki
m (fixed language and container links)
(New infobox + new layout)
Line 1: Line 1:
__NOTOC__
{{languages|Juice Box}}
{{languages|Juice Box}}
<div class="header" style="margin: 5px; align: right; background: #CEF2E0; padding: 13px; text-align: left; font-size: 100%; color:#000000; border: 1px solid #A3BFB1"> <!-- Code for Background Colour -->
{{header|Project Zomboid|Items|Food|Non-Perishable Food|type=Food|version=Version 40|incver=14}}{{Infobox food
<div style="float: right;background: #CEF2E0;border: 1px solid #A3BFB1; margin: -30pt -10.5pt">    '''Page Updated @ Version: 34.28'''    </div><!-- Code for Version Tag at top -->
|display_name=Juice Box
<div style="float: left;background: #CEF2E0;border: 1px solid #A3BFB1; margin: -30pt -10.5pt">   '''Navigation''' - [[:Category:Main|Main Index]] -> [[:Category:The_Game_World|The Game World]] -> [[:Category:Items|Items]] -> [[:Category:Consumables|Consumables]] -> [[:Category:Food|Food]] -> [[:Category:Non-Perishable_Food|Non Perishable Foods]] -> [[{{PAGENAME}}]]   </div><!-- Code for Navigation Bar at top, special blank char's before '''Navigation''' to give space -->
|name_colour=Food
{{Consumables
|name_text_colour=Food
|image = JuiceBox.png
|image=JuiceBox_120px.png
|hunger = -2
<!--GENERAL-->
|unhappiness = -10
|category=Food
|thirst = -13
|weight=0.1
|weight = 0.1
|packaged=True
}}
<!--NUTRITION-->
A Juice Box is an [[Food#Non-Perishable|non-perishable]] food item which is found in [[Containers#Kitchen_Counter|kitchen counters]].
|hunger_change=-2
|thirst_change=-13
|calories=60
|lipids=0
|proteins=0
|carbohydrates=14
<!--EFFECTS-->
|unhappy_change=-10
<!--TECHNICAL DETAILS-->
|class_name=Base.JuiceBox
}}A '''juice box''' is a [[Food#Non-Perishable|non-perishable]] food [[items|item]].


== Nutritional Information ==
==Usage==
<br>
A juice box can be eaten, providing the player with some positive effects, including reducing [[Moodles#Unhappy|unhappiness]].
A Juice box provides when drunk completely provides -2 hunger, -13 thirst and -10 unhappiness.  
 
<br><br>
==Distribution==
'''Its Nutritional Values are as follows:'''<br>
Juice boxes can be found in convenience store, Spiffo's and Pizza Whirled [[Containers#Refrigerators|refrigerators]].
Carbohydrates = 14 <br>
Proteins = 0 <br>
Lipids = 0 <br>
Calories = 60 <br><br>


== Code ==
== Code ==
<br>
'''''From newitems.txt (Project Zomboid directory/media/scripts/)'''''
<nowiki>
{{Retrieved|version=40|incver=14}}
    item JuiceBox
<pre> item JuiceBox
Type = Food,
Type = Food,
DisplayName = Juice Box,
DisplayName = Juice Box,
Icon = JuiceBox,
Icon = JuiceBox,
Weight = 0.1,
Weight = 0.1,
HungerChange = -2,
HungerChange = -2,
ThirstChange = -13,
ThirstChange = -13,
UnhappyChange = -10,
UnhappyChange = -10,
CustomContextMenu = Drink,
CustomContextMenu = Drink,
CustomEatSound = PZ_DrinkingFromBottle,
CustomEatSound = PZ_DrinkingFromBottle,
        Carbohydrates = 14,
        Carbohydrates = 14,
        Proteins = 0,
        Proteins = 0,
        Lipids = 0,
        Lipids = 0,
        Calories = 60,
        Calories = 60,
        Packaged = TRUE,
        Packaged = TRUE,</pre>
</nowiki>
 
==See also==
*[[Pop]]
*[[Orange Soda]]
*[[Milk]]


{{Navbox/Consumables}}
{{Navbox/Consumables}}
[[Category:Consumables]]
[[Category:Food]]
[[Category:Drinks]]
[[Category:Non-Perishable_Food]]
[[Category:Version 34.28]]

Revision as of 15:56, 12 September 2018

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 newitems.txt (Project Zomboid directory/media/scripts/) Retrieved: Build 40.14

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

See also

Template:Navbox/Consumables