Sesame Bagel: Difference between revisions
(→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. | {{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}} | ||
<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 | 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 | ||
! | ! Effective chance | ||
|- | |- | ||
| all | | all | ||
| {{ll|displaycasebakery}} | | {{ll|displaycasebakery}} | ||
| | | 23.28% | ||
| | |- | ||
| 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--> | ||
==Code== | ==Code== | ||
{{CodeBox | {{CodeBox |
Latest revision as of 13:50, 30 April 2024
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 |
---|---|---|
|
|
|
Distribution
The loot distributions can be found in the table(s) below.
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
Source: ProjectZomboid\media\scripts\items_food.txt
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,
}