Dog Food

From PZwiki
Revision as of 00:10, 19 February 2023 by Faalagorn (talk | contribs) (Remove 120px, minor fixes)
Dog Food
Dog Food
Opened Dog Food
General
Category Food
Encumbrance
Heavy Load
0.8
Days until stale 5 days
Days until rotten 2 days
Packaged Yes
Nutrition
Hunger
Hunger
-30
Calories
Calories
498
Carbohydrates
Carbohydrates
77.56
Proteins
Proteins
16.04
Fat
Fat
12.58
Effect
Unhappiness
Unhappiness
+50
Technical details
Item ID Base.Dogfood
Base.DogfoodOpen

Dog food is a non-perishable food item.

Usage

Dog food can only be opened with a can opener, and once opened becomes perishable.

Product XP gained Skill(s) Recipe Ingredient 1 Ingredient 2
Opened Dog Food
Opened Dog Food
0 XP none Dogfood.png
Dog Food
(consumed)
CanOpener.png
Can Opener
(keep)

Template:Crafting table footer

Consumable properties

Opened dog food 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

Dog food can often be found in kitchen counters.

Gallery

Code

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

Dog Food Dogfood.png Retrieved: Build 41.73

    item Dogfood
	{
		DisplayName = Dog Food,
		DisplayCategory = Food,
		Type = Food,
		Weight = 0.8,
		Icon = Dogfood,
		CannedFood = TRUE,
		CantEat = TRUE,
		Packaged = TRUE,
		Calories = 498,
		Carbohydrates = 77.56,
		Lipids = 12.58,
		Proteins = 16.04,
		WorldStaticModel = CanClosedDogFood,
	}

Opened Dog Food DogfoodOpen.png Retrieved: Build 41.73

    item DogfoodOpen
	{
		DisplayName = Opened Dog Food,
		DisplayCategory = Food,
		Type = Food,
		Weight = 0.8,
		Icon = DogfoodOpen,
		FoodType = Meat,
		CannedFood = TRUE,
		EatType = can,
		Packaged = TRUE,
		ReplaceOnUse = TinCanEmpty,
		DaysFresh = 5,
		DaysTotallyRotten = 7,
		HungerChange = -30,
		UnhappyChange = 50,
		Calories = 498,
		Carbohydrates = 77.56,
		Lipids = 12.58,
		Proteins = 16.04,
		StaticModel = CanOpen,
		WorldStaticModel = CanOpenDogFood,
		EvolvedRecipeName = Dog Food,
	}

See also