Cockroach: Difference between revisions
m (Removed {{clear}} line above ==Distribution==) |
m (Simplified redundant links) |
||
(10 intermediate revisions by 2 users not shown) | |||
Line 3: | Line 3: | ||
{{Infobox item | {{Infobox item | ||
|name=Cockroach | |name=Cockroach | ||
|model= | |model=Cockroach_Model.png | ||
|icon=Cockroach.png | |icon=Cockroach.png | ||
|icon_name=Cockroach | |icon_name=Cockroach | ||
Line 24: | Line 24: | ||
|item_id=Base.Cockroach | |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=== | ===Trapping=== | ||
Line 37: | Line 37: | ||
===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 | {{Consumables | ||
|position = left | |position = left | ||
Line 57: | Line 57: | ||
The loot distributions can be found in the table(s) below. | 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"> | |||
<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 | ||
| 4 | ! Container | ||
| 2 | ! Rolls | ||
|- | ! Chance | ||
| | |- | ||
|4 | | all | ||
|2 | | {{ll|bin}} | ||
|- | | 4 | ||
| 2.0 | |||
| | |- | ||
| 4 | | bar | ||
| 6 | | {{ll|bin}} | ||
|- | | 4 | ||
| | | 2.0 | ||
|4 | |- | ||
| | | garagestorage | ||
|- | | {{ll|crate}} | ||
| rowspan="2"| | | 4 | ||
| | | 6.0 | ||
| 4 | |- | ||
| | | motelroomoccupied | ||
|- | | {{ll|bin}} | ||
| | | 4 | ||
| | | 2.0 | ||
| | |} | ||
|} | </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=== | ||
Cockroaches can be found in [[Storage#Bins|bins]] and [[Storage#Crates|crates]] of spoiled food. | Cockroaches can be found in [[Storage#Bins|bins]] and [[Storage#Crates|crates]] of spoiled food. | ||
Line 102: | Line 133: | ||
Cockroaches are part of the "Animals" loot category. | Cockroaches are part of the "Animals" loot category. | ||
==Code== | ==Code== | ||
{{CodeBox | {{CodeBox | ||
| {{CodeSnip | | {{CodeSnip | ||
| lang = java | | lang = java | ||
| line = | | line = true | ||
| start = | | start = 4244 | ||
| source = items_food.txt | | source = items_food.txt | ||
| retrieved = true | | retrieved = true | ||
Line 113: | Line 145: | ||
| code = | | code = | ||
item Cockroach | 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, | |||
} | } | ||
}} | |||
}} | }} | ||
Line 139: | Line 171: | ||
*[[Worm]] | *[[Worm]] | ||
{{Navbox | {{Navbox items|meat}} | ||
[[Category:Non-perishable food]] | [[Category:Non-perishable food]] | ||
Revision as of 11:18, 25 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.
Building / Room | Container | Rolls | Chance |
---|---|---|---|
all | bin | 4 | 2.0 |
bar | bin | 4 | 2.0 |
garagestorage | crate | 4 | 6.0 |
motelroomoccupied | bin | 4 | 2.0 |
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,
}