Jellybeans: Difference between revisions
VaileasysBot (talk | contribs) (→top: New infobox upgrade - Food) |
(→Code: CodeBox update) |
||
Line 37: | Line 37: | ||
==Code== | ==Code== | ||
{{CodeBox | |||
| {{CodeSnip | |||
| lang = java | |||
| line = false | |||
| source = items_food.txt | |||
| retrieved = true | |||
| version = 41 | |||
| incver = 73 | |||
| code = | |||
item Jellybeans | |||
{ | |||
DisplayName = Jellybeans, | |||
DisplayCategory = Food, | |||
Type = Food, | |||
Weight = 0.1, | |||
Icon = Jellybeans, | |||
EvolvedRecipe = Cake:5;ConeIcecream:5, | |||
FoodType = Candy, | |||
HungerChange = -5, | |||
UnhappyChange = -10, | |||
Calories = 40, | |||
Carbohydrates = 10, | |||
Lipids = 0.5, | |||
Proteins = 0, | |||
EvolvedRecipeName = Jellybeans, | |||
} | |||
}} | |||
}} | |||
{{Navbox food}} | {{Navbox food}} |
Revision as of 09:58, 31 January 2024
Jellybeans
Technical
Item ID
Base.JellyBeans
Jellybeans are a non-perishable candy that reduce unhappiness when eaten.
Distribution
Jellybeans can be found in homes, theaters, candy stores, grocery stores, gas stations, and GigaMarts.
Crafting
- Main article: Cooking
Evolved recipes
Product | Nutrition |
---|---|
Cake |
5 |
Ice Cream Cone |
5 |
Trivia
- This item doesn't have a 3D model currently. When the item is dropped in game, it shows the 2D icon on the ground.
Code
Code snippet! This section contains source code from Project ZomboidShow / Hide
Source: ProjectZomboid\media\scripts\items_food.txt
item Jellybeans
{
DisplayName = Jellybeans,
DisplayCategory = Food,
Type = Food,
Weight = 0.1,
Icon = Jellybeans,
EvolvedRecipe = Cake:5;ConeIcecream:5,
FoodType = Candy,
HungerChange = -5,
UnhappyChange = -10,
Calories = 40,
Carbohydrates = 10,
Lipids = 0.5,
Proteins = 0,
EvolvedRecipeName = Jellybeans,
}