Instant Popcorn: Difference between revisions

From PZwiki
(Update distribution file)
 
(26 intermediate revisions by 6 users not shown)
Line 1: Line 1:
{{Languages}}{{Header|Project Zomboid|Items|Food|Non-Perishable Food|type=Food|version=Version 41|incver=73}}{{Infobox food
{{Header|Project Zomboid|Items|Food|Grains}}
|display_name=Instant Popcorn
{{Page version|41.78.16}}
|name_colour=Food
{{Infobox item
|name_text_colour=Food
|name=Instant Popcorn
|image=Popcorn.png
|model=InstantPopcorn_Model.png
|alternate_image=PopcornCooked.png
|icon=Popcorn.png
|alternate_name=Instant Popcorn (Cooked)
|icon_name=Instant Popcorn
|alternate_link=
|icon2=PopcornCooked.png
|icon_name2=Instant Popcorn (Cooked)
 
<!--GENERAL-->
<!--GENERAL-->
|category=Food
|category=Food
Line 22: Line 24:
|burn_minutes=5
|burn_minutes=5
<!--TECHNICAL DETAILS-->
<!--TECHNICAL DETAILS-->
|class_name=Base.Popcorn
|item_id=Base.Popcorn
}}'''Instant popcorn''' is a [[Food#Non-Perishable|non-perishable]] food [[item]].  
}}
'''Instant popcorn''' is a non-perishable [[food]] [[Items|item]]]].


