Dog Food: Difference between revisions
mNo edit summary |
(Add distro table) |
||
(24 intermediate revisions by 7 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{Header|Project Zomboid|Items|Food|Canned food}} | ||
{{Page version|41.78.16}} | |||
| | {{Infobox item | ||
| | |name=Dog Food | ||
| | |model=TinnedDogFood_Model.png | ||
| | |icon=Dogfood.png | ||
| | |icon_name=Dog Food | ||
| | |model2=TinnedDogFoodOpen_Model.png | ||
|icon2=DogfoodOpen.png | |||
|icon_name2=Opened Dog Food | |||
<!--GENERAL--> | <!--GENERAL--> | ||
|category=Food | |category=Food | ||
|weight= | |weight=0.8 | ||
|days_fresh=5 | |days_fresh=5 | ||
|days_rotten=7 | |days_rotten=7 | ||
|packaged= | |packaged=Yes | ||
<!--NUTRITION--> | <!--NUTRITION--> | ||
|hunger_change=-30 | |hunger_change=-30 | ||
|calories=498 | |||
|calories= | |lipids=12.58 | ||
|lipids= | |proteins=16.04 | ||
|proteins=16 | |carbohydrates=77.56 | ||
|carbohydrates= | |||
<!--EFFECT--> | <!--EFFECT--> | ||
|unhappy_change=50 | |unhappy_change=+50 | ||
<!--TECHNICAL DETAILS--> | <!--TECHNICAL DETAILS--> | ||
| | |item_id=Base.Dogfood<br>Base.DogfoodOpen | ||
}}'''Dog food''' is a | }} | ||
'''Dog food''' (written as ''DOG FOOD'' on the model) is a non-perishable [[food]] [[Items|item]]. | |||
==Usage== | ==Usage== | ||
Dog food can only be opened with a [[Can Opener|can opener]], and once opened becomes [[Food#Perishable|perishable]]. | Dog food can only be opened with a [[Can Opener|can opener]], and once opened becomes [[Food#Perishable|perishable]]. | ||
{{Crafting/sandbox2 | |||
|opened_dog_food | |||
}} | |||
===Consumable properties=== | ===Consumable properties=== | ||
Opened | 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. | ||
{{ | {{Consumables | ||
|image = DogfoodOpen.png | |image = DogfoodOpen.png | ||
|hunger = -30 | |hunger = -30 | ||
|thirst = 0 | |thirst = 0 | ||
|unhappiness = +50 | |unhappiness = +50 | ||
|unrotten hunger = - | |unrotten hunger = -23 | ||
|unrotten boredom = +10 | |unrotten boredom = +10 | ||
|unrotten unhappiness = + | |unrotten unhappiness = +60 | ||
|unrotten thirst = 0 | |unrotten thirst = 0 | ||
|rotten hunger = - | |rotten hunger = -13 | ||
|rotten boredom = +20 | |rotten boredom = +20 | ||
|rotten unhappiness = + | |rotten unhappiness = +70 | ||
|rotten thirst = 0 | |rotten thirst = 0 | ||
|perishable = 1 | |perishable = 1 | ||
Line 49: | Line 54: | ||
==Distribution== | ==Distribution== | ||
Dog food | Dog food can often be found in [[Containers#Kitchen Counter|kitchen counters]]. | ||
The distributions can be found in the following table(s): | |||
<!--BOT FLAG|Dogfood|41.78.16--> | |||
{{Clear}} | |||
<div class="togglebox theme-red"> | |||
<div>Dogfood distribution | |||
<span class="mw-customtoggle-togglebox-Dogfood" title="{{int:show}} / {{int:hide}}" style="float: right; padding-right: 30px; padding-top: 4px; font-size: 0.7em; font-weight: normal;">{{int:show}} / {{int:hide}}</span></div> | |||
<div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-togglebox-Dogfood"> | |||
Effective chance calculations are based off of default loot settings, and median zombie density. The higher the density of zombies in an area, the higher the effective chance of an item spawning. Chance is also influenced by the [[lucky]] and [[unlucky]] traits. <div class="toggle-content"> | |||
<div class="pz-container"> | |||
<div id="containers" style="flex-basis: 30%;"> | |||
{| class="wikitable theme-red sortable" style="margin-right: 15px; width: 95%;" | |||
|+ {{ll|Containers}} | |||
! Building/Room | |||
! Container | |||
! Effective chance | |||
|- | |||
| FoodCache1 | |||
| {{ll|FoodBox}} | |||
| 62.98% | |||
|- | |||
| SafehouseLoot | |||
| {{ll|counter}} | |||
| 23.28% | |||
|- | |||
| SurvivorCache1 | |||
| {{ll|counter}} | |||
| 23.28% | |||
|- | |||
| SurvivorCache2 | |||
| {{ll|counter}} | |||
| 23.28% | |||
|- | |||
| closet | |||
| {{ll|crate}} | |||
| 23.28% | |||
|- | |||
| closet | |||
| {{ll|crate}} | |||
| 41.14% | |||
|- | |||
| dogfoodfactory | |||
| {{ll|crate}} | |||
| 23.28% | |||
|- | |||
| dogfoodfactory | |||
| {{ll|crate}} | |||
| 41.14% | |||
|- | |||
| dogfoodfactory | |||
| {{ll|crate}} | |||
| 76.55% | |||
|- | |||
| dogfoodfactory | |||
| {{ll|metal_shelves}} | |||
| 23.28% | |||
|- | |||
| dogfoodfactory | |||
| {{ll|metal_shelves}} | |||
| 41.14% | |||
|- | |||
| dogfoodfactory | |||
| {{ll|metal_shelves}} | |||
| 76.55% | |||
|- | |||
| dogfoodshipping | |||
| {{ll|crate}} | |||
| 23.28% | |||
|- | |||
| dogfoodshipping | |||
| {{ll|crate}} | |||
| 41.14% | |||
|- | |||
| dogfoodshipping | |||
| {{ll|crate}} | |||
| 76.55% | |||
|- | |||
| dogfoodshipping | |||
| {{ll|metal_shelves}} | |||
| 23.28% | |||
|- | |||
| dogfoodshipping | |||
| {{ll|metal_shelves}} | |||
| 41.14% | |||
|- | |||
| dogfoodshipping | |||
| {{ll|metal_shelves}} | |||
| 76.55% | |||
|- | |||
| dogfoodstorage | |||
| {{ll|crate}} | |||
| 23.28% | |||
|- | |||
| dogfoodstorage | |||
| {{ll|crate}} | |||
| 41.14% | |||
|- | |||
| dogfoodstorage | |||
| {{ll|crate}} | |||
| 76.55% | |||
|- | |||
| garagestorage | |||
| {{ll|crate}} | |||
| 23.28% | |||
|- | |||
| garagestorage | |||
| {{ll|crate}} | |||
| 41.14% | |||
|- | |||
| kennels | |||
| {{ll|counter}} | |||
| 23.28% | |||
|- | |||
| kennels | |||
| {{ll|counter}} | |||
| 41.14% | |||
|- | |||
| kitchen | |||
| {{ll|counter}} | |||
| 23.28% | |||
|- | |||
| kitchen | |||
| {{ll|overhead}} | |||
| 23.28% | |||
|- | |||
| kitchen | |||
| {{ll|shelves}} | |||
| 23.28% | |||
|- | |||
| livingroom | |||
| {{ll|counter}} | |||
| 23.28% | |||
|- | |||
| livingroom | |||
| {{ll|overhead}} | |||
| 23.28% | |||
|- | |||
| storageunit | |||
| {{ll|crate}} | |||
| 23.28% | |||
|- | |||
| storageunit | |||
| {{ll|crate}} | |||
| 41.14% | |||
|- | |||
| storageunit | |||
| {{ll|metal_shelves}} | |||
| 23.28% | |||
|- | |||
| storageunit | |||
| {{ll|metal_shelves}} | |||
| 41.14% | |||
|} | |||
</div> | |||
</div><div style="clear: both;"></div> | |||
</div></div><div class="toggle large mw-customtoggle-togglebox-Dogfood" title="{{int:show}}/{{int:hide}}"></div></div> | |||
<!--END BOT FLAG|Dogfood|41.78.16--> | |||
== Code == | ==Code== | ||
{{CodeBox|[[File:Dogfood.png]] {{ID|Base.Dogfood}}<br> | |||
{{CodeSnip | |||
| lang = java | |||
| line = true | |||
| start = 31 | |||
| source = items_food.txt | |||
| retrieved = true | |||
| version = 41.78.16 | |||
| code = | |||
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, | |||
Tags = HasMetal, | |||
} | |||
}} | |||
[[File:DogfoodOpen.png]] {{ID|Base.DogfoodOpen}}<br> | |||
{{ | {{CodeSnip | ||
| lang = java | |||
| line = true | |||
| start = 5 | |||
DisplayName = Dog Food, | | source = items_food.txt | ||
| retrieved = true | |||
| version = 41.78.16 | |||
| code = | |||
item DogfoodOpen | |||
{ | |||
DisplayName = Opened Dog Food, | |||
DisplayCategory = Food, | |||
Type = Food, | |||
Weight = 0.8, | |||
Icon = DogfoodOpen, | |||
FoodType = Meat, | |||
CannedFood = TRUE, | |||
EatType = can, | |||
DaysFresh | Packaged = TRUE, | ||
DaysTotallyRotten = 7, | ReplaceOnUse = TinCanEmpty, | ||
UnhappyChange | 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, | |||
Tags = HasMetal, | |||
} | |||
}} | |||
}} | |||
==See also== | ==See also== | ||
Line 90: | Line 283: | ||
*[[Canned Tuna]] | *[[Canned Tuna]] | ||
{{Navbox | {{Navbox items|preserved_food}} | ||
[[Category:Non-perishable food]] |
Latest revision as of 14:46, 4 May 2024
Base.DogfoodOpen
Dog food (written as DOG FOOD on the model) is a non-perishable food item.
Usage
Dog food can only be opened with a can opener, and once opened becomes perishable.
Product | Ingredients | Tools | Requirements | Workstation | XP |
---|---|---|---|---|---|
Opened Dog Food |
Dog Food ×1 | Can Opener |
none | none | none |
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 |
---|---|---|
|
|
|
Distribution
Dog food can often be found in kitchen counters. The distributions can be found in the following table(s):
Building/Room | Container | Effective chance |
---|---|---|
FoodCache1 | FoodBox | 62.98% |
SafehouseLoot | counter | 23.28% |
SurvivorCache1 | counter | 23.28% |
SurvivorCache2 | counter | 23.28% |
closet | crate | 23.28% |
closet | crate | 41.14% |
dogfoodfactory | crate | 23.28% |
dogfoodfactory | crate | 41.14% |
dogfoodfactory | crate | 76.55% |
dogfoodfactory | metal_shelves | 23.28% |
dogfoodfactory | metal_shelves | 41.14% |
dogfoodfactory | metal_shelves | 76.55% |
dogfoodshipping | crate | 23.28% |
dogfoodshipping | crate | 41.14% |
dogfoodshipping | crate | 76.55% |
dogfoodshipping | metal_shelves | 23.28% |
dogfoodshipping | metal_shelves | 41.14% |
dogfoodshipping | metal_shelves | 76.55% |
dogfoodstorage | crate | 23.28% |
dogfoodstorage | crate | 41.14% |
dogfoodstorage | crate | 76.55% |
garagestorage | crate | 23.28% |
garagestorage | crate | 41.14% |
kennels | counter | 23.28% |
kennels | counter | 41.14% |
kitchen | counter | 23.28% |
kitchen | overhead | 23.28% |
kitchen | shelves | 23.28% |
livingroom | counter | 23.28% |
livingroom | overhead | 23.28% |
storageunit | crate | 23.28% |
storageunit | crate | 41.14% |
storageunit | metal_shelves | 23.28% |
storageunit | metal_shelves | 41.14% |
Code
Base.Dogfood
Source: ProjectZomboid\media\scripts\items_food.txt
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,
Tags = HasMetal,
}
Base.DogfoodOpen
Source: ProjectZomboid\media\scripts\items_food.txt
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,
Tags = HasMetal,
}