Maple Syrup: Difference between revisions

From PZwiki
(→‎top: New infobox upgrade - Food)
(→‎Code: CodeBox update)
Line 38: Line 38:


==Code==
==Code==
'''''From items_food.txt (Project Zomboid directory/media/scripts/)'''''
{{CodeBox
{{Retrieved|version=41.73}}
| {{CodeSnip
<pre>
  | lang = java
        item MapleSyrup
  | line = false
{
  | source = items_food.txt
DisplayName = Maple Syrup,
  | retrieved = true
DisplayCategory = Food,
  | version = 41
Type = Food,
  | incver = 73
Weight = 0.2,
  | code =
Icon = MapleSyrup,
item MapleSyrup
CantBeFrozen = TRUE,
{
EvolvedRecipe = Pancakes:3;Waffles:3;ConeIcecream:3;Oatmeal:3;Beverage:3;Beverage2:3;Oatmeal:3,
    DisplayName             = Maple Syrup,
Packaged = TRUE,
    DisplayCategory         = Food,
Spice = true,
    Type                   = Food,
HungerChange = -45,
    Weight                 = 0.2,
UnhappyChange = -20,
    Icon                   = MapleSyrup,
Calories = 1100,
    CantBeFrozen           = TRUE,
Carbohydrates = 270,
    EvolvedRecipe           = Pancakes:3;Waffles:3;ConeIcecream:3;Oatmeal:3;Beverage:3;Beverage2:3;Oatmeal:3,
Lipids = 0,
    Packaged               = TRUE,
Proteins = 0,
    Spice                   = true,
WorldStaticModel = MapleSyrup_Ground,
    HungerChange           = -45,
FoodType = NoExplicit,
    UnhappyChange           = -20,
}
    Calories               = 1100,
</pre>
    Carbohydrates           = 270,
    Lipids                 = 0,
    Proteins               = 0,
    WorldStaticModel       = MapleSyrup_Ground,
    FoodType               = NoExplicit,
}
  }}
}}


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

Revision as of 11:23, 31 January 2024

Template:Header/sandbox2

Spiffo controlyourself.png
This page was last updated for an older version (41.73).
The current stable version is 41.78.16, released 2022-12-12, so information on this page may be inaccurate. Help get this page updated by adding any missing content. [edit]
Please update the version after updating the page.
Maple Syrup
MapleSyrup Model.png
General
Category
Food
Encumbrance
Moodle Icon HeavyLoad.png
0.2
Properties
Packaged
Yes
Nutrition
HungerMoodle Icon Hungry.png
-45
ThirstMoodle Icon Thirsty.png
0
CaloriesCalories
1100
CarbohydratesCarbohydrates
270
ProteinsProteins
0
FatFat
0
Effect
UnhappinessMoodle Icon Unhappy.png
-20
Technical
Item ID
Base.MapleSyrup

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

Usage

Maple syrup can be eaten raw, providing the player with some positive and negative effects. Maple syrup is more effective when used as cooking ingredient, as all negative effects are removed.

Crafting

Main article: Cooking

Evolved recipes

Maple syrup is a condiment when used in cooking recipes, therefore will not be included in the maximum number of ingredients.

Product Nutrition
Pancakes
Pancakes
3
Waffles
Waffles
3
Oatmeal
Oatmeal
3
Ice Cream Cone
Ice Cream Cone
3
Beverage
Beverage
3

Distribution

Maple syrup can be found in kitchen counters and refrigerators.

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.73
item MapleSyrup
{
    DisplayName             = Maple Syrup,
    DisplayCategory         = Food,
    Type                    = Food,
    Weight                  = 0.2,
    Icon                    = MapleSyrup,
    CantBeFrozen            = TRUE,
    EvolvedRecipe           = Pancakes:3;Waffles:3;ConeIcecream:3;Oatmeal:3;Beverage:3;Beverage2:3;Oatmeal:3,
    Packaged                = TRUE,
    Spice                   = true,
    HungerChange            = -45,
    UnhappyChange           = -20,
    Calories                = 1100,
    Carbohydrates           = 270,
    Lipids                  = 0,
    Proteins                = 0,
    WorldStaticModel        = MapleSyrup_Ground,
    FoodType                = NoExplicit,
}

See also