Belt: Difference between revisions

From PZwiki
m (128px)
m (Distribution table update)
(31 intermediate revisions by 7 users not shown)
Line 1: Line 1:
{{Languages}}{{Header|The Game World|Items|Clothing|version=Version 41|incver=39}}{{Infobox normal
{{Header|Project Zomboid|Items|Clothing|Accessories}}
| display_name=Belt
{{Page version|41.78.16}}
| name_colour=Clothing
{{Infobox item
| name_text_colour=Clothing
|name=Belt
| image=Belt.png
|model=Belt_Model.png
| image_width=128px
|icon=Belt.png
| weight=0.3
|icon_name=Belt
| function=Wearable
<!--General-->
| class_name=Base.Belt
|category=Accessory
}}A '''belt''' is used to attach weapons and tools to the character. Items attached this way can easily be equipped with hotkeys.
|weight=0.2
|body_location=Belt
|attachments_provided=SmallBeltLeft<br>SmallBeltRight
<!--Technical-->
|item_id=Base.Belt2
|item_id2=Base.Belt (pre-[[Build 41|b41]])
}}
A '''belt''' is used to attach weapons and tools to the character. Items attached this way can easily be equipped with hotkeys. The player always spawns with a belt.


==Usage==
==Usage==
The belt can be worn by the {{T|player}} since version 41. It offers two slots in the hotbar on the bottom of the screen.
The belt can be worn by the player since [[build 41]]. It offers two slots in the hotbar at the bottom of the screen.


A belt could previously be used in the since removed {{T|'Til Death Us Do Part|story mode}}, where it could be used as a tourniquet for your spouse, {{T|Kate}}.  
A belt could previously be used in now removed [['Til Death Us Do Part|story mode]], where it could be used as a tourniquet for your spouse, [[Kate Smith|Kate]].


The {{T|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 {{T|Survivor|NPC survivors}}.
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 [[survivor]]s.


==Distribution==
==Distribution==
Belts are most commonly found in bedroom [[Containers#Bedroom Storage|wardrobes]] and shelves in [[Clothing Store|clothing stores]]. They may also be found in [[Containers#Counters|kitchen counters]].  
The loot distributions can be found in the table(s) below.
 
<!--BOT FLAG|Belt2|41.78.16-->
{{clear}}
<div class="togglebox theme-red">
    <div>Belt2 distribution
        <span class="mw-customtoggle-togglebox-Belt2" title="{{int:show}} / {{int:hide}}" style="float:right; padding-right:30px; padding-top:4px; font-size:0.7em; font-weight:normal;">{{int:show}} / {{int:hide}}</span></div>
    <div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-togglebox-Belt2">
    <div class="toggle-content"><div style="display: flex;"><div style="float:left;">
    {| class="wikitable theme-red" style="margin-right:15px; width:95%;"
    |+ {{ll|Containers}}
    ! Building / Room
    ! Container
    ! Rolls
    ! Chance
    |-
    | Not referenced
    | {{ll|GolfLockers}}
    | 4
    | 4.0
    |-
    | all
    | {{ll|dresser}}
    | 4
    | 4.0
    |-
    | all
    | {{ll|wardrobe}}
    | 4
    | 4.0
    |-
    | bathroom
    | {{ll|locker}}
    | 4
    | 4.0
    |-
    | bedroom
    | {{ll|dresser}}
    | 4
    | 4.0
    |-
    | security
    | {{ll|locker}}
    | 4
    | 4.0
    |}
</div>
    </div><div style="clear:both;"></div>
    </div></div><div class="toggle large mw-customtoggle-togglebox-Belt2" title="{{int:show}}/{{int:hide}}"></div></div>
<!--END BOT FLAG|Belt2|41.78.16-->


==Code==
==Code==
{{Retrieved|version=41|incver=39}}
{{CodeBox
'''''From items.txt (Project Zomboid directory/media/scripts/)'''''
| {{CodeSnip
<pre> item Belt
  | lang = java
Weight = 0.3,
  | line = true
Type = Normal,
  | start = 735
DisplayName = Belt,
  | source = clothing_others.txt
Icon = Belt,</pre>
  | retrieved = true
  | version = 41.78.16
  | code =
item Belt2
    {
        DisplayCategory = Accessory,
        Weight = 0.2,
        Type = Clothing,
        DisplayName = Belt,
        Icon = Belt,
        BodyLocation = Belt,
        ClothingItem = Belt,
        AttachmentsProvided = SmallBeltLeft;SmallBeltRight,
        WorldStaticModel = Belt_Ground,
    }
}}
}}
 
==Trivia==
*The old  (pre-[[build 41]]) belt can still be spawned via [[debug mode]], or admin in [[multiplayer]], although not being functional and lacking a model.


==See also==
==See also==
*{{T|Clothing}}
*[[Holster]]
*{{T|Trousers}}
*[[Double Holster]]


{{Navbox clothing}}
{{Navbox items|accessories}}

Revision as of 14:56, 24 April 2024

UI Tick.png
This page has been revised for the current stable version (41.78.16).
Help by adding any missing content. [edit]
Belt
Belt Model.png
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. The player always spawns with a belt.

Usage

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

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

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

The loot distributions can be found in the table(s) below.

Belt2 distribution Show / Hide
Containers
Building / Room Container Rolls Chance
Not referenced GolfLockers 4 4.0
all dresser 4 4.0
all wardrobe 4 4.0
bathroom locker 4 4.0
bedroom dresser 4 4.0
security locker 4 4.0

Code

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

Source: ProjectZomboid\media\scripts\clothing\clothing_others.txt

Retrieved: Build 41.78.16
item Belt2
    {
        DisplayCategory = Accessory,
        Weight	=	0.2,
        Type	=	Clothing,
        DisplayName	=	Belt,
        Icon	=	Belt,
        BodyLocation = Belt,
        ClothingItem = Belt,
        AttachmentsProvided = SmallBeltLeft;SmallBeltRight,
        WorldStaticModel = Belt_Ground,
    }

Trivia

See also