Canned Beans: Difference between revisions

From PZwiki
(PZ Updater automated execution(task: deploy ReLookup, eid: d8ae1ae5de74a0ec4b2dfd99fd6c7638))
m (Automated Formatting)
(37 intermediate revisions by 8 users not shown)
Line 1: Line 1:
{{languages}}
{{Header|Project Zomboid|Items|Food|Canned food}}
{{header|Project Zomboid|Items|Food|Non-Perishable Food|Canned Food|type=Food|version=Version 41|incver=68}}{{Infobox food
{{Page version|41.78.16}}
|display_name=Canned Beans
{{Infobox item
|name_colour=Food
|name=Canned Beans
|name_text_colour=Food
|model=BeansClosed_Model.png
|image=BeansClosed_Model.png
|icon=Beans.png
|image_width=300px
|icon_name=Canned Beans
|alternate_image=Beans.png
|model2=BeansOpen_Model.png
|alternate_name=Canned Beans
|icon2=BeansOpen.png
|alternate_link=
|icon_name2=Opened Canned Beans
|alternate_image2=BeansOpen.png
|alternate_name2=Opened Canned Beans
|alternate_link2=
<!--GENERAL-->
|category=Food
|category=Food
|weight=0.8
|weight=0.8
|days_fresh=2
|days_fresh=2
|days_rotten=4
|days_rotten=4
|packaged=True
|packaged=Yes
<!--NUTRITION-->
<!--NUTRITION-->
|hunger_change=-25
|hunger_change=-24
|thirst_change=
|calories=170
|calories=170
|lipids=1
|lipids=1
Line 26: Line 21:
|carbohydrates=33
|carbohydrates=33
<!--EFFECT-->
<!--EFFECT-->
|unhappy_change=10
|unhappy_change=+10
<!--TECHNICAL DETAILS-->
<!--TECHNICAL DETAILS-->
|class_name=Base.TinnedBeans<br>Base.OpenBeans
|item_id=Base.TinnedBeans<br>Base.OpenBeans
}}'''Canned beans''' are a [[Food#Non-Perishable|non-perishable]] food [[item]].  
}}
'''Canned beans''' (written as ''BEANS'' on the model) is a non-perishable [[food]] [[Items|item]].


==Usage==
==Usage==
Canned beans can only be opened with a [[Can Opener|can opener]], and once opened they become [[Food#Perishable|perishable]].  
Canned beans can only be opened with a [[Can Opener|can opener]], and once opened they become [[Food#Perishable|perishable]].
{{Crafting/sandbox2
|opened_canned_beans
}}
 
===Consumable properties===
===Consumable properties===
Opened canned beans can be eaten providing the player with some positive effects, however these effects will become negative once the rotting process has begun.
Opened canned beans 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 = BeansOpen.png
|image = BeansOpen.png
|hunger = -30
|hunger = -24
|unhappiness = +10  
|unhappiness = +10
|perishable = 1
|perishable = 1
|cookable = 0
|cookable = 0
|unrotten hunger = -23
|unrotten hunger = -18
|unrotten boredom = +10
|unrotten boredom = +10
|unrotten unhappiness = +20
|unrotten unhappiness = +20
|rotten hunger = -13
|rotten hunger = -10
|rotten boredom = +20
|rotten boredom = +20
|rotten unhappiness = +30
|rotten unhappiness = +30
Line 50: Line 50:
}}
}}


== Crafting ==
==Crafting==
===Cooking===
{{Main|Cooking}}
{{Main|Cooking}}
{{Crafting header|ing=3}}<!-- Automatically generated by ReLookup. Subject RecipeLookup: 2004 -->
 
{{Crafting/core|ing=3
===What it can make===
| product_image = [[File:BowlFull.png|link=Bowl of Beans|Bowl of Beans]] | product_name = [[Bowl of Beans]] | product_quantity = x1
{{Crafting/sandbox2
| xp = <!-- Not present in the old template. Please fill in manually. -->
|bowl_of_beans_uncooked
| sl = ''none''
| req =
| f1 = [[File:Smallcanopener.png|link=Can Opener|Can Opener]] | i1 = [[Can Opener]] | q1 = x1
| f2 = [[File:Beans.png|link=Canned Beans|Canned Beans]] | i2 = [[Canned Beans]] | q2 = x1 | tag2 = (consumed)
| f3 = [[File:Bowl.png|link=Bowl|Bowl]] | i3 = [[Bowl]] | q3 = x1 | tag3 = (consumed)
}}
}}
|}


===Evolved recipes===
Canned beans are a [[cooking]] [[Recipe ingredients|ingredient]].
{{EvolvedRecipesForItem|omelette=8|soup=24|stew=24|rice=24|sandwich=8|toast=8|salad=8}}


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


==Gallery==
==Code==
<gallery>
{{CodeBox|[[File:Beans.png]] {{ID|Base.TinnedBeans}}<br>
BeansClosed_Model.png|Closed can of beans model.
{{CodeSnip
BeansOpen_Model.png|Open can of beans model.  
  | lang = java
</gallery>
  | line = true
 
  | start = 614
== Code ==
  | source = items_food.txt
'''''From items_food.txt (Project Zomboid directory/media/scripts/)'''''
  | retrieved = true
 
  | version = 41.78.16
''Canned Beans'' [[File:Beans.png|32px]]
  | code =
{{Retrieved|version=41|incver=68}}
item TinnedBeans
<pre>    item TinnedBeans
{
{
DisplayName = Canned Beans,
DisplayCategory = Food,
DisplayCategory = Food,
Weight = 0.8,
Type = Food,
Type = Food,
Weight = 0.8,
DisplayName = Canned Beans,
Icon = Beans,
Icon = Beans,
CannedFood = TRUE,
        Carbohydrates = 33,
CantEat = TRUE,
        Proteins = 7,
Packaged = TRUE,
        Lipids = 1,
Calories = 170,
        Calories = 170,
Carbohydrates = 33,
        Packaged = TRUE,
Lipids = 1,
        StaticModel = CanClosed,
Proteins = 7,
        CannedFood = TRUE,
StaticModel = CanClosed,
        WorldStaticModel = CanClosed,
WorldStaticModel = CanClosed,
}</pre>
Tags = HasMetal,
}
}}


''Opened Canned Beans'' [[File:BeansOpen.png|32px]]
[[File:BeansOpen.png]] {{ID|Base.OpenBeans}}<br>
{{Retrieved|version=41|incver=68}}
{{CodeSnip
<pre>    item OpenBeans
  | lang = java
  | line = true
  | start = 587
  | source = items_food.txt
  | retrieved = true
  | version = 41.78.16
  | code =
item OpenBeans
{
{
DisplayName = Opened Canned Beans,
DisplayCategory = Food,
DisplayCategory = Food,
HungerChange = -25,
Type = Food,
Weight = 0.8,
Weight = 0.8,
Type = Food,
Icon = BeansOpen,
DaysTotallyRotten = 4,
EvolvedRecipe = Omelette:8;Soup:24;Stew:24;RicePot:24;RicePan:24;Sandwich:8;Sandwich Baguette:8;Toast:8;Salad:8,
UnhappyChange = 10,
EvolvedRecipeName = Bean,
DisplayName = Opened Canned Beans,
FoodType = Bean,
Icon = BeansOpen,
CannedFood = TRUE,
DaysFresh = 2,
EatType = can,
        Carbohydrates = 33,
Packaged = TRUE,
        Proteins = 7,
ReplaceOnUse = TinCanEmpty,
        Lipids = 1,
DaysFresh = 2,
        Calories = 170,
DaysTotallyRotten = 4,
        Packaged = TRUE,
HungerChange = -24,
        ReplaceOnUse    =   TinCanEmpty,
UnhappyChange = 10,
        StaticModel = CanOpen,
Calories = 170,
        EatType = can,
Carbohydrates = 33,
        CannedFood = TRUE,
Lipids = 1,
        WorldStaticModel = CanOpen,
Proteins = 7,
}</pre>
StaticModel = CanOpen,
WorldStaticModel = CanOpen,
Tags = HasMetal,
}
}}
}}


==See also==
==See also==
Line 127: Line 138:
*[[Canned Soup]]
*[[Canned Soup]]


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

Revision as of 07:12, 14 April 2024

Project ZomboidItemsFoodCanned foodCanned Beans
UI Tick.png
This page has been revised for the current stable version (41.78.16).
Help by adding any missing content. [edit]
Canned Beans
BeansClosed Model.png
BeansOpen Model.png
General
Category
Food
Encumbrance
Moodle Icon HeavyLoad.png
0.8
Properties
Packaged
Yes
Days fresh
2 days
Days until rotten
4 days
Nutrition
HungerMoodle Icon Hungry.png
-24
CaloriesCalories
170
CarbohydratesCarbohydrates
33
ProteinsProteins
7
FatFat
1
Effect
UnhappinessMoodle Icon Unhappy.png
+10
Technical
Item ID
Base.TinnedBeans
Base.OpenBeans

Canned beans (written as BEANS on the model) is a non-perishable food item.

Usage

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

Product Ingredients Tools Requirements Workstation XP
BeansOpen.png
Opened Canned Beans
Beans.png Canned Beans ×1 CanOpener.png
Can Opener
none none none

Consumable properties

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

BeansOpen.png
Hunger: -24

Unhappiness: +10

BeansOpen.png
Hunger: -18
Boredom: +10
Unhappiness: +20

BeansOpen.png
Hunger: -10
Boredom: +20
Unhappiness: +30
Dangerous, will cause sickness.

Crafting

Main article: Cooking

What it can make

Product Ingredients Tools Requirements Workstation XP
BowlFull.png
Bowl of Beans (Uncooked)

Bowl.png Bowl ×1
Beans.png Canned Beans ×1
CanOpener.png
Can Opener
none none 0.75 Cooking

Evolved recipes

Canned beans are a cooking ingredient.

Product Nutrition
Soup
Soup
24
Stew
Stew
24
Salad
Salad
8
Sandwich
Sandwich
8
Rice Pot/Saucepan
Rice Pot/Saucepan
24
Omelette
Omelette
8
Toast
Toast
8

Distribution

Canned beans can often be found in kitchen counters.

Code

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

Beans.png Base.TinnedBeans
Source: ProjectZomboid\media\scripts\items_food.txt

Retrieved: Build 41.78.16
item TinnedBeans
	{
		DisplayName = Canned Beans,
		DisplayCategory = Food,
		Type = Food,
		Weight = 0.8,
		Icon = Beans,
		CannedFood = TRUE,
		CantEat = TRUE,
		Packaged = TRUE,
		Calories = 170,
		Carbohydrates = 33,
		Lipids = 1,
		Proteins = 7,
		StaticModel = CanClosed,
		WorldStaticModel = CanClosed,
		Tags = HasMetal,
	}

BeansOpen.png Base.OpenBeans
Source: ProjectZomboid\media\scripts\items_food.txt

Retrieved: Build 41.78.16
item OpenBeans
	{
		DisplayName = Opened Canned Beans,
		DisplayCategory = Food,
		Type = Food,
		Weight = 0.8,
		Icon = BeansOpen,
		EvolvedRecipe = Omelette:8;Soup:24;Stew:24;RicePot:24;RicePan:24;Sandwich:8;Sandwich Baguette:8;Toast:8;Salad:8,
		EvolvedRecipeName = Bean,
		FoodType = Bean,
		CannedFood = TRUE,
		EatType = can,
		Packaged = TRUE,
		ReplaceOnUse = TinCanEmpty,
		DaysFresh = 2,
		DaysTotallyRotten = 4,
		HungerChange = -24,
		UnhappyChange = 10,
		Calories = 170,
		Carbohydrates = 33,
		Lipids = 1,
		Proteins = 7,
		StaticModel = CanOpen,
		WorldStaticModel = CanOpen,
		Tags = HasMetal,
	}

See also