Dog Food

From PZwiki
Revision as of 14:59, 12 March 2022 by Vaileasys (talk | contribs) (updated to 41.68)
Dog Food
Dog Food
Dog Food Opened Dog Food
General
Category Food
Encumbrance
Heavy Load
1.0
Days until stale 5 days
Days until rotten 7 days
Packaged True
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.

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 is often found in kitchen counters.

Code

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

Dog Food Dogfood.png Retrieved: Build 41.68

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

Opened Dog Food DogfoodOpen.png Retrieved: Build 41.68

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

See also