Canned Chili: Difference between revisions

From PZwiki
(New infobox + new layout)
(→‎Distribution: Add table)
 
(30 intermediate revisions by 6 users not shown)
Line 1: Line 1:
{{languages|Canned Chili}}
{{Header|Project Zomboid|Items|Food|Canned food}}
{{header|Project Zomboid|Items|Food|Non-Perishable Food|Canned Food|type=Food|version=Version 40|incver=14}}{{Infobox food
{{Page version|41.78.16}}
|display_name=Canned Chili
{{Infobox item
|name_colour=Food
|name=Canned Chili
|name_text_colour=Food
|model=TinnedChilli_Model.png
|image=CannedChili_120px.png
|icon=CannedChili.png
|alternate_image=CannedChiliOpen.png
|icon_name=Canned Chili
|alternate_link=
|model2=TinnedChilliOpen_Model.png
|alternate_name=Opened Canned Chili
|icon2=CannedChiliOpen.png
<!--GENERAL-->
|icon_name2=Opened Canned Chili
|category=Food
|category=Food
|weight=0.8
|weight=0.8
|days_fresh=3
|days_fresh=3
|days_rotten=5
|days_rotten=5
|packaged=True
|packaged=Yes
<!--NUTRITION-->
|hunger_change=-16
|hunger_change=-15
|thirst_change=
|calories=260
|calories=260
|lipids=7
|lipids=7
|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/sandbox2
|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.
{{Consumables2
{{Consumables
|image = CannedChiliOpen.png
|image = CannedChiliOpen.png
|hunger = -15
|hunger = -16
|thirst = 0
|thirst = 0
|unrotten hunger = -11
|unrotten hunger = -12
|unrotten boredom = +10
|unrotten boredom = +10
|unrotten unhappiness = +10
|unrotten unhappiness = +10
|unrotten thirst = 0
|unrotten thirst = 0
|rotten hunger = -6
|rotten hunger = -7
|rotten boredom = +20
|rotten boredom = +20
|rotten unhappiness = +20
|rotten unhappiness = +20
Line 46: Line 48:


==Crafting==
==Crafting==
===Cooking===
{{Main|Cooking}}
{{Main|Cooking}}
Canned chili can be used in various cooking recipes.
 
====Evolved recipes====
===Evolved recipes===
{{EvolvedRecipesForItem|stew=15|stirfry=15|roastedvegetables=15|ricepot=15|ricepan=15}}
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}}


==Distribution==
==Distribution==
Canned chili is often found in [[Containers#Kitchen Counter|kitchen counters]].
The loot distributions can be found in the table(s) below.


== Code ==
<!--BOT FLAG|CannedChili|41.78.16-->
'''''From newitems.txt (Project Zomboid directory/media/scripts/)'''''
{{clear}}
<div class="togglebox theme-red">
    <div>CannedChili distribution
        <span class="mw-customtoggle-togglebox-CannedChili" 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-CannedChili">
    <div class="toggle-content"><div style="display: flex;"><div style="float:left;">
    {| class="wikitable theme-red" style="margin-right:15px; width:95%;"
    |+ {{ll|Containers}}
    ! Building / Room
    ! Container
    ! Rolls
    ! Chance
    |-
    | all
    | {{ll|Bag_FoodCanned}}
    | 2
    | 20.0
    |-
    | all
    | {{ll|FoodBox}}
    | 15
    | 10.0
    |-
    | all
    | {{ll|GroceryBag1}}
    | 1
    | 1.0
    |-
    | all
    | {{ll|GroceryBag3}}
    | 1
    | 10.0
    |-
    | garagestorage
    | {{ll|crate}}
    | 4
    | 10.0
    |-
    | generalstore
    | {{ll|crate}}
    | 4
    | 10.0
    |-
    | grocerystorage
    | {{ll|crate}}
    | 4
    | 1.0
    |-
    | kitchen
    | {{ll|counter}}
    | 4
    | 10.0
    |}
</div>
    </div><div style="clear:both;"></div>
    </div></div><div class="toggle large mw-customtoggle-togglebox-CannedChili" title="{{int:show}}/{{int:hide}}"></div></div>
<!--END BOT FLAG|CannedChili|41.78.16-->


''Canned Chili'' [[File:CannedChili.png|32px]]
Canned chili can often be found in [[Containers#Kitchen Counter|kitchen counters]].
{{Retrieved|version=40|incver=14}}
<pre> item CannedChili
        Weight = 0.8,
        Type = Food,
        DisplayName = Canned Chili,
        Icon = CannedChili,
        Carbohydrates = 33,
        Proteins = 16,
        Lipids = 7,
        Calories = 260,
        Packaged = TRUE,</pre>


''Opened Canned Chili'' [[File:CannedChiliOpen.png|32px]]
==Trivia==
{{Retrieved|version=40|incver=14}}
*The model feature incorrect name ''CHIL'''L'''I'', with double ''L''.
<pre> item CannedChiliOpen
 
        Weight = 0.8,
==Code==
        Type = Food,
{{CodeBox|[[File:CannedChili.png]] {{ID|Base.CannedChili}}<br>
        DisplayName = Open Canned Chili,
{{CodeSnip
        Icon = CannedChiliOpen,
  | lang = java
        HungerChange = -15,
  | line = true
        DaysFresh = 3,
  | start = 456
        DaysTotallyRotten = 5,
  | source = items_food.txt
        EvolvedRecipe   = Stew:15;Stir fry:15;Roasted Vegetables:15;RicePot:15;RicePan:15,
  | retrieved = true
        Carbohydrates = 33,
  | version = 41.78.16
        Proteins = 16,
  | code =
        Lipids = 7,
item CannedChili
        Calories = 260,
{
        Packaged = TRUE,
DisplayName = Canned Chili,
        FoodType = Meat,
DisplayCategory = Food,
        EvolvedRecipeName = Canned Chili,
Type = Food,
        ReplaceOnUse    = TinCanEmpty,</pre>
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,
}
}}
 
[[File:CannedChili.png]] {{ID|Base.CannedChiliOpen}}<br>
{{CodeSnip
  | lang = java
  | line = true
  | start = 76
  | source = items_food.txt
  | retrieved = true
  | version = 41.78.16
  | code =
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==
==See also==
Line 98: Line 196:
*[[Canned Tomato]]
*[[Canned Tomato]]


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

Latest revision as of 02:43, 25 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

The loot distributions can be found in the table(s) below.

CannedChili distribution Show / Hide
Containers
Building / Room Container Rolls Chance
all Bag_FoodCanned 2 20.0
all FoodBox 15 10.0
all GroceryBag1 1 1.0
all GroceryBag3 1 10.0
garagestorage crate 4 10.0
generalstore crate 4 10.0
grocerystorage crate 4 1.0
kitchen counter 4 10.0

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