Pop: Difference between revisions

From PZwiki
No edit summary
m (Automated CodeBox update)
(43 intermediate revisions by 18 users not shown)
Line 1: Line 1:
{{languages}}
{{Header|Project Zomboid|Items|Food|Drinks}}
{{Consumables
{{Page version|41.78.16}}
|image = Popanim.gif
{{Reupload|Missing 3D Model variants}}
|hunger = 0
{{Infobox item
|weight = 1
|name=Pop
|model=PopCanRed_Model.png
|icon=Pop.png
|icon_name=Pop
|icon2=Pop2.png
|icon_name2=Pop
 
|icon3=Pop3.png
|icon_name3=Pop
 
|icon4=PopEmpty.png
|icon_name4=Empty Pop Can
Empty Pop Can
<!--GENERAL-->
|category=Food
|weight=0.3
|packaged=True
<!--NUTRITION-->
|hunger_change=-8
|thirst_change=-60
|calories=140
|lipids=0
|proteins=0
|carbohydrates=39
<!--EFFECTS-->
|unhappy_change=-10
<!--TECHNICAL DETAILS-->
|item_id=Base.Pop<br>Base.Pop2<br>Base.Pop3
}}
}}
Pop is a drinkable item. It's often found on the floor with [[crisps]] or in [[Containers]] usually in [[containers#vending machines|Vending machines]].
== Effects ==
[[Hunger]]: 0<br>
[[Thirst]]: -100<br>
[[Unhappy]]: -10
== Code ==
<nowiki>item Pop
{
Type = Food,
DisplayName = Pop,
Icon = Pop,
Weight = 1,
HungerChange = 0,
AlwaysWelcomeGift = true,
ThirstChange = -100,
HungerChange = -10,
UnhappyChange = -10,


}</nowiki>
{{Quote|text=&#9834; Never let the music stop! &#9834;<br>&#9834; Grab, grab, grab a can of POP! &#9834;|author=In-game radio}}
{{Navbox/Consumables}}
'''Pop''' is a non-perishable [[food]] [[Items|item]].
[[Category:Consumables]]
 
[[Category:Version 0.2.0p]]
==Usage==
Pop can be drunk, providing the player with some positive effects by reducing thirst and hunger, as well as reducing [[Moodles#Unhappy|unhappiness]]. Once fully consumed, an [[Empty Pop Can|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 [[Water Bottle|bottles of water]], pop will not be drunk automatically to replenish [[Moodles#Thirst|thirst]].
 
==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.
 
===Evolved recipes===
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}}
 
==Advertisement==
[[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! ♪
|}
 
 
==Code==
{{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,
}
}}
 
[[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==
*[[Orange Soda]]
*[[Juice Box]]
*[[Milk]]
 
{{Navbox food}}
 
[[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