Bagel: Difference between revisions

From PZwiki
m (Change to png)
m (RM reupload. No rotten model as per models_items.txt.)
 
(25 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{Languages}}{{Header|The Game World|Items|Food|Perishable Food|type=Food|version=Version 41|incver=73}}{{Infobox food
{{Header|Project Zomboid|Items|Food|Grains}}
|display_name=Bagel
{{Page version|41.78.16}}
|name_colour=Food
{{Infobox item
|name_text_colour=Food
|name=Bagel
|image=Bagel Anim.png
|model=Bagel_Model.png
|alternate_image=BagelPoppy.png
|icon=Bagel.png
|alternate_name=Poppy Bagel
|icon_name=Bagel
|alternate_link=
|alternate_image2=BagelSesame.png
|alternate_name2=Sesame Bagel
|alternate_link2=
<!--GENERAL-->
<!--GENERAL-->
|category=Food
|category=Food
|weight=0.1
|weight=0.1
|days_fresh=1
|days_fresh=1
|days_rotten=1
|days_rotten=6
<!--NUTRITION-->
<!--NUTRITION-->
|hunger_change=-10
|hunger_change=-10
Line 22: Line 18:
|carbohydrates=33
|carbohydrates=33
<!--TECHNICAL DETAILS-->
<!--TECHNICAL DETAILS-->
|class_name=''See [[#Item IDs|Item IDs]]''
|item_id=Base.BagelPlain
}}'''Bagel''' is a [[Food#Perishable|perishable]] food [[items|item]] which can come in 3 different variations.
}}
A '''bagel''' is a perishable [[food]] [[Items|item]].


==Usage==
==Usage==
===Consumable properties===
===Consumable properties===
Bagel can be eaten, providing the player with some positive effects, however these will become negative the longer it's left to perish.
Bagel can be eaten, providing the player with some positive effects, however these will become negative the longer it's left to perish.
{{Consumables2
{{Consumables
|image = Bagel Anim.png
|image = Bagel.png
|hunger = -10
|hunger = -10
|perishable = 1
|perishable = 1
Line 39: Line 35:
|rotten unhappiness = +20
|rotten unhappiness = +20
|rotten boredom = +20
|rotten boredom = +20
|rotten image = Bagel Anim.png
|rotten image = Bagel.png
}}
}}


==Distribution==
==Distribution==
The loot distributions can be found in the table(s) below.
<!--BOT FLAG|BagelPlain|41.78.16-->
{{Clear}}
<div class="togglebox theme-red">
    <div>BagelPlain distribution
        <span class="mw-customtoggle-togglebox-BagelPlain" 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-BagelPlain">
    Effective chance calculations are based off of default loot settings, and median zombie density. The higher the density of zombies in an area, the higher the effective chance of an item spawning. Chance is also influenced by the [[lucky]] and [[unlucky]] traits.    <div class="toggle-content">
<div class="pz-container">
<div id="containers" style="flex-basis:30%">
    {| class="wikitable theme-red" style="margin-right: 15px; width: 95%;"
    |+ {{ll|Containers}}
    ! Building/Room
    ! Container
    ! Effective chance
    |-
    | all
    | {{ll|displaycasebakery}}
    | 23.28%
    |-
    | bakery
    | {{ll|displaycase}}
    | 23.28%
    |-
    | bakery
    | {{ll|displaycasebakery}}
    | 23.28%
    |-
    | bakery
    | {{ll|grocerstand}}
    | 23.28%
    |-
    | bakery
    | {{ll|restaurantdisplay}}
    | 23.28%
    |-
    | bakerykitchen
    | {{ll|restaurantdisplay}}
    | 23.28%
    |-
    | cornerstore
    | {{ll|displaycasebakery}}
    | 23.28%
    |-
    | gigamart
    | {{ll|displaycasebakery}}
    | 23.28%
    |-
    | grocery
    | {{ll|displaycasebakery}}
    | 23.28%
    |}
</div>
    </div><div style="clear: both;"></div>
    </div></div><div class="toggle large mw-customtoggle-togglebox-BagelPlain" title="{{int:show}}/{{int:hide}}"></div></div>
<!--END BOT FLAG|BagelPlain|41.78.16-->
Bagel can be found in bakery [[Containers#Displays|display counters]].
Bagel can be found in bakery [[Containers#Displays|display counters]].


==Gallery==
<gallery>
File:Bagel Model.png|Model for: [[File:BagelPlain.png]]
File:BagelPoppySeeds Model.png|Model for: [[File:BagelPoppy.png]]
File:BagelSesameSeeds Model.png|Model for: [[File:BagelSesame.png]]
</gallery>
==Item IDs==
{| class="pztable" style="width:30%; text-align:center;"
! style="width:25%" | Name
! style="width:25%" | Icon
! style="width:50%" | Base ID
|-
| Bagel
| [[File:BagelPlain.png]]
| {{ID|Base.BagelPlain}}
|-
| Poppy Bagel
| [[File:BagelPoppy.png]]
| {{ID|Base.BagelPoppy}}
|-
| Sesame Bagel
| [[File:BagelSesame.png]]
| {{ID|Base.BagelSesame}}
|}
<div class="mw-collapsible mw-collapsed">
==Code==
==Code==
<div class="mw-collapsible-content">'''''From items_food.txt (Project Zomboid directory/media/scripts/)'''''
{{CodeBox|
Bagel [[File:BagelPlain.png|32px]]
{{CodeSnip
{{Retrieved|version=41|incver=73}}
  | lang = java
<pre>    item BagelPlain
  | line = true
    {
  | start = 5688
DisplayName = Bagel,
  | source = items_food.txt
  | retrieved = true
  | version = 41.78.16
  | code =
item BagelPlain
{
DisplayName = Bagel,
DisplayCategory = Food,
DisplayCategory = Food,
Type = Food,
Type = Food,
Line 84: Line 116:
Icon = BagelPlain,
Icon = BagelPlain,
DaysFresh = 1,
DaysFresh = 1,
DaysTotallyRotten = 2,
DaysTotallyRotten = 6,
HungerChange = -10,
HungerChange = -10,
Calories = 177,
Calories = 177,
Line 92: Line 124:
WorldStaticModel = Bagel_Ground,
WorldStaticModel = Bagel_Ground,
Tags = FitsToaster,
Tags = FitsToaster,
    }</pre>
}
Poppy Bagel [[File:BagelPoppy.png|32px]]
}}
{{Retrieved|version=41|incver=73}}
}}
<pre>    item BagelPoppy
 
    {
==See also==
DisplayName = Poppy Bagel,
*[[Poppy Bagel]]
DisplayCategory = Food,
*[[Sesame Bagel]]
Type = Food,
 
Weight = 0.1,
{{Navbox items|plants}}
Icon = BagelPoppy,
 
DaysFresh = 1,
DaysTotallyRotten = 2,
HungerChange = -10,
Calories = 177,
Carbohydrates = 33,
Lipids = 2.22,
Proteins = 5.9,
WorldStaticModel = BagelPoppy_Ground,
Tags = FitsToaster,
    }</pre>
Sesame Bagel [[File:BagelSesame.png|32px]]
{{Retrieved|version=41|incver=73}}
<pre>    item BagelSesame
    {
DisplayName = Sesame Bagel,
DisplayCategory = Food,
Type = Food,
Weight = 0.1,
Icon = BagelSesame,
DaysFresh = 1,
DaysTotallyRotten = 2,
HungerChange = -10,
Calories = 177,
Carbohydrates = 33,
Lipids = 2.22,
Proteins = 5.9,
WorldStaticModel = BagelSesame_Ground,
Tags = FitsToaster,
    }</pre>
</div>


{{Navbox food}}
[[Category:Perishable food]]

Latest revision as of 15:46, 30 April 2024

UI Tick.png
This page has been revised for the current stable version (41.78.16).
Help by adding any missing content. [edit]
Bagel
Bagel 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.BagelPlain

A bagel is a perishable food item.

Usage

Consumable properties

Bagel can be eaten, providing the player with some positive effects, however these will become negative the longer it's left to perish.

Fresh Stale Rotten

Bagel.png
Hunger: -10


Bagel.png
Hunger: -7
Boredom: +20
Unhappiness: +20

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

Distribution

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

BagelPlain distribution Show / Hide
Effective chance calculations are based off of default loot settings, and median zombie density. The higher the density of zombies in an area, the higher the effective chance of an item spawning. Chance is also influenced by the lucky and unlucky traits.
Containers
Building/Room Container Effective chance
all displaycasebakery 23.28%
bakery displaycase 23.28%
bakery displaycasebakery 23.28%
bakery grocerstand 23.28%
bakery restaurantdisplay 23.28%
bakerykitchen restaurantdisplay 23.28%
cornerstore displaycasebakery 23.28%
gigamart displaycasebakery 23.28%
grocery displaycasebakery 23.28%

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

See also