Orange Soda: Difference between revisions

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


==Code==
==Code==
'''''From items_food.txt (Project Zomboid directory/media/scripts/)'''''
{{CodeBox
{{Retrieved|version=41.68}}
| {{CodeSnip
<pre>
  | lang = java
item PopBottle
  | line = false
{
  | start =
DisplayCategory = Food,
  | source = items_food.txt
HungerChange = -12,
  | retrieved = true
Weight = 0.8,
  | version = 41
Type = Food,
  | incver = 68
UnhappyChange = -10,
  | code =
ThirstChange = -85,
item PopBottle
DisplayName = Orange Soda,
{
ReplaceOnUse = PopBottleEmpty,
    DisplayCategory     = Food,
Icon = Pop4,
    HungerChange       = -12,
CustomContextMenu = Drink,
    Weight             = 0.8,
CustomEatSound = DrinkingFromBottlePlastic,
    Type               = Food,
        Carbohydrates = 104,
    UnhappyChange       = -10,
        Proteins = 0,
    ThirstChange       = -85,
        Lipids = 0,
    DisplayName         = Orange Soda,
        Calories = 400,
    ReplaceOnUse       = PopBottleEmpty,
        Packaged = TRUE,
    Icon               = Pop4,
        CantBeFrozen = TRUE,
    CustomContextMenu   = Drink,
         StaticModel = PopBottle,
    CustomEatSound     = DrinkingFromBottlePlastic,
        EatType = bottle,
    Carbohydrates       = 104,
        WorldStaticModel = PopBottleWorld,
    Proteins           = 0,
}
    Lipids             = 0,
</pre>
    Calories           = 400,
    Packaged           = TRUE,
    CantBeFrozen       = TRUE,
    StaticModel         = PopBottle,
    EatType             = bottle,
    WorldStaticModel   = PopBottleWorld,
}
  }}
}}


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

Revision as of 02:20, 1 February 2024

Template:Header/sandbox2

Spiffo controlyourself.png
This page was last updated for an older version (41.68).
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.
Orange Soda
PopBottle Model.png
Empty Orange Soda Bottle Water Bottle (Orange Soda)
Water Bottle Water Bottle (Orange Soda)
General
Category
Food
Encumbrance
Moodle Icon HeavyLoad.png
0.8
Properties
Packaged
True
Nutrition
HungerMoodle Icon Hungry.png
-12
ThirstMoodle Icon Thirsty.png
-85
CaloriesCalories
400
CarbohydratesCarbohydrates
104
ProteinsProteins
0
FatFat
0
Effect
UnhappinessMoodle Icon Unhappy.png
-10
Technical
Item ID
Base.PopBottle
Have you tried new Orange-Lite Pop?
The ice-cold, all-American taste of pure refreshment!
Quench your thirst!
Energize your being!
— In-game radio

Orange soda is a non-perishable drinkable food item.

Usage

Bottles of orange soda can be consumed, providing the player with some positive effects, including reducing unhappiness. Once fully consumed, an empty orange soda bottle will be left.

Unlike bottles of water, it has to be drunk manually to satiate thirst.

Distribution

Bottles of orange soda can be found in Pop vending machines, offices, Spiffo's, bars, motel rooms, restaurants, some refrigerators, theatres, and candy stores.

Evolved recipes

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

Product Nutrition
Beverage
Beverage
6
Toast
Toast
1

Gallery

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.68
item PopBottle
{
    DisplayCategory     = Food,
    HungerChange        = -12,
    Weight              = 0.8,
    Type                = Food,
    UnhappyChange       = -10,
    ThirstChange        = -85,
    DisplayName         = Orange Soda,
    ReplaceOnUse        = PopBottleEmpty,
    Icon                = Pop4,
    CustomContextMenu   = Drink,
    CustomEatSound      = DrinkingFromBottlePlastic,
    Carbohydrates       = 104,
    Proteins            = 0,
    Lipids              = 0,
    Calories            = 400,
    Packaged            = TRUE,
    CantBeFrozen        = TRUE,
    StaticModel         = PopBottle,
    EatType             = bottle,
    WorldStaticModel    = PopBottleWorld,
}

See also