Juice Box: Difference between revisions
VaileasysBot (talk | contribs) (→top: New infobox upgrade - Food) |
(→Code: CodeBox update) |
||
Line 34: | Line 34: | ||
{{EvolvedRecipesForItem|spice=true|Toast=1|Beverage=2}} | {{EvolvedRecipesForItem|spice=true|Toast=1|Beverage=2}} | ||
== Code == | ==Code== | ||
{{CodeBox | |||
| {{CodeSnip | |||
| lang = java | |||
| line = false | |||
| source = items_food.txt | |||
| retrieved = true | |||
| version = 41 | |||
| incver = 68 | |||
| code = | |||
item JuiceBox | |||
{ | |||
DisplayCategory = Food, | |||
Type = Food, | |||
DisplayName = Juice Box, | |||
Icon = JuiceBox, | |||
Weight = 0.1, | |||
HungerChange = -2, | |||
ThirstChange = -13, | |||
UnhappyChange = -10, | |||
CustomContextMenu = Drink, | |||
CustomEatSound = DrinkingFromCarton, | |||
Carbohydrates = 14, | |||
Proteins = 0, | |||
Lipids = 0, | |||
Calories = 60, | |||
Packaged = TRUE, | |||
WorldStaticModel = JuiceBox, | |||
} | |||
}} | |||
}} | |||
==See also== | ==See also== |
Revision as of 10:22, 31 January 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
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
{
DisplayCategory = Food,
Type = Food,
DisplayName = Juice Box,
Icon = JuiceBox,
Weight = 0.1,
HungerChange = -2,
ThirstChange = -13,
UnhappyChange = -10,
CustomContextMenu = Drink,
CustomEatSound = DrinkingFromCarton,
Carbohydrates = 14,
Proteins = 0,
Lipids = 0,
Calories = 60,
Packaged = TRUE,
WorldStaticModel = JuiceBox,
}