Muffin

From PZwiki
UI Tick.png
This page has been revised for the current stable version (41.78.16).
Help by adding any missing content. [edit]
Muffin
MuffinGeneric Model.png
General
Category
Food
Encumbrance
Moodle Icon HeavyLoad.png
0.1
Properties
Days fresh
5 days
Days until rotten
8 days
Nutrition
HungerMoodle Icon Hungry.png
-7
Effect
UnhappinessMoodle Icon Unhappy.png
-10
Technical
Item ID
Base.MuffinGeneric
PlushSpiffo.pngThis article is about muffins that spawn naturally. For muffins made by the player, see Recipe ingredients.

A muffin is a perishable food item.

Usage

Consumable properties

Muffins 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

MuffinGeneric.png
Hunger: -7

Unhappiness: -10

MuffinGeneric.png
Hunger: -5
Boredom: +10

MuffinGeneric.png
Hunger: -3
Boredom: +20
Unhappiness: +10
Dangerous, will cause sickness.

Distribution

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

MuffinGeneric 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
Lunchbag Lunchbag 12.41%
Lunchbox Lunchbox 12.41%
Lunchbox2 Lunchbox 12.41%
all displaycasebakery 23.28%
bakery displaycase 23.28%
bakery displaycasebakery 23.28%
bakery grocerstand 23.28%
bakery restaurantdisplay 23.28%
bakerykitchen restaurantdisplay 23.28%
bandkitchen fridge 10.78%
cafe displaycase 23.28%
cafe displaycasebakery 23.28%
cafe grocerstand 23.28%
cafe shelves 23.28%
cafekitchen restaurantdisplay 23.28%
cafeteria displaycasebakery 19.27%
camping fridge 23.28%
conveniencestore fridge 23.28%
cornerstore displaycasebakery 23.28%
cornerstore fridge 23.28%
fossoil fridge 23.28%
gasstore fridge 23.28%
generalstore fridge 23.28%
generalstorestorage fridge 23.28%
gigamart displaycasebakery 23.28%
gigamart fridge 23.28%
grocery displaycasebakery 23.28%
grocery fridge 23.28%
grocerystorage fridge 23.28%
motelroomoccupied fridge 6.41%
pharmacy fridge 23.28%
zippeestore fridge 23.28%

Muffins can be found in bakeries, cafeterias, and some refrigerators.

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 MuffinGeneric
	{
		DisplayName = Muffin,
		DisplayCategory = Food,
		Type = Food,
		Weight = 0.1,
		Icon = MuffinGeneric,
		DaysFresh = 5,
		DaysTotallyRotten = 8,
		HungerChange = -7,
		UnhappyChange = -10,
		Calories = 120,
		Carbohydrates = 10.45,
		Lipids = 12.61,
		Proteins = 14.53,
		WorldStaticModel = MuffinGeneric_Ground,
	}

See also