Juice Box: Difference between revisions

From PZwiki
m (Automated capitalisation)
m (Distribution table update)
(14 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{languages}}
{{Header|Project Zomboid|Items|Food|Drinks}}
{{Header/sandbox2|Project Zomboid|Items|Food|Drinks}}
{{Page version|41.68}}
{{Page version|41.68}}
{{Infobox item
{{Infobox item
Line 22: Line 21:
<!--TECHNICAL DETAILS-->
<!--TECHNICAL DETAILS-->
|item_id=Base.JuiceBox
|item_id=Base.JuiceBox
}}A '''juice box''' is a [[Food#Non-Perishable|non-perishable]] food [[items|item]].
}}
A '''juice box''' is a non-perishable [[food]] [[Items|item]].


==Usage==
==Usage==
A juice box can be eaten, providing the player with some positive effects, including reducing [[Moodles#Unhappy|unhappiness]].
A juice box can be eaten, providing the player with some positive effects, including reducing [[Unhappy|unhappiness]].


{{clear}}
==Distribution==
==Distribution==
The loot distributions can be found in the table(s) below.
The loot distributions can be found in the table(s) below.


{| class="mw-collapsible mw-collapsed wikitable theme-red" data-expandtext="{{int:show}}" data-collapsetext="{{int:hide}}" style="text-align:center; min-width:24em;"
<!--BOT FLAG|JuiceBox|41.78.16-->
! colspan="4" | Containers
{{clear}}
|-
<div class="togglebox theme-red">
!Building/Room
    <div>JuiceBox distribution
!Container
        <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>
! style="width: 3.2em;" |Rolls
    <div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-togglebox-JuiceBox">
! style="width: 3.2em;" |Chance
    <div class="toggle-content"><div style="display: flex;"><div style="float:left;">
|-
    {| class="wikitable theme-red" style="margin-right:15px; width:95%;"
| rowspan="3"|all  
    |+ {{ll|Containers}}
| [[fridge]]
    ! Building / Room
| 4
    ! Container
| 1
    ! Rolls
|-
    ! Chance
|[[fridge]]
    |-
|4
    | all
|1
    | {{ll|GroceryBag1}}
|-
    | 1
|[[fridge]]
    | 1.0
|4
    |-
|1
    | all
|-
    | {{ll|fridge}}
| rowspan="2"|cafeteria  
    | 4
| [[displaycasebakery]]
    | 1.0
| 4  
    |-
| 1
    | cafeteria
|-
    | {{ll|displaycasebakery}}
|[[displaycasebakery]]
    | 4
|4
    | 10.0
|2
    |-
|-
    | cafeteria
| camping  
    | {{ll|displaycasebakery}}
| [[fridge]]
    | 4
| 4  
    | 20.0
| 1
    |-
|-
    | camping
| daycare  
    | {{ll|fridge}}
| [[desk]]
    | 4
| 4  
    | 10.0
| 1
    |-
|-
    | daycare
| kitchen  
    | {{ll|desk}}
| [[counter]]
    | 4
| 4  
    | 1.0
| 6
    |-
|}
    | 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]].
Juice boxes can be found in convenience store, Spiffo's and Pizza Whirled [[Containers#Refrigerators|refrigerators]].


===Evolved recipes===
===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.
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}}
{{EvolvedRecipesForItem|spice=true|toast=1|beverage=2}}


==Code==
==Code==
Line 86: Line 93:
| {{CodeSnip
| {{CodeSnip
   | lang = java
   | lang = java
   | line = false
   | line = true
  | start = 2881
   | source = items_food.txt
   | source = items_food.txt
   | retrieved = true
   | retrieved = true
   | version = 41.68
   | version = 41.78.16
   | code =
   | code =
item JuiceBox
item JuiceBox
{
{
    DisplayCategory     = Food,
DisplayName = Juice Box,
    Type               = Food,
DisplayCategory = Food,
    DisplayName        = Juice Box,
Type = Food,
    Icon               = JuiceBox,
Weight = 0.1,
    Weight              = 0.1,
Icon = JuiceBox,
    HungerChange       = -2,
EvolvedRecipe = Beverage:2;Beverage2:2,
    ThirstChange       = -13,
FoodType = Juice,
    UnhappyChange       = -10,
Packaged = TRUE,
    CustomContextMenu  = Drink,
HungerChange = -2,
    CustomEatSound      = DrinkingFromCarton,
ThirstChange = -13,
    Carbohydrates       = 14,
UnhappyChange = -10,
    Proteins            = 0,
Calories = 60,
    Lipids              = 0,
Carbohydrates = 14,
    Calories            = 60,
Lipids = 0,
    Packaged            = TRUE,
Proteins = 0,
    WorldStaticModel   = JuiceBox,
CustomContextMenu = Drink,
}
CustomEatSound = DrinkingFromCarton,
  }}
WorldStaticModel = JuiceBox,
EvolvedRecipeName = Juice,
}
}}
}}
}}


Line 118: Line 129:
*[[Milk]]
*[[Milk]]


{{Navbox_food}}
{{Navbox items|food}}
 
[[Category:Non-perishable food]]
[[Category:Non-perishable food]]

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