Rice: Difference between revisions

From PZwiki
(Update distribution file)
 
(30 intermediate revisions by 8 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==
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">
    Effective chance calculations are based off of default loot settings, and median zombie density. The higher the density of zombies in an area, the higher the effective chance of an item spawning. Chance is also influenced by the [[lucky]] and [[unlucky]] traits.    <div class="toggle-content">
<div class="pz-container">
<div id="containers" style="flex-basis:30%">
    {| class="wikitable theme-red" style="margin-right: 15px; width: 95%;"
    |+ {{ll|Containers}}
    ! Building/Room
    ! Container
    ! Effective chance
    |-
    | FoodCache1
    | {{ll|FoodBox}}
    | 34.79%
    |-
    | GroceryBag1
    | {{ll|GroceryBag1}}
    | 1.01%
    |-
    | GroceryBag2
    | {{ll|GroceryBag2}}
    | 1.61%
    |-
    | SurvivorCache1
    | {{ll|counter}}
    | 10.78%
    |-
    | SurvivorCache2
    | {{ll|counter}}
    | 10.78%
    |-
    | cafeteriakitchen
    | {{ll|crate}}
    | 23.28%
    |-
    | cafeteriakitchen
    | {{ll|crate}}
    | 41.14%
    |-
    | cafeteriakitchen
    | {{ll|crate}}
    | 76.55%
    |-
    | cafeteriakitchen
    | {{ll|metal_shelves}}
    | 23.28%
    |-
    | cafeteriakitchen
    | {{ll|metal_shelves}}
    | 41.14%
    |-
    | cafeteriakitchen
    | {{ll|metal_shelves}}
    | 76.55%
    |-
    | chinesekitchen
    | {{ll|counter}}
    | 23.28%
    |-
    | chinesekitchen
    | {{ll|counter}}
    | 41.14%
    |-
    | chinesekitchen
    | {{ll|crate}}
    | 23.28%
    |-
    | chinesekitchen
    | {{ll|crate}}
    | 41.14%
    |-
    | chinesekitchen
    | {{ll|crate}}
    | 76.55%
    |-
    | chinesekitchen
    | {{ll|metal_shelves}}
    | 23.28%
    |-
    | chinesekitchen
    | {{ll|metal_shelves}}
    | 41.14%
    |-
    | chinesekitchen
    | {{ll|metal_shelves}}
    | 76.55%
    |-
    | generalstore
    | {{ll|shelves}}
    | 23.28%
    |-
    | generalstorestorage
    | {{ll|crate}}
    | 23.28%
    |-
    | generalstorestorage
    | {{ll|shelves}}
    | 23.28%
    |-
    | gigamart
    | {{ll|shelves}}
    | 23.28%
    |-
    | grocery
    | {{ll|shelves}}
    | 23.28%
    |-
    | grocerystorage
    | {{ll|crate}}
    | 3.98%
    |-
    | grocerystorage
    | {{ll|metal_shelves}}
    | 3.98%
    |-
    | grocerystorage
    | {{ll|smallcrate}}
    | 3.98%
    |-
    | kitchen
    | {{ll|counter}}
    | 10.78%
    |-
    | kitchen
    | {{ll|overhead}}
    | 10.78%
    |-
    | kitchen
    | {{ll|shelves}}
    | 10.78%
    |-
    | livingroom
    | {{ll|counter}}
    | 10.78%
    |-
    | livingroom
    | {{ll|overhead}}
    | 10.78%
    |-
    | sushikitchen
    | {{ll|counter}}
    | 23.28%
    |-
    | sushikitchen
    | {{ll|counter}}
    | 41.14%
    |-
    | sushikitchen
    | {{ll|crate}}
    | 23.28%
    |-
    | sushikitchen
    | {{ll|crate}}
    | 41.14%
    |-
    | sushikitchen
    | {{ll|crate}}
    | 76.55%
    |-
    | sushikitchen
    | {{ll|metal_shelves}}
    | 23.28%
    |-
    | sushikitchen
    | {{ll|metal_shelves}}
    | 41.14%
    |-
    | sushikitchen
    | {{ll|metal_shelves}}
    | 76.55%
    |}
</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.
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 254:
*[[Dry Ramen Noodles]]
*[[Dry Ramen Noodles]]


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

Latest revision as of 13:42, 30 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
Effective chance calculations are based off of default loot settings, and median zombie density. The higher the density of zombies in an area, the higher the effective chance of an item spawning. Chance is also influenced by the lucky and unlucky traits.
Containers
Building/Room Container Effective chance
FoodCache1 FoodBox 34.79%
GroceryBag1 GroceryBag1 1.01%
GroceryBag2 GroceryBag2 1.61%
SurvivorCache1 counter 10.78%
SurvivorCache2 counter 10.78%
cafeteriakitchen crate 23.28%
cafeteriakitchen crate 41.14%
cafeteriakitchen crate 76.55%
cafeteriakitchen metal_shelves 23.28%
cafeteriakitchen metal_shelves 41.14%
cafeteriakitchen metal_shelves 76.55%
chinesekitchen counter 23.28%
chinesekitchen counter 41.14%
chinesekitchen crate 23.28%
chinesekitchen crate 41.14%
chinesekitchen crate 76.55%
chinesekitchen metal_shelves 23.28%
chinesekitchen metal_shelves 41.14%
chinesekitchen metal_shelves 76.55%
generalstore shelves 23.28%
generalstorestorage crate 23.28%
generalstorestorage shelves 23.28%
gigamart shelves 23.28%
grocery shelves 23.28%
grocerystorage crate 3.98%
grocerystorage metal_shelves 3.98%
grocerystorage smallcrate 3.98%
kitchen counter 10.78%
kitchen overhead 10.78%
kitchen shelves 10.78%
livingroom counter 10.78%
livingroom overhead 10.78%
sushikitchen counter 23.28%
sushikitchen counter 41.14%
sushikitchen crate 23.28%
sushikitchen crate 41.14%
sushikitchen crate 76.55%
sushikitchen metal_shelves 23.28%
sushikitchen metal_shelves 41.14%
sushikitchen metal_shelves 76.55%

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