Fries: Difference between revisions

From PZwiki
(New infobox + new layout)
(Update distribution file)
 
(29 intermediate revisions by 8 users not shown)
Line 1: Line 1:
{{languages|Fries}}
{{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=Fries
{{Infobox item
|name_colour=Food
|name=Fries
|name_text_colour=Food
|model=Fries_Model.png
|image=Fries_120px.png
|icon=Fries.png
|icon_name=Fries
<!--GENERAL-->
<!--GENERAL-->
|category=Food
|category=Food
Line 16: Line 17:
|proteins=3.35
|proteins=3.35
|carbohydrates=35.97
|carbohydrates=35.97
<!--EFFECT-->
|unhappy_change=-10
<!--TECHNICAL DETAILS-->
<!--TECHNICAL DETAILS-->
|class_name=Base.Fries
|item_id=Base.Fries
}}'''Fries''', short for '''french fries''', are a [[Food#Perishable|perishable]] food [[item]].
}}
'''Fries''', short for '''french fries''', are a [[Food#Perishable|perishable]] food [[Items|item]].


==Usage==
==Usage==
=== Consumable properties ===
===Consumable properties===
Fries can be eaten, providing the player with some positive effects, however these will become negative the longer it's left to perish.
Fries 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 = Fries.png
|image = Fries.png
|hunger = -10
|hunger = -10
Line 37: Line 41:


==Distribution==
==Distribution==
Fries can be found inside [[refrigerator]]s in a Spiffo's or Burger kitchen, and the [[trunk]] of a [[Franklin Valuline#Spiffo's Van|Spiffo's van]].
The loot distributions can be found in the table(s) below.
 
<!--BOT FLAG|Fries|41.78.16-->
{{Clear}}
<div class="togglebox theme-red">
    <div>Fries distribution
        <span class="mw-customtoggle-togglebox-Fries" 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-Fries">
    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
    |-
    | Paperbag_Jays
    | {{ll|Paperbag_Jays}}
    | 30.41%
    |-
    | Paperbag_Jays
    | {{ll|Paperbag_Jays}}
    | 60.41%
    |-
    | Paperbag_Spiffos
    | {{ll|Paperbag_Spiffos}}
    | 30.41%
    |-
    | Paperbag_Spiffos
    | {{ll|Paperbag_Spiffos}}
    | 60.41%
    |-
    | bandkitchen
    | {{ll|fridge}}
    | 19.27%
    |-
    | burgerkitchen
    | {{ll|restaurantdisplay}}
    | 23.28%
    |-
    | burgerkitchen
    | {{ll|restaurantdisplay}}
    | 41.14%
    |-
    | cafeteria
    | {{ll|restaurantdisplay}}
    | 23.28%
    |-
    | cafeteria
    | {{ll|restaurantdisplay}}
    | 41.14%
    |-
    | cafeteriakitchen
    | {{ll|restaurantdisplay}}
    | 23.28%
    |-
    | cafeteriakitchen
    | {{ll|restaurantdisplay}}
    | 41.14%
    |-
    | deepfry_kitchen
    | {{ll|restaurantdisplay}}
    | 23.28%
    |-
    | deepfry_kitchen
    | {{ll|restaurantdisplay}}
    | 41.14%
    |-
    | dinerkitchen
    | {{ll|restaurantdisplay}}
    | 23.28%
    |-
    | dinerkitchen
    | {{ll|restaurantdisplay}}
    | 41.14%
    |-
    | dining
    | {{ll|restaurantdisplay}}
    | 23.28%
    |-
    | dining
    | {{ll|restaurantdisplay}}
    | 41.14%
    |-
    | fishchipskitchen
    | {{ll|restaurantdisplay}}
    | 23.28%
    |-
    | fishchipskitchen
    | {{ll|restaurantdisplay}}
    | 41.14%
    |-
    | jayschicken_dining
    | {{ll|restaurantdisplay}}
    | 23.28%
    |-
    | jayschicken_dining
    | {{ll|restaurantdisplay}}
    | 41.14%
    |-
    | jayschicken_kitchen
    | {{ll|restaurantdisplay}}
    | 23.28%
    |-
    | jayschicken_kitchen
    | {{ll|restaurantdisplay}}
    | 41.14%
    |-
    | motelroomoccupied
    | {{ll|fridge}}
    | 4.01%
    |-
    | restaurant
    | {{ll|restaurantdisplay}}
    | 23.28%
    |-
    | restaurant
    | {{ll|restaurantdisplay}}
    | 41.14%
    |-
    | restaurantkitchen
    | {{ll|restaurantdisplay}}
    | 23.28%
    |-
    | restaurantkitchen
    | {{ll|restaurantdisplay}}
    | 41.14%
    |-
    | spiffo_dining
    | {{ll|restaurantdisplay}}
    | 23.28%
    |-
    | spiffo_dining
    | {{ll|restaurantdisplay}}
    | 41.14%
    |-
    | spiffoskitchen
    | {{ll|restaurantdisplay}}
    | 23.28%
    |-
    | spiffoskitchen
    | {{ll|restaurantdisplay}}
    | 41.14%
    |-
    | westernkitchen
    | {{ll|restaurantdisplay}}
    | 23.28%
    |-
    | westernkitchen
    | {{ll|restaurantdisplay}}
    | 41.14%
    |}
</div>
    </div><div style="clear: both;"></div>
    </div></div><div class="toggle large mw-customtoggle-togglebox-Fries" title="{{int:show}}/{{int:hide}}"></div></div>
<!--END BOT FLAG|Fries|41.78.16-->
Fries can often be found inside [[refrigerator]]s or on tables alongside other food items such as [[burger]]s in a [[Spiffo's]] or [[Burgers]] kitchen, and the [[trunk]] of a [[Franklin Valuline#Spiffo's Van|Spiffo's van]].
 
==Gallery==
<gallery>
Fries Model.png|Fries model [[File:Fries.png]]
FriesRotten Model.png|Rotten fries model [[File:Fries.png]]
</gallery>


== Code ==
==Code==
'''''From newitems.txt (Project Zomboid directory/media/scripts/)'''''
{{CodeBox
{{Retrieved|version=40|incver=7}}
| {{CodeSnip
<pre> item Fries
  | lang = java
HungerChange = -10,
  | line = true
Weight = 0.4,
  | start = 5652
Type = Food,
  | source = items_food.txt
UnhappyChange = -10,
  | retrieved = true
DisplayName = Fries,
  | version = 41.78.16
DaysTotallyRotten = 5,
  | code =
DaysFresh = 3,
item Fries
Icon = Fries,
{
Carbohydrates = 35.97,
DisplayName = Fries,
Proteins = 3.35,
DisplayCategory = Food,
Lipids = 5.19,
Type = Food,
Calories = 203,</pre>
Weight = 0.4,
Icon = Fries,
DaysFresh = 3,
DaysTotallyRotten = 5,
HungerChange = -10,
UnhappyChange = -10,
Calories = 203,
Carbohydrates = 35.97,
Lipids = 5.19,
Proteins = 3.35,
WorldStaticModel = Fries,
}
}}
}}


==See also==
==See also==
* [[Fries]]
*[[Burger]]
* [[Burger]]
*[[Corndog]]
* [[Corndog]]
*[[Fried Chicken]]
 
{{Navbox items|food}}


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

Latest revision as of 12:48, 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]
Fries
Fries Model.png
General
Category
Food
Encumbrance
Moodle Icon HeavyLoad.png
0.4
Properties
Days fresh
3 days
Days until rotten
5 days
Nutrition
HungerMoodle Icon Hungry.png
-10
CaloriesCalories
203
CarbohydratesCarbohydrates
35.97
ProteinsProteins
3.35
FatFat
5.19
Effect
UnhappinessMoodle Icon Unhappy.png
-10
Technical
Item ID
Base.Fries

Fries, short for french fries, are a perishable food item.

Usage

Consumable properties

Fries 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

Fries.png
Hunger: -10

Unhappiness: -10

Fries.png
Hunger: -7
Boredom: +10

Fries.png
Hunger: -4
Boredom: +20
Unhappiness: +10
Dangerous, will cause sickness.

Distribution

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

Fries 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
Paperbag_Jays Paperbag_Jays 30.41%
Paperbag_Jays Paperbag_Jays 60.41%
Paperbag_Spiffos Paperbag_Spiffos 30.41%
Paperbag_Spiffos Paperbag_Spiffos 60.41%
bandkitchen fridge 19.27%
burgerkitchen restaurantdisplay 23.28%
burgerkitchen restaurantdisplay 41.14%
cafeteria restaurantdisplay 23.28%
cafeteria restaurantdisplay 41.14%
cafeteriakitchen restaurantdisplay 23.28%
cafeteriakitchen restaurantdisplay 41.14%
deepfry_kitchen restaurantdisplay 23.28%
deepfry_kitchen restaurantdisplay 41.14%
dinerkitchen restaurantdisplay 23.28%
dinerkitchen restaurantdisplay 41.14%
dining restaurantdisplay 23.28%
dining restaurantdisplay 41.14%
fishchipskitchen restaurantdisplay 23.28%
fishchipskitchen restaurantdisplay 41.14%
jayschicken_dining restaurantdisplay 23.28%
jayschicken_dining restaurantdisplay 41.14%
jayschicken_kitchen restaurantdisplay 23.28%
jayschicken_kitchen restaurantdisplay 41.14%
motelroomoccupied fridge 4.01%
restaurant restaurantdisplay 23.28%
restaurant restaurantdisplay 41.14%
restaurantkitchen restaurantdisplay 23.28%
restaurantkitchen restaurantdisplay 41.14%
spiffo_dining restaurantdisplay 23.28%
spiffo_dining restaurantdisplay 41.14%
spiffoskitchen restaurantdisplay 23.28%
spiffoskitchen restaurantdisplay 41.14%
westernkitchen restaurantdisplay 23.28%
westernkitchen restaurantdisplay 41.14%

Fries can often be found inside refrigerators or on tables alongside other food items such as burgers in a Spiffo's or Burgers kitchen, and the trunk of a Spiffo's van.

Gallery

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 Fries
	{
		DisplayName = Fries,
		DisplayCategory = Food,
		Type = Food,
		Weight = 0.4,
		Icon = Fries,
		DaysFresh = 3,
		DaysTotallyRotten = 5,
		HungerChange = -10,
		UnhappyChange = -10,
		Calories = 203,
		Carbohydrates = 35.97,
		Lipids = 5.19,
		Proteins = 3.35,
		WorldStaticModel = Fries,
	}

See also