Burger: Difference between revisions

From PZwiki
(New infobox + new layout)
(Update distribution file)
 
(36 intermediate revisions by 8 users not shown)
Line 1: Line 1:
{{languages|Burger}}
{{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=Burger
{{Infobox item
|name_colour=Food
|name=Burger
|name_text_colour=Food
|model=Burger_Model.png
|image=Burger_120px.png
|icon=Burger.png
|icon_name=Burger
<!--GENERAL-->
<!--GENERAL-->
|category=Food
|category=Food
Line 19: Line 20:
|unhappy_change=-10
|unhappy_change=-10
<!--TECHNICAL DETAILS-->
<!--TECHNICAL DETAILS-->
|class_name=Base.Burger
|item_id=Base.Burger
}}{{About|burgers that spawn naturally|burgers made by the player|[[Recipe Ingredients#Sandwich & Burger Ingredients|Sandwich & Burger Ingredients]]}}
}}
A '''burger''' is a [[Food#Perishable|perishable]] food [[item]].
{{About|burgers that spawn naturally|burgers made by the player|Recipe ingredients#Sandwich & burger ingredients|in-game fast food chain|Burgers}}
A '''burger''' is a perishable [[food]] [[Items|item]].


==Usage==
==Usage==
=== Consumable properties ===
===Consumable properties===
Burgers can be eaten, providing the player with some positive effects, however these will become negative the longer it's left to perish.
Burgers 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 = Burger.png
|image = Burger.png
|hunger = -25
|hunger = -25
|unhappiness = -10  
|unhappiness = -10
|unrotten hunger = -19
|unrotten hunger = -19
|unrotten boredom = +10
|unrotten boredom = +10
Line 41: Line 43:


==Distribution==
==Distribution==
Burgers can be found inside [[refrigerator]]s 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|Burger|41.78.16-->
{{Clear}}
<div class="togglebox theme-red">
    <div>Burger distribution
        <span class="mw-customtoggle-togglebox-Burger" 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-Burger">
    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_Spiffos
    | {{ll|Paperbag_Spiffos}}
    | 30.41%
    |-
    | Paperbag_Spiffos
    | {{ll|Paperbag_Spiffos}}
    | 60.41%
    |-
    | bandkitchen
    | {{ll|fridge}}
    | 19.27%
    |-
    | breakroom
    | {{ll|fridge}}
    | 10.78%
    |-
    | burgerkitchen
    | {{ll|restaurantdisplay}}
    | 23.28%
    |-
    | burgerkitchen
    | {{ll|restaurantdisplay}}
    | 41.14%
    |-
    | daycare
    | {{ll|fridge}}
    | 10.78%
    |-
    | dinerkitchen
    | {{ll|restaurantdisplay}}
    | 23.28%
    |-
    | dinerkitchen
    | {{ll|restaurantdisplay}}
    | 41.14%
    |-
    | dining
    | {{ll|restaurantdisplay}}
    | 23.28%
    |-
    | dining
    | {{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-Burger" title="{{int:show}}/{{int:hide}}"></div></div>
<!--END BOT FLAG|Burger|41.78.16-->
Burgers can be found inside [[refrigerator]]s or on tables alongside other food items such as [[fries]] in Spiffo's or Burger restaurants or the [[trunk]] of a [[Franklin Valuline#Spiffo's Van|Spiffo's van]].
 
==Gallery==
<gallery>
Burger Model.png|Burger model
BurgerRotten Model.png|Rotten burger model
</gallery>


== Code ==
== Code ==
'''''From newitems.txt (Project Zomboid directory/media/scripts/)'''''
{{CodeBox
{{Retrieved|version=40|incver=7}}
| {{CodeSnip
<pre> item Burger
  | lang = java
HungerChange = -25,
  | line = true
Weight = 0.3,
  | start = 5551
Type = Food,
  | source = items_food.txt
UnhappyChange = -10,
  | retrieved = true
DisplayName = Burger,
  | version = 41.78.16
DaysTotallyRotten = 5,
  | code =
DaysFresh = 3,
item Burger
Icon = Burger,
{
Carbohydrates = 0,
DisplayName = Burger,
Proteins = 25,
DisplayCategory = Food,
Lipids = 37,
Type = Food,
Calories = 440,</pre>
Weight = 0.3,
Icon = Burger,
EatType = 2handforced,
DaysFresh = 3,
DaysTotallyRotten = 5,
HungerChange = -25,
UnhappyChange = -10,
Calories = 440,
Carbohydrates = 0,
Lipids = 37,
Proteins = 25,
StaticModel = Burger,
WorldStaticModel = Burger_Ground,
}
}}
}}


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


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

Latest revision as of 12:12, 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]
Burger
Burger Model.png
General
Category
Food
Encumbrance
Moodle Icon HeavyLoad.png
0.3
Properties
Days fresh
3 days
Days until rotten
5 days
Nutrition
HungerMoodle Icon Hungry.png
-25
CaloriesCalories
440
CarbohydratesCarbohydrates
0
ProteinsProteins
25
FatFat
37
Effect
UnhappinessMoodle Icon Unhappy.png
-10
Technical
Item ID
Base.Burger
PlushSpiffo.pngThis article is about burgers that spawn naturally. For burgers made by the player, see Recipe ingredients. For in-game fast food chain, see Burgers.

A burger is a perishable food item.

Usage

Consumable properties

Burgers 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

Burger.png
Hunger: -25

Unhappiness: -10

Burger.png
Hunger: -19
Boredom: +10

Burger.png
Hunger: -11
Boredom: +20
Unhappiness: +10
Dangerous, will cause sickness.

Distribution

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

Burger 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_Spiffos Paperbag_Spiffos 30.41%
Paperbag_Spiffos Paperbag_Spiffos 60.41%
bandkitchen fridge 19.27%
breakroom fridge 10.78%
burgerkitchen restaurantdisplay 23.28%
burgerkitchen restaurantdisplay 41.14%
daycare fridge 10.78%
dinerkitchen restaurantdisplay 23.28%
dinerkitchen restaurantdisplay 41.14%
dining restaurantdisplay 23.28%
dining 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%

Burgers can be found inside refrigerators or on tables alongside other food items such as fries in Spiffo's or Burger restaurants or 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 Burger
	{
		DisplayName = Burger,
		DisplayCategory = Food,
		Type = Food,
		Weight = 0.3,
		Icon = Burger,
		EatType = 2handforced,
		DaysFresh = 3,
		DaysTotallyRotten = 5,
		HungerChange = -25,
		UnhappyChange = -10,
		Calories = 440,
		Carbohydrates = 0,
		Lipids = 37,
		Proteins = 25,
		StaticModel = Burger,
		WorldStaticModel = Burger_Ground,
	}

See also