Cheese Sandwich: Difference between revisions

From PZwiki
mNo edit summary
m (Update shorthand parameters)
(23 intermediate revisions by 8 users not shown)
Line 1: Line 1:
{{languages|Cheese Sandwich}}
{{Header|Project Zomboid|Items|Food|Miscellaneous food}}
{{header|Project Zomboid|Items|Food|Perishable Food|type=Food|version=Version 41|incver=73}}{{Infobox food
{{Page version|41.78.16}}
|display_name=Cheese Sandwich
{{Infobox item
|name_colour=Food
|name=Cheese Sandwich
|name_text_colour=Food
|model=CheeseSandwich_Model.png
|image=Sandwich_cheese 120px.png
|icon=Sandwich_cheese.png
|alternate_image=Sandwich_grilledcheese.png
|icon_name=Cheese Sandwich
|alternate_name=Grilled Cheese Sandwich
|icon2=Sandwich_grilledcheese.png
|alternate_link=
|icon_name2=Grilled Cheese Sandwich
<!--GENERAL-->
<!--GENERAL-->
|category=Food
|category=Food
|weight=0.3
|weight=0.3
|days_fresh=2
|days_fresh=2
|days_rotten=2
|days_rotten=4
<!--NUTRITION-->
<!--NUTRITION-->
|hunger_change=''See [[#Consumable properties|Consumable properties]]''
|hunger_change=''See [[#Consumable properties|Consumable properties]]''
Line 23: Line 23:
|burn_minutes=16
|burn_minutes=16
<!--TECHNICAL DETAILS-->
<!--TECHNICAL DETAILS-->
|class_name=Base.CheeseSandwich<br>Base.GrilledCheese
|item_id=Base.CheeseSandwich<br>Base.GrilledCheese
}}{{About|sandwiches that spawn naturally|sandwiches made by the player|Recipe Ingredients#Sandwich & Burger Ingredients}}
}}
'''Cheese sandwich''' is a [[Food#Perishable|perishable]] food [[item]].  
 
{{About|sandwiches that spawn naturally|sandwiches made by the player|Recipe Ingredients#Sandwich & Burger Ingredients}}
'''Cheese sandwich''' is a perishable [[food]] [[Items|item]].


==Usage==
==Usage==
=== Consumable properties ===
===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.
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
{{Consumables
|image = Sandwich_cheese.png
|image = Sandwich_cheese.png
|hunger = -15
|hunger = -15
Line 58: Line 60:


====Nutrition====
====Nutrition====
{|style="text-align:center; width:450px; border-bottom: 1px solid #{{Infobox nc|Food}};" cellspacing=0 cellpadding=5
{|class="wikitable theme-red" 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 | Sandwich
! width=90px | Calories
! width=90px | Calories
Line 66: Line 66:
! width=90px | Proteins
! width=90px | Proteins
! width=90px | Lipids
! width=90px | Lipids
|- class="oddrow evenrow"
|-
| style="border-left: 1px solid #{{Infobox nc|Food}};" | [[File:Sandwich_cheese.png|32px]]
| [[File:Sandwich_cheese.png|32px]]
| 113
| 113
| 0.87
| 0.87
| 6.4
| 6.4
| style="border-right: 1px solid #{{Infobox nc|Food}};" | 9.33
| 9.33
|- class="oddrow evenrow"
|-
| style="border-left: 1px solid #{{Infobox nc|Food}};" | [[File:Sandwich_grilledcheese.png|32px]]
| [[File:Sandwich_grilledcheese.png|32px]]
| 366
| 366
| 28
| 28
| 12
| 12
| style="border-right: 1px solid #{{Infobox nc|Food}};" | 22.5
| 22.5
|-
|}
|}


== Crafting ==
==Crafting==
{{Main|Cooking}}
{{Main|Cooking}}
===Obtaining===
===Obtaining===
{{Crafting header|ing=2}}
{{Crafting header|ing=2}}
{{Crafting cooking|150|ing=2}}
{{Crafting cooking|150|ing=2}}
{{Crafting table footer}}
|}
 
===Cooking===
{{Crafting header|ing=2}}
{{Crafting cooking|267|ing=2}}
|}


==Distribution==
==Distribution==
Line 93: Line 98:
==Gallery==
==Gallery==
<gallery>
<gallery>
File:PeanutButterSandwich Model.png|Model for: [[File:Sandwich_cheese.png]]
CheeseSandwich Model.png|Cheese sandwich model [[File:Sandwich_cheese.png]]
File:PeanutButterSandwichRotten Model.png|Model for: [[File:Sandwich_cheese.png]] (Rotten)
CheeseSandwichRotten Model.png|Rotten cheese sandwich model [[File:Sandwich_cheese.png]]
File:GrilledCheeseSandwich Model.png|Model for: [[File:Sandwich_grilledcheese.png]]
GrilledCheese Model.png|Grilled cheese sandwich model [[File:Sandwich_grilledcheese.png]]
File:GrilledCheeseSandwichRotten Model.png|Model for: [[File:Sandwich_grilledcheese.png]] (Rotten)
GrilledCheeseRotten Model.png|Rotten grilled cheese sandwich model [[File:Sandwich_grilledcheese.png]]
</gallery>
</gallery>


<div class="mw-collapsible mw-collapsed">
==Trivia==
== Code ==
*Grilled cheese sandwich was previously crafted with a [[Frying Pan|frying pan]], [[bread]], [[butter]], [[cheese]] and a [[heat source]]. It was removed (obtainable only in [[debug mode]]) with the addition of [[Recipe ingredients|evolved recipes]], before being craftable again in [[build 41]].
<div class="mw-collapsible-content">'''''From items_food.txt (Project Zomboid directory/media/scripts/)'''''
 
Cheese Sandwich [[File:Sandwich_cheese.png]]
==Code==
{{Retrieved|version=41|incver=73}}
{{CodeBox|{{ID|Base.CheeseSandwich}}<br>
<pre>    item CheeseSandwich
{{CodeSnip
  | lang = java
  | line = true
  | start = 4522
  | source = items_food.txt
  | retrieved = true
  | version = 41.78.16
  | code =
item CheeseSandwich
{
{
DisplayName = Cheese Sandwich,
DisplayName = Cheese Sandwich,
Line 123: Line 136:
WorldStaticModel = CheeseSandwich,
WorldStaticModel = CheeseSandwich,
Tags = HideCooked,
Tags = HideCooked,
}</pre>
}
Grilled Cheese Sandwich [[File:Sandwich_grilledcheese.png]]
}}
{{Retrieved|version=41|incver=73}}
 
<pre>    item GrilledCheese
{{ID|Base.GrilledCheese}}<br>
{{CodeSnip
  | lang = java
  | line = true
  | start = 4306
  | source = items_food.txt
  | retrieved = true
  | version = 41.78.16
  | code =
item GrilledCheese
{
{
DisplayName = Grilled Cheese Sandwich,
DisplayName = Grilled Cheese Sandwich,
Line 148: Line 170:
WorldStaticModel = GrilledCheese,
WorldStaticModel = GrilledCheese,
Tags = AlreadyCooked;HideCooked,
Tags = AlreadyCooked;HideCooked,
}</pre>
}  
</div>
}}
}}
 


==See also==
==See also==
Line 155: Line 179:
*[[Burger]]
*[[Burger]]


{{Navbox_food}}
{{Navbox food}}
 
[[Category:Perishable food]]

Revision as of 02:30, 28 March 2024

UI Tick.png
This page has been revised for the current stable version (41.78.16).
Help by adding any missing content. [edit]
Cheese Sandwich
CheeseSandwich Model.png
Grilled Cheese Sandwich
General
Category
Food
Encumbrance
Moodle Icon HeavyLoad.png
0.3
Properties
Days fresh
2 days
Days until rotten
4 days
Nutrition
CaloriesCalories
CarbohydratesCarbohydrates
ProteinsProteins
FatFat
Cooking
Time until cooked
4 minutes
Time until burned
16 minutes
Technical
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.

Fresh Stale Rotten
Uncooked

Sandwich cheese.png
Hunger: -15


Sandwich cheese.png
Hunger: -11
Boredom: +10
Unhappiness: +10

Sandwich cheese.png

Hunger: -6
Boredom: +20
Unhappiness: +20
Dangerous, will cause sickness.

Cooked

Sandwich grilledcheese.png
Hunger: -20

Unhappiness: +5

Sandwich grilledcheese.png
Hunger: -12
Boredom: +10
Unhappiness: -5

Sandwich grilledcheese.png
Hunger: -7
Boredom: +20
Unhappiness: -15
Dangerous, will cause sickness.

Burned

Sandwich grilledcheese.png
Hunger: -5
Boredom: +20
Unhappiness: +15
Dangerous, will cause sickness.

Nutrition

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

Crafting

Main article: Cooking

Obtaining

Product XP gained Skill(s) Recipe Ingredient 1 Ingredient 2
Sandwich cheese.png
Cheese Sandwich
0.75 Cooking none BreadSlices.png
Bread Slices
(consumed)

(consumed)

Cooking

Product XP gained Skill(s) Recipe Ingredient 1 Ingredient 2
Grilled Cheese Sandwich
Grilled Cheese Sandwich
2.5 Cooking none Heat source.gif
Heat source
(Cooked: 4 mins)
Cheese Sandwich
Cheese Sandwich
(consumed)

Distribution

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

Gallery

Trivia

Code

Code icon.png Code snippet! This section contains source code from Project ZomboidShow / Hide

Base.CheeseSandwich
Source: ProjectZomboid\media\scripts\items_food.txt

Retrieved: Build 41.78.16
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,
	}

Base.GrilledCheese
Source: ProjectZomboid\media\scripts\items_food.txt

Retrieved: Build 41.78.16
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