Apple: Difference between revisions
m (items.txt to items_food.txt) |
m (Automated Formatting) |
||
(40 intermediate revisions by 9 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== | |||
{{Main|Cooking}} | |||
===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 | |||
}} | }} | ||
== Crafting == | ===Sack of Apples=== | ||
=== | {{Crafting/sandbox2 | ||
|apple | |||
{{ | }} | ||
==Distribution== | |||
The loot distributions can be found in the table(s) below. | |||
{| class="mw-collapsible mw-collapsed wikitable theme-red" data-expandtext="{{int:show}}" data-collapsetext="{{int:hide}}" style="text-align:center; min-width:24em;" | |||
! colspan="4" | Containers | |||
|- | |||
! Building/Room | |||
! Container | |||
! style="width: 3.2em;" | Rolls | |||
! style="width: 3.2em;" | Chance | |||
|- | |||
|rowspan="3"|all | |||
|[[fridge]] | |||
|4 | |||
|2 | |||
|- | |||
|[[fridge]] | |||
|4 | |||
|2 | |||
|- | |||
|[[fridge]] | |||
|4 | |||
|2 | |||
|- | |||
|bakery | |||
|[[fridge]] | |||
|4 | |||
|8 | |||
|- | |||
|breakroom | |||
|[[fridge]] | |||
|4 | |||
|8 | |||
|- | |||
|cafe | |||
|[[fridge]] | |||
|4 | |||
|8 | |||
|- | |||
|rowspan="2"|gigamart | |||
|[[grocerstand]] | |||
|4 | |||
|1 | |||
|- | |||
|[[grocerstand]] | |||
|4 | |||
|2 | |||
|- | |||
|kitchen_crepe | |||
|[[fridge]] | |||
|4 | |||
|8 | |||
|} | |||
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== | |||
{{CodeBox|[[File:Apple.png]] {{ID|Base.Apple}}<br> | |||
{{CodeSnip | |||
| lang = java | |||
| line = true | |||
| start = 1630 | |||
| source = items_food.txt | |||
| retrieved = true | |||
| version = 41.78.16 | |||
| code = | |||
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== | ||
*[[Banana]] | |||
*[[Peach]] | |||
*[[Pineapple]] | |||
*[[Lemon]] | |||
{{Navbox items|plants}} | |||
{{ | |||
[[Category:Perishable food]] |
Revision as of 06:11, 14 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.
Containers | |||
---|---|---|---|
Building/Room | Container | Rolls | Chance |
all | fridge | 4 | 2 |
fridge | 4 | 2 | |
fridge | 4 | 2 | |
bakery | fridge | 4 | 8 |
breakroom | fridge | 4 | 8 |
cafe | fridge | 4 | 8 |
gigamart | grocerstand | 4 | 1 |
grocerstand | 4 | 2 | |
kitchen_crepe | fridge | 4 | 8 |
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,
}