Sugar: Difference between revisions

From PZwiki
m (Removed unnecessary comma.)
m (Distribution table update)
 
(27 intermediate revisions by 8 users not shown)
Line 1: Line 1:
{{languages}}
{{Header|Project Zomboid|Items|Food|Spices}}
{{header|Project Zomboid|Items|Food|Non-Perishable Food|type=Food|version=Version 41|incver=68}}{{Infobox food
{{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_Model.png
|icon=Sugar.png
|image_width=250px
|icon_name=Sugar
|alternate_image=Sugar.png
|alternate_name=Sugar
|alternate_link=
<!--GENERAL-->
<!--GENERAL-->
|category=Food
|category=Food
Line 14: Line 11:
|max_units=6.25
|max_units=6.25
<!--NUTRITION-->
<!--NUTRITION-->
|hunger_change=-6
|hunger_change=-30
|calories=387
|calories=387
|lipids=0
|lipids=0
|proteins=0
|proteins=0
|carbohydrates=100
|carbohydrates=100
<!--COOKING-->
|spice=True
<!--TECHNICAL DETAILS-->
<!--TECHNICAL DETAILS-->
|class_name=Base.Sugar
|item_id=Base.Sugar
}}'''Sugar''' is a [[Food#Non-Perishable|non-perishable]] food [[item]] used in [[cooking]].
}}
'''Sugar''' is a [[Food#Non-Perishable|non-perishable]] 'spice' food [[Items|item]] used in [[cooking]].


==Usage==
==Usage==
Sugar is edible, reducing a small amount of [[Moodles#Hungry|hunger]].  
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 an [[Recipe Ingredients|ingredient]] used in several cooking recipes.
{{Main|Cooking}}


===Cooking===
===What it can make===
{{Crafting header|type=food|ing=7}}
{{Crafting/sandbox2
{{Crafting cooking|108|ing=7}}
|cake_batter
{{Crafting cooking|115|ing=7}}
|muffin_baking_tray_uncooked
|}
|baking_tray_with_chocolate_chip_cookie_uncooked
|baking_tray_with_chocolate_cookie_uncooked
|baking_tray_with_oatmeal_cookie_uncooked
|baking_tray_with_shortbread_cookie_uncooked
|baking_tray_with_sugar_cookie_uncooked
}}
*Sugar is also used in pickling food to preserve it in [[Empty Jar|jars]] for long term storage.
{{Crafting/sandbox2
|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====
===Evolved recipes===
{{EvolvedRecipesForItem|spice=true|hotdrink=1|hotdrinktea=1}}
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}}


===Food preservation===
==Distribution==
Sugar is used in pickling food to preserve it in [[Empty Jar|jars]] for long term storage.  
The loot distributions can be found in the table(s) below.


{{Crafting header|type=food|ing=6}}
<!--BOT FLAG|Sugar|41.78.16-->
{{Crafting cooking|022|ing=6}}
{{clear}}
{{Crafting cooking|023|ing=6}}
<div class="togglebox theme-red">
{{Crafting cooking|024|ing=6}}
    <div>Sugar distribution
{{Crafting cooking|025|ing=6}}
        <span class="mw-customtoggle-togglebox-Sugar" 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>
{{Crafting cooking|026|ing=6}}
    <div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-togglebox-Sugar">
{{Crafting cooking|027|ing=6}}
    <div class="toggle-content"><div style="display: flex;"><div style="float:left;">
{{Crafting cooking|028|ing=6}}
    {| class="wikitable theme-red" style="margin-right:15px; width:95%;"
{{Crafting cooking|029|ing=6}}
    |+ {{ll|Containers}}
{{Crafting cooking|030|ing=6}}
    ! Building / Room
|}
    ! Container
    ! Rolls
    ! Chance
    |-
    | all
    | {{ll|GroceryBag1}}
    | 1
    | 1.0
    |-
    | all
    | {{ll|GroceryBag4}}
    | 1
    | 10.0
    |-
    | all
    | {{ll|GroceryBag4}}
    | 1
    | 50.0
    |-
    | bakerykitchen
    | {{ll|counter}}
    | 4
    | 10.0
    |-
    | bakerykitchen
    | {{ll|crate}}
    | 4
    | 50.0
    |-
    | bakerykitchen
    | {{ll|crate}}
    | 4
    | 10.0
    |-
    | bakerykitchen
    | {{ll|crate}}
    | 4
    | 20.0
    |-
    | burgerkitchen
    | {{ll|counter}}
    | 4
    | 10.0
    |-
    | closet
    | {{ll|crate}}
    | 4
    | 10.0
    |-
    | deepfry_kitchen
    | {{ll|counter}}
    | 4
    | 10.0
    |-
    | generalstore
    | {{ll|shelves}}
    | 4
    | 10.0
    |-
    | kitchen
    | {{ll|counter}}
    | 4
    | 6.0
    |-
    | westernkitchen
    | {{ll|counter}}
    | 4
    | 10.0
    |}
</div>
    </div><div style="clear:both;"></div>
    </div></div><div class="toggle large mw-customtoggle-togglebox-Sugar" title="{{int:show}}/{{int:hide}}"></div></div>
<!--END BOT FLAG|Sugar|41.78.16-->
Sugar can be found in [[Containers#Kitchen Counter|kitchen counters]].


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


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


{{Navbox_food}}
[[Category:Non-perishable food]]

Latest revision as of 16:45, 24 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.

Sugar distribution Show / Hide
Containers
Building / Room Container Rolls Chance
all GroceryBag1 1 1.0
all GroceryBag4 1 10.0
all GroceryBag4 1 50.0
bakerykitchen counter 4 10.0
bakerykitchen crate 4 50.0
bakerykitchen crate 4 10.0
bakerykitchen crate 4 20.0
burgerkitchen counter 4 10.0
closet crate 4 10.0
deepfry_kitchen counter 4 10.0
generalstore shelves 4 10.0
kitchen counter 4 6.0
westernkitchen counter 4 10.0

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