Dog Food: Difference between revisions

From PZwiki
m (Vaileasys moved page Dog Food to Dog Food: official display name)
(New infobox + new layout)
Line 1: Line 1:
__NOTOC__
{{languages|Dogfood}}
{{languages|Dogfood}}
<div class="header" style="margin: 5px; align: right; background: #CEF2E0; padding: 13px; text-align: left; font-size: 100%; color:#000000; border: 1px solid #A3BFB1"> <!-- Code for Background Colour -->
{{header|Project Zomboid|Items|Food|Non-Perishable Food|Canned Food|type=Food|version=Version 40|incver=14}}{{Infobox food
<div style="float: right;background: #CEF2E0;border: 1px solid #A3BFB1; margin: -30pt -10.5pt">    '''Page Updated @ Version: 34.28'''    </div><!-- Code for Version Tag at top -->
|display_name=Dog food
<div style="float: left;background: #CEF2E0;border: 1px solid #A3BFB1; margin: -30pt -10.5pt">   '''Navigation''' - [[:Category:Main|Main Index]] -> [[:Category:The_Game_World|The Game World]] -> [[:Category:Items|Items]] -> [[:Category:Consumables|Consumables]] -> [[:Category:Food|Food]] -> [[:Category:Non-Perishable_Food|Non Perishable Foods]] -> [[{{PAGENAME}}]]   </div><!-- Code for Navigation Bar at top, special blank char's before '''Navigation''' to give space -->
|name_colour=Food
{{Consumables
|name_text_colour=Food
|image = Dogfood.png
|image=Dogfood_120px.png
|hunger = -30
|alternate_image=DogfoodOpen.png
|unhappiness = +50
|alternate_link=
|weight = 1
|alternate_name=Opened Dog food
}}
<!--GENERAL-->
'''Dogfood''' is a [[Food#Non-Perishable|non-perishable]] food item which is often found in [[Containers#Kitchen Counter|kitchen counters]].<br>
|category=Food
Dogfood can only be opened with a [[Can Opener#|can opener]], and once opened becomes a perishable item. <br>
|weight=1.0
An opened can of dogfood takes five in-game days to go stale, and seven in-game days to rot.
|days_fresh=5
Eating dogfood will cause immense unhappiness to a character.
|days_rotten=7
 
|packaged=True
<!--NUTRITION-->
|hunger_change=-30
|thirst_change=
|calories=260
|lipids=7
|proteins=16
|carbohydrates=33
<!--EFFECT-->
|unhappy_change=50
<!--TECHNICAL DETAILS-->
|class_name=Base.Dogfood<br>Base.DogfoodOpen
}}'''Dog food''' is a [[Food#Non-Perishable|non-perishable]] food [[item]].  


== Nutritional information ==
==Usage==
{| border=0 align=left <!-- Table will be in middle of page without this line -->
Dog food can only be opened with a [[Can Opener|can opener]], and once opened becomes [[Food#Perishable|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.
{{Consumables2
{{Consumables2
|image = CANDogfoodOpened.png
|image = DogfoodOpen.png
|hunger = -30
|hunger = -30
|thirst = 0
|thirst = 0
Line 33: Line 45:
|rotten thirst = 0
|rotten thirst = 0
|perishable = 1
|perishable = 1
|rotten image = CANDogfoodOpened.png
|rotten image = DogfoodOpen.png
}}
}}
|}
 
<br><br><br><br><br><br><br><br><br><br><br>
==Distribution==
'''Its nutritional values are as follows:'''<br>
Dog food is often found in [[Containers#Kitchen Counter|kitchen counters]].
Carbohydrates = 77.56 <br>
Proteins = 16.04 <br>
Lipids = 12.58 <br>
Calories = 498 <br><br>


== Code ==
== Code ==
<br>
'''''From newitems.txt (Project Zomboid directory/media/scripts/)'''''
''Sealed can''
 
<nowiki>
''Dog food'' [[File:Dogfood.png|32px]]
    item Dogfood
{{Retrieved|version=40|incver=14}}
<pre> item Dogfood
Weight = 1,
Weight = 1,
Type = Food,
Type = Food,
DisplayName = Dogfood,
DisplayName = Dog Food,
Icon = Dogfood,
Icon = Dogfood,
         Carbohydrates = 77.56,
         Carbohydrates = 77.56,
Line 56: Line 65:
         Lipids = 12.58,
         Lipids = 12.58,
         Calories = 498,
         Calories = 498,
         Packaged = TRUE,
         Packaged = TRUE,</pre>
</nowiki>
 
''Opened can''
''Opened Dog food'' [[File:DogfoodOpen.png|32px]]
<nowiki>
{{Retrieved|version=40|incver=14}}
    item DogfoodOpen
<pre> item DogfoodOpen
HungerChange = -30,
HungerChange = -30,
Weight = 1,
Weight = 1,
Type = Food,
Type = Food,
DaysFresh = 5,
DaysFresh = 5,
DaysTotallyRotten = 7,
DaysTotallyRotten = 7,
UnhappyChange = 50,
UnhappyChange = 50,
DisplayName = Open Dogfood,
DisplayName = Opened Dog Food,
Icon = DogfoodOpen,
Icon = DogfoodOpen,
        Carbohydrates = 77.56,
        Carbohydrates = 77.56,
        Proteins = 16.04,
        Proteins = 16.04,
        Lipids = 12.58,
        Lipids = 12.58,
        Calories = 498,
        Calories = 498,
        Packaged = TRUE,
        Packaged = TRUE,
    </nowiki>
        ReplaceOnUse    = TinCanEmpty,</pre>
 
==See also==
*[[Canned Corned Beef]]
*[[Canned Sardines]]
*[[Canned Tuna]]


{{Navbox/Consumables}}
{{Navbox/Consumables}}
[[Category:Consumables]]
[[Category:Food]]
[[Category:Non-Perishable_Food]]
[[Category:Version 34.28]]

Revision as of 17:45, 9 September 2018

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