Sugar: Difference between revisions

From PZwiki
m (Update link - avoid redirect)
m (Automated Formatting)
(18 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{Languages}}
{{Header|Project Zomboid|Items|Food|Spices}}
{{header/sandbox2|Project Zomboid|Items|Food|Spices}}
{{Page version|41.78.16}}
{{page version|41.73}}
{{Infobox item
{{Infobox food
|name=Sugar
|display_name=Sugar
|model=Sugar_Model.png
|name_colour=Food
|icon=Sugar.png
|name_text_colour=Food
|icon_name=Sugar
|image=Sugar_Model.png
|image_width=200px
|alternate_image=Sugar.png
|alternate_name=Sugar
<!--GENERAL-->
<!--GENERAL-->
|category=Food
|category=Food
Line 21: Line 17:
|carbohydrates=100
|carbohydrates=100
<!--TECHNICAL DETAILS-->
<!--TECHNICAL DETAILS-->
|class_name=Base.Sugar
|item_id=Base.Sugar
}}
}}
'''Sugar''' is a [[Food#Non-Perishable|non-perishable]] 'spice' food [[item]] used in [[cooking]].  
'''Sugar''' is a [[Food#Non-Perishable|non-perishable]] 'spice' food [[Items|item]] used in [[cooking]].


==Usage==
==Usage==
Sugar can be eaten raw, reducing a small amount of [[Moodles#Hungry|hunger]]. Sugar is more effective when used as [[cooking]] [[Recipe ingredients|ingredient]], as all negative effects are removed.
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==
Line 32: Line 28:


===What it can make===
===What it can make===
{{Crafting header|type=food|ing=11}}
{{Crafting/sandbox2
{{Crafting cooking|108|ing=11}}
|cake_batter
{{Crafting cooking|134|ing=11}}
|muffin_baking_tray_uncooked
{{Crafting cooking|141|ing=11}}
|baking_tray_with_chocolate_chip_cookie_uncooked
{{Crafting cooking|142|ing=11}}
|baking_tray_with_chocolate_cookie_uncooked
{{Crafting cooking|143|ing=11}}
|baking_tray_with_oatmeal_cookie_uncooked
{{Crafting cooking|144|ing=11}}
|baking_tray_with_shortbread_cookie_uncooked
{{Crafting cooking|145|ing=11}}
|baking_tray_with_sugar_cookie_uncooked
|}
}}
*Sugar is also used in pickling food to preserve it in [[Empty Jar|jars]] for long term storage.  
*Sugar is also used in pickling food to preserve it in [[Empty Jar|jars]] for long term storage.
{{Crafting header|type=food|ing=6}}
{{Crafting/sandbox2
{{Crafting cooking|022|ing=6}}
|jar_of_bell_peppers
{{Crafting cooking|023|ing=6}}
|jar_of_broccoli
{{Crafting cooking|024|ing=6}}
|jar_of_cabbage
{{Crafting cooking|025|ing=6}}
|jar_of_carrots
{{Crafting cooking|026|ing=6}}
|jar_of_eggplants
{{Crafting cooking|027|ing=6}}
|jar_of_leeks
{{Crafting cooking|028|ing=6}}
|jar_of_potatoes
{{Crafting cooking|029|ing=6}}
|jar_of_red_radishes
{{Crafting cooking|030|ing=6}}
|jar_of_tomatoes
|}
}}


===Evolved recipes===
===Evolved recipes===
Sugar is a spice when used in [[cooking]] [[Recipe ingredients|recipes]], therefore will not be included in the maximum number of ingredients.
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}}
{{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_food.txt (Project Zomboid directory/media/scripts/)'''''
{{CodeBox
{{Retrieved|version=41.73}}
| {{CodeSnip
<pre>
  | lang = java
item Sugar
  | line = true
  | start = 5137
  | source = items_food.txt
  | retrieved = true
  | version = 41.78.16
  | code =
item Sugar
{
{
DisplayName = Sugar,
DisplayName = Sugar,
Line 86: Line 157:
FoodType = Sugar,
FoodType = Sugar,
}
}
</pre>
}}
}}


==See also==
==See also==
Line 93: Line 165:
*[[Cooking]]
*[[Cooking]]


{{Navbox food}}
{{Navbox items|miscellaneous_food}}
 
 
[[Category:Non-perishable food]]
[[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