Corndog: Difference between revisions

From PZwiki
mNo edit summary
m (RM reupload. No rotten model as per models_items.txt.)
 
(34 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
{{Infobox item
|name_colour=Food
|name=Corndog
|name_text_colour=Food
|model=Corndog_Model.png
|image=Corndog_120px.png
|icon=Corndog.png
<!--GENERAL-->
<!--GENERAL-->
|category=Food
|category=Food
Line 17: Line 17:
|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 39:


==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,
    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">
DaysTotallyRotten = 6,
<div class="pz-container">
DisplayName = Corndog,
<div id="containers" style="flex-basis:30%">
Icon = Corndog,
    {| class="wikitable theme-red" style="margin-right: 15px; width: 95%;"
DaysFresh = 3,
    |+ {{ll|Containers}}
        Carbohydrates = 7,
    ! Building/Room
        Proteins = 19,
    ! Container
        Lipids = 9,
    ! Effective chance
        Calories = 180,</pre>
    |-
    | 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]].
 
==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 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