Sesame Bagel: Difference between revisions

From PZwiki
(→‎Code: updated to modern format)
(Update distribution file)
 
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Header|Project Zomboid|Items|Food|Grains}}
{{Header|Project Zomboid|Items|Food|Grains}}
{{Page version|41.65}}
{{Page version|41.78.16}}
{{Infobox item
{{Infobox item
|name=Sesame Bagel
|name=Sesame Bagel
Line 22: Line 22:


==Usage==
==Usage==
A sesame bagel can be eaten, providing the player with some positive effects, however these will become negative the longer it's left to perish.
A sesame bagel can be eaten, providing the player with some positive effects, however these will become negative the longer it's left to perish. It is one of the items that can be placed inside a toaster.  


===Consumable properties===
===Consumable properties===
Line 44: Line 44:


<!--BOT FLAG|BagelSesame|41.78.16-->
<!--BOT FLAG|BagelSesame|41.78.16-->
{{clear}}
{{Clear}}
<div class="togglebox theme-red">
<div class="togglebox theme-red">
     <div>BagelSesame distribution
     <div>BagelSesame distribution
         <span class="mw-customtoggle-togglebox-BagelSesame" 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>
         <span class="mw-customtoggle-togglebox-BagelSesame" 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-BagelSesame">
     <div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-togglebox-BagelSesame">
     <div class="toggle-content"><div style="display: flex;"><div style="float:left;">
     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">
     {| class="wikitable theme-red" style="margin-right:15px; width:95%;"
<div class="pz-container">
<div id="containers" style="flex-basis:30%">
     {| class="wikitable theme-red" style="margin-right: 15px; width: 95%;"
     |+ {{ll|Containers}}
     |+ {{ll|Containers}}
     ! Building / Room
     ! Building/Room
     ! Container
     ! Container
     ! Rolls
     ! Effective chance
    ! Chance
     |-
     |-
     | all
     | all
     | {{ll|displaycasebakery}}
     | {{ll|displaycasebakery}}
     | 4
     | 23.28%
     | 10.0
    |-
    | 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><div style="clear:both;"></div>
     </div><div style="clear: both;"></div>
     </div></div><div class="toggle large mw-customtoggle-togglebox-BagelSesame" title="{{int:show}}/{{int:hide}}"></div></div>
     </div></div><div class="toggle large mw-customtoggle-togglebox-BagelSesame" title="{{int:show}}/{{int:hide}}"></div></div>
<!--END BOT FLAG|BagelSesame|41.78.16-->
<!--END BOT FLAG|BagelSesame|41.78.16-->
Sesame bagels can be found in bakery [[Containers#Displays|display counters]].


==Code==
==Code==
==Code==
{{CodeBox
{{CodeBox

Latest revision as of 13:50, 30 April 2024

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

A sesame bagel is a perishable food item.

Usage

A sesame bagel can be eaten, providing the player with some positive effects, however these will become negative the longer it's left to perish. It is one of the items that can be placed inside a toaster.

Consumable properties

Fresh Stale Rotten

BagelSesame.png
Hunger: -10


BagelSesame.png
Hunger: -7
Boredom: +10
Unhappiness: +10

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

Distribution

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

BagelSesame 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%

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

See also