Corndog: Difference between revisions

From PZwiki
mNo edit summary
m (Automated Formatting)
(32 intermediate revisions by 8 users not shown)
Line 1: Line 1:
{{languages|Corndog}}
{{Header|Project Zomboid|Items|Food|Miscellaneous food}}
{{header|Project Zomboid|Items|Food|Perishable Food|type=Food|version=Version 40|incver=7}}{{Infobox food
{{Page version|41.78.16}}
|display_name=Corndog
{{Reupload|Missing 3D Variant Model (Rotten)}}
|name_colour=Food
{{Infobox item
|name_text_colour=Food
|name=Corndog
|image=Corndog_120px.png
|model=Corndog_Model.png
|icon=Corndog.png
<!--GENERAL-->
<!--GENERAL-->
|category=Food
|category=Food
Line 17: Line 18:
|carbohydrates=7
|carbohydrates=7
<!--TECHNICAL DETAILS-->
<!--TECHNICAL DETAILS-->
|class_name=Base.Corndog
|item_id=Base.Corndog
}}A '''corndog''' is a [[Food#Perishable|perishable]] food [[items]].
}}
'''Corndog''' is a perishable [[food]] [[Items|item]].


==Usage==
==Usage==
=== Consumable properties ===
===Consumable properties===
A corndog can be eaten, providing the player with some positive effects, however these will become negative the longer it's left to perish.
Corndog can be eaten, providing the player with some positive effects, however these will become negative the longer it's left to perish.
{{Consumables2
{{Consumables
|image = Corndog.png
|image = Corndog.png
|hunger = -12
|hunger = -12
Line 38: Line 40:


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


== Code ==
{| class="mw-collapsible mw-collapsed wikitable theme-red" data-expandtext="{{int:show}}" data-collapsetext="{{int:hide}}" style="text-align:center; min-width:24em;"
'''''From newitems.txt (Project Zomboid directory/media/scripts/)'''''
! colspan="4" | Containers
{{Retrieved|version=40|incver=7}}
|-
<pre> item Corndog
! Building/Room
HungerChange = -12,
! Container
Weight = 0.1,
! style="width: 3.2em;" | Rolls
Type = Food,
! style="width: 3.2em;" | Chance
DaysTotallyRotten = 6,
|-
DisplayName = Corndog,
|bandkitchen
Icon = Corndog,
|[[fridge]]
DaysFresh = 3,
|4
        Carbohydrates = 7,
|4
        Proteins = 19,
|-
        Lipids = 9,
|camping
        Calories = 180,</pre>
|[[fridge]]
|4
|1
|-
|motelroomoccupied
|[[fridge]]
|1
|1
|}
Corndog can be found inside [[refrigerator]]s and theater [[Containers#Counters|counters]].
 
==Code==
{{CodeBox
| {{CodeSnip
  | lang = java
  | line = true
  | start = 2274
  | source = items_food.txt
  | retrieved = true
  | version = 41.78.16
  | code =
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==
==See also==
* [[Fried Chicken]]
*[[Hotdog]]
* [[Fries]]
*[[Pizza]]
* [[Pizza]]
 
{{Navbox items|food}}


{{Navbox/Consumables}}
[[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