==Usage==
==Usage==
===Consumable properties===
===Consumable properties===
Popcorn cooks in 5 minutes, and will burn if left in a heat source for more than 10 minutes. Instant popcorn can be eaten raw or consumed after cooking, which will reduce more hunger. It is advisable to cook in a microwave, where you can control the cooking time to the minute.  
Popcorn cooks in 5 minutes, and will burn if left in a heat source for more than 10 minutes. Instant popcorn can be eaten raw or consumed after cooking, which will reduce more hunger. It is advisable to cook in a microwave, where you can control the cooking time to the minute.
{{Consumables2
{{Consumables
|image = Popcorn.png
|image = Popcorn.png
|hunger = -10
|hunger = -10
Line 52: Line 54:


==Distribution==
==Distribution==
The loot distributions can be found in the table(s) below.
<!--BOT FLAG|Popcorn|41.78.16-->
{{Clear}}
<div class="togglebox theme-red">
    <div>Popcorn distribution
        <span class="mw-customtoggle-togglebox-Popcorn" 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-Popcorn">
    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
    |-
    | FoodCache1
    | {{ll|FoodBox}}
    | 55.18%
    |-
    | GroceryBag1
    | {{ll|GroceryBag1}}
    | 1.01%
    |-
    | GroceryBag3
    | {{ll|GroceryBag3}}
    | 6.41%
    |-
    | SurvivorCache1
    | {{ll|counter}}
    | 19.27%
    |-
    | SurvivorCache2
    | {{ll|counter}}
    | 19.27%
    |-
    | breakroom
    | {{ll|counter}}
    | 19.27%
    |-
    | breakroom
    | {{ll|overhead}}
    | 19.27%
    |-
    | breakroom
    | {{ll|shelves}}
    | 19.27%
    |-
    | generalstore
    | {{ll|crate}}
    | 23.28%
    |-
    | generalstore
    | {{ll|shelves}}
    | 23.28%
    |-
    | generalstorestorage
    | {{ll|shelves}}
    | 23.28%
    |-
    | gigamart
    | {{ll|crate}}
    | 23.28%
    |-
    | gigamart
    | {{ll|shelves}}
    | 23.28%
    |-
    | grocery
    | {{ll|crate}}
    | 23.28%
    |-
    | grocery
    | {{ll|shelves}}
    | 23.28%
    |-
    | grocery
    | {{ll|smallcrate}}
    | 23.28%
    |-
    | grocerystorage
    | {{ll|crate}}
    | 3.98%
    |-
    | grocerystorage
    | {{ll|metal_shelves}}
    | 3.98%
    |-
    | grocerystorage
    | {{ll|smallcrate}}
    | 3.98%
    |-
    | kitchen
    | {{ll|counter}}
    | 19.27%
    |-
    | kitchen
    | {{ll|overhead}}
    | 19.27%
    |-
    | kitchen
    | {{ll|shelves}}
    | 19.27%
    |-
    | livingroom
    | {{ll|counter}}
    | 19.27%
    |-
    | livingroom
    | {{ll|overhead}}
    | 19.27%
    |-
    | theatrekitchen
    | {{ll|crate}}
    | 23.28%
    |-
    | theatrekitchen
    | {{ll|crate}}
    | 41.14%
    |-
    | theatrekitchen
    | {{ll|crate}}
    | 76.55%
    |-
    | theatrekitchen
    | {{ll|metal_shelves}}
    | 23.28%
    |-
    | theatrekitchen
    | {{ll|metal_shelves}}
    | 41.14%
    |-
    | theatrekitchen
    | {{ll|metal_shelves}}
    | 76.55%
    |-
    | theatrestorage
    | {{ll|crate}}
    | 23.28%
    |-
    | theatrestorage
    | {{ll|crate}}
    | 41.14%
    |-
    | theatrestorage
    | {{ll|crate}}
    | 76.55%
    |}
</div>
    </div><div style="clear: both;"></div>
    </div></div><div class="toggle large mw-customtoggle-togglebox-Popcorn" title="{{int:show}}/{{int:hide}}"></div></div>
<!--END BOT FLAG|Popcorn|41.78.16-->
Instant popcorn is often found in [[Containers#Counter|kitchen counters]] and movie theaters.
Instant popcorn is often found in [[Containers#Counter|kitchen counters]] and movie theaters.
==Gallery==
<gallery>
File:InstantPopcorn Model.png|Model for: [[File:Popcorn.png|32px]]
</gallery>


==Code==
==Code==
'''''From items_food.txt (Project Zomboid directory/media/scripts/)'''''
{{CodeBox
{{Retrieved|version=41|incver=73}}
| {{CodeSnip
<pre>
  | lang = java
item Popcorn
  | line = true
  | start = 3975
  | source = items_food.txt
  | retrieved = true
  | version = 41.78.16
  | code =
item Popcorn
{
{
DisplayName = Instant Popcorn,
DisplayName = Instant Popcorn,
Line 83: Line 239:
WorldStaticModel = Popcorn,
WorldStaticModel = Popcorn,
}
}
</pre>
}}
}}


==See also==
==See also==
Line 89: Line 246:
*[[TV Dinner]]
*[[TV Dinner]]


{{Navbox food}}
{{Navbox items|plants}}
 
 
[[Category:Non-perishable food]]

Latest revision as of 13:01, 30 April 2024

Project ZomboidItemsFoodGrainsInstant Popcorn
UI Tick.png
This page has been revised for the current stable version (41.78.16).
Help by adding any missing content. [edit]
Instant Popcorn
InstantPopcorn Model.png
Instant Popcorn (Cooked)
General
Category
Food
Encumbrance
Moodle Icon HeavyLoad.png
0.3
Properties
Packaged
Yes
Nutrition
HungerMoodle Icon Hungry.png
-10
ThirstMoodle Icon Thirsty.png
+10
CaloriesCalories
120
CarbohydratesCarbohydrates
20.41
ProteinsProteins
3.57
FatFat
2.69
Cooking
Time until cooked
5 minutes
Time until burned
5 minutes
Technical
Item ID
Base.Popcorn

Instant popcorn is a non-perishable food item]].

Usage

Consumable properties

Popcorn cooks in 5 minutes, and will burn if left in a heat source for more than 10 minutes. Instant popcorn can be eaten raw or consumed after cooking, which will reduce more hunger. It is advisable to cook in a microwave, where you can control the cooking time to the minute.

Uncooked Cooked Burned

Popcorn.png
Hunger: -10


PopcornCooked.png
Hunger: -13

Popcorn.png
Hunger: -3
Boredom: +20
Unhappiness: +20
Dangerous, will cause sickness.

Distribution

The loot distributions can be found in the table(s) below.

Popcorn distribution Show / Hide
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.
Containers
Building/Room Container Effective chance
FoodCache1 FoodBox 55.18%
GroceryBag1 GroceryBag1 1.01%
GroceryBag3 GroceryBag3 6.41%
SurvivorCache1 counter 19.27%
SurvivorCache2 counter 19.27%
breakroom counter 19.27%
breakroom overhead 19.27%
breakroom shelves 19.27%
generalstore crate 23.28%
generalstore shelves 23.28%
generalstorestorage shelves 23.28%
gigamart crate 23.28%
gigamart shelves 23.28%
grocery crate 23.28%
grocery shelves 23.28%
grocery smallcrate 23.28%
grocerystorage crate 3.98%
grocerystorage metal_shelves 3.98%
grocerystorage smallcrate 3.98%
kitchen counter 19.27%
kitchen overhead 19.27%
kitchen shelves 19.27%
livingroom counter 19.27%
livingroom overhead 19.27%
theatrekitchen crate 23.28%
theatrekitchen crate 41.14%
theatrekitchen crate 76.55%
theatrekitchen metal_shelves 23.28%
theatrekitchen metal_shelves 41.14%
theatrekitchen metal_shelves 76.55%
theatrestorage crate 23.28%
theatrestorage crate 41.14%
theatrestorage crate 76.55%

Instant popcorn is often found in kitchen counters and movie theaters.

Code

Code icon.png Code snippet! This section contains source code from Project ZomboidShow / Hide

Source: ProjectZomboid\media\scripts\items_food.txt

Retrieved: Build 41.78.16
item Popcorn
	{
		DisplayName = Instant Popcorn,
		DisplayCategory = Food,
		Type = Food,
		Weight = 0.3,
		Icon = Popcorn,
		CantBeFrozen = TRUE,
		IsCookable = TRUE,
		Packaged = TRUE,
		MinutesToCook = 5,
		MinutesToBurn = 10,
		HungerChange = -10,
		ThirstChange = 10,
		Calories = 120,
		Carbohydrates = 20.41,
		Lipids = 2.69,
		Proteins = 3.57,
		WorldStaticModel = Popcorn,
	}

See also