Dead Rat: Difference between revisions

From PZwiki
m (Added some more actual game data.)
m (Distribution table fix)
 
(49 intermediate revisions by 13 users not shown)
Line 1: Line 1:
{{languages}}{{Notice|Short}}
{{Header|Project Zomboid|Items|Food|Protein|Game meat}}
{{Items
{{Page version|41.68}}
{{Infobox item
|name=Dead Rat
|model=DeadRat_Model.png
|icon=DeadRat.png
|icon_name=Dead Rat
|icon2=DeadRatRotten.png
|icon_name2=Dead Rat (Rotten)
 
|icon3=DeadRatCooked.png
|icon_name3=Dead Rat (Cooked)
 
|icon4=Rat.png
|icon_name4=Rat
 
|icon5=Smallanimalmeat.png
|icon_name5=Rodent Meat
 
<!--GENERAL-->
|category=Food
|weight=0.2
|weight=0.2
|image = Dead_rat.png
|days_fresh=6
|days_rotten=10
<!--NUTRITION-->
|hunger_change=-22
|calories=324
|lipids=16
|proteins=40
|carbohydrates=0
<!--EFFECT-->
|unhappy_change=30
<!--COOKING-->
|cook_minutes=20
|burn_minutes=60
|dangerous_uncooked=True
|bad_microwaved=True
<!--TECHNICAL DETAILS-->
|item_id=Base.DeadRat
}}
}}
A loving friend, and cold comfort companion. Actually just a dead rat that probably died because there was nothing left to loot in a house. Not the most appetizing of meals but will do for an extremely desperate survivor in a pinch.
A '''dead rat''' is a perishable [[food]] [[Items|item]] used in [[cooking]].


