Canned Chili: Difference between revisions

From PZwiki
(Gallery into infobox)
(version bump, code box)
Line 1: Line 1:
{{Languages}}
{{Languages}}
{{header/sandbox2|Project Zomboid|Items|Food|Canned food}}
{{header/sandbox2|Project Zomboid|Items|Food|Canned food}}
{{page version|41.73}}
{{page version|41.78.16}}
{{Infobox item
{{Infobox item
|name=Canned Chili
|name=Canned Chili
Line 62: Line 62:
Canned chili can often be found in [[Containers#Kitchen Counter|kitchen counters]].
Canned chili can often be found in [[Containers#Kitchen Counter|kitchen counters]].


<div class="mw-collapsible mw-collapsed">
==Code==
==Code==
<div class="mw-collapsible-content">'''''From items_food.txt (Project Zomboid directory/media/scripts/)'''''
{{CodeBox|[[File:CannedChili.png]] {{ID|Base.CannedChili}}<br>
''Canned Chili'' [[File:CannedChili.png]]
{{CodeSnip
{{Retrieved|version=41.73}}
  | lang = java
<pre>
  | line = true
  | start =
  | source = items_food.txt
  | retrieved = true
  | version = 41.78.16
  | code =
     item CannedChili
     item CannedChili
{
{
Line 85: Line 89:
WorldStaticModel = CanClosedChilli,
WorldStaticModel = CanClosedChilli,
}
}
</pre>
}}
''Opened Canned Chili'' [[File:CannedChiliOpen.png|32px]]
 
{{Retrieved|version=41.73}}
[[File:CannedChili.png]] {{ID|Base.CannedChiliOpen}}<br>
<pre>
{{CodeSnip
  | lang = java
  | line = true
  | start =
  | source = items_food.txt
  | retrieved = true
  | version = 41.78.16
  | code =
     item CannedChiliOpen
     item CannedChiliOpen
{
{
Line 114: Line 125:
WorldStaticModel = CanOpenChilli,
WorldStaticModel = CanOpenChilli,
}
}
</pre>
}}
</div>
}}


==See also==
==See also==

Revision as of 03:18, 16 February 2024

Template:Header/sandbox2

UI Tick.png
This page has been revised for the current stable version (41.78.16).
Help by adding any missing content. [edit]
Canned Chili
TinnedChilli Model.png
TinnedChilliOpen Model.png
General
Category
Food
Encumbrance
Moodle Icon HeavyLoad.png
0.8
Properties
Packaged
Yes
Days fresh
3 days
Days until rotten
5 days
Nutrition
HungerMoodle Icon Hungry.png
-16
CaloriesCalories
260
CarbohydratesCarbohydrates
33
ProteinsProteins
16
FatFat
7
Technical
Item ID
Base.CannedChili
Base.CannedChiliOpen

Canned chili is a non-perishable food item.

Usage

Canned chili can only be opened with a can opener, and once opened become perishable.

Product XP gained Skill(s) Recipe Ingredient 1 Ingredient 2
Opened Canned Chili
Opened Canned Chili
0 XP none CannedChili.png
Canned Chili
(consumed)
CanOpener.png
Can Opener
(keep)

Consumable properties

Opened canned chili 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

CannedChiliOpen.png
Hunger: -16


CannedChiliOpen.png
Hunger: -12
Boredom: +10
Unhappiness: +10

CannedChiliOpen.png
Hunger: -7
Boredom: +20
Unhappiness: +20
Dangerous, will cause sickness.

Crafting

Main article: Cooking

Evolved recipes

Canned chili is a cooking ingredient.

Product Nutrition
Stew
Stew
16
Stir Fry
Stir Fry
16
Roasted Vegetables
Roasted Vegetables
16
Sandwich
Sandwich
8
Burger
Burger
8
Rice Pot/Saucepan
Rice Pot/Saucepan
16
Taco
Taco
8
Burrito
Burrito
8
Omelette
Omelette
8

Distribution

Canned chili can often be found in kitchen counters.

Code

Code icon.png Code snippet! This section contains source code from Project ZomboidShow / Hide

CannedChili.png Base.CannedChili
Source: ProjectZomboid\media\scripts\items_food.txt

Retrieved: Build 41.78.16
item CannedChili
	{
		DisplayName = Canned Chili,
		DisplayCategory = Food,
		Type = Food,
		Weight = 0.8,
		Icon = CannedChili,
		CannedFood = TRUE,
		CantEat = TRUE,
		Packaged = TRUE,
		Calories = 260,
		Carbohydrates = 33,
		Lipids = 7,
		Proteins = 16,
		StaticModel = CanClosed,
		WorldStaticModel = CanClosedChilli,
	}

CannedChili.png Base.CannedChiliOpen
Source: ProjectZomboid\media\scripts\items_food.txt

Retrieved: Build 41.78.16
item CannedChiliOpen
	{
		DisplayName = Opened Canned Chili,
		DisplayCategory = Food,
		Type = Food,
		Weight = 0.8,
		Icon = CannedChiliOpen,
		CannedFood = TRUE,
		EatType = can,
		EvolvedRecipe = Stew:16;Stir fry Griddle Pan:16;Stir fry:16;Roasted Vegetables:16;RicePot:16;RicePan:16;Taco:8;Burrito:8;Omelette:8;Burger:8;Sandwich:8;Sandwich Baguette:8,
		/*EvolvedRecipeName = Canned Chili,*/
		EvolvedRecipeName = Chili,
		FoodType = Meat,
		Packaged = TRUE,
		ReplaceOnUse = TinCanEmpty,
		DaysFresh = 3,
		DaysTotallyRotten = 5,
		HungerChange = -16,
		Calories = 260,
		Carbohydrates = 33,
		Lipids = 7,
		Proteins = 16,
		StaticModel = CanOpen,
		WorldStaticModel = CanOpenChilli,
	}

See also