Cold Pack: Difference between revisions

From PZwiki
m (→‎Distribution: Fix edit)
(→‎Code: Codebox Update)
Line 27: Line 27:


==Code==
==Code==
'''''From newitems.txt (Project Zomboid directory/media/scripts/)'''''
{{CodeBox
{{Retrieved|version=41|incver=78.16}}
| {{CodeSnip
<pre>
  | lang = java
    item Coldpack
  | line = true
    {
  | start = 0
        DisplayCategory = FirstAid,
  | source = newitems.txt
        Weight = 0.1,
  | retrieved = true
        Type = Normal,
  | version = 41
        DisplayName = Cold Pack,
  | incver = 78.16
        Icon = Coldpack,
  | code =
        Tooltip = Tooltip_ItemTraps,
item Coldpack
        WorldStaticModel = ColdPack,
{
    }
  DisplayCategory = FirstAid,
</pre>
  Weight = 0.1,
  Type = Normal,
  DisplayName = Cold Pack,
  Icon = Coldpack,
  Tooltip = Tooltip_ItemTraps,
  WorldStaticModel = ColdPack,
}
  }}
}}
 


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

Revision as of 04:14, 8 January 2024

Cold Pack
ColdPack Model.png
General
Category
First Aid
Encumbrance
Moodle Icon HeavyLoad.png
0.1
Function
Technical
Item ID
Base.Coldpack
Used in improvised defensive devices. Requires known recipe or Engineer profession.
— In-game tooltip.

A cold pack is an item used in crafting electrical items.

Usage

Cold packs are used to create smoke bombs.

Note that cold packs currently have no use in player health.

Crafting

Product XP gained Skill(s) Recipe Ingredient 1 Ingredient 2 Ingredient 3
Smokebomb.png
Smoke Bomb
0 XP none Engineer
OR
Engineer Magazine Vol. 2
Coldpack.png
Cold Pack
(consumed)
Newspaper.png
Newspaper x2
(consumed)
Rag.png
Ripped Sheets
(consumed)

Distribution

Cold packs are common household items found in freezers and first aid kits.

Code

Code icon.png Code snippet! This section contains source code from Project ZomboidShow / Hide

Source: ProjectZomboid\media\scripts\newitems.txt

Retrieved: Build 41.78.16
item Coldpack
{
  DisplayCategory	= FirstAid,
  Weight			= 0.1,
  Type				= Normal,
  DisplayName		= Cold Pack,
  Icon				= Coldpack,
  Tooltip			= Tooltip_ItemTraps,
  WorldStaticModel	= ColdPack,
}


See also