Pop: Difference between revisions

From PZwiki
m (→‎Evolved recipes: Update link - avoid redirect)
m (Automated CodeBox update)
(15 intermediate revisions by 4 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.16}}
{{Page version|41.78.16}}
{{reupload|Missing 3D Model variants}}
{{Reupload|Missing 3D Model variants}}
{{Infobox food
{{Infobox item
|display_name=Pop
|name=Pop
|name_colour=Food
|model=PopCanRed_Model.png
|name_text_colour=Food
|icon=Pop.png
|image=PopCanRed_Model.png
|icon_name=Pop
|image_width=200px
|icon2=Pop2.png
|alternate_image=Pop.png
|icon_name2=Pop
|alternate_name=Pop
 
|alternate_link=
|icon3=Pop3.png
|alternate_image2=Pop2.png
|icon_name3=Pop
|alternate_name2=Pop
 
|alternate_link2=
|icon4=PopEmpty.png
|alternate_image3=Pop3.png
|icon_name4=Empty Pop Can
|alternate_name3=Pop
Empty Pop Can
|alternate_link3=
|alternate_image4=PopEmpty.png
|alternate_name4=Empty Pop Can
|alternate_link4=Empty Pop Can
<!--GENERAL-->
<!--GENERAL-->
|category=Food
|category=Food
Line 34: 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 44: 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.


Line 50: Line 137:
{{EvolvedRecipesForItem|spice=true|Toast=1|Beverage=4}}
{{EvolvedRecipesForItem|spice=true|Toast=1|Beverage=4}}


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




==Code==
==Code==
'''''From items.txt (Project Zomboid directory/media/scripts/)'''''
{{CodeBox|[[File:Pop.png]] {{ID|Base.Pop}}<br>
{{CodeSnip
  | lang = java
  | line = true
  | start = 3365
  | source = items_food.txt
  | retrieved = true
  | version = 41.78.16
  | code =
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,
}
}}
 
[[File:Pop2.png]] {{ID|Base.Pop3}}<br>
{{CodeSnip
  | lang = java
  | line = true
  | start = 3392
  | source = items_food.txt
  | retrieved = true
  | version = 41.78.16
  | code =
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,
}
}}


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


''Pop'' [[File:Pop2.png]]
[[File:PopEmpty.png]] {{ID|Base.PopEmpty }}<br>
{{Retrieved|version=40|incver=16}}
{{CodeSnip
<pre>
  | lang = java
item Pop2
  | line = true
HungerChange = -8,
  | start = 4086
Weight = 0.3,
  | source = newitems.txt
AlwaysWelcomeGift = TRUE,
  | retrieved = true
Type = Food,
  | version = 41.78.16
UnhappyChange = -10,
  | code =
ThirstChange = -60,
item PopEmpty
DisplayName = Pop,
    {
Icon = Pop2,
        DisplayCategory = Junk,
CustomContextMenu = Drink,
        Weight = 0.1,
CustomEatSound = PZ_DrinkingFromBottle,
        Type = Normal,
                Carbohydrates = 39,
        DisplayName = Empty Pop Can,
                Proteins = 0,
        Icon = PopEmpty,
                Lipids = 0,
        MetalValue = 10,
                Calories = 140,
        WorldStaticModel = PopCanDietWorld,
                Packaged = TRUE,
    }
                CantBeFrozen = TRUE,
}}
</pre>


''Fizz'' [[File:Pop3.png]]
[[File:PopEmpty.png]] {{ID|Base.Pop2Empty }}<br>
{{Retrieved|version=40|incver=16}}
{{CodeSnip
<pre>
  | lang = java
item Pop3
  | line = true
HungerChange = -8,
  | start = 4096
Weight = 0.3,
  | source = newitems.txt
AlwaysWelcomeGift = TRUE,
  | retrieved = true
Type = Food,
  | version = 41.78.16
UnhappyChange = -10,
  | code =
ThirstChange = -60,
item Pop2Empty
DisplayName = Pop,
    {
Icon = Pop3,
        DisplayCategory = Junk,
CustomContextMenu = Drink,
        Weight = 0.1,
CustomEatSound = PZ_DrinkingFromBottle,
        Type = Normal,
                Carbohydrates = 39,
        DisplayName = Empty Pop Can,
                Proteins = 0,
        Icon = PopEmpty,
                Lipids = 0,
        MetalValue = 10,
                Calories = 140,
        WorldStaticModel = PopCanRedWorld,
                Packaged = TRUE,
    }
                CantBeFrozen = TRUE,
}}
</pre>
 
[[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 148: Line 342:


{{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