Apple: Difference between revisions
mNo edit summary |
m (Distribution table fix) |
||
(48 intermediate revisions by 11 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{Header|Project Zomboid|Items|Food|Fruit}} | ||
{{Page version|41.78.16}} | |||
| | {{Infobox item | ||
| | |name=Apple | ||
| | |model=Apple_Model.png | ||
| | |icon=Apple.png | ||
| | |icon_name=Apple | ||
| | |model2=AppleRotten_Model.png|Rotten apple model when placed in the world. | ||
|icon2=AppleRotten.png | |||
|icon_name2=Apple (Rotten) | |||
<!--GENERAL--> | <!--GENERAL--> | ||
|category=Food | |category=Food | ||
Line 14: | Line 15: | ||
|days_rotten=8 | |days_rotten=8 | ||
<!--NUTRITION--> | <!--NUTRITION--> | ||
|hunger_change=- | |hunger_change=-16 | ||
|thirst_change=-7 | |thirst_change=-7 | ||
|calories=95 | |calories=95 | ||
Line 21: | Line 22: | ||
|carbohydrates=25.13 | |carbohydrates=25.13 | ||
<!--TECHNICAL DETAILS--> | <!--TECHNICAL DETAILS--> | ||
| | |item_id=Base.Apple | ||
}}An '''apple''' is a [[ | }} | ||
An '''apple''' is a perishable [[food]] [[Items|item]]. | |||
==Usage== | ==Usage== | ||
===Trapping=== | ===Trapping=== | ||
{{Main|Trapping}} | {{Main|Trapping}} | ||
Apple can be used as bait in [[Trapping|traps]] to capture [[Dead Rabbit|rabbits]], [[Dead Mouse|mice]], [[Dead_Rat|rats]], and [[Dead Squirrel|squirrels]]. | |||
===Consumable properties=== | ===Consumable properties=== | ||
Apple can be eaten, providing the player with some positive effects, however, these will become negative the longer it's left to perish. | |||
{{ | {{Consumables | ||
|image = Apple.png | |image = Apple.png | ||
|hunger = - | |hunger = -16 | ||
|thirst = 0 | |thirst = 0 | ||
|unrotten hunger = - | |unrotten hunger = -12 | ||
|unrotten boredom = +10 | |unrotten boredom = +10 | ||
|unrotten unhappiness = +10 | |unrotten unhappiness = +10 | ||
|unrotten thirst = 0 | |unrotten thirst = 0 | ||
|unrotten image = Apple.png | |unrotten image = Apple.png | ||
|rotten hunger = - | |rotten hunger = -7 | ||
|rotten boredom = +20 | |rotten boredom = +20 | ||
|rotten unhappiness = +20 | |rotten unhappiness = +20 | ||
|rotten thirst = 0 | |rotten thirst = 0 | ||
|perishable = 1 | |perishable = 1 | ||
|rotten image = | |rotten image = AppleRotten.png | ||
}} | }} | ||
== Crafting == | ==Crafting== | ||
=== Evolved recipes === | {{Main|Cooking}} | ||
{{EvolvedRecipesForItem|cake=8| | ===Evolved recipes=== | ||
Apple is a [[cooking]] [[Recipe ingredients|ingredient]]. | |||
{{EvolvedRecipesForItem | |||
|cake=16 | |||
|fruitsalad=8 | |||
|pancakes=8 | |||
|waffles=8 | |||
|muffin=8 | |||
|pie=16 | |||
|oatmeal=4 | |||
|salad=8 | |||
}} | |||
===Sack of Apples=== | |||
{{Crafting/sandbox2 | |||
|apple | |||
}} | |||
==Distribution== | ==Distribution== | ||
The loot distributions can be found in the table(s) below. | |||
<!--BOT FLAG|Apple|41.78.16--> | |||
{{Clear}} | |||
<div class="togglebox theme-red"> | |||
<div>Apple distribution | |||
<span class="mw-customtoggle-togglebox-Apple" 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-Apple"> | |||
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.61% | |||
|- | |||
| GroceryBag2 | |||
| {{ll|GroceryBag2}} | |||
| 2.81% | |||
|- | |||
| Lunchbag | |||
| {{ll|Lunchbag}} | |||
| 12.41% | |||
|- | |||
| Lunchbox | |||
| {{ll|Lunchbox}} | |||
| 12.41% | |||
|- | |||
| Lunchbox2 | |||
| {{ll|Lunchbox2}} | |||
| 12.41% | |||
|- | |||
| all | |||
| {{ll|fridge}} | |||
| 6.29% | |||
|- | |||
| all | |||
| {{ll|grocerstand}} | |||
| 19.27% | |||
|- | |||
| bakery | |||
| {{ll|fridge}} | |||
| 19.27% | |||
|- | |||
| bakerykitchen | |||
| {{ll|fridge}} | |||
| 19.27% | |||
|- | |||
| breakroom | |||
| {{ll|fridge}} | |||
| 19.27% | |||
|- | |||
| cafe | |||
| {{ll|fridge}} | |||
| 19.27% | |||
|- | |||
| cafekitchen | |||
| {{ll|fridge}} | |||
| 19.27% | |||
|- | |||
| daycare | |||
| {{ll|fridge}} | |||
| 19.27% | |||
|- | |||
| donut_kitchenstorage | |||
| {{ll|fridge}} | |||
| 19.27% | |||
|- | |||
| gigamart | |||
| {{ll|grocerstand}} | |||
| 23.28% | |||
|- | |||
| gigamart | |||
| {{ll|grocerstand}} | |||
| 41.14% | |||
|- | |||
| grocery | |||
| {{ll|grocerstand}} | |||
| 23.28% | |||
|- | |||
| grocery | |||
| {{ll|grocerstand}} | |||
| 41.14% | |||
|- | |||
| icecreamkitchen | |||
| {{ll|fridge}} | |||
| 23.28% | |||
|- | |||
| icecreamkitchen | |||
| {{ll|fridge}} | |||
| 41.14% | |||
|- | |||
| kitchen_crepe | |||
| {{ll|fridge}} | |||
| 19.27% | |||
|} | |||
</div> | |||
</div><div style="clear: both;"></div> | |||
{| class="wikitable theme-red" style="width: 98%;" | |||
|+ {{ll|Foraging}} | |||
! rowspan="2" | Amount | |||
! rowspan="2" | Skill level | |||
! rowspan="2" | Biomes | |||
! colspan="4" style="text-align: center;" | Weather modifiers | |||
! colspan="3" style="text-align: center;" | Month modifiers | |||
|- | |||
! Snow | |||
! Rain | |||
! Day | |||
! Night | |||
! Months available | |||
! Bonus months | |||
! Malus months | |||
|- | |||
| 1-3 | |||
| 7 | |||
| Forest 10<br> FarmLand 15<br> Farm 15 | |||
| -10 | |||
| - | |||
| - | |||
| - | |||
| - | |||
| July<br>August<br>September<br>October | |||
| May<br>December | |||
|} | |||
</div></div><div class="toggle large mw-customtoggle-togglebox-Apple" title="{{int:show}}/{{int:hide}}"></div></div> | |||
<!--END BOT FLAG|Apple|41.78.16--> | |||
Apple is often found in [[refrigerator]]s and [[Containers#Displays|grocery displays]]. As of build 41, they can also be found while foraging. | |||
Sacks of apples can be found in grocery stores and warehouses. | |||
== Code == | ==Code== | ||
{{CodeBox|[[File:Apple.png]] {{ID|Base.Apple}}<br> | |||
{{ | {{CodeSnip | ||
| lang = java | |||
| line = true | |||
| start = 1630 | |||
Type | | source = items_food.txt | ||
| retrieved = true | |||
| version = 41.78.16 | |||
| code = | |||
DaysFresh | item Apple | ||
{ | |||
DisplayName = Apple, | |||
DisplayCategory = Food, | |||
Type = Food, | |||
Weight = 0.2, | |||
Icon = Apple, | |||
EvolvedRecipe = Cake:16;FruitSalad:8;Pancakes:8;Waffles:8;Muffin:8;PieSweet:16;Oatmeal:4;Salad:8, | |||
FoodType = Fruits, | |||
DaysFresh = 5, | |||
DaysTotallyRotten = 8, | |||
HungerChange = -16, | |||
ThirstChange = -7, | |||
Calories = 95, | |||
Carbohydrates = 25.13, | |||
Lipids = 0.31, | |||
Proteins = 0.47, | |||
CustomEatSound = EatingFruit, | |||
StaticModel = RoundFood_Red, | |||
WorldStaticModel = Apple_Ground, | |||
} | |||
}} | |||
[[File:Sandbag.png]] {{ID|Base.SackProduce_Apple}}<br> | |||
{{CodeSnip | |||
| lang = java | |||
| line = true | |||
| start = 8018 | |||
| source = items_food.txt | |||
| retrieved = true | |||
| version = 41.78.16 | |||
| code = | |||
item SackProduce_Apple | |||
{ | |||
DisplayName = Sack of Apples, | |||
DisplayCategory = Food, | |||
Type = Food, | |||
Weight = 2, | |||
Icon = Sandbag, | |||
CantEat = TRUE, | |||
DaysFresh = 5, | |||
DaysTotallyRotten = 8, | |||
WorldStaticModel = SandBag, | |||
} | |||
}} | |||
}} | |||
==See also== | ==See also== | ||
*[[Banana]] | *[[Banana]] | ||
*[[Peach]] | *[[Peach]] | ||
*[[Pineapple]] | |||
*[[Lemon]] | |||
{{Navbox items|plants}} | |||
[[Category:Perishable food]] |
Latest revision as of 17:33, 30 April 2024
An apple is a perishable food item.
Usage
Trapping
- Main article: Trapping
Apple can be used as bait in traps to capture rabbits, mice, rats, and squirrels.
Consumable properties
Apple can be eaten, providing the player with some positive effects, however, these will become negative the longer it's left to perish.
Fresh | Stale | Rotten |
---|---|---|
|
|
|
Crafting
- Main article: Cooking
Evolved recipes
Apple is a cooking ingredient.
Product | Nutrition |
---|---|
Salad |
8 |
Fruit Salad |
8 |
Pie (savory) |
16 |
Cake |
16 |
Muffin |
8 |
Pancakes |
8 |
Waffles |
8 |
Oatmeal |
4 |
Sack of Apples
Product | Ingredients | Tools | Requirements | Workstation | XP |
---|---|---|---|---|---|
Apple ×12 |
Sack of Apples ×1 | none | none | none | none |
Distribution
The loot distributions can be found in the table(s) below.
Building/Room | Container | Effective chance |
---|---|---|
GroceryBag1 | GroceryBag1 | 1.61% |
GroceryBag2 | GroceryBag2 | 2.81% |
Lunchbag | Lunchbag | 12.41% |
Lunchbox | Lunchbox | 12.41% |
Lunchbox2 | Lunchbox2 | 12.41% |
all | fridge | 6.29% |
all | grocerstand | 19.27% |
bakery | fridge | 19.27% |
bakerykitchen | fridge | 19.27% |
breakroom | fridge | 19.27% |
cafe | fridge | 19.27% |
cafekitchen | fridge | 19.27% |
daycare | fridge | 19.27% |
donut_kitchenstorage | fridge | 19.27% |
gigamart | grocerstand | 23.28% |
gigamart | grocerstand | 41.14% |
grocery | grocerstand | 23.28% |
grocery | grocerstand | 41.14% |
icecreamkitchen | fridge | 23.28% |
icecreamkitchen | fridge | 41.14% |
kitchen_crepe | fridge | 19.27% |
Amount | Skill level | Biomes | Weather modifiers | Month modifiers | |||||
---|---|---|---|---|---|---|---|---|---|
Snow | Rain | Day | Night | Months available | Bonus months | Malus months | |||
1-3 | 7 | Forest 10 FarmLand 15 Farm 15 |
-10 | - | - | - | - | July August September October |
May December |
Apple is often found in refrigerators and grocery displays. As of build 41, they can also be found while foraging.
Sacks of apples can be found in grocery stores and warehouses.
Code
Base.Apple
Source: ProjectZomboid\media\scripts\items_food.txt
item Apple
{
DisplayName = Apple,
DisplayCategory = Food,
Type = Food,
Weight = 0.2,
Icon = Apple,
EvolvedRecipe = Cake:16;FruitSalad:8;Pancakes:8;Waffles:8;Muffin:8;PieSweet:16;Oatmeal:4;Salad:8,
FoodType = Fruits,
DaysFresh = 5,
DaysTotallyRotten = 8,
HungerChange = -16,
ThirstChange = -7,
Calories = 95,
Carbohydrates = 25.13,
Lipids = 0.31,
Proteins = 0.47,
CustomEatSound = EatingFruit,
StaticModel = RoundFood_Red,
WorldStaticModel = Apple_Ground,
}
Base.SackProduce_Apple
Source: ProjectZomboid\media\scripts\items_food.txt
item SackProduce_Apple
{
DisplayName = Sack of Apples,
DisplayCategory = Food,
Type = Food,
Weight = 2,
Icon = Sandbag,
CantEat = TRUE,
DaysFresh = 5,
DaysTotallyRotten = 8,
WorldStaticModel = SandBag,
}