Cheese Sandwich: Difference between revisions

From PZwiki
(updated to 41.68 + added model + navbox)
(Update distribution file)
 
(31 intermediate revisions by 8 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=68}}{{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=CheeseSandwich_Model.png
|icon=Sandwich_cheese.png
|image_width=150px
|icon_name=Cheese Sandwich
|alternate_image=Sandwich_cheese.png
|icon2=Sandwich_grilledcheese.png
|alternate_name=Cheese Sandwich
|icon_name2=Grilled Cheese Sandwich
|alternate_link=
<!--GENERAL-->
<!--GENERAL-->
|category=Food
|category=Food
Line 15: Line 14:
|days_rotten=4
|days_rotten=4
<!--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]]''
<!--COOKING-->
|cook_minutes=4
|burn_minutes=16
<!--TECHNICAL DETAILS-->
<!--TECHNICAL DETAILS-->
|class_name=Base.CheeseSandwich
|item_id=Base.CheeseSandwich<br>Base.GrilledCheese
}}{{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]].  
{{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===
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
{{Consumables
|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====
{|class="wikitable theme-red" style="text-align:center; width:450px; border-bottom: 1px solid #{{Infobox nc|Food}};" cellspacing=0 cellpadding=5
! width=90px | Sandwich
! width=90px | Calories
! width=90px | Carbohydrates
! width=90px | Proteins
! width=90px | Lipids
|-
| [[File:Sandwich_cheese.png|32px]]
| 113
| 0.87
| 6.4
| 9.33
|-
| [[File:Sandwich_grilledcheese.png|32px]]
| 366
| 28
| 12
| 22.5
|}
 
==Crafting==
{{Main|Cooking}}
 
===Obtaining===
{{Crafting/sandbox2
|cheese_sandwich
}}
 
===Cooking===
{{Crafting/sandbox2
|grilled_cheese_sandwich
}}
}}


==Distribution==
==Distribution==
Cheese sandwiches can be found in cafeterias and fridges.  
The loot distributions can be found in the table(s) below.
 
<!--BOT FLAG|CheeseSandwich|41.78.16-->
{{Clear}}
<div class="togglebox theme-red">
    <div>CheeseSandwich distribution
        <span class="mw-customtoggle-togglebox-CheeseSandwich" 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-CheeseSandwich">
    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
    |-
    | Bag_Satchel
    | {{ll|Bag_Satchel}}
    | 12.41%
    |-
    | Lunchbag
    | {{ll|Lunchbag}}
    | 12.41%
    |-
    | Lunchbox
    | {{ll|Lunchbox}}
    | 12.41%
    |-
    | Lunchbox2
    | {{ll|Lunchbox2}}
    | 12.41%
    |-
    | bandkitchen
    | {{ll|fridge}}
    | 10.78%
    |-
    | cafeteria
    | {{ll|displaycasebakery}}
    | 23.28%
    |-
    | cafeteria
    | {{ll|displaycasebakery}}
    | 41.14%
    |-
    | camping
    | {{ll|fridge}}
    | 23.28%
    |-
    | conveniencestore
    | {{ll|fridge}}
    | 23.28%
    |-
    | cornerstore
    | {{ll|fridge}}
    | 23.28%
    |-
    | fossoil
    | {{ll|fridge}}
    | 23.28%
    |-
    | gasstore
    | {{ll|fridge}}
    | 23.28%
    |-
    | generalstore
    | {{ll|fridge}}
    | 23.28%
    |-
    | generalstorestorage
    | {{ll|fridge}}
    | 23.28%
    |-
    | gigamart
    | {{ll|fridge}}
    | 23.28%
    |-
    | grocery
    | {{ll|fridge}}
    | 23.28%
    |-
    | grocerystorage
    | {{ll|fridge}}
    | 23.28%
    |-
    | pharmacy
    | {{ll|fridge}}
    | 23.28%
    |-
    | zippeestore
    | {{ll|fridge}}
    | 23.28%
    |}
</div>
    </div><div style="clear: both;"></div>
    </div></div><div class="toggle large mw-customtoggle-togglebox-CheeseSandwich" title="{{int:show}}/{{int:hide}}"></div></div>
<!--END BOT FLAG|CheeseSandwich|41.78.16-->
 
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,
}
}}
}}


== Code ==
'''''From items_food.txt (Project Zomboid directory/media/scripts/)'''''
{{Retrieved|version=41|incver=68}}
<pre>    item CheeseSandwich
    {
        DisplayCategory = Food,
        HungerChange = -50,
        Weight = 0.3,
        Type = Food,
        DisplayName = Cheese Sandwich,
        Icon = Sandwich_cheese,
        DaysFresh = 2,
        DaysTotallyRotten = 4,
        Carbohydrates = 0.93,
        Proteins = 8.4,
        Lipids = 12.37,
        Calories = 135,
        WorldStaticModel = CheeseSandwich,
    }</pre>


==See also==
==See also==
Line 68: Line 276:
*[[Burger]]
*[[Burger]]


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

Latest revision as of 12:21, 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]
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 Ingredients Tools Requirements Workstation XP
Sandwich cheese.png
Cheese Sandwich
One of:
Cheese.png Cheese ×1
Processedcheese.png Processed Cheese ×1
Each of:
BreadSlices.png Bread Slices ×1
none none none 0.75 Cooking

Cooking

Product Ingredients Tools Requirements Workstation XP
Sandwich grilledcheese.png
Grilled Cheese Sandwich
Sandwich cheese.png Cheese Sandwich ×1 none none Heat source.gif
Heat source
2.5 Cooking

Distribution

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

CheeseSandwich 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
Bag_Satchel Bag_Satchel 12.41%
Lunchbag Lunchbag 12.41%
Lunchbox Lunchbox 12.41%
Lunchbox2 Lunchbox2 12.41%
bandkitchen fridge 10.78%
cafeteria displaycasebakery 23.28%
cafeteria displaycasebakery 41.14%
camping fridge 23.28%
conveniencestore fridge 23.28%
cornerstore fridge 23.28%
fossoil fridge 23.28%
gasstore fridge 23.28%
generalstore fridge 23.28%
generalstorestorage fridge 23.28%
gigamart fridge 23.28%
grocery fridge 23.28%
grocerystorage fridge 23.28%
pharmacy fridge 23.28%
zippeestore fridge 23.28%

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