Tofu: Difference between revisions

From PZwiki
m (Insert empty line above each {{Navbox}})
(30 intermediate revisions by 7 users not shown)
Line 1: Line 1:
{{Languages}}{{Header|Project Zomboid|Items|Food|Perishable Food|Vegetables|type=Food|version=Version 41|incver=73}}{{Infobox food
{{Header|Project Zomboid|Items|Food|Protein}}
|display_name=Tofu
{{Page version|41.78.16}}
|name_colour=Food
{{Infobox item
|name_text_colour=Food
|name=Tofu
|image=Tofu.png
|model=Tofu_Model.png
|alternate_image=TofuRotten.png
|icon=Tofu.png
|alternate_link=
|icon_name=Tofu
|alternate_name=Tofu (Rotten)
|icon2=TofuRotten.png
 
|icon_name2=Tofu (Rotten)
<!--GENERAL-->
<!--GENERAL-->
|category=Food
|category=Food
|weight=0.3
|weight=0.3
|days_fresh=6
|days_fresh=6
|days_rotten=8
|days_rotten=14
|packaged = Yes
|packaged=Yes
<!--NUTRITION-->
<!--NUTRITION-->
|hunger_change=-10
|hunger_change=-10
Line 20: 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 45: Line 47:


===Evolved recipes===
===Evolved recipes===
Tofu is a [[cooking]] [[Recipe Ingredients|ingredient]].
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|}}
{{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.
==Gallery==
<gallery>
File:Tofu Model.png|Tofu model when placed in the world.
</gallery>


==Code==
==Code==
'''''From items_food.txt (Project Zomboid directory/media/scripts/)'''''
{{CodeBox
{{Retrieved|version=41|incver=73}}
| {{CodeSnip
<pre>
  | lang = java
    item Tofu
  | line = true
  | start = 2292
  | source = items_food.txt
  | retrieved = true
  | version = 41.78.16
  | code =
item Tofu
{
{
DisplayName = Tofu,
DisplayName = Tofu,
Line 79: Line 112:
WorldStaticModel = Tofu,
WorldStaticModel = Tofu,
}
}
</pre>
}}
}}
 
==See also==
 
{{Navbox items|meat}}
 


{{Navbox food}}
[[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