Cockroach: Difference between revisions

From PZwiki
m (Minor cleanup)
m (Simplified redundant links)
(31 intermediate revisions by 7 users not shown)
Line 1: Line 1:
{{Languages}}{{Header|Project Zomboid|Items|Food|Non-Perishable Food|type=Food|version=Version 41|incver=68}}{{Infobox food
{{Header|Project Zomboid|Items|Food|Protein|Insects}}
|display_name=Cockroach
{{Page version|41.78.16}}
|name_colour=Food
{{Infobox item
|name_text_colour=Food
|name=Cockroach
|image=Cockroach Model.png
|model=Cockroach_Model.png
|image_width=300px
|icon=Cockroach.png
|alternate_image=Cockroach.png
|icon_name=Cockroach
|alternate_name=Cockroach
|alternate_link=
<!--GENERAL-->
<!--GENERAL-->
|category=Food
|category=Food
Line 13: Line 11:
|function=&bull; Bait in [[Fishing]]
|function=&bull; Bait in [[Fishing]]
<!--NUTRITION-->
<!--NUTRITION-->
|hunger_change=-11
|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-->
|class_name=Base.Cockroach
|item_id=Base.Cockroach
}}A '''cockroach''' is a [[Food#Non-Perishable|non-perishable]] food used in [[fishing]].
}}
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 [[Fishing|fishing]] to catch [[bass]], [[catfish]], [[crappie]], [[perch]], [[sunfish]] and [[trout]].
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 [[Moodles#Hungry|hunger]] at the cost of a lot of [[Moodles#Unhappiness|unhappiness]]. They can be cooked to reduce more hunger, however the unhappiness effect will remain.  
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.
{{Consumables2
{{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 = -11
  |hunger = -5
  |unhappiness = +20
  |unhappiness = +20
  |cooked hunger = -14
  |cooked hunger = -7
  |cooked unhappiness = +20
  |cooked unhappiness = +20
  |cooked boredom = 0
  |cooked boredom = 0
  |burned hunger = -3
  |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">
    <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
    ! Container
    ! Rolls
    ! Chance
    |-
    | all
    | {{ll|bin}}
    | 4
    | 2.0
    |-
    | bar
    | {{ll|bin}}
    | 4
    | 2.0
    |-
    | garagestorage
    | {{ll|crate}}
    | 4
    | 6.0
    |-
    | 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 [[Tiles/Storage#Bins|bins]] and [[Tiles/Storage#Crates|crates]] of spoiled food.
Cockroaches can be found in [[Storage#Bins|bins]] and [[Storage#Crates|crates]] of spoiled food.


===Foraging===
===Foraging===
{{Main|Foraging}}
{{Main|Foraging}}
When foraging (investigating area), cockroaches can be found on <code>natural_exterior</code> [[Tiles|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.  
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 171:
*[[Worm]]
*[[Worm]]


{{Navbox food}}
{{Navbox items|meat}}
 


[[Category:Animal]]
[[Category:Non-perishable food]]

Revision as of 11:18, 25 April 2024

Project ZomboidItemsFoodProteinInsectsCockroach
UI Tick.png
This page has been revised for the current stable version (41.78.16).
Help by adding any missing content. [edit]
Cockroach
Cockroach Model.png
General
Category
Food
Encumbrance
Moodle Icon HeavyLoad.png
0.1
Function
• Bait in Fishing
Nutrition
HungerMoodle Icon Hungry.png
-5
CaloriesCalories
30
CarbohydratesCarbohydrates
1.27
ProteinsProteins
7.41
FatFat
3.9
Effect
UnhappinessMoodle Icon Unhappy.png
+20
Cooking
Time until cooked
5 minutes
Time until burned
25 minutes
Technical
Item ID
Base.Cockroach

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

Cockroach.png
Hunger: -5

Unhappiness: +20

Cockroach.png
Hunger: -7

Unhappiness: +20

Cockroach.png
Hunger: -2
Boredom: +20
Unhappiness: +40
Dangerous, will cause sickness.

Distribution

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

Cockroach distribution Show / Hide
Containers
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
Foraging
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

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 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