Juice Box: Difference between revisions

From PZwiki
m (fixed language and container links)
m (Distribution table update)
 
(25 intermediate revisions by 5 users not shown)
Line 1: Line 1:
__NOTOC__
{{Header|Project Zomboid|Items|Food|Drinks}}
{{languages|Juice Box}}
{{Page version|41.68}}
<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 -->
{{Infobox item
<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 -->
|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 -->
|model=JuiceBox_Model.png
{{Consumables
|icon=JuiceBox.png
|image = JuiceBox.png
|icon_name=Juice Box
|hunger = -2
<!--GENERAL-->
|unhappiness = -10
|category=Food
|thirst = -13
|weight=0.1
|weight = 0.1
|packaged=True
<!--NUTRITION-->
|hunger_change=-2
|thirst_change=-13
|calories=60
|lipids=0
|proteins=0
|carbohydrates=14
<!--EFFECTS-->
|unhappy_change=-10
<!--TECHNICAL DETAILS-->
|item_id=Base.JuiceBox
}}
}}
A Juice Box is an [[Food#Non-Perishable|non-perishable]] food item which is found in [[Containers#Kitchen_Counter|kitchen counters]].
A '''juice box''' is a non-perishable [[food]] [[Items|item]].


== Nutritional Information ==
==Usage==
<br>
A juice box can be eaten, providing the player with some positive effects, including reducing [[Unhappy|unhappiness]].
A Juice box provides when drunk completely provides -2 hunger, -13 thirst and -10 unhappiness.  
<br><br>
'''Its Nutritional Values are as follows:'''<br>
Carbohydrates = 14 <br>
Proteins = 0 <br>
Lipids = 0 <br>
Calories = 60 <br><br>


== Code ==
==Distribution==
<br>
The loot distributions can be found in the table(s) below.
<nowiki>
    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,
</nowiki>


{{Navbox/Consumables}}
<!--BOT FLAG|JuiceBox|41.78.16-->
[[Category:Consumables]]
{{clear}}
[[Category:Food]]
<div class="togglebox theme-red">
[[Category:Drinks]]
    <div>JuiceBox distribution
[[Category:Non-Perishable_Food]]
        <span class="mw-customtoggle-togglebox-JuiceBox" title="{{int:show}} / {{int:hide}}" style="float:right; padding-right:30px; padding-top:4px; font-size:0.7em; font-weight:normal;">{{int:show}} / {{int:hide}}</span></div>
[[Category:Version 34.28]]
    <div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-togglebox-JuiceBox">
    <div class="toggle-content"><div style="display: flex;"><div style="float:left;">
    {| class="wikitable theme-red" style="margin-right:15px; width:95%;"
    |+ {{ll|Containers}}
    ! Building / Room
    ! Container
    ! Rolls
    ! Chance
    |-
    | all
    | {{ll|GroceryBag1}}
    | 1
    | 1.0
    |-
    | all
    | {{ll|fridge}}
    | 4
    | 1.0
    |-
    | cafeteria
    | {{ll|displaycasebakery}}
    | 4
    | 10.0
    |-
    | cafeteria
    | {{ll|displaycasebakery}}
    | 4
    | 20.0
    |-
    | camping
    | {{ll|fridge}}
    | 4
    | 10.0
    |-
    | daycare
    | {{ll|desk}}
    | 4
    | 1.0
    |-
    | kitchen
    | {{ll|counter}}
    | 4
    | 6.0
    |}
</div>
    </div><div style="clear:both;"></div>
    </div></div><div class="toggle large mw-customtoggle-togglebox-JuiceBox" title="{{int:show}}/{{int:hide}}"></div></div>
<!--END BOT FLAG|JuiceBox|41.78.16-->
Juice boxes can be found in convenience store, Spiffo's and Pizza Whirled [[Containers#Refrigerators|refrigerators]].
 
===Evolved recipes===
Juice Box is a spice when used in [[cooking]] [[Recipe ingredients|recipes]], therefore will not be included in the maximum number of ingredients.
{{EvolvedRecipesForItem|spice=true|toast=1|beverage=2}}
 
==Code==
{{CodeBox
| {{CodeSnip
  | lang = java
  | line = true
  | start = 2881
  | source = items_food.txt
  | retrieved = true
  | version = 41.78.16
  | code =
item JuiceBox
{
DisplayName = Juice Box,
DisplayCategory = Food,
Type = Food,
Weight = 0.1,
Icon = JuiceBox,
EvolvedRecipe = Beverage:2;Beverage2:2,
FoodType = Juice,
Packaged = TRUE,
HungerChange = -2,
ThirstChange = -13,
UnhappyChange = -10,
Calories = 60,
Carbohydrates = 14,
Lipids = 0,
Proteins = 0,
CustomContextMenu = Drink,
CustomEatSound = DrinkingFromCarton,
WorldStaticModel = JuiceBox,
EvolvedRecipeName = Juice,
}
}}
}}
 
==See also==
*[[Pop]]
*[[Orange Soda]]
*[[Milk]]
 
{{Navbox items|food}}
 
[[Category:Non-perishable food]]

Latest revision as of 15:49, 24 April 2024

Project ZomboidItemsFoodDrinksJuice Box
Spiffo controlyourself.png
This page was last updated for an older version (41.68).
The current stable version is 41.78.16, released 2022-12-12, so information on this page may be inaccurate. Help get this page updated by adding any missing content. [edit]
Please update the version after updating the page.
Juice Box
JuiceBox Model.png
General
Category
Food
Encumbrance
Moodle Icon HeavyLoad.png
0.1
Properties
Packaged
True
Nutrition
HungerMoodle Icon Hungry.png
-2
ThirstMoodle Icon Thirsty.png
-13
CaloriesCalories
60
CarbohydratesCarbohydrates
14
ProteinsProteins
0
FatFat
0
Effect
UnhappinessMoodle Icon Unhappy.png
-10
Technical
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

The loot distributions can be found in the table(s) below.

JuiceBox distribution Show / Hide
Containers
Building / Room Container Rolls Chance
all GroceryBag1 1 1.0
all fridge 4 1.0
cafeteria displaycasebakery 4 10.0
cafeteria displaycasebakery 4 20.0
camping fridge 4 10.0
daycare desk 4 1.0
kitchen counter 4 6.0

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

Evolved recipes

Juice Box is a spice when used in cooking recipes, therefore will not be included in the maximum number of ingredients.

Product Nutrition
Beverage
Beverage
2
Toast
Toast
1

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 JuiceBox
	{
		DisplayName = Juice Box,
		DisplayCategory = Food,
		Type = Food,
		Weight = 0.1,
		Icon = JuiceBox,
		EvolvedRecipe = Beverage:2;Beverage2:2,
		FoodType = Juice,
		Packaged = TRUE,
		HungerChange = -2,
		ThirstChange = -13,
		UnhappyChange = -10,
		Calories = 60,
		Carbohydrates = 14,
		Lipids = 0,
		Proteins = 0,
		CustomContextMenu = Drink,
		CustomEatSound = DrinkingFromCarton,
		WorldStaticModel = JuiceBox,
		EvolvedRecipeName = Juice,
	}

See also