Corndog: Difference between revisions

From PZwiki
(Created page with "{{languages}}{{Notice|Short}} {{Consumables |image = SNACKCorndog.png |hunger = -12 |weight = 0.1 }} == Nutritional Information == {{Consumables2 |image = SNACKCorndog.pn...")
 
m (RM reupload. No rotten model as per models_items.txt.)
 
(42 intermediate revisions by 10 users not shown)
Line 1: Line 1:
{{languages}}{{Notice|Short}}
{{Header|Project Zomboid|Items|Food|Miscellaneous food}}
{{Page version|41.78.16}}
{{Infobox item
|name=Corndog
|model=Corndog_Model.png
|icon=Corndog.png
<!--GENERAL-->
|category=Food
|weight=0.1
|days_fresh=3
|days_rotten=6
<!--NUTRITION-->
|hunger_change=-12
|calories=180
|lipids=9
|proteins=19
|carbohydrates=7
<!--TECHNICAL DETAILS-->
|item_id=Base.Corndog
}}
'''Corndog''' is a perishable [[food]] [[Items|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.
{{Consumables
{{Consumables
|image = SNACKCorndog.png
|image = Corndog.png
|hunger = -12  
|hunger = -12
|weight = 0.1
|unrotten hunger = -9
|unrotten boredom = +10
|unrotten unhappiness = +10
|unrotten image = Corndog.png
|rotten hunger = -5
|rotten boredom = +20
|rotten unhappiness = +20
|perishable = 1
|rotten image = Corndog.png
}}
}}


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


<!--BOT FLAG|Corndog|41.78.16-->
{{Clear}}
<div class="togglebox theme-red">
    <div>Corndog distribution
        <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>
    <div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-togglebox-Corndog">
    Effective chance calculations are based off of default loot settings, and median zombie density. The higher the density of zombies in an area, the higher the effective chance of an item spawning. Chance is also influenced by the [[lucky]] and [[unlucky]] traits.    <div class="toggle-content">
<div class="pz-container">
<div id="containers" style="flex-basis:30%">
    {| class="wikitable theme-red" style="margin-right: 15px; width: 95%;"
    |+ {{ll|Containers}}
    ! Building/Room
    ! Container
    ! Effective chance
    |-
    | bandkitchen
    | {{ll|fridge}}
    | 10.78%
    |-
    | camping
    | {{ll|fridge}}
    | 23.28%
    |-
    | conveniencestore
    | {{ll|fridge}}
    | 23.28%
    |-
    | cornerstore
    | {{ll|fridge}}
    | 23.28%
    |-
    | fossoil
    | {{ll|fridge}}
    | 23.28%
    |-
    | gasstore
    | {{ll|fridge}}
    | 23.28%
    |-
    | generalstore
    | {{ll|fridge}}
    | 23.28%
    |-
    | generalstorestorage
    | {{ll|fridge}}
    | 23.28%
    |-
    | gigamart
    | {{ll|fridge}}
    | 23.28%
    |-
    | grocery
    | {{ll|fridge}}
    | 23.28%
    |-
    | grocerystorage
    | {{ll|fridge}}
    | 23.28%
    |-
    | motelroomoccupied
    | {{ll|fridge}}
    | 6.41%
    |-
    | pharmacy
    | {{ll|fridge}}
    | 23.28%
    |-
    | zippeestore
    | {{ll|fridge}}
    | 23.28%
    |}
</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]].


== Nutritional Information ==
==Code==
{{Consumables2
{{CodeBox
|image = SNACKCorndog.png
| {{CodeSnip
|hunger = -12
  | lang = java
|thirst = 0
  | line = true
|unrotten hunger = 0
  | start = 2274
|unrotten boredom = 0
  | source = items_food.txt
|unrotten unhappiness = 0
  | retrieved = true
|unrotten thirst = 0
  | version = 41.78.16
|unrotten image = SNACKCorndog.png
  | code =
|rotten hunger = 0
item Corndog
|rotten boredom = 0
{
|rotten unhappiness = 0
DisplayName = Corndog,
|rotten thirst = 0
DisplayCategory = Food,
|perishable = 1
Type = Food,
|rotten image = SNACKCorndog.png
Weight = 0.1,
Icon = Corndog,
DaysFresh = 3,
DaysTotallyRotten = 6,
HungerChange = -12,
Calories = 180,
Carbohydrates = 7,
Lipids = 9,
Proteins = 19,
StaticModel = Corndog,
WorldStaticModel = Corndog_Ground,
}
}}
}}
}}


== Code ==
==See also==
<nowiki>item Corndog
*[[Hotdog]]
{
*[[Pizza]]
HungerChange = -12,
Weight = 0.1,
Type = Food,
DaysTotallyRotten = 6,
DisplayName = Corndog,
Icon = Corndog,
DaysFresh = 3,
}</nowiki>
 
== History ==
 
{| class="wikitable" width="550" style="text-align:center;"
|-
! Alpha || 
|-
| - || -
|}


==See Also==
{{Navbox items|food}}
* [[Items#Luxury Food|Luxury Food]]


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

Latest revision as of 16:02, 30 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]
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
Effective chance calculations are based off of default loot settings, and median zombie density. The higher the density of zombies in an area, the higher the effective chance of an item spawning. Chance is also influenced by the lucky and unlucky traits.
Containers
Building/Room Container Effective chance
bandkitchen fridge 10.78%
camping fridge 23.28%
conveniencestore fridge 23.28%
cornerstore fridge 23.28%
fossoil fridge 23.28%
gasstore fridge 23.28%
generalstore fridge 23.28%
generalstorestorage fridge 23.28%
gigamart fridge 23.28%
grocery fridge 23.28%
grocerystorage fridge 23.28%
motelroomoccupied fridge 6.41%
pharmacy fridge 23.28%
zippeestore fridge 23.28%

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