Dog Food

From PZwiki
Revision as of 16:46, 9 September 2018 by Vaileasys (talk | contribs)
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
260
Carbohydrates
Carbohydrates
33
Proteins
Proteins
16
Fat
Fat
7
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 newitems.txt (Project Zomboid directory/media/scripts/)

Dog Food Dogfood.png Retrieved: Build 40.14

	item Dogfood
	Weight		= 1,
	Type		= Food,
	DisplayName	= Dog Food,
	Icon		= Dogfood,
        Carbohydrates 	= 77.56,
        Proteins 	= 16.04,
        Lipids 		= 12.58,
        Calories 	= 498,
        Packaged 	= TRUE,

Opened Dog Food DogfoodOpen.png Retrieved: Build 40.14

	item DogfoodOpen
		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,

See also

Template:Navbox/Consumables