Cockroach: Difference between revisions
m (Update links) |
m (Distribution table fix) |
||
(33 intermediate revisions by 7 users not shown) | |||
Line 1: | Line 1: | ||
{{Header|Project Zomboid|Items|Food|Protein|Insects}} | |||
| | {{Page version|41.78.16}} | ||
| | {{Infobox item | ||
|name=Cockroach | |||
|model=Cockroach_Model.png | |||
| | |icon=Cockroach.png | ||
|icon_name=Cockroach | |||
| | |||
<!--GENERAL--> | <!--GENERAL--> | ||
|category=Food | |category=Food | ||
Line 13: | Line 11: | ||
|function=• Bait in [[Fishing]] | |function=• Bait in [[Fishing]] | ||
<!--NUTRITION--> | <!--NUTRITION--> | ||
|hunger_change=- | |hunger_change=-5 | ||
|calories=30 | |calories=30 | ||
|lipids=3.9 | |lipids=3.9 | ||
Line 24: | Line 22: | ||
|burn_minutes=25 | |burn_minutes=25 | ||
<!--TECHNICAL DETAILS--> | <!--TECHNICAL DETAILS--> | ||
| | |item_id=Base.Cockroach | ||
}}A '''cockroach''' is a | }} | ||
A '''cockroach''' is a non-perishable [[food]] used in [[fishing]]. | |||
==Usage== | ==Usage== | ||
===Fishing=== | ===Fishing=== | ||
{{Main|Fishing}} | {{Main|Fishing}} | ||
A cockroach can be used as bait for [[ | A cockroach can be used as bait for [[fishing]] to catch [[bass]], [[catfish]], [[crappie]], [[perch]], [[sunfish]], and [[trout]]. | ||
===Trapping=== | |||
{{Main|Trapping}} | |||
A cockroach can be used as bait for [[trapping]] to catch a [[Dead Bird|small bird]] in a [[Stick Trap|stick trap]]. | |||
===Consumable properties=== | ===Consumable properties=== | ||
Cockroaches can be consumed, reducing [[ | Cockroaches can be consumed, reducing [[Hungry|hunger]] at the cost of a lot of [[unhappiness]]. They can be cooked to reduce more hunger, however the unhappiness effect will remain. | ||
{{ | {{Consumables | ||
|position = left | |position = left | ||
|image = Cockroach.png | |image = Cockroach.png | ||
Line 41: | Line 44: | ||
|burned image = Cockroach.png | |burned image = Cockroach.png | ||
|cookable = 1 | |cookable = 1 | ||
|hunger = - | |hunger = -5 | ||
|unhappiness = +20 | |unhappiness = +20 | ||
|cooked hunger = - | |cooked hunger = -7 | ||
|cooked unhappiness = +20 | |cooked unhappiness = +20 | ||
|cooked boredom = 0 | |cooked boredom = 0 | ||
|burned hunger = - | |burned hunger = -2 | ||
|burned boredom = +20 | |burned boredom = +20 | ||
|burned unhappiness = +40 | |burned unhappiness = +40 | ||
Line 52: | Line 55: | ||
==Distribution== | ==Distribution== | ||
The loot distributions can be found in the table(s) below. | |||
<!--BOT FLAG|Cockroach|41.78.16--> | |||
{{Clear}} | |||
<div class="togglebox theme-red"> | |||
<div>Cockroach distribution | |||
<span class="mw-customtoggle-togglebox-Cockroach" 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-Cockroach"> | |||
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 | |||
|- | |||
| all | |||
| {{ll|bin}} | |||
| 6.29% | |||
|- | |||
| bar | |||
| {{ll|bin}} | |||
| 6.29% | |||
|- | |||
| barkitchen | |||
| {{ll|bin}} | |||
| 6.29% | |||
|- | |||
| barstorage | |||
| {{ll|bin}} | |||
| 6.29% | |||
|- | |||
| beergarden | |||
| {{ll|bin}} | |||
| 6.29% | |||
|- | |||
| garagestorage | |||
| {{ll|crate}} | |||
| 15.1% | |||
|- | |||
| motelroomoccupied | |||
| {{ll|bin}} | |||
| 6.29% | |||
|- | |||
| storageunit | |||
| {{ll|crate}} | |||
| 15.1% | |||
|} | |||
</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 | |||
|- | |||
| --- | |||
| 0 | |||
| Forest 10<br> DeepForest 10<br> Vegitation 10<br> FarmLand 10<br> Farm 10<br> TrailerPark 10<br> TownZone 10<br> Nav 10 | |||
| -20 | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| March<br>April | |||
|} | |||
</div></div><div class="toggle large mw-customtoggle-togglebox-Cockroach" title="{{int:show}}/{{int:hide}}"></div></div> | |||
<!--END BOT FLAG|Cockroach|41.78.16--> | |||
===Building=== | ===Building=== | ||
Line 58: | Line 141: | ||
===Foraging=== | ===Foraging=== | ||
{{Main|Foraging}} | {{Main|Foraging}} | ||
When foraging (investigating area), cockroaches can be found on <code>natural_exterior</code> [[ | When foraging (investigating area), cockroaches can be found on <code>natural_exterior</code> [[tiles]], such as: grass, sand and gravel. They're most commonly found in forests and vegetation areas, however cannot be found during [[Weather#Winter|winter]] or the snow. | ||
Having the [[Occupation#Fisherman|fisherman occupation]] or [[Traits#Hobbies|angler trait]] will increase the [[player|player's]] ability to find cockroaches. | Having the [[Occupation#Fisherman|fisherman occupation]] or [[Traits#Hobbies|angler trait]] will increase the [[player|player's]] ability to find cockroaches. | ||
Cockroaches are part of the "Animals" loot category. | Cockroaches are part of the "Animals" loot category. | ||
==Code== | |||
{{CodeBox | |||
| {{CodeSnip | |||
| lang = java | |||
| line = true | |||
| start = 4244 | |||
| source = items_food.txt | |||
| retrieved = true | |||
| version = 41.78.16 | |||
| code = | |||
item Cockroach | |||
{ | |||
DisplayName = Cockroach, | |||
DisplayCategory = Food, | |||
Type = Food, | |||
Weight = 0.1, | |||
Icon = Cockroach, | |||
FishingLure = true, | |||
IsCookable = TRUE, | |||
MinutesToCook = 5, | |||
MinutesToBurn = 25, | |||
HungerChange = -5, | |||
UnhappyChange = 20, | |||
Calories = 30, | |||
Carbohydrates = 1.27, | |||
Lipids = 3.9, | |||
Proteins = 7.41, | |||
WorldStaticModel = Cockroach_Ground, | |||
} | |||
}} | |||
}} | |||
==See also== | ==See also== | ||
Line 69: | Line 184: | ||
*[[Worm]] | *[[Worm]] | ||
{{Navbox | {{Navbox items|meat}} | ||
[[Category: | [[Category:Non-perishable food]] |
Latest revision as of 19:04, 30 April 2024
A cockroach is a non-perishable food used in fishing.
Usage
Fishing
- Main article: Fishing
A cockroach can be used as bait for fishing to catch bass, catfish, crappie, perch, sunfish, and trout.
Trapping
- Main article: Trapping
A cockroach can be used as bait for trapping to catch a small bird in a stick trap.
Consumable properties
Cockroaches can be consumed, reducing hunger at the cost of a lot of unhappiness. They can be cooked to reduce more hunger, however the unhappiness effect will remain.
Uncooked | Cooked | Burned |
---|---|---|
|
|
Distribution
The loot distributions can be found in the table(s) below.
Amount | Skill level | Biomes | Weather modifiers | Month modifiers | |||||
---|---|---|---|---|---|---|---|---|---|
Snow | Rain | Day | Night | Months available | Bonus months | Malus months | |||
--- | 0 | Forest 10 DeepForest 10 Vegitation 10 FarmLand 10 Farm 10 TrailerPark 10 TownZone 10 Nav 10 |
-20 | - | - | - | - | - | March April |
Building
Cockroaches can be found in bins and crates of spoiled food.
Foraging
- Main article: Foraging
When foraging (investigating area), cockroaches can be found on natural_exterior
tiles, such as: grass, sand and gravel. They're most commonly found in forests and vegetation areas, however cannot be found during winter or the snow.
Having the fisherman occupation or angler trait will increase the player's ability to find cockroaches.
Cockroaches are part of the "Animals" loot category.
Code
Source: ProjectZomboid\media\scripts\items_food.txt
item Cockroach
{
DisplayName = Cockroach,
DisplayCategory = Food,
Type = Food,
Weight = 0.1,
Icon = Cockroach,
FishingLure = true,
IsCookable = TRUE,
MinutesToCook = 5,
MinutesToBurn = 25,
HungerChange = -5,
UnhappyChange = 20,
Calories = 30,
Carbohydrates = 1.27,
Lipids = 3.9,
Proteins = 7.41,
WorldStaticModel = Cockroach_Ground,
}