Dog Food: Difference between revisions

From PZwiki
m (Category Project: Canned food)
(→‎top: New infobox upgrade - Food)
Line 2: Line 2:
{{header/sandbox2|Project Zomboid|Items|Food|Canned food}}
{{header/sandbox2|Project Zomboid|Items|Food|Canned food}}
{{page version|41.73}}
{{page version|41.73}}
{{Infobox food
{{Infobox item
|display_name=Dog Food
|name=Dog Food
|name_colour=Food
|model=TinnedDogFood Model.png
|name_text_colour=Food
|icon=Dogfood.png
|image=TinnedDogFood Model.png
|icon_name=Dog Food
|image_width=200px
|icon2=DogfoodOpen.png
|alternate_image=Dogfood.png
 
|alternate_name=Dog Food
|icon_name2=Opened Dog Food
|alternate_link=
|alternate_image2=DogfoodOpen.png
|alternate_link2=
|alternate_name2=Opened Dog Food
<!--GENERAL-->
<!--GENERAL-->
|category=Food
|category=Food
Line 29: Line 25:
|unhappy_change=+50
|unhappy_change=+50
<!--TECHNICAL DETAILS-->
<!--TECHNICAL DETAILS-->
|class_name=Base.Dogfood<br>Base.DogfoodOpen
|item_id=Base.Dogfood<br>Base.DogfoodOpen
}}
}}
'''Dog food''' is a [[Food#Non-Perishable|non-perishable]] food [[item]].  
'''Dog food''' is a [[Food#Non-Perishable|non-perishable]] food [[item]].  

Revision as of 10:57, 29 January 2024

Template:Header/sandbox2

Spiffo controlyourself.png
This page was last updated for an older version (41.73).
The current stable version is 41.78.16, released 2022-12-12, so information on this page may be inaccurate. Help get this page updated by adding any missing content. [edit]
Please update the version after updating the page.
Dog Food
TinnedDogFood Model.png
Opened Dog Food
General
Category
Food
Encumbrance
Moodle Icon HeavyLoad.png
0.8
Properties
Packaged
Yes
Days fresh
5 days
Days until rotten
7 days
Nutrition
HungerMoodle Icon Hungry.png
-30
CaloriesCalories
498
CarbohydratesCarbohydrates
77.56
ProteinsProteins
16.04
FatFat
12.58
Effect
UnhappinessMoodle Icon Unhappy.png
+50
Technical
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)

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.

Fresh Stale Rotten

DogfoodOpen.png
Hunger: -30

Unhappiness: +50

DogfoodOpen.png
Hunger: -23
Boredom: +10
Unhappiness: +60

DogfoodOpen.png
Hunger: -13
Boredom: +20
Unhappiness: +70
Dangerous, will cause sickness.

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