Sugar: Difference between revisions

From PZwiki
(updated to build 41, now edible)
Line 1: Line 1:
{{languages|Sugar}}
{{languages|Sugar}}
{{header|Project Zomboid|Items|Food|Non-Perishable Food|type=Food|version=Version 40|incver=7}}{{Infobox drainable
{{header|Project Zomboid|Items|Food|Non-Perishable Food|type=Food|version=Version 41|incver=43}}{{Infobox food
|display_name=Sugar
|display_name=Sugar
|name_colour=Food
|name_colour=Food
|name_text_colour=Food
|name_text_colour=Food
|image=Sugar_120px.png
|image=Sugar_120px.png
|weight=1
|image_width=120px
|function=[[Cooking]] ingredient
|alternate_image=Sugar.png
<!--GENERAL-->
|category=Food
|weight=0.6<br>Empty: 0.1
|max_units=6.25
|max_units=6.25
<!--NUTRITION-->
|hunger_change=-6
|calories=387
|lipids=0
|proteins=0
|carbohydrates=100
<!--COOKING-->
|cook_minutes=
|burn_minutes=
|dangerous_uncooked=
|bad_microwaved=
|good_hot=
|bad_cold=
|spice=True
<!--TECHNICAL DETAILS-->
|class_name=Base.Sugar
|class_name=Base.Sugar
}}'''Sugar''' is a [[Food#Non-Perishable|non-perishable]], drainable [[item]] used in [[cooking]].
}}'''Sugar''' is a [[Food#Non-Perishable|non-perishable]], food [[item]] used in [[cooking]].


==Usage==
==Usage==
Sugar is inedible and is only used in [[cooking]].
As of [[build 41]], sugar is edible, reducing a small amount of [[Moodles#Hungry|hunger]].  


== Crafting ==
== Crafting ==
Line 43: Line 61:
== Code ==
== Code ==
'''''From items.txt (Project Zomboid directory/media/scripts/)'''''
'''''From items.txt (Project Zomboid directory/media/scripts/)'''''
{{Retrieved|version=40|incver=7}}
{{Retrieved|version=41|incver=43}}
<pre> item Sugar
<pre> item Sugar
Weight = 1,
Weight = 0.6,
Type = Drainable,
Type = Food,
UseWhileEquipped = FALSE,
UseWhileEquipped = FALSE,
UseDelta = 0.16,
UseDelta = 0.16,
DisplayName = Sugar,
DisplayName = Sugar,
Icon = Sugar,</pre>
Icon = Sugar,
EvolvedRecipe = HotDrink:1,
WeightEmpty = 0.1,
Spice = true,
HungerChange = -6,
Carbohydrates = 100,
        Proteins = 0,
        Lipids = 0,
        Calories = 387,</pre>


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

Revision as of 15:41, 27 September 2020

Sugar
Sugar
Sugar.png
General
Category Food
Encumbrance
Heavy Load
0.6
Empty: 0.1
Capacity 6.25 units
Nutrition
Hunger
Hunger
-6
Calories
Calories
387
Carbohydrates
Carbohydrates
100
Proteins
Proteins
0
Fat
Fat
0
Spice True
Technical details
Item ID Base.Sugar

Sugar is a non-perishable, food item used in cooking.

Usage

As of build 41, sugar is edible, reducing a small amount of hunger.

Crafting

Sugar is a cooking ingredient.

Cooking

Template:Cooking table header |- |
| | | ||
||
||
||
||
||
||
||
||
||
||
|- |
| | | ||
||
||
||
||
||
||
||
||
||
||
Template:Crafting table footer

Evolved recipes

Product Nutrition
Beverage
Beverage
1

Food preservation

Sugar is used in pickling food to preserve it in jars for long term storage. Template:Cooking table header |- |
| | | ||
||
||
||
||
||
||
||
||
||
||
|- |
| | | ||
||
||
||
||
||
||
||
||
||
||
|- |
| | | ||
||
||
||
||
||
||
||
||
||
||
|- |
| | | ||
||
||
||
||
||
||
||
||
||
||
|- |
| | | ||
||
||
||
||
||
||
||
||
||
||
|- |
| | | ||
||
||
||
||
||
||
||
||
||
||
|- |
| | | ||
||
||
||
||
||
||
||
||
||
||
|- |
| | | ||
||
||
||
||
||
||
||
||
||
||
|- |
| | | ||
||
||
||
||
||
||
||
||
||
||
Template:Crafting table footer

Distribution

Sugar can be found in kitchen counters.

Code

From items.txt (Project Zomboid directory/media/scripts/) Retrieved: Build 41.43

	item Sugar
		Weight 			= 0.6,
		Type 			= Food,
		UseWhileEquipped 	= FALSE,
		UseDelta 		= 0.16,
		DisplayName 		= Sugar,
		Icon 			= Sugar,
		EvolvedRecipe 		= HotDrink:1,
		WeightEmpty 		= 0.1,
		Spice 			= true,
		HungerChange 		= -6,
		Carbohydrates 		= 100,
        	Proteins 		= 0,
        	Lipids 			= 0,
        	Calories 		= 387,

See also

Template:Navbox/Consumables