Found in [[Containers|cupboards and drawers]] in the bathrooms and kitchens of most houses.
==Usage==
{{Consumables2
===Consumable properties===
A dead rat can be eaten raw, which can make the [[player]] [[sick]]. Consuming after being cooked will provide the player with some positive effects, however these will become negative the longer it's left to perish.
{{Consumables
|name = Dead Rat
|name = Dead Rat
|image = Dead_rat.png
|image = DeadRat.png
|hunger = -15  
|hunger = -15
|perishable = 1
|perishable = 1
|cookable = 1
|cookable = 1
|dangerous uncooked = 1
|dangerous uncooked = 1
|dan
|unhappiness = +30
|unhappiness = +30
|unrotten hunger = -11
|unrotten hunger = -11
|unrotten unhappiness = +40
|unrotten unhappiness = +40
|unrotten boredom = +10
|unrotten boredom = +10
|rotten hunger = 0
|rotten hunger = -6
|rotten unhappiness = 0
|rotten unhappiness = +50
|rotten boredom = +20
|unrottencooked hunger = -11
|unrottencooked hunger = -11
|unrottencooked unhappiness = +40
|unrottencooked unhappiness = +40
Line 28: Line 65:
|rottencooked boredom = +20
|rottencooked boredom = +20
|cooked hunger = -19
|cooked hunger = -19
|cooked unhappiness = +10
|cooked unhappiness = +30
|cooked boredom = -20
|rotten image = DeadRatRotten.png
|rotten image = Dead_rat_rotten.png
|cooked image = DeadRatCooked.png
|cooked image = Item_DeadRatCooked.png
|burned hunger = -5
|burned hunger = -5
|burned boredom = +20
|burned boredom = +20
|burned unhappiness = +50
|burned unhappiness = +50
|burned image = Dead_rat.png
|burned image = DeadRat.png
}}
 
==Crafting==
Dead rat can be used is various cooking recipes.
 
===Cooking===
{{Main|Cooking}}
{{Crafting/sandbox2
|rodent_meat
|dead_rat_cooked
}}
 
==Distribution==
The loot distributions can be found in the table(s) below.
 
<!--BOT FLAG|DeadRat|41.78.16-->
{{Clear}}
<div class="togglebox theme-red">
    <div>DeadRat distribution
        <span class="mw-customtoggle-togglebox-DeadRat" 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-DeadRat">
    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
    |-
    | SafehouseLoot
    | {{ll|counter}}
    | 1.01%
    |-
    | SurvivorCache1
    | {{ll|counter}}
    | 1.01%
    |-
    | SurvivorCache2
    | {{ll|counter}}
    | 1.01%
    |-
    | all
    | {{ll|junk}}
    | 2.81%
    |-
    | bar
    | {{ll|bin}}
    | 1.61%
    |-
    | barkitchen
    | {{ll|bin}}
    | 1.61%
    |-
    | barstorage
    | {{ll|bin}}
    | 1.61%
    |-
    | beergarden
    | {{ll|bin}}
    | 1.61%
    |-
    | garagestorage
    | {{ll|crate}}
    | 10.78%
    |-
    | kitchen
    | {{ll|counter}}
    | 1.01%
    |-
    | kitchen
    | {{ll|overhead}}
    | 1.01%
    |-
    | kitchen
    | {{ll|shelves}}
    | 1.01%
    |-
    | livingroom
    | {{ll|counter}}
    | 1.01%
    |-
    | livingroom
    | {{ll|overhead}}
    | 1.01%
    |-
    | motelroomoccupied
    | {{ll|bin}}
    | 2.81%
    |-
    | storageunit
    | {{ll|crate}}
    | 10.78%
    |}
</div>
    </div><div style="clear: both;"></div>
    {| class="wikitable theme-red" style="width: 98%;"
    |+ {{ll|Foraging}}
    ! rowspan="2" | Amount
    ! rowspan="2" | Skill level
    ! rowspan="2" | Biomes
    ! colspan="4" style="text-align: center;" | Weather modifiers
    ! colspan="3" style="text-align: center;" | Month modifiers
    |-
    ! Snow
    ! Rain
    ! Day
    ! Night
    ! Months available
    ! Bonus months
    ! Malus months
    |-
    | ---
    | 5
    | Forest  2<br> DeepForest  2<br> Vegitation  2<br> FarmLand  5<br> Farm  5<br> TrailerPark  10<br> TownZone  10<br> Nav  1
    | -10
    | -
    | -
    | -
    | -
    | -
    | March<br>April
    |}
    </div></div><div class="toggle large mw-customtoggle-togglebox-DeadRat" title="{{int:show}}/{{int:hide}}"></div></div>
<!--END BOT FLAG|DeadRat|41.78.16-->
Dead rats can be found in [[Containers#Counters|kitchen counters]] and [[Oven|ovens]].
 
===Trapping===
{{Main|Trapping}}
Rats can usually be caught around farms, trailer parks and urban settings and rarely in forests. They are active all day and slightly rarer than [[Mouse|mice]].
 
They can only be caught using a [[Mouse Trap|mouse trap]], and using [[cheese]], [[Processed Cheese|processed cheese]], [[Peanut Butter|peanut butter]], [[chocolate]], [[Bacon Bits|bacon bits]], an [[apple]], [[orange]], or [[tomato]] as bait.
 
==Code==
{{CodeBox
| {{CodeSnip
  | lang = java
  | line = true
  | start = 1896
  | source = items_food.txt
  | retrieved = true
  | version = 41.78.16
  | code =
item DeadRat
{
DisplayName = Dead Rat,
DisplayCategory = Food,
Type = Food,
Weight = 0.2,
Icon = DeadRat,
BadInMicrowave = true,
DangerousUncooked = TRUE,
IsCookable = TRUE,
MinutesToCook = 20,
MinutesToBurn = 60,
DaysFresh = 6,
DaysTotallyRotten = 10,
HungerChange = -22,
UnhappyChange = 30,
Calories = 324,
Carbohydrates = 0,
Lipids = 16,
Proteins = 40,
CustomEatSound = EatingDeadAnimal,
StaticModel = DeadRat,
WorldStaticModel = DeadRat,
}
}}
}}
}}


== Code ==
==See also==
<nowiki>item Dead Rat
*[[Trapping]]
{
*[[Animals]]
HungerChange = -15,
 
Weight = 0.2,
{{Navbox items|meat}}
AlwaysWelcomeGift = true,
 
Type = Food,
UnhappyChange = 30,
DisplayName = Dead Rat,
Icon = DeadRat,
}</nowiki>
{{Navbox/Consumables}}


[[Category:Consumables]]
[[Category:Perishable food]]
[[Category:Food]]
[[Category:Perishable Food]]

Latest revision as of 19:08, 30 April 2024

Spiffo controlyourself.png
This page was last updated for an older version (41.68).
The current stable version is 41.78.16, released 2022-12-12, so information on this page may be inaccurate. Help get this page updated by adding any missing content. [edit]
Please update the version after updating the page.
Dead Rat
DeadRat Model.png
Dead Rat (Rotten)
Dead Rat (Cooked)
Rat
Rodent Meat
General
Category
Food
Encumbrance
Moodle Icon HeavyLoad.png
0.2
Properties
Days fresh
6 days
Days until rotten
10 days
Nutrition
HungerMoodle Icon Hungry.png
-22
CaloriesCalories
324
CarbohydratesCarbohydrates
0
ProteinsProteins
40
FatFat
16
Effect
UnhappinessMoodle Icon Unhappy.png
30
Cooking
Time until cooked
20 minutes
Time until burned
60 minutes
Dangerous uncooked
True
Bad microwaved
True
Technical
Item ID
Base.DeadRat

A dead rat is a perishable food item used in cooking.

Usage

Consumable properties

A dead rat can be eaten raw, which can make the player sick. Consuming after being cooked will provide the player with some positive effects, however these will become negative the longer it's left to perish.

Fresh Stale Rotten
Uncooked

DeadRat.png
Hunger: -15

Unhappiness: +30
Dangerous uncooked, may cause sickness.

DeadRat.png
Hunger: -11
Boredom: +10
Unhappiness: +40
Dangerous uncooked, may cause sickness.

DeadRatRotten.png

Hunger: -6
Boredom: +20
Unhappiness: +50
Dangerous, will cause sickness.

Cooked

DeadRatCooked.png
Hunger: -19

Unhappiness: +30

DeadRatCooked.png
Hunger: -11
Boredom: +10
Unhappiness: +40

DeadRatCooked.png
Hunger: -6
Boredom: +20
Unhappiness: +50
Dangerous, will cause sickness.

Burned

DeadRat.png
Hunger: -5
Boredom: +20
Unhappiness: +50
Dangerous, will cause sickness.

Crafting

Dead rat can be used is various cooking recipes.

Cooking

Main article: Cooking
Product Ingredients Tools Requirements Workstation XP
Smallanimalmeat.png
Rodent Meat
One of:
KnifeChopping.png Kitchen Knife ×1
HuntingKnife.png Hunting Knife ×1
Cleaver.png Meat Cleaver ×1
KnifeFlint.png Stone Knife ×1
Machete.png Machete ×1
none none none 2.5 Cooking
DeadRatCooked.png
Dead Rat (Cooked)
DeadRat.png Dead Rat (Uncooked) ×1 none none Heat source.gif
Heat source
2.5 Cooking

Distribution

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

DeadRat 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
SafehouseLoot counter 1.01%
SurvivorCache1 counter 1.01%
SurvivorCache2 counter 1.01%
all junk 2.81%
bar bin 1.61%
barkitchen bin 1.61%
barstorage bin 1.61%
beergarden bin 1.61%
garagestorage crate 10.78%
kitchen counter 1.01%
kitchen overhead 1.01%
kitchen shelves 1.01%
livingroom counter 1.01%
livingroom overhead 1.01%
motelroomoccupied bin 2.81%
storageunit crate 10.78%
Foraging
Amount Skill level Biomes Weather modifiers Month modifiers
Snow Rain Day Night Months available Bonus months Malus months
--- 5 Forest 2
DeepForest 2
Vegitation 2
FarmLand 5
Farm 5
TrailerPark 10
TownZone 10
Nav 1
-10 - - - - - March
April

Dead rats can be found in kitchen counters and ovens.

Trapping

Main article: Trapping

Rats can usually be caught around farms, trailer parks and urban settings and rarely in forests. They are active all day and slightly rarer than mice.

They can only be caught using a mouse trap, and using cheese, processed cheese, peanut butter, chocolate, bacon bits, an apple, orange, or tomato as bait.

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 DeadRat
	{
		DisplayName = Dead Rat,
		DisplayCategory = Food,
		Type = Food,
		Weight = 0.2,
		Icon = DeadRat,
		BadInMicrowave = true,
		DangerousUncooked = TRUE,
		IsCookable = TRUE,
		MinutesToCook = 20,
		MinutesToBurn = 60,
		DaysFresh = 6,
		DaysTotallyRotten = 10,
		HungerChange = -22,
		UnhappyChange = 30,
		Calories = 324,
		Carbohydrates = 0,
		Lipids = 16,
		Proteins = 40,
		CustomEatSound = EatingDeadAnimal,
		StaticModel = DeadRat,
		WorldStaticModel = DeadRat,
	}

See also