Instant Popcorn: Difference between revisions

From PZwiki
(→‎top: New infobox upgrade - Food)
m (Distribution table update)
(18 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Languages}}
{{Header|Project Zomboid|Items|Food|Grains}}
{{header/sandbox2|Project Zomboid|Items|Food|Grains}}
{{Page version|41.78.16}}
{{page version|41.73}}
{{Infobox item
{{Infobox item
|name=Instant Popcorn
|name=Instant Popcorn
|model=InstantPopcorn Model.png
|model=InstantPopcorn_Model.png
|icon=Popcorn.png
|icon=Popcorn.png
|icon_name=Instant Popcorn
|icon_name=Instant Popcorn
Line 27: Line 26:
|item_id=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.
{{Consumables
{{Consumables
|image = Popcorn.png
|image = Popcorn.png
Line 55: 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">
    <div class="toggle-content"><div style="display: flex;"><div style="float:left;">
    {| class="wikitable theme-red" style="margin-right:15px; width:95%;"
    |+ {{ll|Containers}}
    ! Building / Room
    ! Container
    ! Rolls
    ! Chance
    |-
    | Not referenced
    | {{ll|TheatrePopcorn}}
    | 4
    | 10.0
    |-
    | Not referenced
    | {{ll|TheatrePopcorn}}
    | 4
    | 20.0
    |-
    | Not referenced
    | {{ll|TheatrePopcorn}}
    | 4
    | 50.0
    |-
    | all
    | {{ll|FoodBox}}
    | 15
    | 8.0
    |-
    | all
    | {{ll|GroceryBag1}}
    | 1
    | 1.0
    |-
    | all
    | {{ll|GroceryBag3}}
    | 1
    | 10.0
    |-
    | breakroom
    | {{ll|counter}}
    | 4
    | 8.0
    |-
    | breakroom
    | {{ll|overhead}}
    | 4
    | 8.0
    |-
    | generalstore
    | {{ll|crate}}
    | 4
    | 10.0
    |-
    | grocerystorage
    | {{ll|crate}}
    | 4
    | 1.0
    |-
    | kitchen
    | {{ll|counter}}
    | 4
    | 8.0
    |-
    | theatrekitchen
    | {{ll|crate}}
    | 4
    | 20.0
    |-
    | theatrekitchen
    | {{ll|crate}}
    | 4
    | 10.0
    |-
    | theatrekitchen
    | {{ll|crate}}
    | 4
    | 50.0
    |}
</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.


==Code==
==Code==
'''''From items_food.txt (Project Zomboid directory/media/scripts/)'''''
{{CodeBox
{{Retrieved|version=41.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 81: Line 176:
WorldStaticModel = Popcorn,
WorldStaticModel = Popcorn,
}
}
</pre>
}}
}}


==See also==
==See also==
Line 87: Line 183:
*[[TV Dinner]]
*[[TV Dinner]]


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

Revision as of 15:47, 24 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
Containers
Building / Room Container Rolls Chance
Not referenced TheatrePopcorn 4 10.0
Not referenced TheatrePopcorn 4 20.0
Not referenced TheatrePopcorn 4 50.0
all FoodBox 15 8.0
all GroceryBag1 1 1.0
all GroceryBag3 1 10.0
breakroom counter 4 8.0
breakroom overhead 4 8.0
generalstore crate 4 10.0
grocerystorage crate 4 1.0
kitchen counter 4 8.0
theatrekitchen crate 4 20.0
theatrekitchen crate 4 10.0
theatrekitchen crate 4 50.0

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