Fries: Difference between revisions

From PZwiki
(Redesigned page, + Nav Bar, new description, + nutrition values, confirmed consumables2 (approximately right), + new code, + categories, - History (Was empty))
m (Automated Formatting)
(31 intermediate revisions by 9 users not shown)
Line 1: Line 1:
__NOTOC__
{{Header|Project Zomboid|Items|Food|Miscellaneous food}}
{{languages}}
{{Page version|41.78.16}}
<div class="header" style="margin: 5px; align: right; background: #CEF2E0; padding: 13px; text-align: left; font-size: 100%; color:#000000; border: 1px solid #A3BFB1"> <!-- Code for Background Colour -->
{{Infobox item
<div style="float: right;background: #CEF2E0;border: 1px solid #A3BFB1; margin: -30pt -10.5pt">    '''Page Updated @ Version: 34.28'''    </div><!-- Code for Version Tag at top -->
|name=Fries
<div style="float: left;background: #CEF2E0;border: 1px solid #A3BFB1; margin: -30pt -10.5pt">   '''Navigation''' - [[ Main_Page|Index]] -> [[:Category:Food|Food]] -> [[:Category:Perishable_Food|Perishable Foods]] -> [[Fries|Fries]]   </div><!-- Code for Navigation Bar at top, special blank char's before '''Navigation''' to give space -->
|model=Fries_Model.png
{{Consumables
|icon=Fries.png
|image = SNACKFrenchFries.png
|icon_name=Fries
|hunger = -10
<!--GENERAL-->
|unhappiness = -10
|category=Food
|weight = 0.1
|weight=0.4
|days_fresh=3
|days_rotten=5
<!--NUTRITION-->
|hunger_change=-10
|calories=203
|lipids=5.19
|proteins=3.35
|carbohydrates=35.97
<!--EFFECT-->
|unhappy_change=-10
<!--TECHNICAL DETAILS-->
|item_id=Base.Fries
}}
}}
Fries are a 'luxury' food that is [[Food#Perishable|perishable]] and goes bad as time passes, when outside of a [[refrigerator]]. Fries are often found within refrigerators and freezers in Spiffo's Kitchen. Fries takes three in-game days to go stale, and five in-game days to rot.
'''Fries''', short for '''french fries''', are a [[Food#Perishable|perishable]] food [[Items|item]].


== Nutritional Information ==
==Usage==
{| border=0 align=left
===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.
{{Consumables2
{{Consumables
|image = SNACKFrenchFries.png
|image = Fries.png
|hunger = -10
|hunger = -10
|thirst = 0
|unhappiness = -10
|unhappiness = -10
|unrotten hunger = -7
|unrotten hunger = -7
|unrotten boredom = +10
|unrotten boredom = +10
|unrotten unhappiness = 0
|unrotten image = SNACKFrenchFries.png
|rotten hunger = -4
|rotten hunger = -4
|rotten boredom = +20
|rotten boredom = +20
|rotten unhappiness = +20
|rotten unhappiness = +10
|rotten thirst = 0
|perishable = 1
|perishable = 1
|rotten image = SNACKFrenchFries.png
|rotten image = Fries.png
}}
}}
==Distribution==
The loot distributions can be found in the table(s) below.
{| class="mw-collapsible mw-collapsed wikitable theme-red" data-expandtext="{{int:show}}" data-collapsetext="{{int:hide}}" style="text-align:center; min-width:24em;"
! colspan="4" | Containers
|-
! Building/Room
! Container
! style="width: 3.2em;" | Rolls
! style="width: 3.2em;" | Chance
|-
|bandkitchen
|[[fridge]]
|4
|8
|-
|rowspan="4"|burgerkitchen
|[[restaurantdisplay]]
|4
|1
|-
|[[restaurantdisplay]]
|4
|1
|-
|[[restaurantdisplay]]
|4
|2
|-
|[[restaurantdisplay]]
|4
|2
|-
|motelroomoccupied
|[[fridge]]
|1
|6
|}
|}
<br><br><br><br><br><br><br><br><br><br><br>
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]].
'''It's Nutritional Values are as follows:'''<br>
 
Carbohydrates = 35.97 <br>
==Gallery==
Proteins = 3.35 <br>
<gallery>
Lipids = 5.19 <br>
Fries Model.png|Fries model [[File:Fries.png]]
Calories = 203 <br><br>
FriesRotten Model.png|Rotten fries model [[File:Fries.png]]
</gallery>
 
==Code==
{{CodeBox
| {{CodeSnip
  | lang = java
  | line = true
  | start = 5652
  | source = items_food.txt
  | retrieved = true
  | version = 41.78.16
  | code =
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==
*[[Burger]]
*[[Corndog]]
*[[Fried Chicken]]
 
{{Navbox items|food}}


== Code ==
[[Category:Perishable food]]
<nowiki>
    item Fries
        HungerChange = -10,
        Weight = 0.4,
        Type = Food,
        UnhappyChange = -10,
        DisplayName = Fries,
        DaysTotallyRotten = 5,
        DaysFresh = 3,
        Icon = Fries,
        Carbohydrates = 35.97,
        Proteins = 3.35,
        Lipids = 5.19,
        Calories = 203,
</nowiki>
==See Also==
* [[Items#Luxury Food|Luxury Food]]
{{Navbox/Consumables}}
[[Category:Consumables]]
[[Category:Food]]
[[Category:Perishable_Food]]
[[Category:Version 34.28]]

Revision as of 08:40, 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]
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.

Containers
Building/Room Container Rolls Chance
bandkitchen fridge 4 8
burgerkitchen restaurantdisplay 4 1
restaurantdisplay 4 1
restaurantdisplay 4 2
restaurantdisplay 4 2
motelroomoccupied fridge 1 6

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