Juice Box: Difference between revisions
(→Code: CodeBox update) |
m (Automated Formatting) |
||
(16 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{ | {{Header|Project Zomboid|Items|Food|Drinks}} | ||
{{Page version|41.68}} | |||
{{ | |||
{{Infobox item | {{Infobox item | ||
|name=Juice Box | |name=Juice Box | ||
Line 22: | Line 21: | ||
<!--TECHNICAL DETAILS--> | <!--TECHNICAL DETAILS--> | ||
|item_id=Base.JuiceBox | |item_id=Base.JuiceBox | ||
}}A '''juice box''' is a | }} | ||
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 [[ | A juice box can be eaten, providing the player with some positive effects, including reducing [[Unhappy|unhappiness]]. | ||
==Distribution== | ==Distribution== | ||
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;" | |||
! colspan="4" | Containers | |||
|- | |||
! Building/Room | |||
! Container | |||
! style="width: 3.2em;" | Rolls | |||
! style="width: 3.2em;" | Chance | |||
|- | |||
|rowspan="3"|all | |||
|[[fridge]] | |||
|4 | |||
|1 | |||
|- | |||
|[[fridge]] | |||
|4 | |||
|1 | |||
|- | |||
|[[fridge]] | |||
|4 | |||
|1 | |||
|- | |||
|rowspan="2"|cafeteria | |||
|[[displaycasebakery]] | |||
|4 | |||
|1 | |||
|- | |||
|[[displaycasebakery]] | |||
|4 | |||
|2 | |||
|- | |||
|camping | |||
|[[fridge]] | |||
|4 | |||
|1 | |||
|- | |||
|daycare | |||
|[[desk]] | |||
|4 | |||
|1 | |||
|- | |||
|kitchen | |||
|[[counter]] | |||
|4 | |||
|6 | |||
|} | |||
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| | {{EvolvedRecipesForItem|spice=true|toast=1|beverage=2}} | ||
==Code== | ==Code== | ||
Line 38: | Line 85: | ||
| {{CodeSnip | | {{CodeSnip | ||
| lang = java | | lang = java | ||
| line = | | line = true | ||
| start = 2881 | |||
| source = items_food.txt | | source = items_food.txt | ||
| retrieved = true | | retrieved = true | ||
| version = 41 | | version = 41.78.16 | ||
| code = | | code = | ||
item JuiceBox | 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, | |||
} | |||
}} | |||
}} | }} | ||
Line 71: | Line 121: | ||
*[[Milk]] | *[[Milk]] | ||
{{ | {{Navbox items|food}} | ||
[[Category:Non-perishable food]] | [[Category:Non-perishable food]] |
Revision as of 09:28, 14 April 2024
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.
Containers | |||
---|---|---|---|
Building/Room | Container | Rolls | Chance |
all | fridge | 4 | 1 |
fridge | 4 | 1 | |
fridge | 4 | 1 | |
cafeteria | displaycasebakery | 4 | 1 |
displaycasebakery | 4 | 2 | |
camping | fridge | 4 | 1 |
daycare | desk | 4 | 1 |
kitchen | counter | 4 | 6 |
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 |
2 |
Toast |
1 |
Code
Source: ProjectZomboid\media\scripts\items_food.txt
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,
}