Tortilla Chips: Difference between revisions

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


==Code==
==Code==
'''''From items_food.txt (Project Zomboid directory/media/scripts/)'''''
{{CodeBox
{{Retrieved|version=41.73}}
| {{CodeSnip
<pre>
  | lang = java
item TortillaChips
  | line = false
{
  | source = items_food.txt
DisplayName = Tortilla Chips,
  | retrieved = true
DisplayCategory = Food,
  | version = 41
Type = Food,
  | incver = 73
Weight = 0.2,
  | code =
Icon = TortillaChips,
item TortillaChips
CantBeFrozen = TRUE,
{
Packaged = TRUE,
  DisplayName         = Tortilla Chips,
HungerChange = -15,
  DisplayCategory     = Food,
Calories = 420,
  Type               = Food,
Carbohydrates = 42,
  Weight             = 0.2,
Lipids = 40,
  Icon               = TortillaChips,
Proteins = 2.5,
  CantBeFrozen       = TRUE,
CustomEatSound = EatingCrispy,
  Packaged           = TRUE,
WorldStaticModel = Chips,
  HungerChange       = -15,
WorldStaticModel = TortillaChips_Ground,
  Calories           = 420,
}
  Carbohydrates       = 42,
</pre>
  Lipids             = 40,
  Proteins           = 2.5,
  CustomEatSound     = EatingCrispy,
  WorldStaticModel   = TortillaChips_Ground,
}
  }}
}}


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

Revision as of 08:51, 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.
Tortilla Chips
TortillaChips Model.png
General
Category
Food
Encumbrance
Moodle Icon HeavyLoad.png
0.2
Nutrition
HungerMoodle Icon Hungry.png
-15
CaloriesCalories
420
CarbohydratesCarbohydrates
42
ProteinsProteins
2.5
FatFat
40
Technical
Item ID
Base.TortillaChips

Tortilla chips is a non-perishable food item.

Usage

Tortilla chips can be eaten, providing the player with some positive effects.

Distribution

Tortilla chips can be found in kitchen counters and grocery/food stores.

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 TortillaChips
{
  DisplayName         = Tortilla Chips,
  DisplayCategory     = Food,
  Type                = Food,
  Weight              = 0.2,
  Icon                = TortillaChips,
  CantBeFrozen        = TRUE,
  Packaged            = TRUE,
  HungerChange        = -15,
  Calories            = 420,
  Carbohydrates       = 42,
  Lipids              = 40,
  Proteins            = 2.5,
  CustomEatSound      = EatingCrispy,
  WorldStaticModel    = TortillaChips_Ground,
}

See also