Sugar: Difference between revisions

From PZwiki
m (Automated Formatting)
(30 intermediate revisions by 10 users not shown)
Line 1: Line 1:
{{languages|Sugar}}
{{Header|Project Zomboid|Items|Food|Spices}}
{{header|Project Zomboid|Items|Food|Non-Perishable Food|type=Food|version=Version 40|incver=7}}{{Infobox drainable
{{Page version|41.78.16}}
|display_name=Sugar
{{Infobox item
|name_colour=Food
|name=Sugar
|name_text_colour=Food
|model=Sugar_Model.png
|image=Sugar_120px.png
|icon=Sugar.png
|weight=1
|icon_name=Sugar
|function=[[Cooking]] ingredient
<!--GENERAL-->
|category=Food
|weight=0.6
|max_units=6.25
|max_units=6.25
|class_name=Base.Sugar
<!--NUTRITION-->
}}'''Sugar''' is a [[Food#Non-Perishable|non-perishable]], drainable [[item]] used in [[cooking]].
|hunger_change=-30
|calories=387
|lipids=0
|proteins=0
|carbohydrates=100
<!--TECHNICAL DETAILS-->
|item_id=Base.Sugar
}}
'''Sugar''' is a [[Food#Non-Perishable|non-perishable]] 'spice' food [[Items|item]] used in [[cooking]].


==Usage==
==Usage==
Sugar is inedible and is only used in [[cooking]].
Sugar can be eaten raw, reducing a small amount of [[Hungry|hunger]]. Sugar is more effective when used as [[cooking]] [[Recipe ingredients|ingredient]], as all negative effects are removed.


== Crafting ==
==Crafting==
Sugar is a cooking [[Recipe Ingredients|ingredient]].
{{Main|Cooking}}
===Cooking===
{{Cooking table header}}
{{RecipeLookup|2003}}
{{RecipeLookup|2039}}
{{Crafting table footer}}
====Evolved recipes====
{{EvolvedRecipesForItem|hotdrink=1}}


===Food preservation===
===What it can make===
Sugar is used in pickling food to preserve it in [[Empty Jar|jars]] for long term storage.  
{{Crafting/sandbox2
{{Cooking table header}}
|cake_batter
{{RecipeLookup|2053}}
|muffin_baking_tray_uncooked
{{RecipeLookup|2054}}
|baking_tray_with_chocolate_chip_cookie_uncooked
{{RecipeLookup|2055}}
|baking_tray_with_chocolate_cookie_uncooked
{{RecipeLookup|2056}}
|baking_tray_with_oatmeal_cookie_uncooked
{{RecipeLookup|2057}}
|baking_tray_with_shortbread_cookie_uncooked
{{RecipeLookup|2058}}
|baking_tray_with_sugar_cookie_uncooked
{{RecipeLookup|2059}}
}}
{{RecipeLookup|2060}}
*Sugar is also used in pickling food to preserve it in [[Empty Jar|jars]] for long term storage.
{{RecipeLookup|2061}}
{{Crafting/sandbox2
{{Crafting table footer}}
|jar_of_bell_peppers
|jar_of_broccoli
|jar_of_cabbage
|jar_of_carrots
|jar_of_eggplants
|jar_of_leeks
|jar_of_potatoes
|jar_of_red_radishes
|jar_of_tomatoes
}}
 
===Evolved recipes===
Sugar is a spice when used in [[cooking]] [[Recipe ingredients|recipes]], therefore will not be included in the maximum number of ingredients.
{{EvolvedRecipesForItem|spice=true|toast=1|oatmeal=1|beverage=1}}


==Distribution==
==Distribution==
Sugar can be found in [[Containers#Kitchen_Counter|kitchen counters]].  
The loot distributions can be found in the table(s) below.
 
{| class="mw-collapsible mw-collapsed wikitable theme-red" data-expandtext="{{int:show}}" data-collapsetext="{{int:hide}}" style="text-align:center; min-width:24em;"
! colspan="4" | Containers
|-
! Building/Room
! Container
! style="width: 3.2em;" | Rolls
! style="width: 3.2em;" | Chance
|-
|rowspan="7"|bakerykitchen
|[[counter]]
|4
|1
|-
|[[counter]]
|4
|6
|-
|[[crate]]
|4
|1
|-
|[[crate]]
|4
|1
|-
|[[crate]]
|4
|2
|-
|[[crate]]
|4
|2
|-
|[[crate]]
|4
|5
|-
|burgerkitchen
|[[counter]]
|4
|1
|-
|closet
|[[crate]]
|4
|1
|-
|deepfry_kitchen
|[[counter]]
|4
|1
|-
|generalstore
|[[shelves]]
|4
|1
|-
|kitchen
|[[counter]]
|4
|6
|-
|westernkitchen
|[[counter]]
|4
|1
|}
Sugar can be found in [[Containers#Kitchen Counter|kitchen counters]].


== Code ==
==Code==
'''''From items.txt (Project Zomboid directory/media/scripts/)'''''
{{CodeBox
{{Retrieved|version=40|incver=7}}
| {{CodeSnip
<pre> item Sugar
  | lang = java
Weight = 1,
  | line = true
Type = Drainable,
  | start = 5137
UseWhileEquipped = FALSE,
  | source = items_food.txt
UseDelta = 0.16,
  | retrieved = true
DisplayName = Sugar,
  | version = 41.78.16
Icon = Sugar,</pre>
  | code =
item Sugar
{
DisplayName = Sugar,
DisplayCategory = Food,
Type = Food,
Weight = 0.6,
WeightEmpty = 0.1,
Icon = Sugar,
EvolvedRecipe = HotDrink:1;HotDrinkRed:1;HotDrinkWhite:1;HotDrinkSpiffo:1;HotDrinkTea:1;Toast:1;Oatmeal:1;Beverage:1;Beverage2:1,
Spice = true,
UseDelta = 0.16,
UseWhileEquipped = FALSE,
HungerChange = -30,
Calories = 387,
Carbohydrates = 100,
Lipids = 0,
Proteins = 0,
WorldStaticModel = Sugar,
Tags = Sugar,
FoodType = Sugar,
}
}}
}}


== See also ==
==See also==
*[[Yeast]]
*[[Yeast]]
*[[Flour]]
*[[Flour]]
*[[Cooking|Cooking Guide]]
*[[Cooking]]
 
{{Navbox items|miscellaneous_food}}
 


{{Navbox/Consumables}}
[[Category:Non-perishable food]]

Revision as of 12:31, 14 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]
Sugar
Sugar Model.png
General
Category
Food
Encumbrance
Moodle Icon HeavyLoad.png
0.6
Properties
Capacity
6.25 units
Nutrition
HungerMoodle Icon Hungry.png
-30
CaloriesCalories
387
CarbohydratesCarbohydrates
100
ProteinsProteins
0
FatFat
0
Technical
Item ID
Base.Sugar

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

Usage

Sugar can be eaten raw, reducing a small amount of hunger. Sugar is more effective when used as cooking ingredient, as all negative effects are removed.

Crafting

Main article: Cooking

What it can make

Product Ingredients Tools Requirements Workstation XP
CakeBatter.png
Cake Batter
One of:
Fork.png Fork ×1
Spatula.png Spatula ×1
Spoon.png Spoon ×1
Each of:
Bowl.png Bowl ×1
Butter.png Butter ×15 unit(s)
Yeast.png Yeast ×1
Milk.png Milk ×1
none
Profession chef2.png
Chef occupation
(or)
Trait cook.png
Cook trait
(or)
MagazineFood.png
Good Cooking Magazine Vol.1
none 2.5 Cooking
Muffintray Batter.png
Muffin Baking Tray (Uncooked)
One of:
Fork.png Fork ×1
Spatula.png Spatula ×1
Spoon.png Spoon ×1
One of:
OilOlive.png Olive Oil ×1
OilVegetable.png Vegetable Oil ×1
Lard.png Lard ×1
Butter.png Butter ×1
Margarine.png Margarine ×1
One of:
Cornflour.png Corn Flour ×1
Flour.png Flour ×1
Each of:
Muffintray.png Muffin Tray ×1
Bowl.png Empty Bowl ×1
Egg.png Egg (tag) ×2
SugarBrown.png Sugar (tag) ×1
none none none 0.75 Cooking
BakingTray CookiesBaked.png
Baking Tray with Chocolate Chip Cookie (Uncooked)
One of:
Fork.png Fork ×1
Spatula.png Spatula ×1
Spoon.png Spoon ×1
One of:
OilOlive.png Olive Oil ×1
OilVegetable.png Vegetable Oil ×1
Lard.png Lard ×1
Butter.png Butter ×1
Margarine.png Margarine ×1
Each of:
Bowl.png Empty Bowl ×1
RollingPin.png Rolling Pin ×1
BakingTray.png Baking Tray ×1
BakingSoda.png Baking Soda ×1
ChocolateChips.png Chocolate Chips ×6
Egg.png Egg (tag) ×2
Flour.png Flour ×1 unit(s)
WaterDrop.png Water ×1 unit(s)
none
Profession chef2.png
Chef occupation
(or)
Trait cook.png
Cook trait
(or)
MagazineFood.png
Good Cooking Magazine Vol.1
none 0.75 Cooking
BakingTray CookiesBaked.png
Baking Tray with Chocolate Cookie (Uncooked)
One of:
Fork.png Fork ×1
Spatula.png Spatula ×1
Spoon.png Spoon ×1
One of:
OilOlive.png Olive Oil ×1
OilVegetable.png Vegetable Oil ×1
Lard.png Lard ×1
Butter.png Butter ×1
Margarine.png Margarine ×1
Each of:
Bowl.png Empty Bowl ×1
RollingPin.png Rolling Pin ×1
BakingTray.png Baking Tray ×1
BakingSoda.png Baking Soda ×1
CocoaPowder.png Cocoa Powder ×10 unit(s)
Egg.png Egg (tag) ×2
Flour.png Flour ×1
WaterDrop.png Water ×1 unit(s)
none
Profession chef2.png
Chef occupation
(or)
Trait cook.png
Cook trait
(or)
MagazineFood.png
Good Cooking Magazine Vol.1
none 0.75 Cooking
BakingTray CookiesBaked.png
Baking Tray with Oatmeal Cookie (Uncooked)
One of:
Fork.png Fork ×1
Spatula.png Spatula ×1
Spoon.png Spoon ×1
One of:
OilOlive.png Olive Oil ×1
OilVegetable.png Vegetable Oil ×1
Lard.png Lard ×1
Butter.png Butter ×1
Margarine.png Margarine ×1
Each of:
Bowl.png Empty Bowl ×1
RollingPin.png Rolling Pin ×1
BakingTray.png Baking Tray ×1
BakingSoda.png Baking Soda ×1
OatsRaw.png Can of Oats ×10 unit(s)
Egg.png Egg (tag) ×2
Flour.png Flour ×1 unit(s)
WaterDrop.png Water ×1 unit(s)
none
Profession chef2.png
Chef occupation
(or)
Trait cook.png
Cook trait
(or)
MagazineFood.png
Good Cooking Magazine Vol.1
none 0.75 Cooking
BakingTray CookiesBaked.png
Baking Tray with Shortbread Cookie (Uncooked)
One of:
Fork.png Fork ×1
Spatula.png Spatula ×1
Spoon.png Spoon ×1
Each of:
Bowl.png Empty Bowl ×1
RollingPin.png Rolling Pin ×1
BakingTray.png Baking Tray ×1
Butter.png Butter ×4 unit(s)
SugarBrown.png Sugar (tag) ×1
WaterDrop.png Water ×1 unit(s)
none
Profession chef2.png
Chef occupation
(or)
Trait cook.png
Cook trait
(or)
MagazineFood.png
Good Cooking Magazine Vol.1
none 0.75 Cooking
BakingTray CookiesBaked.png
Baking Tray with Sugar Cookie (Uncooked)
One of:
Fork.png Fork ×1
Spatula.png Spatula ×1
Spoon.png Spoon ×1
One of:
OilOlive.png Olive Oil ×1
OilVegetable.png Vegetable Oil ×1
Lard.png Lard ×1
Butter.png Butter ×1
Margarine.png Margarine ×1
Each of:
Bowl.png Empty Bowl ×1
RollingPin.png Rolling Pin ×1
BakingTray.png Baking Tray ×1
BakingSoda.png Baking Soda ×1
Egg.png Egg (tag) ×2
Flour.png Flour ×1 unit(s)
WaterDrop.png Water ×1 unit(s)
none
Profession chef2.png
Chef occupation
(or)
Trait cook.png
Cook trait
(or)
MagazineFood.png
Good Cooking Magazine Vol.1
none 0.75 Cooking
  • Sugar is also used in pickling food to preserve it in jars for long term storage.
Product Ingredients Tools Requirements Workstation XP
JarBrown.png
Jar of Bell Peppers
One of:
SugarBrown.png Brown Sugar ×1
Sugar.png Sugar ×1
SugarPacket.png Sugar Packet ×1
Each of:
JarEmpty2.png Jar ×1
JarLid.png Jar Lid ×1
BellPepper.png Bell Pepper ×5
WaterDrop.png Water ×10 unit(s)
Vinegar.png Vinegar ×2 unit(s)
none none none 2.5 Cooking
JarGreen.png
Jar of Broccoli
One of:
SugarBrown.png Brown Sugar ×1
Sugar.png Sugar ×1
SugarPacket.png Sugar Packet ×1
Each of:
JarEmpty2.png Jar ×1
JarLid.png Jar Lid ×1
Broccoli.png Broccoli ×5
WaterDrop.png Water ×10 unit(s)
Vinegar.png Vinegar ×2 unit(s)
none none none 2.5 Cooking
JarGreen.png
Jar of Cabbage
One of:
SugarBrown.png Brown Sugar ×1
Sugar.png Sugar ×1
SugarPacket.png Sugar Packet ×1
Each of:
JarEmpty2.png Jar ×1
JarLid.png Jar Lid ×1
Cabbage.png Cabbage ×3
WaterDrop.png Water ×10 unit(s)
Vinegar.png Vinegar ×2 unit(s)
none none none 2.5 Cooking
JarBrown.png
Jar of Carrots
One of:
SugarBrown.png Brown Sugar ×1
Sugar.png Sugar ×1
SugarPacket.png Sugar Packet ×1
Each of:
JarEmpty2.png Jar ×1
JarLid.png Jar Lid ×1
Carrots.png Carrots ×5
WaterDrop.png Water ×10 unit(s)
Vinegar.png Vinegar ×2 unit(s)
none none none 2.5 Cooking
JamPurple.png
Jar of Eggplants
One of:
SugarBrown.png Brown Sugar ×1
Sugar.png Sugar ×1
SugarPacket.png Sugar Packet ×1
Each of:
JarEmpty2.png Jar ×1
JarLid.png Jar Lid ×1
Eggplant.png Eggplant ×5
WaterDrop.png Water ×10 unit(s)
Vinegar.png Vinegar ×2 unit(s)
none none none 2.5 Cooking
JarWhite.png
Jar of Leeks
One of:
SugarBrown.png Brown Sugar ×1
Sugar.png Sugar ×1
SugarPacket.png Sugar Packet ×1
Each of:
JarEmpty2.png Jar ×1
JarLid.png Jar Lid ×1
Leek.png Leek ×5
WaterDrop.png Water ×10 unit(s)
Vinegar.png Vinegar ×2 unit(s)
none none none 2.5 Cooking
JarWhite.png
Jar of Potatoes
One of:
SugarBrown.png Brown Sugar ×1
Sugar.png Sugar ×1
SugarPacket.png Sugar Packet ×1
Each of:
JarEmpty2.png Jar ×1
JarLid.png Jar Lid ×1
Potato.png Potato ×5
WaterDrop.png Water ×10 unit(s)
Vinegar.png Vinegar ×2 unit(s)
none none none 2.5 Cooking
JarBrown.png
Jar of Radishes
One of:
SugarBrown.png Brown Sugar ×1
Sugar.png Sugar ×1
SugarPacket.png Sugar Packet ×1
Each of:
JarEmpty2.png Jar ×1
JarLid.png Jar Lid ×1
Radish.png Radish ×5
WaterDrop.png Water ×10 unit(s)
Vinegar.png Vinegar ×2 unit(s)
none none none 2.5 Cooking
JarBrown.png
Jar of Tomatoes
One of:
SugarBrown.png Brown Sugar ×1
Sugar.png Sugar ×1
SugarPacket.png Sugar Packet ×1
Each of:
JarEmpty2.png Jar ×1
JarLid.png Jar Lid ×1
Tomato.png Tomato ×5
WaterDrop.png Water ×10 unit(s)
Vinegar.png Vinegar ×2 unit(s)
none none none 2.5 Cooking

Evolved recipes

Sugar is a spice when used in cooking recipes, therefore will not be included in the maximum number of ingredients.

Product Nutrition
Oatmeal
Oatmeal
1
Beverage
Beverage
1
Toast
Toast
1

Distribution

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

Containers
Building/Room Container Rolls Chance
bakerykitchen counter 4 1
counter 4 6
crate 4 1
crate 4 1
crate 4 2
crate 4 2
crate 4 5
burgerkitchen counter 4 1
closet crate 4 1
deepfry_kitchen counter 4 1
generalstore shelves 4 1
kitchen counter 4 6
westernkitchen counter 4 1

Sugar can be found in kitchen counters.

Code

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

Source: ProjectZomboid\media\scripts\items_food.txt

Retrieved: Build 41.78.16
item Sugar
	{
		DisplayName = Sugar,
		DisplayCategory = Food,
		Type = Food,
		Weight = 0.6,
		WeightEmpty = 0.1,
		Icon = Sugar,
		EvolvedRecipe = HotDrink:1;HotDrinkRed:1;HotDrinkWhite:1;HotDrinkSpiffo:1;HotDrinkTea:1;Toast:1;Oatmeal:1;Beverage:1;Beverage2:1,
		Spice = true,
		UseDelta = 0.16,
		UseWhileEquipped = FALSE,
		HungerChange = -30,
		Calories = 387,
		Carbohydrates = 100,
		Lipids = 0,
		Proteins = 0,
		WorldStaticModel = Sugar,
		Tags = Sugar,
		FoodType = Sugar,
	}

See also