Bagel

From PZwiki
Revision as of 19:35, 27 September 2022 by Kienlabadao (talk | contribs) (Updated bagel)
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,
    }