Bagel: Difference between revisions

From PZwiki
No edit summary
m (Distribution table update)
(27 intermediate revisions by 7 users not shown)
Line 1: Line 1:
{{languages|{{PAGENAME}}}}
{{Header|Project Zomboid|Items|Food|Grains}}
 
{{Page version|41.78.16}}
{{header|The Game World|Items|Food|Perishable Food|type=Food|version=Version 41|incver=65}}<!--
{{Reupload|Missing rotten 3D model}}
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-->
{{Infobox item
{{Infobox food
|name=Bagel
|display_name=Bagel
|model=Bagel_Model.png
|name_colour=Food
|icon=Bagel.png
|name_text_colour=Food
|icon_name=Bagel
|image=Bagel.png
|icon2=Bagel.png
|icon_name2=Bagel (Rotten)
<!--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 20: Line 21:
|carbohydrates=33
|carbohydrates=33
<!--TECHNICAL DETAILS-->
<!--TECHNICAL DETAILS-->
|class_name=Base.BagelPlain
|item_id=Base.BagelPlain
}}<!--COMMENT: General introductory for the item-->
}}
A '''Bagel''' is a [[Food#Perishable|perishable]] food [[items|item]]
A '''bagel''' is a perishable [[food]] [[Items|item]].


<!--COMMENT: This is where the 'Table Of Contents' will go if it is needed-->
==Usage==
__TOC__
===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.
== Usage ==
{{Consumables
A Bagel can be eaten, providing the player with some positive effects
 
=== Consumable properties ===
<!--COMMENT: This section explains how the food values alter over time, ranging from fresh uncooked, to burnt, to rotten, fill in details as appropriate. Example used is Chicken -->
{{Consumables2
|image = Bagel.png
|image = Bagel.png
|hunger = -10
|hunger = -10
|perishable = 1
|perishable = 1
|boredom = 0
|unhappiness = 0
|unrotten hunger = -7
|unrotten hunger = -7
|unrotten unhappiness = +10
|unrotten unhappiness = +20
|unrotten boredom = +10
|unrotten boredom = +20
|rotten hunger = -4
|rotten hunger = -4
|rotten unhappiness = +20
|rotten unhappiness = +20
Line 47: Line 41:
}}
}}


== Distribution ==
==Distribution==
Bagels can be found in bakery [[Containers#Displays|display counters]].
The loot distributions can be found in the table(s) below.


== Code ==
<!--BOT FLAG|BagelPlain|41.78.16-->
<pre> item BagelPlain
{{clear}}
   
<div class="togglebox theme-red">
         HungerChange = -10,
    <div>BagelPlain distribution
        Weight = 0.1,
         <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>
        Type = Food,
    <div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-togglebox-BagelPlain">
        DaysTotallyRotten = 2,
    <div class="toggle-content"><div style="display: flex;"><div style="float:left;">
        DisplayName = Bagel,
    {| class="wikitable theme-red" style="margin-right:15px; width:95%;"
        Icon = BagelPlain,
    |+ {{ll|Containers}}
        DaysFresh = 1,
    ! Building / Room
        Carbohydrates = 33,
    ! Container
        Proteins = 5.9,
    ! Rolls
        Lipids = 2.22,
    ! Chance
        Calories = 177,
    |-
        WorldStaticModel = Bagel_Ground,</pre>
    | 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]].


==Code==
{{CodeBox|
{{CodeSnip
  | lang = java
  | line = true
  | start = 5688
  | source = items_food.txt
  | retrieved = true
  | version = 41.78.16
  | code =
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==
==See also==
*[[Poppy Bagel]]
*[[Sesame Bagel]]
*[[Sesame Bagel]]
*[[Poppy Bagel]]


[[Category:Food]]
{{Navbox items|plants}}
 
 
[[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