Belt: Difference between revisions

From PZwiki
(added to infobox changes)
(→‎Code: code box update)
Line 27: Line 27:


==Code==
==Code==
{{Retrieved|version=41|incver=39}}
{{CodeBox
'''''From items.txt (Project Zomboid directory/media/scripts/)'''''
| {{CodeSnip
<pre>
  | lang = java
item Belt
  | line = true
Weight = 0.3,
  | start = 0
Type = Normal,
  | source = items.txt
DisplayName = Belt,
  | retrieved = true
Icon = Belt,
  | version = 41
</pre>
  | incver = 39
  | code =
item Belt
{
    Weight = 0.3,
    Type = Normal,
    DisplayName = Belt,
    Icon = Belt,
}
  }}
}}


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

Revision as of 08:15, 8 January 2024

Belt
[[File:|Belt|200px|class=pixelart]]
General
Category
Accessory
Encumbrance
Moodle Icon HeavyLoad.png
0.2
Equipped
Belt
Slots added
SmallBeltLeft
SmallBeltRight
Technical
Item ID
Base.Belt2
Base.Belt (pre-b41)

A belt is used to attach weapons and tools to the character. Items attached this way can easily be equipped with hotkeys.

Usage

The belt can be worn by the player since version 41. It offers two slots in the hotbar on the bottom of the screen.

A belt could previously be used in the since removed story mode, where it could be used as a tourniquet for your spouse, Kate Smith.

The health system is rumored to be improved further at some point in the future, likely giving some usage to the belt, specifically with the return of NPC survivors.

Distribution

Belts are most commonly found in bedroom wardrobes and shelves in clothing stores. They may also 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.txt

Retrieved: Build 41.39
item Belt
{
    Weight = 0.3,
    Type = Normal,
    DisplayName = Belt,
    Icon = Belt,
}

See also