Instant Popcorn: Difference between revisions

From PZwiki
mNo edit summary
(Update distribution file)
 
(31 intermediate revisions by 9 users not shown)
Line 1: Line 1:
{{languages|Instant_Popcorn}}
{{Header|Project Zomboid|Items|Food|Grains}}
{{header|Project Zomboid|Items|Food|Non-Perishable Food|type=Food|version=Version 40|incver=14}}{{Infobox food
{{Page version|41.78.16}}
|display_name=Instant Popcorn
{{Infobox item
|name_colour=Food
|name=Instant Popcorn
|name_text_colour=Food
|model=InstantPopcorn_Model.png
|image=Popcorn_120px.png
|icon=Popcorn.png
|alternate_image=PopcornCooked.png
|icon_name=Instant Popcorn
|alternate_name=Instant Popcorn (Cooked)
|icon2=PopcornCooked.png
|alternate_link=
|icon_name2=Instant Popcorn (Cooked)
 
<!--GENERAL-->
<!--GENERAL-->
|category=Food
|category=Food
|weight=0.3
|weight=0.3
|packaged=True
|packaged=Yes
<!--NUTRITION-->
<!--NUTRITION-->
|hunger_change=-10
|hunger_change=-10
Line 21: Line 22:
<!--COOKING-->
<!--COOKING-->
|cook_minutes=5
|cook_minutes=5
|burn_minutes=10
|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===
Instant popcorn can be eaten raw or consumed after cooking, which will reduce more hunger.
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==
Instant popcorn is often found in [[Containers#Counter|kitchen counters]].
The loot distributions can be found in the table(s) below.


== Code ==
<!--BOT FLAG|Popcorn|41.78.16-->
'''''From items.txt (Project Zomboid directory/media/scripts/)'''''
{{Clear}}
{{Retrieved|version=40|incver=14}}
<div class="togglebox theme-red">
<pre> item Popcorn
    <div>Popcorn distribution
HungerChange = -10,
        <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>
Weight = 0.3,
    <div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-togglebox-Popcorn">
Type = Food,
    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">
IsCookable = TRUE,
<div class="pz-container">
MinutesToBurn = 10,
<div id="containers" style="flex-basis:30%">
ThirstChange = 10,
    {| class="wikitable theme-red" style="margin-right: 15px; width: 95%;"
DisplayName = Instant Popcorn,
    |+ {{ll|Containers}}
Icon = Popcorn,
    ! Building/Room
MinutesToCook = 5,
    ! Container
        Carbohydrates = 20.41,
    ! Effective chance
        Proteins = 3.57,
    |-
        Lipids = 2.69,
    | FoodCache1
        Calories = 120,
    | {{ll|FoodBox}}
        Packaged = TRUE,
    | 55.18%
        CantBeFrozen = TRUE,</pre>
    |-
    | 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.
 
==Code==
{{CodeBox
| {{CodeSnip
  | lang = java
  | line = true
  | start = 3975
  | source = items_food.txt
  | retrieved = true
  | version = 41.78.16
  | code =
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==
==See also==
Line 78: Line 246:
*[[TV Dinner]]
*[[TV Dinner]]


{{Navbox/Consumables}}
{{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