Cheese Sandwich: Difference between revisions

From PZwiki
m (changed weight from 0.2 to 0.3)
(updated to 41.68 + added model + navbox)
Line 1: Line 1:
{{languages}}
{{languages}}
{{header|Project Zomboid|Items|Food|Perishable Food|type=Food|version=Version 40|incver=7}}{{Infobox food
{{header|Project Zomboid|Items|Food|Perishable Food|type=Food|version=Version 41|incver=68}}{{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=Sandwich_cheese_120px.png
|image=CheeseSandwich_Model.png
|image_width=150px
|alternate_image=Sandwich_cheese.png
|alternate_name=Cheese Sandwich
|alternate_link=
<!--GENERAL-->
<!--GENERAL-->
|category=Food
|category=Food
Line 16: Line 20:
|proteins=8.4
|proteins=8.4
|carbohydrates=0.93
|carbohydrates=0.93
<!--EFFECT-->
|boredom_change=-10
<!--TECHNICAL DETAILS-->
<!--TECHNICAL DETAILS-->
|class_name=Base.CheeseSandwich
|class_name=Base.CheeseSandwich
Line 28: Line 30:
{{Consumables2
{{Consumables2
|image = Sandwich_cheese.png
|image = Sandwich_cheese.png
|rotten image = Sandwich_cheese.png
|hunger = -50
|hunger = -50
|boredom = -10
|unrotten hunger = -38
|unrotten hunger = -38
|unrotten unhappiness = +10
|unrotten unhappiness = +10
|unrotten_boredom = +10
|rotten hunger = -23
|rotten hunger = -23
|rotten boredom = +20
|rotten boredom = +20
|rotten unhappiness = +20
|rotten unhappiness = +20
|perishable = 1
|perishable = 1
|rotten image = Sandwich_cheese.png
}}
}}


==Distribution==
==Distribution==
Cheese sandwiches can be found in bakery [[Containers#Displays|display cases]].  
Cheese sandwiches can be found in cafeterias and fridges.  


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


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


{{Navbox/Consumables}}
{{Navbox_food}}

Revision as of 05:01, 14 March 2022

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

A cheese sandwich is a perishable food item.

Usage

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. Template:Consumables2

Distribution

Cheese sandwiches can be found in cafeterias and fridges.

Code

From items_food.txt (Project Zomboid directory/media/scripts/) Retrieved: Build 41.68

    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,
    }

See also