Corndog: Difference between revisions

From PZwiki
mNo edit summary
m (Distribution table update)
 
(31 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 [[item]].
}}
'''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 ==
<!--BOT FLAG|Corndog|41.78.16-->
'''''From newitems.txt (Project Zomboid directory/media/scripts/)'''''
{{clear}}
{{Retrieved|version=40|incver=7}}
<div class="togglebox theme-red">
<pre> item Corndog
    <div>Corndog distribution
HungerChange = -12,
        <span class="mw-customtoggle-togglebox-Corndog" 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>
Weight = 0.1,
    <div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-togglebox-Corndog">
Type = Food,
    <div class="toggle-content"><div style="display: flex;"><div style="float:left;">
DaysTotallyRotten = 6,
    {| class="wikitable theme-red" style="margin-right:15px; width:95%;"
DisplayName = Corndog,
    |+ {{ll|Containers}}
Icon = Corndog,
    ! Building / Room
DaysFresh = 3,
    ! Container
        Carbohydrates = 7,
    ! Rolls
        Proteins = 19,
    ! Chance
        Lipids = 9,
    |-
        Calories = 180,</pre>
    | bandkitchen
    | {{ll|fridge}}
    | 4
    | 4.0
    |-
    | camping
    | {{ll|fridge}}
    | 4
    | 10.0
    |-
    | motelroomoccupied
    | {{ll|fridge}}
    | 1
    | 10.0
    |}
</div>
    </div><div style="clear:both;"></div>
    </div></div><div class="toggle large mw-customtoggle-togglebox-Corndog" title="{{int:show}}/{{int:hide}}"></div></div>
<!--END BOT FLAG|Corndog|41.78.16-->
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==
* [[Hotdog]]
*[[Hotdog]]
* [[Pizza]]
*[[Pizza]]
 
{{Navbox items|food}}


{{Navbox/Consumables}}
[[Category:Perishable food]]

Latest revision as of 15:17, 24 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.

Corndog distribution Show / Hide
Containers
Building / Room Container Rolls Chance
bandkitchen fridge 4 4.0
camping fridge 4 10.0
motelroomoccupied fridge 1 10.0

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