Canned Chili: Difference between revisions

From PZwiki
m (Category Project: Canned food)
m (Automated Formatting)
(18 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{Languages}}
{{Header|Project Zomboid|Items|Food|Canned food}}
{{header/sandbox2|Project Zomboid|Items|Food|Canned food}}
{{Page version|41.78.16}}
{{page version|41.73}}
{{Infobox item
{{Infobox food
|name=Canned Chili
|display_name=Canned Chili
|model=TinnedChilli_Model.png
|name_colour=Food
|icon=CannedChili.png
|name_text_colour=Food
|icon_name=Canned Chili
|image=TinnedChilli_Model.png
|model2=TinnedChilliOpen_Model.png
|image_width=200px
|icon2=CannedChiliOpen.png
|alternate_image=CannedChili.png
|icon_name2=Opened Canned Chili
|alternate_name=Canned Chili
|alternate_link=
|alternate_image2=CannedChiliOpen.png
|alternate_link2=
|alternate_name2=Opened Canned Chili
<!--GENERAL-->
|category=Food
|category=Food
|weight=0.8
|weight=0.8
|days_fresh=3
|days_fresh=3
|days_rotten=5
|days_rotten=5
|packaged = Yes
|packaged=Yes
<!--NUTRITION-->
|hunger_change=-16
|hunger_change=-16
|calories=260
|calories=260
Line 26: Line 19:
|proteins=16
|proteins=16
|carbohydrates=33
|carbohydrates=33
<!--TECHNICAL DETAILS-->
|item_id=Base.CannedChili<br>Base.CannedChiliOpen
|class_name=Base.CannedChili<br>Base.CannedChiliOpen
}}
}}
'''Canned chili''' is a [[Food#Non-Perishable|non-perishable]] food [[item]].  
'''Canned chili''' (written as ''CHILLI'' on the model) is a non-perishable [[food]] [[Items|item]].


==Usage==
==Usage==
Canned chili can only be opened with a [[Can Opener|can opener]], and once opened become [[Food#Perishable|perishable]].
Canned chili can only be opened with a [[Can Opener|can opener]], and once opened become [[Food#Perishable|perishable]].
{{Crafting header|ing=2}}
{{Crafting/sandbox2
{{Crafting cooking|015|ing=2}}
|opened_canned_chili
|}
}}
 
===Consumable properties===
===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.
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.
Line 59: Line 51:


===Evolved recipes===
===Evolved recipes===
Canned chili is a [[cooking]] [[Recipe Ingredients|ingredient]].
Canned chili is a [[cooking]] [[Recipe ingredients|ingredient]].
{{EvolvedRecipesForItem|Stew=16|StirFry=16|RoastedVegetables=16|Rice=16|Taco=8|Burrito=8|Omelette=8|Burger=8|Sandwich=8}}
{{EvolvedRecipesForItem|stew=16|stirfry=16|roastedvegetables=16|rice=16|taco=8|burrito=8|omelette=8|burger=8|sandwich=8}}


==Distribution==
==Distribution==
Canned chili can often be found in [[Containers#Kitchen Counter|kitchen counters]].
Canned chili can often be found in [[Containers#Kitchen Counter|kitchen counters]].


==Gallery==
==Trivia==
<gallery>
*The model feature incorrect name ''CHIL'''L'''I'', with double ''L''.
TinnedChilli Model.png|Model for: [[File:CannedChili.png]]
TinnedChilliOpen Model.png|Model for: [[File:CannedChiliOpen.png]]
</gallery>


<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
    item CannedChili
  | start = 456
  | source = items_food.txt
  | retrieved = true
  | version = 41.78.16
  | code =
item CannedChili
{
{
DisplayName = Canned Chili,
DisplayName = Canned Chili,
Line 93: Line 86:
StaticModel = CanClosed,
StaticModel = CanClosed,
WorldStaticModel = CanClosedChilli,
WorldStaticModel = CanClosedChilli,
Tags = HasMetal,
}
}
</pre>
}}
''Opened Canned Chili'' [[File:CannedChiliOpen.png|32px]]
 
{{Retrieved|version=41.73}}
[[File:CannedChili.png]] {{ID|Base.CannedChiliOpen}}<br>
<pre>
{{CodeSnip
    item CannedChiliOpen
  | lang = java
  | line = true
  | start = 76
  | source = items_food.txt
  | retrieved = true
  | version = 41.78.16
  | code =
item CannedChiliOpen
{
{
DisplayName = Opened Canned Chili,
DisplayName = Opened Canned Chili,
Line 122: Line 123:
StaticModel = CanOpen,
StaticModel = CanOpen,
WorldStaticModel = CanOpenChilli,
WorldStaticModel = CanOpenChilli,
Tags = HasMetal,
}
}
</pre>
}}
</div>
}}


==See also==
==See also==
Line 133: Line 135:
*[[Canned Tomato]]
*[[Canned Tomato]]


{{Navbox food}}
{{Navbox items|preserved_food}}
 
 
[[Category:Non-perishable food]]
[[Category:Non-perishable food]]

Revision as of 07:12, 14 April 2024

Project ZomboidItemsFoodCanned foodCanned Chili
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 (written as CHILLI on the model) is a non-perishable food item.

Usage

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

Product Ingredients Tools Requirements Workstation XP
CannedChiliOpen.png
Opened Canned Chili
CannedChili.png Canned Chili ×1 CanOpener.png
Can Opener
none none none

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.

Trivia

  • The model feature incorrect name CHILLI, with double L.

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,
		Tags = HasMetal,
	}

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,
		Tags = HasMetal,
	}

See also