Cheese Sandwich: Difference between revisions

From PZwiki
m (Update shorthand parameters)
(39 intermediate revisions by 14 users not shown)
Line 1: Line 1:
{{languages}}
{{Header|Project Zomboid|Items|Food|Miscellaneous food}}
{{Page version|41.78.16}}
{{Infobox item
|name=Cheese Sandwich
|model=CheeseSandwich_Model.png
|icon=Sandwich_cheese.png
|icon_name=Cheese Sandwich
|icon2=Sandwich_grilledcheese.png
|icon_name2=Grilled Cheese Sandwich
<!--GENERAL-->
|category=Food
|weight=0.3
|days_fresh=2
|days_rotten=4
<!--NUTRITION-->
|hunger_change=''See [[#Consumable properties|Consumable properties]]''
|calories=''See [[#Nutrition|Nutrition]]''
|lipids=''See [[#Nutrition|Nutrition]]''
|proteins=''See [[#Nutrition|Nutrition]]''
|carbohydrates=''See [[#Nutrition|Nutrition]]''
<!--COOKING-->
|cook_minutes=4
|burn_minutes=16
<!--TECHNICAL DETAILS-->
|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 perishable [[food]] [[Items|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.
{{Consumables
{{Consumables
|image = Cheese Sandwich.png
|image = Sandwich_cheese.png
|hunger = -63
|hunger = -15
|weight = 1
|perishable = 1
|cookable = 1
|unrotten hunger = -11
|unrotten unhappiness = +10
|unrotten boredom = +10
|rotten hunger = -6
|rotten unhappiness = +20
|rotten boredom = +20
|unrottencooked hunger = -12
|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
}}
}}
== Effects ==
 
[[Boredom]]: -10<br>
====Nutrition====
[[Hunger]]: -63
{|class="wikitable theme-red" style="text-align:center; width:450px; border-bottom: 1px solid #{{Infobox nc|Food}};" cellspacing=0 cellpadding=5
== Crafting ==
! width=90px | Sandwich
{| class="wikitable sortable" style="text-align:center;"  
! width=90px | Calories
|-
! width=90px | Carbohydrates
! Name
! width=90px | Proteins
! class="unsortable" | Recipe
! width=90px | Lipids
! class="unsortable" | Description
|-
{{RecipeLookup|31}}
| [[File:Sandwich_cheese.png|32px]]
{{RecipeLookup|30}}
| 113
| 0.87
| 6.4
| 9.33
|-
| [[File:Sandwich_grilledcheese.png|32px]]
| 366
| 28
| 12
| 22.5
|}
 
==Crafting==
{{Main|Cooking}}
 
===Obtaining===
{{Crafting header|ing=2}}
{{Crafting cooking|150|ing=2}}
|}
|}
== Code ==
<nowiki>item CheeseSandwich
{
Type = Food,
DisplayName = Cheese Sandwich,
Icon = Sandwich_Cheese,
Weight = 1,
HungerChange = -63,
BoredomChange = -10,
}</nowiki>


{{Navbox/Consumables}}
===Cooking===
[[Category:Consumables]]
{{Crafting header|ing=2}}
[[Category:Food]]
{{Crafting cooking|267|ing=2}}
[[Category:Non-Perishable Food]]
|}
[[Category:Version 0.2.0p]]
 
==Distribution==
Cheese sandwich can often found inside [[Containers#Displays|displays]] in restaurant, or in [[Bags|satchel]].
 
==Gallery==
<gallery>
CheeseSandwich Model.png|Cheese sandwich model [[File:Sandwich_cheese.png]]
CheeseSandwichRotten Model.png|Rotten cheese sandwich model [[File:Sandwich_cheese.png]]
GrilledCheese Model.png|Grilled cheese sandwich model [[File:Sandwich_grilledcheese.png]]
GrilledCheeseRotten Model.png|Rotten grilled cheese sandwich model [[File:Sandwich_grilledcheese.png]]
</gallery>
 
==Trivia==
*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]].
 
==Code==
{{CodeBox|{{ID|Base.CheeseSandwich}}<br>
{{CodeSnip
  | lang = java
  | line = true
  | start = 4522
  | source = items_food.txt
  | retrieved = true
  | version = 41.78.16
  | code =
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,
}
}}
 
{{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,
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==
*[[Peanut Butter Sandwich]]
*[[Burger]]
 
{{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