Cheese Sandwich: Difference between revisions

From PZwiki
(updated to 41.68 + added model + navbox)
mNo edit summary
Line 1: Line 1:
{{languages}}
{{languages|Cheese Sandwich}}
{{header|Project Zomboid|Items|Food|Perishable Food|type=Food|version=Version 41|incver=68}}{{Infobox food
{{header|Project Zomboid|Items|Food|Perishable Food|type=Food|version=Version 41|incver=73}}{{Infobox food
|display_name=Cheese Sandwich
|display_name=Cheese Sandwich
|name_colour=Food
|name_colour=Food
|name_text_colour=Food
|name_text_colour=Food
|image=CheeseSandwich_Model.png
|image=Sandwich_cheese 120px.png
|image_width=150px
|alternate_image=Sandwich_grilledcheese.png
|alternate_image=Sandwich_cheese.png
|alternate_name=Grilled Cheese Sandwich
|alternate_name=Cheese Sandwich
|alternate_link=
|alternate_link=
<!--GENERAL-->
<!--GENERAL-->
Line 13: Line 12:
|weight=0.3
|weight=0.3
|days_fresh=2
|days_fresh=2
|days_rotten=4
|days_rotten=2
<!--NUTRITION-->
<!--NUTRITION-->
|hunger_change=-50
|hunger_change=''See [[#Consumable properties|Consumable properties]]''
|calories=135
|calories=''See [[#Nutrition|Nutrition]]''
|lipids=12.37
|lipids=''See [[#Nutrition|Nutrition]]''
|proteins=8.4
|proteins=''See [[#Nutrition|Nutrition]]''
|carbohydrates=0.93
|carbohydrates=''See [[#Nutrition|Nutrition]]''
<!--TECHNICAL DETAILS-->
<!--TECHNICAL DETAILS-->
|class_name=Base.CheeseSandwich
|class_name=Base.CheeseSandwich<br>Base.GrilledCheese
}}{{About|sandwiches that spawn naturally|sandwiches made by the player|Recipe Ingredients#Sandwich & Burger Ingredients}}
}}{{About|sandwiches that spawn naturally|sandwiches made by the player|Recipe Ingredients#Sandwich & Burger Ingredients}}
A '''cheese sandwich''' is a [[Food#Perishable|perishable]] food [[item]].  
'''Cheese sandwich''' is a [[Food#Perishable|perishable]] food [[item]].  


==Usage==
==Usage==
=== Consumable properties ===
=== Consumable properties ===
A cheese sandwich can be eaten, providing the player with some positive effects, however these will become negative the longer it's left to perish.
Cheese sandwich can be eaten, providing the player with some positive effects. Consuming after being cooked will reduce more hunger, however these will become negative the longer it's left to perish.
{{Consumables2
{{Consumables2
|image = Sandwich_cheese.png
|image = Sandwich_cheese.png
|rotten image = Sandwich_cheese.png
|hunger = -15
|hunger = -50
|perishable = 1
|unrotten hunger = -38
|cookable = 1
|unrotten hunger = -11
|unrotten unhappiness = +10
|unrotten unhappiness = +10
|unrotten_boredom = +10
|unrotten boredom = +10
|rotten hunger = -23
|rotten hunger = -6
|rotten unhappiness = +20
|rotten boredom = +20
|rotten boredom = +20
|rotten unhappiness = +20
|unrottencooked hunger = -12
|perishable = 1
|unrottencooked unhappiness = -5
|unrottencooked boredom = +10
|rottencooked hunger = -7
|rottencooked unhappiness = -15
|rottencooked boredom = +20
|cooked hunger = -20
|cooked unhappiness = +5
|burned hunger = -5
|burned boredom = +20
|burned unhappiness = +15
|burned image = Sandwich_grilledcheese.png
|rotten image = Sandwich_cheese.png
|cooked image = Sandwich_grilledcheese.png
}}
}}
====Nutrition====
{|style="text-align:center; width:450px; border-bottom: 1px solid #{{Infobox nc|Food}};" cellspacing=0 cellpadding=5
| colspan=6 style="color:rgba(0, 0, 0, 0); font-size:70%;" |
|- style="background-color:#{{Infobox nc|Default}}; color:#{{Infobox nc|Default|text}}"
! width=90px | Sandwich
! width=90px | Calories
! width=90px | Carbohydrates
! width=90px | Proteins
! width=90px | Lipids
|- class="oddrow evenrow"
| style="border-left: 1px solid #{{Infobox nc|Food}};" | [[File:Sandwich_cheese.png|32px]]
| 113
| 0.87
| 6.4
| style="border-right: 1px solid #{{Infobox nc|Food}};" | 9.33
|- class="oddrow evenrow"
| style="border-left: 1px solid #{{Infobox nc|Food}};" | [[File:Sandwich_grilledcheese.png|32px]]
| 366
| 28
| 12
| style="border-right: 1px solid #{{Infobox nc|Food}};" | 22.5
|-
|}


==Distribution==
==Distribution==
Cheese sandwiches can be found in cafeterias and fridges.  
Cheese sandwich can often found inside [[Containers#Displays|displays]] in restaurant, or in [[Bags|satchel]].
 
==Gallery==
<gallery>
File:PeanutButterSandwich Model.png|Model for: [[File:Sandwich_cheese.png]]
File:PeanutButterSandwichRotten Model.png|Model for: [[File:Sandwich_cheese.png]] (Rotten)
File:GrilledCheeseSandwich Model.png|Model for: [[File:Sandwich_grilledcheese.png]]
File:GrilledCheeseSandwichRotten Model.png|Model for: [[File:Sandwich_grilledcheese.png]] (Rotten)
</gallery>


<div class="mw-collapsible mw-collapsed">
== Code ==
== Code ==
'''''From items_food.txt (Project Zomboid directory/media/scripts/)'''''
<div class="mw-collapsible-content">'''''From items_food.txt (Project Zomboid directory/media/scripts/)'''''
{{Retrieved|version=41|incver=68}}
Cheese Sandwich [[File:Sandwich_cheese.png]]
{{Retrieved|version=41|incver=73}}
<pre>    item CheeseSandwich
<pre>    item CheeseSandwich
    {
{
        DisplayCategory = Food,
DisplayName = Cheese Sandwich,
        HungerChange = -50,
DisplayCategory = Food,
        Weight = 0.3,
Type = Food,
        Type = Food,
Weight = 0.3,
        DisplayName = Cheese Sandwich,
Icon = Sandwich_cheese,
        Icon = Sandwich_cheese,
IsCookable = true,
        DaysFresh = 2,
ReplaceOnCooked = GrilledCheese,
        DaysTotallyRotten = 4,
MinutesToCook = 4,
        Carbohydrates = 0.93,
DaysFresh = 2,
        Proteins = 8.4,
DaysTotallyRotten = 4,
        Lipids = 12.37,
HungerChange = -15,
        Calories = 135,
Calories = 366,
        WorldStaticModel = CheeseSandwich,
Carbohydrates = 28,
    }</pre>
Lipids = 22.5,
Proteins = 12,
WorldStaticModel = CheeseSandwich,
Tags = HideCooked,
}</pre>
Grilled Cheese Sandwich [[File:Sandwich_grilledcheese.png]]
{{Retrieved|version=41|incver=73}}
<pre>    item GrilledCheese
{
DisplayName = Grilled Cheese Sandwich,
DisplayCategory = Food,
Type = Food,
Weight = 0.3,
Icon = Sandwich_grilledcheese,
BadInMicrowave = true,
IsCookable = TRUE,
MinutesToCook = 0,
MinutesToBurn = 20,
DaysFresh = 2,
DaysTotallyRotten = 4,
HungerChange = -16,
UnhappyChange = -5,
Calories = 366,
Carbohydrates = 28,
Lipids = 22.5,
Proteins = 12,
CustomEatSound = EatingCrispy,
WorldStaticModel = GrilledCheese,
Tags = AlreadyCooked;HideCooked,
}</pre>
</div>


==See also==
==See also==

Revision as of 19:20, 6 October 2022

Project ZomboidItemsFoodPerishable FoodCheese Sandwich
Cheese Sandwich
Cheese Sandwich
Grilled Cheese Sandwich
General
Category Food
Encumbrance
Heavy Load
0.3
Days until stale 2 days
Days until rotten 2 days
Nutrition
Hunger
Hunger
See Consumable properties
Calories
Calories
See Nutrition
Carbohydrates
Carbohydrates
See Nutrition
Proteins
Proteins
See Nutrition
Fat
Fat
See Nutrition
Technical details
Item ID Base.CheeseSandwich
Base.GrilledCheese
PlushSpiffo.pngThis article is about sandwiches that spawn naturally. For sandwiches made by the player, see Recipe ingredients.

Cheese sandwich is a perishable food item.

Usage

Consumable properties

Cheese sandwich can be eaten, providing the player with some positive effects. Consuming after being cooked will reduce more hunger, however these will become negative the longer it's left to perish. Template:Consumables2

Nutrition

Sandwich Calories Carbohydrates Proteins Lipids
Sandwich cheese.png 113 0.87 6.4 9.33
Sandwich grilledcheese.png 366 28 12 22.5

Distribution

Cheese sandwich can often found inside displays in restaurant, or in satchel.

Gallery

Code

From items_food.txt (Project Zomboid directory/media/scripts/)

Cheese Sandwich Sandwich cheese.png Retrieved: Build 41.73

    item CheeseSandwich
	{
		DisplayName = Cheese Sandwich,
		DisplayCategory = Food,
		Type = Food,
		Weight = 0.3,
		Icon = Sandwich_cheese,
		IsCookable = true,
		ReplaceOnCooked = GrilledCheese,
		MinutesToCook = 4,
		DaysFresh = 2,
		DaysTotallyRotten = 4,
		HungerChange = -15,
		Calories = 366,
		Carbohydrates = 28,
		Lipids = 22.5,
		Proteins = 12,
		WorldStaticModel = CheeseSandwich,
		Tags = HideCooked,
	}

Grilled Cheese Sandwich Sandwich grilledcheese.png Retrieved: Build 41.73

    item GrilledCheese
	{
		DisplayName = Grilled Cheese Sandwich,
		DisplayCategory = Food,
		Type = Food,
		Weight = 0.3,
		Icon = Sandwich_grilledcheese,
		BadInMicrowave = true,
		IsCookable = TRUE,
		MinutesToCook = 0,
		MinutesToBurn = 20,
		DaysFresh = 2,
		DaysTotallyRotten = 4,
		HungerChange = -16,
		UnhappyChange = -5,
		Calories = 366,
		Carbohydrates = 28,
		Lipids = 22.5,
		Proteins = 12,
		CustomEatSound = EatingCrispy,
		WorldStaticModel = GrilledCheese,
		Tags = AlreadyCooked;HideCooked,
	}

See also