Canned Beans

From PZwiki
Revision as of 15:41, 9 September 2018 by Vaileasys (talk | contribs)
Canned Beans
Canned Beans
Opened Canned Beans
General
Category Food
Encumbrance
Heavy Load
0.8
Days until stale 2 days
Days until rotten 4 days
Packaged True
Nutrition
Hunger
Hunger
-25
Calories
Calories
170
Carbohydrates
Carbohydrates
33
Proteins
Proteins
7
Fat
Fat
1
Effect
Unhappiness
Unhappiness
10
Technical details
Item ID Base.TinnedBeans
Base.OpenBeans

Canned beans are a non-perishable food item.

Usage

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

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. Template:Consumables2

Crafting

Cooking

Main article: Cooking

Template:Cooking table header |- |
| | | ||
||
||
||
||
||
||
||
||
||
||
Template:Crafting table footer

Distribution

Canned beans is often found in kitchen counters.

Code

From items.txt (Project Zomboid directory/media/scripts/)

Canned Beans Beans.png Retrieved: Build 40.14

	item TinnedBeans
		Weight		= 0.8,
		Type		= Food,
		DisplayName	= Canned Beans,
		Icon		= Beans,
        	Carbohydrates 	= 33,
        	Proteins 	= 7,
        	Lipids 		= 1,
        	Calories 	= 170,
        	Packaged 	= TRUE,

Opened Canned Beans BeansOpen.png Retrieved: Build 40.14

	item OpenBeans
		HungerChange		= -30,
		Weight			= 0.8,
		Type			= Food,
		DaysTotallyRotten	= 4,
		UnhappyChange		= 10,
		DisplayName		= Opened Canned Beans,
		Icon			= BeansOpen,
		DaysFresh		= 2,
        	Carbohydrates 		= 33,
        	Proteins 		= 7,
        	Lipids 			= 1,
        	Calories 		= 170,
        	Packaged 		= TRUE,
        	ReplaceOnUse    	=   TinCanEmpty,

See also

Template:Navbox/Consumables