Dog Food: Difference between revisions

From PZwiki
mNo edit summary
(updated to 41.68)
Line 1: Line 1:
{{languages|Dog Food}}
{{languages}}
{{header|Project Zomboid|Items|Food|Non-Perishable Food|Canned Food|type=Food|version=Version 40|incver=14}}{{Infobox food
{{header|Project Zomboid|Items|Food|Non-Perishable Food|Canned Food|type=Food|version=Version 41|incver=68}}{{Infobox food
|display_name=Dog Food
|display_name=Dog Food
|name_colour=Food
|name_colour=Food
|name_text_colour=Food
|name_text_colour=Food
|image=Dogfood_120px.png
|image=TinnedDogFood_Model.png
|alternate_image=DogfoodOpen.png
|image_width=300px
|alternate_image=Dogfood.png
|alternate_link=
|alternate_link=
|alternate_name=Opened Dog Food
|alternate_name=Dog Food
|alternate_image2=DogfoodOpen.png
|alternate_link2=
|alternate_name2=Opened Dog Food
<!--GENERAL-->
<!--GENERAL-->
|category=Food
|category=Food
Line 17: Line 21:
|hunger_change=-30
|hunger_change=-30
|thirst_change=
|thirst_change=
|calories=260
|calories=498
|lipids=7
|lipids=12.58
|proteins=16
|proteins=16.04
|carbohydrates=33
|carbohydrates=77.56
<!--EFFECT-->
<!--EFFECT-->
|unhappy_change=50
|unhappy_change=50
Line 52: Line 56:


== Code ==
== Code ==
'''''From newitems.txt (Project Zomboid directory/media/scripts/)'''''
'''''From items_food.txt (Project Zomboid directory/media/scripts/)'''''


''Dog Food'' [[File:Dogfood.png|32px]]
''Dog Food'' [[File:Dogfood.png|32px]]
{{Retrieved|version=40|incver=14}}
{{Retrieved|version=41|incver=68}}
<pre> item Dogfood
<pre>   item Dogfood
Weight = 1,
{
Type = Food,
DisplayCategory = Food,
DisplayName = Dog Food,
Weight = 1,
Icon = Dogfood,
Type = Food,
        Carbohydrates = 77.56,
DisplayName = Dog Food,
        Proteins = 16.04,
Icon = Dogfood,
        Lipids = 12.58,
        Carbohydrates = 77.56,
        Calories = 498,
        Proteins = 16.04,
        Packaged = TRUE,</pre>
        Lipids = 12.58,
        Calories = 498,
        Packaged = TRUE,
        StaticModel = CanClosed,
        CannedFood = TRUE,
        WorldStaticModel = CanClosedDogFood,
}</pre>


''Opened Dog Food'' [[File:DogfoodOpen.png|32px]]
''Opened Dog Food'' [[File:DogfoodOpen.png|32px]]
{{Retrieved|version=40|incver=14}}
{{Retrieved|version=41|incver=68}}
<pre> item DogfoodOpen
<pre>   item DogfoodOpen
HungerChange = -30,
{
Weight = 1,
DisplayCategory = Food,
Type = Food,
HungerChange = -30,
DaysFresh = 5,
Weight = 1,
DaysTotallyRotten = 7,
Type = Food,
UnhappyChange = 50,
DaysFresh = 5,
DisplayName = Opened Dog Food,
DaysTotallyRotten = 7,
Icon = DogfoodOpen,
UnhappyChange = 50,
         Carbohydrates = 77.56,
DisplayName = Opened Dog Food,
         Proteins = 16.04,
Icon = DogfoodOpen,
         Lipids = 12.58,
         Carbohydrates = 77.56,
         Calories = 498,
         Proteins = 16.04,
         Packaged = TRUE,
         Lipids = 12.58,
         ReplaceOnUse   = TinCanEmpty,</pre>
         Calories = 498,
         Packaged = TRUE,
         ReplaceOnUse   =   TinCanEmpty,
        StaticModel = CanOpen,
        EatType = can,
        CannedFood = TRUE,
        WorldStaticModel = CanOpenDogFood,
}</pre>


==See also==
==See also==
Line 90: Line 107:
*[[Canned Tuna]]
*[[Canned Tuna]]


{{Navbox/Consumables}}
{{Navbox_food}}

Revision as of 14:59, 12 March 2022

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