Tofu: Difference between revisions

From PZwiki
(New infobox + new layout)
m (Insert empty line above each {{Navbox}})
(37 intermediate revisions by 9 users not shown)
Line 1: Line 1:
{{languages|Tofu}}
{{Header|Project Zomboid|Items|Food|Protein}}
{{header|Project Zomboid|Items|Food|Perishable Food|Vegetables|type=Food|version=Version 40|incver=7}}{{Infobox food
{{Page version|41.78.16}}
|display_name=Tofu
{{Infobox item
|name_colour=Food
|name=Tofu
|name_text_colour=Food
|model=Tofu_Model.png
|image=Tofu_120px.png
|icon=Tofu.png
|icon_name=Tofu
|icon2=TofuRotten.png
 
|icon_name2=Tofu (Rotten)
<!--GENERAL-->
<!--GENERAL-->
|category=Food
|category=Food
Line 10: Line 14:
|days_fresh=6
|days_fresh=6
|days_rotten=14
|days_rotten=14
|packaged=True
|packaged=Yes
<!--NUTRITION-->
<!--NUTRITION-->
|hunger_change=-10
|hunger_change=-10
Line 18: Line 22:
|carbohydrates=1
|carbohydrates=1
<!--TECHNICAL DETAILS-->
<!--TECHNICAL DETAILS-->
|class_name=Base.Tofu
|item_id=Base.Tofu
}}'''Tofu''' is a [[Food#Perishable|perishable]] food [[item]].
}}
'''Tofu''' is a perishable [[food]] [[Items|item]].


==Usage==
==Usage==
=== Consumable properties ===
===Consumable properties===
Tofu can be eaten, providing the player with some positive effects, however these will become negative the longer it's left to perish.
Tofu 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 = Tofu.png
|image = Tofu.png
|hunger = -10
|hunger = -10
Line 39: Line 44:


==Crafting==
==Crafting==
=== Evolved Recipes ===
{{Main|Cooking}}
Tofu is a [[cooking]] [[Recipe Ingredients|ingredient]].
 
{{EvolvedRecipesForItem|soup=10|stew=10|stirfry=10|burger=10|salad=10|ricepot=10|ricepan=10|}}
===Evolved recipes===
Tofu is a [[cooking]] [[Recipe ingredients|ingredient]].
{{EvolvedRecipesForItem|pizza=10|soup=10|stew=10|stirfry=10|burger=10|salad=10|rice=10|roastedvegetables=10|pasta=10|taco=10|burrito=10}}


==Distribution==
==Distribution==
The loot distributions can be found in the table(s) below.
<!--BOT FLAG|Tofu|41.78.16-->
{{clear}}
<div class="togglebox theme-red">
    <div>Tofu distribution
        <span class="mw-customtoggle-togglebox-Tofu" 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-Tofu">
    <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
    |-
    | chinesekitchen
    | {{ll|fridge}}
    | 4
    | 8.0
    |-
    | sushikitchen
    | {{ll|fridge}}
    | 4
    | 10.0
    |}
</div>
    </div><div style="clear:both;"></div>
    </div></div><div class="toggle large mw-customtoggle-togglebox-Tofu" title="{{int:show}}/{{int:hide}}"></div></div>
<!--END BOT FLAG|Tofu|41.78.16-->
Tofu is often found in [[refrigerator]]s.
Tofu is often found in [[refrigerator]]s.


== Code ==
==Code==
<pre> item Tofu
{{CodeBox
Type = Food,
| {{CodeSnip
DisplayName = Tofu,
  | lang = java
Icon = Tofu,
  | line = true
Weight = 0.3,
  | start = 2292
HungerChange = -10,
  | source = items_food.txt
DaysFresh = 6,
  | retrieved = true
DaysTotallyRotten = 14,
  | version = 41.78.16
EvolvedRecipe       = Soup:10;Stew:10;Stir fry:10;Burger:10;Salad:10;RicePot:10;RicePan:10,
  | code =
FoodType           = Vegetables,
item Tofu
Carbohydrates = 1,
{
Proteins = 5,
DisplayName = Tofu,
Lipids = 1,
DisplayCategory = Food,
Calories = 30,
Type = Food,
Packaged = TRUE,</pre>
Weight = 0.3,
Icon = Tofu,
EvolvedRecipe = Pizza:10;Soup:10;Stew:10;Stir fry Griddle Pan:10;Stir fry:10;Burger:10;Salad:10;RicePot:10;RicePan:10;Roasted Vegetables:10;PastaPot:10;PastaPan:10;Taco:5;Burrito:10;Burger:10,
FoodType = Vegetables,
Packaged = TRUE,
DaysFresh = 6,
DaysTotallyRotten = 14,
HungerChange = -10,
Calories = 30,
Carbohydrates = 1,
Lipids = 1,
Proteins = 5,
WorldStaticModel = Tofu,
}
}}
}}
 
==See also==
 
{{Navbox items|meat}}
 


{{Navbox/Consumables}}
[[Category:Perishable food]]

Revision as of 15:57, 25 April 2024

UI Tick.png
This page has been revised for the current stable version (41.78.16).
Help by adding any missing content. [edit]
Tofu
Tofu Model.png
Tofu (Rotten)
General
Category
Food
Encumbrance
Moodle Icon HeavyLoad.png
0.3
Properties
Packaged
Yes
Days fresh
6 days
Days until rotten
14 days
Nutrition
HungerMoodle Icon Hungry.png
-10
CaloriesCalories
30
CarbohydratesCarbohydrates
1
ProteinsProteins
5
FatFat
1
Technical
Item ID
Base.Tofu

Tofu is a perishable food item.

Usage

Consumable properties

Tofu 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

Tofu.png
Hunger: -10


Tofu.png
Hunger: -7
Boredom: +10
Unhappiness: +10

TofuRotten.png
Hunger: -4
Boredom: +20
Unhappiness: +20
Dangerous, will cause sickness.

Crafting

Main article: Cooking

Evolved recipes

Tofu is a cooking ingredient.

Product Nutrition
Soup
Soup
10
Stew
Stew
10
Salad
Salad
10
Stir Fry
Stir Fry
10
Roasted Vegetables
Roasted Vegetables
10
Burger
Burger
10
Rice Pot/Saucepan
Rice Pot/Saucepan
10
Pasta Pot/Saucepan
Pasta Pot/Saucepan
10
Taco
Taco
10
Burrito
Burrito
10
Pizza
Pizza
10

Distribution

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

Tofu distribution Show / Hide
Containers
Building / Room Container Rolls Chance
chinesekitchen fridge 4 8.0
sushikitchen fridge 4 10.0

Tofu is often found in refrigerators.

Code

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

Source: ProjectZomboid\media\scripts\items_food.txt

Retrieved: Build 41.78.16
item Tofu
	{
		DisplayName = Tofu,
		DisplayCategory = Food,
		Type = Food,
		Weight = 0.3,
		Icon = Tofu,
		EvolvedRecipe = Pizza:10;Soup:10;Stew:10;Stir fry Griddle Pan:10;Stir fry:10;Burger:10;Salad:10;RicePot:10;RicePan:10;Roasted Vegetables:10;PastaPot:10;PastaPan:10;Taco:5;Burrito:10;Burger:10,
		FoodType = Vegetables,
		Packaged = TRUE,
		DaysFresh = 6,
		DaysTotallyRotten = 14,
		HungerChange = -10,
		Calories = 30,
		Carbohydrates = 1,
		Lipids = 1,
		Proteins = 5,
		WorldStaticModel = Tofu,
	}

See also