Rice: Difference between revisions

From PZwiki
m (Distribution table update)
 
(29 intermediate revisions by 9 users not shown)
Line 1: Line 1:
{{languages|Rice}}
{{Header|Project Zomboid|Items|Food|Grains}}
{{header|Project Zomboid|Items|Food|Non-Perishable Food|type=Food|version=Version 40|incver=7}}{{Infobox food
{{Page version|41.78.16}}
|display_name=Rice
{{Infobox item
|name_colour=Food
|name=Rice
|name_text_colour=Food
|model=Rice_Model.png
|image=RiceRaw_120px.png
|icon=RiceRaw.png
|icon_name=Rice
<!--GENERAL-->
<!--GENERAL-->
|category=Food
|category=Food
|weight=2
|weight=2.0
|packaged=True
|packaged=Yes
<!--NUTRITION-->
<!--NUTRITION-->
|hunger_change=-60
|hunger_change=-60
|thirst_change=60
|thirst_change=+60
|calories=2880
|calories=2880
|lipids=0
|lipids=0
Line 17: Line 18:
|carbohydrates=648
|carbohydrates=648
<!--EFFECT-->
<!--EFFECT-->
|unhappy_change=-40
|unhappy_change=+40
<!--TECHNICAL DETAILS-->
<!--TECHNICAL DETAILS-->
|class_name=Base.Rice
|item_id=Base.Rice
}}'''Rice''' is a [[Food#Non-Perishable|non-perishable]] food [[item]].  
}}
'''Rice''' is a non-perishable [[food]] [[Items|item]].


==Usage==
==Usage==
Rice is best used as a meal component, as eating it raw suffers large penalties to thirst and happiness.
Rice can be eaten raw, providing the player with some positive and negative effects. Rice is more effective when used as [[cooking]] [[Recipe ingredients|ingredient]], as all negative effects are removed.


== Crafting ==
==Crafting==
Rice is a [[cooking]] [[Recipe Ingredients|ingredient]].
{{Main|Cooking}}
{{Cooking table header}}
 
{{RecipeLookup|2074}}
===What it can make===
{{RecipeLookup|2076}}
{{Crafting/sandbox2
{{Crafting table footer}}
|saucepan_with_rice
|cooking_pot_with_rice
}}


==Distribution==
==Distribution==
Pasta can be found in [[Containers#Kitchen Counter|kitchen counters]].
The loot distributions can be found in the table(s) below.
 
<!--BOT FLAG|Rice|41.78.16-->
{{clear}}
<div class="togglebox theme-red">
    <div>Rice distribution
        <span class="mw-customtoggle-togglebox-Rice" 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-Rice">
    <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|FoodBox}}
    | 15
    | 4.0
    |-
    | all
    | {{ll|GroceryBag1}}
    | 1
    | 1.0
    |-
    | all
    | {{ll|GroceryBag2}}
    | 1
    | 2.0
    |-
    | cafeteriakitchen
    | {{ll|crate}}
    | 4
    | 20.0
    |-
    | cafeteriakitchen
    | {{ll|crate}}
    | 4
    | 50.0
    |-
    | cafeteriakitchen
    | {{ll|crate}}
    | 4
    | 10.0
    |-
    | chinesekitchen
    | {{ll|counter}}
    | 4
    | 20.0
    |-
    | chinesekitchen
    | {{ll|counter}}
    | 4
    | 10.0
    |-
    | generalstore
    | {{ll|shelves}}
    | 4
    | 10.0
    |-
    | grocerystorage
    | {{ll|crate}}
    | 4
    | 1.0
    |-
    | kitchen
    | {{ll|counter}}
    | 4
    | 4.0
    |-
    | sushikitchen
    | {{ll|counter}}
    | 4
    | 10.0
    |-
    | sushikitchen
    | {{ll|counter}}
    | 4
    | 20.0
    |}
</div>
    </div><div style="clear:both;"></div>
    </div></div><div class="toggle large mw-customtoggle-togglebox-Rice" title="{{int:show}}/{{int:hide}}"></div></div>
<!--END BOT FLAG|Rice|41.78.16-->
Rice can be found in [[Containers#Kitchen Counter|kitchen counters]] and grocery/food stores, though it is fairly rare compared to canned food.


== Code ==
==Code==
'''''From items.txt (Project Zomboid directory/media/scripts/)'''''
{{CodeBox
{{Retrieved|version=40|incver=7}}
| {{CodeSnip
<pre> item Rice
  | lang = java
        Weight = 2,
  | line = true
        Type = Food,
  | start = 4790
        DisplayName = Rice,
  | source = items_food.txt
        Icon = RiceRaw,
  | retrieved = true
        HungerChange   = -60,
  | version = 41.78.16
        UnhappyChange   = 40,
  | code =
        ThirstChange    = 60,
item Rice
        Carbohydrates = 648,
{
        Proteins = 72,
DisplayName = Rice,
        Lipids = 0,
DisplayCategory = Food,
        Calories = 2880,
Type = Food,
        Packaged = TRUE,</pre>
Weight = 2,
Icon = RiceRaw,
Packaged = TRUE,
HungerChange = -60,
ThirstChange = 60,
UnhappyChange = 40,
Calories = 2880,
Carbohydrates = 648,
Lipids = 0,
Proteins = 72,
WorldStaticModel = Rice,
}
}}
}}


==See also==
==See also==
Line 56: Line 158:
*[[Dry Ramen Noodles]]
*[[Dry Ramen Noodles]]


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

Latest revision as of 16:27, 24 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]
Rice
Rice Model.png
General
Category
Food
Encumbrance
Moodle Icon HeavyLoad.png
2.0
Properties
Packaged
Yes
Nutrition
HungerMoodle Icon Hungry.png
-60
ThirstMoodle Icon Thirsty.png
+60
CaloriesCalories
2880
CarbohydratesCarbohydrates
648
ProteinsProteins
72
FatFat
0
Effect
UnhappinessMoodle Icon Unhappy.png
+40
Technical
Item ID
Base.Rice

Rice is a non-perishable food item.

Usage

Rice can be eaten raw, providing the player with some positive and negative effects. Rice is more effective when used as cooking ingredient, as all negative effects are removed.

Crafting

Main article: Cooking

What it can make

Product Ingredients Tools Requirements Workstation XP
SaucepanFilled.png
Recipe ingredients
SaucepanEmpty.png Saucepan ×1
WaterDrop.png Water ×25 unit(s)
RiceRaw.png Rice ×10 unit(s)
none none none none
Pot Water.png
Recipe ingredients
Pot.png Cooking Pot ×1
WaterDrop.png Water ×25 unit(s)
RiceRaw.png Rice ×10 unit(s)
none none none none

Distribution

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

Rice distribution Show / Hide
Containers
Building / Room Container Rolls Chance
all FoodBox 15 4.0
all GroceryBag1 1 1.0
all GroceryBag2 1 2.0
cafeteriakitchen crate 4 20.0
cafeteriakitchen crate 4 50.0
cafeteriakitchen crate 4 10.0
chinesekitchen counter 4 20.0
chinesekitchen counter 4 10.0
generalstore shelves 4 10.0
grocerystorage crate 4 1.0
kitchen counter 4 4.0
sushikitchen counter 4 10.0
sushikitchen counter 4 20.0

Rice can be found in kitchen counters and grocery/food stores, though it is fairly rare compared to canned food.

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 Rice
	{
		DisplayName = Rice,
		DisplayCategory = Food,
		Type = Food,
		Weight = 2,
		Icon = RiceRaw,
		Packaged = TRUE,
		HungerChange = -60,
		ThirstChange = 60,
		UnhappyChange = 40,
		Calories = 2880,
		Carbohydrates = 648,
		Lipids = 0,
		Proteins = 72,
		WorldStaticModel = Rice,
	}

See also