Juice Box: Difference between revisions
(New infobox + new layout) |
(updated to 41.68 + added model + navbox) |
||
Line 1: | Line 1: | ||
{{languages | {{languages}} | ||
{{header|Project Zomboid|Items|Food| | {{header|Project Zomboid|Items|Food|Drinks|type=Food|version=Version 41|incver=68}}{{Infobox food | ||
|display_name=Juice Box | |display_name=Juice Box | ||
|name_colour=Food | |name_colour=Food | ||
|name_text_colour=Food | |name_text_colour=Food | ||
|image= | |image=JuiceBox_Model.png | ||
|image_width=200px | |||
|alternate_image=JuiceBox.png | |||
|alternate_name=Juice Box | |||
|alternate_link= | |||
<!--GENERAL--> | <!--GENERAL--> | ||
|category=Food | |category=Food | ||
Line 29: | Line 33: | ||
== Code == | == Code == | ||
'''''From | '''''From items_food.txt (Project Zomboid directory/media/scripts/)''''' | ||
{{Retrieved|version= | {{Retrieved|version=41|incver=68}} | ||
<pre> item JuiceBox | <pre> item JuiceBox | ||
{ | |||
DisplayCategory = Food, | |||
Type = Food, | Type = Food, | ||
DisplayName = Juice Box, | DisplayName = Juice Box, | ||
Line 38: | Line 44: | ||
HungerChange = -2, | HungerChange = -2, | ||
ThirstChange = -13, | ThirstChange = -13, | ||
UnhappyChange | UnhappyChange = -10, | ||
CustomContextMenu = Drink, | CustomContextMenu = Drink, | ||
CustomEatSound = | CustomEatSound = DrinkingFromCarton, | ||
Carbohydrates = 14, | Carbohydrates = 14, | ||
Proteins = 0, | Proteins = 0, | ||
Lipids = 0, | Lipids = 0, | ||
Calories = 60, | Calories = 60, | ||
Packaged = TRUE,</pre> | Packaged = TRUE, | ||
WorldStaticModel = JuiceBox, | |||
}</pre> | |||
==See also== | ==See also== | ||
Line 52: | Line 60: | ||
*[[Milk]] | *[[Milk]] | ||
{{ | {{Navbox_food}} |
Revision as of 14:10, 13 March 2022
Juice Box | ||
---|---|---|
| ||
General | ||
Category | Food | |
Encumbrance | 0.1 | |
Packaged | True | |
Nutrition | ||
Hunger | -2 | |
Thirst | -13 | |
Calories | 60 | |
Carbohydrates | 14 | |
Proteins | 0 | |
Fat | 0 | |
Effect | ||
Unhappiness | -10 | |
Technical details | ||
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
Juice boxes can be found in convenience store, Spiffo's and Pizza Whirled refrigerators.
Code
From items_food.txt (Project Zomboid directory/media/scripts/) Retrieved: Build 41.68
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, }