Juice Box: Difference between revisions
(Update distribution file) |
|||
(24 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{Header|Project Zomboid|Items|Food|Drinks}} | ||
{{Page version|41.68}} | |||
| | {{Infobox item | ||
| | |name=Juice Box | ||
|model=JuiceBox_Model.png | |||
|icon=JuiceBox.png | |||
| | |icon_name=Juice Box | ||
| | |||
<!--GENERAL--> | <!--GENERAL--> | ||
|category=Food | |category=Food | ||
Line 23: | Line 20: | ||
|unhappy_change=-10 | |unhappy_change=-10 | ||
<!--TECHNICAL DETAILS--> | <!--TECHNICAL DETAILS--> | ||
| | |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. | |||
<!--BOT FLAG|JuiceBox|41.78.16--> | |||
{{Clear}} | |||
<div class="togglebox theme-red"> | |||
<div>JuiceBox distribution | |||
<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> | |||
<div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-togglebox-JuiceBox"> | |||
Effective chance calculations are based off of default loot settings, and median zombie density. The higher the density of zombies in an area, the higher the effective chance of an item spawning. Chance is also influenced by the [[lucky]] and [[unlucky]] traits. <div class="toggle-content"> | |||
<div class="pz-container"> | |||
<div id="containers" style="flex-basis:30%"> | |||
{| class="wikitable theme-red" style="margin-right: 15px; width: 95%;" | |||
|+ {{ll|Containers}} | |||
! Building/Room | |||
! Container | |||
! Effective chance | |||
|- | |||
| GroceryBag1 | |||
| {{ll|GroceryBag1}} | |||
| 1.01% | |||
|- | |||
| all | |||
| {{ll|fridge}} | |||
| 3.98% | |||
|- | |||
| cafeteria | |||
| {{ll|displaycasebakery}} | |||
| 23.28% | |||
|- | |||
| cafeteria | |||
| {{ll|displaycasebakery}} | |||
| 41.14% | |||
|- | |||
| camping | |||
| {{ll|fridge}} | |||
| 23.28% | |||
|- | |||
| conveniencestore | |||
| {{ll|fridge}} | |||
| 23.28% | |||
|- | |||
| cornerstore | |||
| {{ll|fridge}} | |||
| 23.28% | |||
|- | |||
| daycare | |||
| {{ll|desk}} | |||
| 3.98% | |||
|- | |||
| fossoil | |||
| {{ll|fridge}} | |||
| 23.28% | |||
|- | |||
| gasstore | |||
| {{ll|fridge}} | |||
| 23.28% | |||
|- | |||
| generalstore | |||
| {{ll|fridge}} | |||
| 23.28% | |||
|- | |||
| generalstorestorage | |||
| {{ll|fridge}} | |||
| 23.28% | |||
|- | |||
| gigamart | |||
| {{ll|fridge}} | |||
| 23.28% | |||
|- | |||
| grocery | |||
| {{ll|fridge}} | |||
| 23.28% | |||
|- | |||
| grocerystorage | |||
| {{ll|fridge}} | |||
| 23.28% | |||
|- | |||
| kitchen | |||
| {{ll|counter}} | |||
| 15.1% | |||
|- | |||
| kitchen | |||
| {{ll|overhead}} | |||
| 15.1% | |||
|- | |||
| kitchen | |||
| {{ll|shelves}} | |||
| 15.1% | |||
|- | |||
| livingroom | |||
| {{ll|counter}} | |||
| 15.1% | |||
|- | |||
| livingroom | |||
| {{ll|overhead}} | |||
| 15.1% | |||
|- | |||
| pharmacy | |||
| {{ll|fridge}} | |||
| 23.28% | |||
|- | |||
| zippeestore | |||
| {{ll|fridge}} | |||
| 23.28% | |||
|} | |||
</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 | 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== | ||
{{CodeBox | |||
| {{CodeSnip | |||
| lang = java | |||
| line = true | |||
| start = 2881 | |||
| source = items_food.txt | |||
| retrieved = true | |||
| version = 41.78.16 | |||
| code = | |||
item JuiceBox | |||
{ | { | ||
DisplayCategory | DisplayName = Juice Box, | ||
Type | DisplayCategory = Food, | ||
Type = Food, | |||
Icon = | Weight = 0.1, | ||
Icon = JuiceBox, | |||
HungerChange | EvolvedRecipe = Beverage:2;Beverage2:2, | ||
ThirstChange | FoodType = Juice, | ||
UnhappyChange | 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== | ==See also== | ||
Line 64: | Line 183: | ||
*[[Milk]] | *[[Milk]] | ||
{{ | {{Navbox items|food}} | ||
[[Category:Non-perishable food]] |
Latest revision as of 13:03, 30 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.
Building/Room | Container | Effective chance |
---|---|---|
GroceryBag1 | GroceryBag1 | 1.01% |
all | fridge | 3.98% |
cafeteria | displaycasebakery | 23.28% |
cafeteria | displaycasebakery | 41.14% |
camping | fridge | 23.28% |
conveniencestore | fridge | 23.28% |
cornerstore | fridge | 23.28% |
daycare | desk | 3.98% |
fossoil | fridge | 23.28% |
gasstore | fridge | 23.28% |
generalstore | fridge | 23.28% |
generalstorestorage | fridge | 23.28% |
gigamart | fridge | 23.28% |
grocery | fridge | 23.28% |
grocerystorage | fridge | 23.28% |
kitchen | counter | 15.1% |
kitchen | overhead | 15.1% |
kitchen | shelves | 15.1% |
livingroom | counter | 15.1% |
livingroom | overhead | 15.1% |
pharmacy | fridge | 23.28% |
zippeestore | fridge | 23.28% |
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,
}