Pop: Difference between revisions

From PZwiki
(→‎Usage: added blurb about calories)
m (Automated CodeBox update)
(20 intermediate revisions by 7 users not shown)
Line 1: Line 1:
{{languages}}
{{Header|Project Zomboid|Items|Food|Drinks}}
{{header|Project Zomboid|Items|Food|Non-Perishable Food|type=Food|version=Version 41|incver=78}}{{Infobox food
{{Page version|41.78.16}}
|display_name=Pop
{{Reupload|Missing 3D Model variants}}
|name_colour=Food
{{Infobox item
|name_text_colour=Food
|name=Pop
|image=PopCanRed_Model.png
|model=PopCanRed_Model.png
|image_width=300px
|icon=Pop.png
|alternate_image=Pop.png
|icon_name=Pop
|alternate_name=Pop
|icon2=Pop2.png
|alternate_link=
|icon_name2=Pop
|alternate_image2=Pop2.png
 
|alternate_name2=Pop
|icon3=Pop3.png
|alternate_link2=
|icon_name3=Pop
|alternate_image3=Pop3.png
 
|alternate_name3=Pop
|icon4=PopEmpty.png
|alternate_link3=
|icon_name4=Empty Pop Can
|alternate_image4=PopEmpty.png
Empty Pop Can
|alternate_name4=Empty Pop Can
|alternate_link4=Empty Pop Can
<!--GENERAL-->
<!--GENERAL-->
|category=Food
|category=Food
Line 32: Line 30:
|unhappy_change=-10
|unhappy_change=-10
<!--TECHNICAL DETAILS-->
<!--TECHNICAL DETAILS-->
|class_name=Base.Pop<br>Base.Pop2<br>Base.Pop3
|item_id=Base.Pop<br>Base.Pop2<br>Base.Pop3
}}{{Quote|text=&#9834; Never let the music stop! &#9834;<br>&#9834; Grab, grab, grab a can of POP! &#9834;|author=In-game radio}}
}}
'''Pop''' is a [[Food#Non-Perishable|non-perishable]] food [[items|item]].
 
{{Quote|text=&#9834; Never let the music stop! &#9834;<br>&#9834; Grab, grab, grab a can of POP! &#9834;|author=In-game radio}}
'''Pop''' is a non-perishable [[food]] [[Items|item]].


==Usage==
==Usage==
Line 42: Line 42:


==Distribution==
==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
|-
|all
|[[fridge]]
|4
|2
|-
|artstore
|[[shelves]]
|4
|1
|-
|bandkitchen
|[[fridge]]
|4
|4
|-
|bar
|[[counter]]
|4
|1
|-
|breakroom
|[[fridge]]
|4
|4
|-
|rowspan="3"|cafeteria
|[[displaycasebakery]]
|4
|8
|-
|[[shelves]]
|4
|1
|-
|[[shelves]]
|4
|2
|-
|rowspan="4"|conveniencestore
|[[crate]]
|4
|1
|-
|[[crate]]
|4
|2
|-
|[[fridge]]
|4
|1
|-
|[[fridge]]
|4
|2
|-
|gasstorage
|[[crate]]
|4
|1
|-
|rowspan="2"|generalstore
|[[shelves]]
|4
|1
|-
|[[shelves]]
|4
|2
|-
|kitchen
|[[counter]]
|4
|1
|-
|motelroomoccupied
|[[fridge]]
|1
|6
|}
Pop can be found in [[Containers#Vending Machines|pop vending machines]], offices, Spiffo's, bars, motel rooms, restaurants, some [[Containers#Refrigerators|refrigerators]], theaters, and candy stores.
Pop can be found in [[Containers#Vending Machines|pop vending machines]], offices, Spiffo's, bars, motel rooms, restaurants, some [[Containers#Refrigerators|refrigerators]], theaters, and candy stores.


===Evolved recipes===
===Evolved recipes===
Pop is a spice when used in [[cooking]] [[Recipe Ingredients|recipes]], therefore will not be included in the maximum number of ingredients.
Pop is a spice when used in [[cooking]] [[Recipe ingredients|recipes]], therefore will not be included in the maximum number of ingredients.
{{EvolvedRecipesForItem|spice=true|Toast=1|Beverage=4}}
{{EvolvedRecipesForItem|spice=true|Toast=1|Beverage=4}}


== Code ==
==Advertisement==
'''''From items.txt (Project Zomboid directory/media/scripts/)'''''
[[Adverts|Advertisement]] for the product:
{| class="mw wikitable theme-red"
!Pop
|-
|  ♪ Never let the music stop! ♪
|-
|  ♪ Grab, grab, grab a can of... POP! ♪
|-
|  Have you tried new Orange-Lite Pop?
|-
|  The ice-cold, all-American taste of pure refreshment!
|-
|  Quench your thirst!
|-
|  Energize your being!
|-
|  ♪ Never let the music stop! ♪
|-
|  ♪ Grab, grab, grab a can of... POP! ♪
|}


''Diet Pop'' [[File:Pop.png]]
{{Retrieved|version=40|incver=16}}
<pre> item Pop
HungerChange = -8,
Weight = 0.3,
AlwaysWelcomeGift = TRUE,
Type = Food,
UnhappyChange = -10,
ThirstChange = -60,
DisplayName = Pop,
Icon = Pop,
CustomContextMenu = Drink,
CustomEatSound = PZ_DrinkingFromBottle,
                Carbohydrates = 39,
                Proteins = 0,
                Lipids = 0,
                Calories = 140,
                Packaged = TRUE,
                CantBeFrozen = TRUE,</pre>


''Pop'' [[File:Pop2.png]]
==Code==
{{Retrieved|version=40|incver=16}}
{{CodeBox|[[File:Pop.png]] {{ID|Base.Pop}}<br>
<pre> item Pop2
{{CodeSnip
HungerChange = -8,
  | lang = java
Weight = 0.3,
  | line = true
AlwaysWelcomeGift = TRUE,
  | start = 3365
Type = Food,
  | source = items_food.txt
UnhappyChange = -10,
  | retrieved = true
ThirstChange = -60,
  | version = 41.78.16
DisplayName = Pop,
  | code =
Icon = Pop2,
item Pop
CustomContextMenu = Drink,
{
CustomEatSound = PZ_DrinkingFromBottle,
DisplayName = Pop,
                Carbohydrates = 39,
DisplayCategory = Food,
                Proteins = 0,
Type = Food,
                Lipids = 0,
Weight = 0.3,
                Calories = 140,
Icon = Pop,
                Packaged = TRUE,
EvolvedRecipe = Beverage:4;Beverage2:4,
                CantBeFrozen = TRUE,</pre>
FoodType = SoftDrink,
CantBeFrozen = TRUE,
EatType = popcan,
Packaged = TRUE,
ReplaceOnUse = PopEmpty,
HungerChange = -8,
ThirstChange = -60,
UnhappyChange = -10,
Calories = 140,
Carbohydrates = 39,
Lipids = 0,
Proteins = 0,
CustomContextMenu = Drink,
CustomEatSound = DrinkingFromCan,
StaticModel = PopCanDiet,
WorldStaticModel = PopCanDiet,
Tags = HasMetal,
}
}}


''Fizz'' [[File:Pop3.png]]
[[File:Pop2.png]] {{ID|Base.Pop3}}<br>
{{Retrieved|version=40|incver=16}}
{{CodeSnip
<pre> item Pop3  
  | lang = java
HungerChange = -8,
  | line = true
Weight = 0.3,
  | start = 3392
AlwaysWelcomeGift = TRUE,
  | source = items_food.txt
Type = Food,
  | retrieved = true
UnhappyChange = -10,
  | version = 41.78.16
ThirstChange = -60,
  | code =
DisplayName = Pop,
item Pop2
Icon = Pop3,
{
CustomContextMenu = Drink,
DisplayName = Pop,
CustomEatSound = PZ_DrinkingFromBottle,
DisplayCategory = Food,
                Carbohydrates = 39,
Type = Food,
                Proteins = 0,
Weight = 0.3,
                Lipids = 0,
Icon = Pop2,
                Calories = 140,
EvolvedRecipe = Beverage:4;Beverage2:4,
                Packaged = TRUE,
FoodType = SoftDrink,
                CantBeFrozen = TRUE,</pre>
CantBeFrozen = TRUE,
EatType = popcan,
Packaged = TRUE,
ReplaceOnUse = Pop2Empty,
HungerChange = -8,
ThirstChange = -60,
UnhappyChange = -10,
Calories = 140,
Carbohydrates = 39,
Lipids = 0,
Proteins = 0,
CustomContextMenu = Drink,
CustomEatSound = DrinkingFromCan,
StaticModel = PopCanRed,
WorldStaticModel = PopCanRed,
Tags = HasMetal,
}
}}
 
[[File:Pop3.png]] {{ID|Base.Pop3 }}<br>
{{CodeSnip
  | lang = java
  | line = true
  | start = 3419
  | source = items_food.txt
  | retrieved = true
  | version = 41.78.16
  | code =
item Pop3
{
DisplayName = Pop,
DisplayCategory = Food,
Type = Food,
Weight = 0.3,
Icon = Pop3,
EvolvedRecipe = Beverage:4;Beverage2:4,
FoodType = SoftDrink,
CantBeFrozen = TRUE,
EatType = popcan,
Packaged = TRUE,
ReplaceOnUse = Pop3Empty,
HungerChange = -8,
ThirstChange = -60,
UnhappyChange = -10,
Calories = 140,
Carbohydrates = 39,
Lipids = 0,
Proteins = 0,
CustomContextMenu = Drink,
CustomEatSound = DrinkingFromCan,
StaticModel = PopCanFizz,
WorldStaticModel = PopCanFizz,
Tags = HasMetal,
}
}}
 
[[File:PopEmpty.png]] {{ID|Base.PopEmpty }}<br>
{{CodeSnip
  | lang = java
  | line = true
  | start = 4086
  | source = newitems.txt
  | retrieved = true
  | version = 41.78.16
  | code =
item PopEmpty
    {
        DisplayCategory = Junk,
        Weight = 0.1,
        Type = Normal,
        DisplayName = Empty Pop Can,
        Icon = PopEmpty,
        MetalValue = 10,
        WorldStaticModel = PopCanDietWorld,
    }
}}
 
[[File:PopEmpty.png]] {{ID|Base.Pop2Empty }}<br>
{{CodeSnip
  | lang = java
  | line = true
  | start = 4096
  | source = newitems.txt
  | retrieved = true
  | version = 41.78.16
  | code =
item Pop2Empty
    {
        DisplayCategory = Junk,
        Weight = 0.1,
        Type = Normal,
        DisplayName = Empty Pop Can,
        Icon = PopEmpty,
        MetalValue = 10,
        WorldStaticModel = PopCanRedWorld,
    }
}}
 
[[File:PopEmpty.png]] {{ID|Base.Pop3Empty }}<br>
{{CodeSnip
  | lang = java
  | line = true
  | start = 4106
  | source = newitems.txt
  | retrieved = true
  | version = 41.78.16
  | code =
item Pop3Empty
    {
        DisplayCategory = Junk,
        Weight = 0.1,
        Type = Normal,
        DisplayName = Empty Pop Can,
        Icon = PopEmpty,
        MetalValue = 10,
        WorldStaticModel = PopCanFizzWorld,
    }
}}
}}


==See also==
==See also==
Line 116: Line 341:
*[[Milk]]
*[[Milk]]


{{Navbox_food}}
{{Navbox food}}
[[Category:Drinks]]
 
[[Category:Non-perishable food]]

Revision as of 11:20, 26 March 2024

UI Tick.png
This page has been revised for the current stable version (41.78.16).
Help by adding any missing content. [edit]
Frame.png
This article contains outdated/low-quality images.
Reason: Missing 3D Model variants
Please help the PZwiki by uploading an improved/updated version of the image(s) found on this page.
Pop
PopCanRed Model.png
Pop
Pop
Empty Pop Can Empty Pop Can
General
Category
Food
Encumbrance
Moodle Icon HeavyLoad.png
0.3
Properties
Packaged
True
Nutrition
HungerMoodle Icon Hungry.png
-8
ThirstMoodle Icon Thirsty.png
-60
CaloriesCalories
140
CarbohydratesCarbohydrates
39
ProteinsProteins
0
FatFat
0
Effect
UnhappinessMoodle Icon Unhappy.png
-10
Technical
Item ID
Base.Pop
Base.Pop2
Base.Pop3
♪ Never let the music stop! ♪
♪ Grab, grab, grab a can of POP! ♪
— In-game radio

Pop is a non-perishable food item.

Usage

Pop can be drunk, providing the player with some positive effects by reducing thirst and hunger, as well as reducing unhappiness. Once fully consumed, an empty pop can will be left in the player’s inventory. Pop provides a low number of calories and carbohydrates, making it inefficient if the player wants to gain weight.

Unlike bottles of water, pop will not be drunk automatically to replenish thirst.

Distribution

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

Containers
Building/Room Container Rolls Chance
all fridge 4 2
artstore shelves 4 1
bandkitchen fridge 4 4
bar counter 4 1
breakroom fridge 4 4
cafeteria displaycasebakery 4 8
shelves 4 1
shelves 4 2
conveniencestore crate 4 1
crate 4 2
fridge 4 1
fridge 4 2
gasstorage crate 4 1
generalstore shelves 4 1
shelves 4 2
kitchen counter 4 1
motelroomoccupied fridge 1 6

Pop can be found in pop vending machines, offices, Spiffo's, bars, motel rooms, restaurants, some refrigerators, theaters, and candy stores.

Evolved recipes

Pop is a spice when used in cooking recipes, therefore will not be included in the maximum number of ingredients.

Product Nutrition
Beverage
Beverage
4
Toast
Toast
1

Advertisement for the product:

Pop
♪ Never let the music stop! ♪
♪ Grab, grab, grab a can of... POP! ♪
Have you tried new Orange-Lite Pop?
The ice-cold, all-American taste of pure refreshment!
Quench your thirst!
Energize your being!
♪ Never let the music stop! ♪
♪ Grab, grab, grab a can of... POP! ♪


Code

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

Pop.png Base.Pop
Source: ProjectZomboid\media\scripts\items_food.txt

Retrieved: Build 41.78.16
item Pop
	{
		DisplayName = Pop,
		DisplayCategory = Food,
		Type = Food,
		Weight = 0.3,
		Icon = Pop,
		EvolvedRecipe = Beverage:4;Beverage2:4,
		FoodType = SoftDrink,
		CantBeFrozen = TRUE,
		EatType = popcan,
		Packaged = TRUE,
		ReplaceOnUse = PopEmpty,
		HungerChange = -8,
		ThirstChange = -60,
		UnhappyChange = -10,
		Calories = 140,
		Carbohydrates = 39,
		Lipids = 0,
		Proteins = 0,
		CustomContextMenu = Drink,
		CustomEatSound = DrinkingFromCan,
		StaticModel = PopCanDiet,
		WorldStaticModel = PopCanDiet,
		Tags = HasMetal,
	}

Pop2.png Base.Pop3
Source: ProjectZomboid\media\scripts\items_food.txt

Retrieved: Build 41.78.16
item Pop2
	{
		DisplayName = Pop,
		DisplayCategory = Food,
		Type = Food,
		Weight = 0.3,
		Icon = Pop2,
		EvolvedRecipe = Beverage:4;Beverage2:4,
		FoodType = SoftDrink,
		CantBeFrozen = TRUE,
		EatType = popcan,
		Packaged = TRUE,
		ReplaceOnUse = Pop2Empty,
		HungerChange = -8,
		ThirstChange = -60,
		UnhappyChange = -10,
		Calories = 140,
		Carbohydrates = 39,
		Lipids = 0,
		Proteins = 0,
		CustomContextMenu = Drink,
		CustomEatSound = DrinkingFromCan,
		StaticModel = PopCanRed,
		WorldStaticModel = PopCanRed,
		Tags = HasMetal,
	}

Pop3.png Base.Pop3
Source: ProjectZomboid\media\scripts\items_food.txt

Retrieved: Build 41.78.16
item Pop3
	{
		DisplayName = Pop,
		DisplayCategory = Food,
		Type = Food,
		Weight = 0.3,
		Icon = Pop3,
		EvolvedRecipe = Beverage:4;Beverage2:4,
		FoodType = SoftDrink,
		CantBeFrozen = TRUE,
		EatType = popcan,
		Packaged = TRUE,
		ReplaceOnUse = Pop3Empty,
		HungerChange = -8,
		ThirstChange = -60,
		UnhappyChange = -10,
		Calories = 140,
		Carbohydrates = 39,
		Lipids = 0,
		Proteins = 0,
		CustomContextMenu = Drink,
		CustomEatSound = DrinkingFromCan,
		StaticModel = PopCanFizz,
		WorldStaticModel = PopCanFizz,
		Tags = HasMetal,
	}

PopEmpty.png Base.PopEmpty
Source: ProjectZomboid\media\scripts\newitems.txt

Retrieved: Build 41.78.16
item PopEmpty
    {
        DisplayCategory = Junk,
        Weight	=	0.1,
        Type	=	Normal,
        DisplayName	=	Empty Pop Can,
        Icon	=	PopEmpty,
        MetalValue = 10,
        WorldStaticModel = PopCanDietWorld,
    }

PopEmpty.png Base.Pop2Empty
Source: ProjectZomboid\media\scripts\newitems.txt

Retrieved: Build 41.78.16
item Pop2Empty
    {
        DisplayCategory = Junk,
        Weight	=	0.1,
        Type	=	Normal,
        DisplayName	=	Empty Pop Can,
        Icon	=	PopEmpty,
        MetalValue = 10,
        WorldStaticModel = PopCanRedWorld,
    }

PopEmpty.png Base.Pop3Empty
Source: ProjectZomboid\media\scripts\newitems.txt

Retrieved: Build 41.78.16
item Pop3Empty
    {
        DisplayCategory = Junk,
        Weight	=	0.1,
        Type	=	Normal,
        DisplayName	=	Empty Pop Can,
        Icon	=	PopEmpty,
        MetalValue = 10,
        WorldStaticModel = PopCanFizzWorld,
    }

See also