Poppy Bagel: Difference between revisions

From PZwiki
m (Distribution table update)
(updated page version, added toaster note, redid code section)
Line 1: Line 1:
{{Header|Project Zomboid|Items|Food|Grains}}
{{Header|Project Zomboid|Items|Food|Grains}}
{{Page version|41.65}}
{{Page version|41.78.16}}
{{Infobox item
{{Infobox item
|name=Poppy Bagel
|name=Poppy Bagel
Line 22: Line 22:


==Usage==
==Usage==
A poppy bagel can be eaten, providing the player with some positive effects, however these will become negative the longer it's left to perish.
A poppy bagel can be eaten, providing the player with some positive effects, however these will become negative the longer it's left to perish. It is one of the food items that can be placed in a toaster.  


===Consumable properties===
===Consumable properties===
Line 69: Line 69:


==Code==
==Code==
{{Improve|section=true|Update to the new format}}
{{CodeBox
<pre>
| {{CodeSnip
    item BagelPoppy
  | lang = java
    {
  | line = true
        HungerChange = -10,
  | start = 5706
        Weight = 0.1,
  | source = items_food.txt
        Type = Food,
  | retrieved = true
        DaysTotallyRotten = 2,
  | version = 41.78.16
        DisplayName = Poppy Bagel,
  | code =
        Icon = BagelPoppy,
item BagelPoppy
        DaysFresh = 1,
{
        Carbohydrates = 33,
DisplayName = Poppy Bagel,
        Proteins = 5.9,
DisplayCategory = Food,
        Lipids = 2.22,
Type = Food,
        Calories = 177,
Weight = 0.1,
        WorldStaticModel = BagelPoppy_Ground,
Icon = BagelPoppy,
</pre>
DaysFresh = 1,
DaysTotallyRotten = 6,
HungerChange = -10,
Calories = 177,
Carbohydrates = 33,
Lipids = 2.22,
Proteins = 5.9,
WorldStaticModel = BagelPoppy_Ground,
Tags = FitsToaster,
}
}}
}}


==See also==
==See also==

Revision as of 23:24, 25 April 2024

Project ZomboidItemsFoodGrainsPoppy Bagel
UI Tick.png
This page has been revised for the current stable version (41.78.16).
Help by adding any missing content. [edit]
Poppy Bagel
BagelPoppySeeds Model.png
General
Category
Food
Encumbrance
Moodle Icon HeavyLoad.png
0.1
Properties
Days fresh
1 days
Days until rotten
6 days
Nutrition
HungerMoodle Icon Hungry.png
-10
CaloriesCalories
177
CarbohydratesCarbohydrates
33
ProteinsProteins
5.9
FatFat
2.22
Technical
Item ID
Base.BagelPoppy

A poppy bagel is a perishable food item.

Usage

A poppy bagel can be eaten, providing the player with some positive effects, however these will become negative the longer it's left to perish. It is one of the food items that can be placed in a toaster.

Consumable properties

Fresh Stale Rotten

BagelPoppy.png
Hunger: -10


BagelPoppy.png
Hunger: -7
Boredom: +10
Unhappiness: +10

BagelPoppy.png
Hunger: -4
Boredom: +20
Unhappiness: +20
Dangerous, will cause sickness.

Distribution

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

BagelPoppy distribution Show / Hide
Containers
Building / Room Container Rolls Chance
all displaycasebakery 4 10.0

Poppy Bagels can be found in bakery display counters.

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 BagelPoppy
	{
		DisplayName = Poppy Bagel,
		DisplayCategory = Food,
		Type = Food,
		Weight = 0.1,
		Icon = BagelPoppy,
		DaysFresh = 1,
		DaysTotallyRotten = 6,
		HungerChange = -10,
		Calories = 177,
		Carbohydrates = 33,
		Lipids = 2.22,
		Proteins = 5.9,
		WorldStaticModel = BagelPoppy_Ground,
		Tags = FitsToaster,
	}

See also