Corndog: Difference between revisions

From PZwiki
m (Minor cleanups)
m (Automated Formatting)
(25 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{Languages}}
{{Header|Project Zomboid|Items|Food|Miscellaneous food}}
{{Header|Project Zomboid|Items|Food|Perishable Food|type=Food|version=Version 41|incver=73}}
{{Page version|41.78.16}}
{{Infobox food
{{Reupload|Missing 3D Variant Model (Rotten)}}
|display_name=Corndog
{{Infobox item
|name_colour=Food
|name=Corndog
|name_text_colour=Food
|model=Corndog_Model.png
|image=Corndog.png
|icon=Corndog.png
<!--GENERAL-->
<!--GENERAL-->
|category=Food
|category=Food
Line 18: Line 18:
|carbohydrates=7
|carbohydrates=7
<!--TECHNICAL DETAILS-->
<!--TECHNICAL DETAILS-->
|class_name=Base.Corndog
|item_id=Base.Corndog
}}
}}
'''Corndog''' is a [[Food#Perishable|perishable]] food [[item]].
'''Corndog''' is a perishable [[food]] [[Items|item]].


==Usage==
==Usage==
Line 40: Line 40:


==Distribution==
==Distribution==
Corndog can be found inside [[refrigerator]]s and theatre [[Containers#Counters|counters]].
The loot distributions can be found in the table(s) below.


==Gallery==
{| class="mw-collapsible mw-collapsed wikitable theme-red" data-expandtext="{{int:show}}" data-collapsetext="{{int:hide}}" style="text-align:center; min-width:24em;"
<gallery>
! colspan="4" | Containers
Corndog Model.png|Model for: [[File:Corndog.png]]
|-
</gallery>
! Building/Room
! Container
! style="width: 3.2em;" | Rolls
! style="width: 3.2em;" | Chance
|-
|bandkitchen
|[[fridge]]
|4
|4
|-
|camping
|[[fridge]]
|4
|1
|-
|motelroomoccupied
|[[fridge]]
|1
|1
|}
Corndog can be found inside [[refrigerator]]s and theater [[Containers#Counters|counters]].


==Code==
==Code==
'''''From items_food.txt (Project Zomboid directory/media/scripts/)'''''
{{CodeBox
{{Retrieved|version=41|incver=73}}
| {{CodeSnip
<pre>
  | lang = java
item Corndog
  | line = true
  | start = 2274
  | source = items_food.txt
  | retrieved = true
  | version = 41.78.16
  | code =
item Corndog
{
{
DisplayName = Corndog,
DisplayName = Corndog,
Line 68: Line 94:
WorldStaticModel = Corndog_Ground,
WorldStaticModel = Corndog_Ground,
}
}
</pre>
}}
}}


==See also==
==See also==
Line 74: Line 101:
*[[Pizza]]
*[[Pizza]]


{{Navbox food}}
{{Navbox items|food}}
 
[[Category:Perishable food]]

Revision as of 07:48, 14 April 2024

UI Tick.png
This page has been revised for the current stable version (41.78.16).
Help by adding any missing content. [edit]
Frame.png
This article contains outdated/low-quality images.
Reason: Missing 3D Variant Model (Rotten)
Please help the PZwiki by uploading an improved/updated version of the image(s) found on this page.
Corndog
Corndog Model.png
General
Category
Food
Encumbrance
Moodle Icon HeavyLoad.png
0.1
Properties
Days fresh
3 days
Days until rotten
6 days
Nutrition
HungerMoodle Icon Hungry.png
-12
CaloriesCalories
180
CarbohydratesCarbohydrates
7
ProteinsProteins
19
FatFat
9
Technical
Item ID
Base.Corndog

Corndog is a perishable food item.

Usage

Consumable properties

Corndog can be eaten, providing the player with some positive effects, however these will become negative the longer it's left to perish.

Fresh Stale Rotten

Corndog.png
Hunger: -12


Corndog.png
Hunger: -9
Boredom: +10
Unhappiness: +10

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

Distribution

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

Containers
Building/Room Container Rolls Chance
bandkitchen fridge 4 4
camping fridge 4 1
motelroomoccupied fridge 1 1

Corndog can be found inside refrigerators and theater counters.

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 Corndog
	{
		DisplayName = Corndog,
		DisplayCategory = Food,
		Type = Food,
		Weight = 0.1,
		Icon = Corndog,
		DaysFresh = 3,
		DaysTotallyRotten = 6,
		HungerChange = -12,
		Calories = 180,
		Carbohydrates = 7,
		Lipids = 9,
		Proteins = 19,
		StaticModel = Corndog,
		WorldStaticModel = Corndog_Ground,
	}

See also