Burger: Difference between revisions

From PZwiki
m (fix link)
m (Distribution table update)
(21 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{Languages}}
{{Header|Project Zomboid|Items|Food|Miscellaneous food}}
{{Header|Project Zomboid|Items|Food|Perishable Food|type=Food|version=Version 41|incver=78.16}}
{{Page version|41.78.16}}
{{Infobox food
{{Infobox item
|display_name=Burger
|name=Burger
|name_colour=Food
|model=Burger_Model.png
|name_text_colour=Food
|icon=Burger.png
|image=Burger Model.png
|icon_name=Burger
|image_width=200px
|alternate_image=Burger.png
|alternate_name=Burger
|alternate_link=
<!--GENERAL-->
<!--GENERAL-->
|category=Food
|category=Food
Line 24: 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|in-game fast food chain|Burgers}}
{{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 [[Food#Perishable|perishable]] food [[item]].
A '''burger''' is a perishable [[food]] [[Items|item]].


==Usage==
==Usage==
Line 35: Line 31:
|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 47: Line 43:


==Distribution==
==Distribution==
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">
    <div class="toggle-content"><div style="display: flex;"><div style="float:left;">
    {| class="wikitable theme-red" style="margin-right:15px; width:95%;"
    |+ {{ll|Containers}}
    ! Building / Room
    ! Container
    ! Rolls
    ! Chance
    |-
    | Not referenced
    | {{ll|FridgeOffice}}
    | 4
    | 4.0
    |-
    | all
    | {{ll|Paperbag_Spiffos}}
    | 1
    | 100.0
    |-
    | all
    | {{ll|Paperbag_Spiffos}}
    | 1
    | 50.0
    |-
    | bandkitchen
    | {{ll|fridge}}
    | 4
    | 8.0
    |-
    | breakroom
    | {{ll|fridge}}
    | 4
    | 4.0
    |-
    | burgerkitchen
    | {{ll|restaurantdisplay}}
    | 4
    | 10.0
    |-
    | burgerkitchen
    | {{ll|restaurantdisplay}}
    | 4
    | 20.0
    |-
    | motelroomoccupied
    | {{ll|fridge}}
    | 1
    | 6.0
    |}
</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]].
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]].


Line 55: Line 111:
</gallery>
</gallery>


==Code==
== Code ==
'''''From items_food.txt (Project Zomboid directory/media/scripts/)'''''
{{CodeBox
{{Retrieved|version=41|incver=78.16}}
| {{CodeSnip
<pre>
  | lang = java
item Burger
  | line = true
  | start = 5551
  | source = items_food.txt
  | retrieved = true
  | version = 41.78.16
  | code =
item Burger
{
{
DisplayName = Burger,
DisplayName = Burger,
Line 78: Line 140:
WorldStaticModel = Burger_Ground,
WorldStaticModel = Burger_Ground,
}
}
</pre>
}}
}}


==See also==
==See also==
Line 85: Line 148:
*[[Corndog]]
*[[Corndog]]


{{Navbox food}}
{{Navbox items|food}}
 
[[Category:Perishable food]]

Revision as of 15:05, 24 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
Containers
Building / Room Container Rolls Chance
Not referenced FridgeOffice 4 4.0
all Paperbag_Spiffos 1 100.0
all Paperbag_Spiffos 1 50.0
bandkitchen fridge 4 8.0
breakroom fridge 4 4.0
burgerkitchen restaurantdisplay 4 10.0
burgerkitchen restaurantdisplay 4 20.0
motelroomoccupied fridge 1 6.0

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