Dead Rat: Difference between revisions

From PZwiki
m (name change: small animal meat -> rodent meat)
m (Distribution table fix)
 
(32 intermediate revisions by 6 users not shown)
Line 1: Line 1:
{{languages}}
{{Header|Project Zomboid|Items|Food|Protein|Game meat}}
{{header|Project Zomboid|Items|Food|Perishable Food|type=Food|version=Version 41|incver=68}}{{Infobox food
{{Page version|41.68}}
|display_name=Dead Rat
{{Infobox item
|name_colour=Food
|name=Dead Rat
|name_text_colour=Food
|model=DeadRat_Model.png
|image=DeadRat_Model.png
|icon=DeadRat.png
|image_width=125px
|icon_name=Dead Rat
|alternate_image=DeadRat.png
|icon2=DeadRatRotten.png
|alternate_name=Dead Rat
|icon_name2=Dead Rat (Rotten)
|alternate_link=
 
|alternate_image2=DeadRatRotten.png
|icon3=DeadRatCooked.png
|alternate_name2=Dead Rat (Rotten)
|icon_name3=Dead Rat (Cooked)
|alternate_link2=
 
|alternate_image3=DeadRatCooked.png
|icon4=Rat.png
|alternate_name3=Dead Rat (Cooked)
|icon_name4=Rat
|alternate_link3=
 
|alternate_image4=Rat.png
|icon5=Smallanimalmeat.png
|alternate_name4=Rat
|icon_name5=Rodent Meat
|alternate_link4=
 
|alternate_image5=Smallanimalmeat.png
|alternate_name5=Rodent Meat
|alternate_link5=Rodent Meat
<!--GENERAL-->
<!--GENERAL-->
|category=Food
|category=Food
Line 40: Line 37:
|bad_microwaved=True
|bad_microwaved=True
<!--TECHNICAL DETAILS-->
<!--TECHNICAL DETAILS-->
|class_name=Base.DeadRat
|item_id=Base.DeadRat
}}A '''dead rat''' is a [[Food#Perishable|perishable]] food [[item]] used in [[cooking]].  
}}
A '''dead rat''' is a perishable [[food]] [[Items|item]] used in [[cooking]].


==Usage==
==Usage==
===Consumable properties===
===Consumable properties===
A dead rat can be eaten raw, which can make the [[player]] [[Moodles#Sick|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.
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.
{{Consumables2
{{Consumables
|name = Dead Rat
|name = Dead Rat
|image = DeadRat.png
|image = DeadRat.png
|hunger = -15  
|hunger = -15
|perishable = 1
|perishable = 1
|cookable = 1
|cookable = 1
Line 76: Line 74:
}}
}}


== Crafting ==
==Crafting==
Dead rat can be used is various cooking recipes.
Dead rat can be used is various cooking recipes.
===Cooking===
===Cooking===
{{Main|Cooking}}
{{Main|Cooking}}
{{Crafting header|ing=2}}
{{Crafting/sandbox2
{{Crafting cooking|125|ing=2}}
|rodent_meat
{{Crafting cooking|239|ing=2}}
|dead_rat_cooked
|}
}}


==Distribution==
==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]].
Dead rats can be found in [[Containers#Counters|kitchen counters]] and [[Oven|ovens]].


Line 92: Line 203:
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]].
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.
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 ==
==Code==
'''''From items_food.txt (Project Zomboid directory/media/scripts/)'''''
{{CodeBox
{{Retrieved|version=41|incver=68}}
| {{CodeSnip
<pre>item DeadRat
  | lang = java
  | line = true
  | start = 1896
  | source = items_food.txt
  | retrieved = true
  | version = 41.78.16
  | code =
item DeadRat
{
{
DisplayName = Dead Rat,
DisplayCategory = Food,
DisplayCategory = Food,
HungerChange = -22,
Type = Food,
Weight = 0.2,
Weight = 0.2,
AlwaysWelcomeGift = true,
Icon = DeadRat,
Type = Food,
BadInMicrowave = true,
UnhappyChange = 30,
DangerousUncooked = TRUE,
DisplayName = Dead Rat,
IsCookable = TRUE,
Icon = DeadRat,
MinutesToCook = 20,
        IsCookable = TRUE,
MinutesToBurn = 60,
DangerousUncooked = TRUE,
DaysFresh = 6,
DaysTotallyRotten = 10,
DaysTotallyRotten = 10,
MinutesToBurn = 60,
HungerChange = -22,
        MinutesToCook = 20,
UnhappyChange = 30,
DaysFresh = 6,
Calories = 324,
        Carbohydrates = 0,
Carbohydrates = 0,
        Proteins = 40,
Lipids = 16,
        Lipids = 16,
Proteins = 40,
        Calories = 324,
CustomEatSound = EatingDeadAnimal,
        BadInMicrowave = true,
StaticModel = DeadRat,
        WorldStaticModel = DeadRat,
WorldStaticModel = DeadRat,
        StaticModel = DeadRat,
}
        CustomEatSound = EatingDeadAnimal,
}}
}</pre>
}}


==See also==
==See also==
Line 127: Line 246:
*[[Animals]]
*[[Animals]]


{{Navbox_food}}
{{Navbox items|meat}}
 
 
[[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