Bagel: Difference between revisions

From PZwiki
(added "negative effects" passage to usage)
(Updated bagel)
Line 1: Line 1:
{{languages|{{PAGENAME}}}}
{{languages|Bagel}}
 
{{header|The Game World|Items|Food|Perishable Food|type=Food|version=Version 41|incver=73}}<!--
{{header|The Game World|Items|Food|Perishable Food|type=Food|version=Version 41|incver=65}}<!--
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-->
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 food
{{Infobox food
Line 7: Line 6:
|name_colour=Food
|name_colour=Food
|name_text_colour=Food
|name_text_colour=Food
|image=Bagel.png
|image=Item BagelPlain 120px.png
|alternate_image=BagelPoppy.png
|alternate_name=Poppy Bagel
|alternate_link=
|alternate_image2=BagelSesame.png
|alternate_name2=Sesame Bagel
|alternate_link2=
<!--GENERAL-->
<!--GENERAL-->
|category=Food
|category=Food
Line 20: Line 25:
|carbohydrates=33
|carbohydrates=33
<!--TECHNICAL DETAILS-->
<!--TECHNICAL DETAILS-->
|class_name=Base.BagelPlain
|class_name=''See [[#Item IDs|Item IDs]]''
}}<!--COMMENT: General introductory for the item-->
}}<!--COMMENT: General introductory for the item-->
A '''Bagel''' is a [[Food#Perishable|perishable]] food [[items|item]]
'''Bagel''' is a [[Food#Perishable|perishable]] food [[items|item]] which can come in 3 different variations.
 
<!--COMMENT: This is where the 'Table Of Contents' will go if it is needed-->
__TOC__


== Usage ==
== Usage ==
A Bagel can be eaten, providing the player with some positive effects, however these will become negative the longer it's left to perish.
===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.
=== 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
{{Consumables2
|image = Bagel.png
|image = Bagel Anim.gif
|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
|rotten boredom = +20
|rotten boredom = +20
|rotten image = Bagel.png
|rotten image = Bagel Anim.gif
}}
}}


== Distribution ==
== Distribution ==
Bagels can be found in bakery [[Containers#Displays|display counters]].
Bagel can be found in bakery [[Containers#Displays|display counters]].
 
==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 ==
<pre> item BagelPlain
<div class="mw-collapsible-content">'''''From items_food.txt (Project Zomboid directory/media/scripts/)'''''
      
Bagel [[File:BagelPlain.png|32px]]
        HungerChange = -10,
{{Retrieved|version=41|incver=73}}
        Weight = 0.1,
<pre>   item BagelPlain
        Type = Food,
     {
        DaysTotallyRotten = 2,
DisplayName = Bagel,
        DisplayName = Bagel,
DisplayCategory = Food,
        Icon = BagelPlain,
Type = Food,
        DaysFresh = 1,
Weight = 0.1,
        Carbohydrates = 33,
Icon = BagelPlain,
        Proteins = 5.9,
DaysFresh = 1,
        Lipids = 2.22,
DaysTotallyRotten = 2,
        Calories = 177,
HungerChange = -10,
        WorldStaticModel = Bagel_Ground,</pre>
Calories = 177,
 
Carbohydrates = 33,
 
Lipids = 2.22,
==See also==
Proteins = 5.9,
*[[Sesame Bagel]]
WorldStaticModel = Bagel_Ground,
*[[Poppy Bagel]]
Tags = FitsToaster,
    }</pre>
Poppy Bagel [[File:BagelPoppy.png|32px]]
{{Retrieved|version=41|incver=73}}
<pre>    item BagelPoppy
    {
DisplayName = Poppy Bagel,
DisplayCategory = Food,
Type = Food,
Weight = 0.1,
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>


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

Revision as of 19:35, 27 September 2022

Bagel
Bagel
Poppy Bagel Sesame Bagel
General
Category Food
Encumbrance
Heavy Load
0.1
Days until stale 1 days
Days until rotten 1 days
Nutrition
Hunger
Hunger
-10
Calories
Calories
177
Carbohydrates
Carbohydrates
33
Proteins
Proteins
5.9
Fat
Fat
2.22
Technical details
Item ID See Item IDs

Bagel is a perishable food item which can come in 3 different variations.

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. Template:Consumables2

Distribution

Bagel can be found in bakery display counters.

Item IDs

Name Icon Base ID
Bagel BagelPlain.png Base.BagelPlain
Poppy Bagel BagelPoppy.png Base.BagelPoppy
Sesame Bagel BagelSesame.png Base.BagelSesame

Code

From items_food.txt (Project Zomboid directory/media/scripts/)

Bagel BagelPlain.png Retrieved: Build 41.73

    item BagelPlain
    {
 		DisplayName = Bagel,
		DisplayCategory = Food,
		Type = Food,
		Weight = 0.1,
		Icon = BagelPlain,
		DaysFresh = 1,
		DaysTotallyRotten = 2,
		HungerChange = -10,
		Calories = 177,
		Carbohydrates = 33,
		Lipids = 2.22,
		Proteins = 5.9,
		WorldStaticModel = Bagel_Ground,
		Tags = FitsToaster,
    }

Poppy Bagel BagelPoppy.png Retrieved: Build 41.73

    item BagelPoppy
    {
		DisplayName = Poppy Bagel,
		DisplayCategory = Food,
		Type = Food,
		Weight = 0.1,
		Icon = BagelPoppy,
		DaysFresh = 1,
		DaysTotallyRotten = 2,
		HungerChange = -10,
		Calories = 177,
		Carbohydrates = 33,
		Lipids = 2.22,
		Proteins = 5.9,
		WorldStaticModel = BagelPoppy_Ground,
		Tags = FitsToaster,
    }

Sesame Bagel BagelSesame.png Retrieved: Build 41.73

    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,
    }