Bagel: Difference between revisions

From PZwiki
(Updated bagel)
m (Distribution table update)
(25 intermediate revisions by 6 users not shown)
Line 1: Line 1:
{{languages|Bagel}}
{{Header|Project Zomboid|Items|Food|Grains}}
{{header|The Game World|Items|Food|Perishable Food|type=Food|version=Version 41|incver=73}}<!--
{{Page version|41.78.16}}
Comment: This section is for the infobox which will be positioned on the right of the page. The information can be pulled from the items/newitems.txt file in [Zomboid Folder\media\scripts]. For more info on how to use the infobox, see: https://pzwiki.net/wiki/Template:Infobox_food. Image.png is the default question mark image-->
{{Reupload|Missing rotten 3D model}}
{{Infobox food
{{Infobox item
|display_name=Bagel
|name=Bagel
|name_colour=Food
|model=Bagel_Model.png
|name_text_colour=Food
|icon=Bagel.png
|image=Item BagelPlain 120px.png
|icon_name=Bagel
|alternate_image=BagelPoppy.png
|icon2=Bagel.png
|alternate_name=Poppy Bagel
|icon_name2=Bagel (Rotten)
|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 25: Line 21:
|carbohydrates=33
|carbohydrates=33
<!--TECHNICAL DETAILS-->
<!--TECHNICAL DETAILS-->
|class_name=''See [[#Item IDs|Item IDs]]''
|item_id=Base.BagelPlain
}}<!--COMMENT: General introductory for the item-->
}}
'''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.gif
|image = Bagel.png
|hunger = -10
|hunger = -10
|perishable = 1
|perishable = 1
Line 42: Line 38:
|rotten unhappiness = +20
|rotten unhappiness = +20
|rotten boredom = +20
|rotten boredom = +20
|rotten image = Bagel Anim.gif
|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">
    <div class="toggle-content"><div style="display: flex;"><div style="float:left;">
    {| class="wikitable theme-red" style="margin-right:15px; width:95%;"
    |+ {{ll|Containers}}
    ! Building / Room
    ! Container
    ! Rolls
    ! Chance
    |-
    | all
    | {{ll|displaycasebakery}}
    | 4
    | 10.0
    |}
</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]].


==Item IDs==
==Code==
{| class="pztable" style="width:30%; text-align:center;"
{{CodeBox|
! style="width:25%" | Name
{{CodeSnip
! style="width:25%" | Icon
  | lang = java
! style="width:50%" | Base ID
  | line = true
|-
  | start = 5688
| Bagel
  | source = items_food.txt
| [[File:BagelPlain.png]]
  | retrieved = true
| {{ID|Base.BagelPlain}}
  | version = 41.78.16
|-
  | code =
| Poppy Bagel
item BagelPlain
| [[File:BagelPoppy.png]]
{
| {{ID|Base.BagelPoppy}}
DisplayName = Bagel,
|-
| Sesame Bagel
| [[File:BagelSesame.png]]
| {{ID|Base.BagelSesame}}
|}
 
<div class="mw-collapsible mw-collapsed">
== Code ==
<div class="mw-collapsible-content">'''''From items_food.txt (Project Zomboid directory/media/scripts/)'''''
Bagel [[File:BagelPlain.png|32px]]
{{Retrieved|version=41|incver=73}}
<pre>    item BagelPlain
    {
DisplayName = Bagel,
DisplayCategory = Food,
DisplayCategory = Food,
Type = Food,
Type = Food,
Line 80: Line 87:
Icon = BagelPlain,
Icon = BagelPlain,
DaysFresh = 1,
DaysFresh = 1,
DaysTotallyRotten = 2,
DaysTotallyRotten = 6,
HungerChange = -10,
HungerChange = -10,
Calories = 177,
Calories = 177,
Line 88: Line 95:
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]]

Revision as of 14:52, 24 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]
Frame.png
This article contains outdated/low-quality images.
Reason: Missing rotten 3D model
Please help the PZwiki by uploading an improved/updated version of the image(s) found on this page.
Bagel
Bagel Model.png
Bagel (Rotten)
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
Containers
Building / Room Container Rolls Chance
all displaycasebakery 4 10.0

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