Belt: Difference between revisions

From PZwiki
mNo edit summary
m (Distribution table update)
(36 intermediate revisions by 9 users not shown)
Line 1: Line 1:
{{languages}}
{{Header|Project Zomboid|Items|Clothing|Accessories}}
{{header|The Game World|Items|Clothing|version=Version 39|incver=52}}{{Infobox normal
{{Page version|41.78.16}}
| display_name = Belt
{{Infobox item
| name_colour = Clothing
|name=Belt
| name_text_colour = Clothing
|model=Belt_Model.png
| image = Belt_120px.png
|icon=Belt.png
| image_width = 120px
|icon_name=Belt
| weight = 0.3
<!--General-->
| function = ''None''
|category=Accessory
| class_name = Base.Belt
|weight=0.2
}}A '''belt''' is currently a useless {{T|item}}, and often considered as ''junk''.
|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==
Regardless of what may initially seem possible, a belt cannot be worn by the {{T|player}}.
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 rumoured 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.


== Code ==
<!--BOT FLAG|Belt2|41.78.16-->
'''''From items.txt (Project Zomboid directory/media/scripts/)'''''
{{clear}}
<pre> item Belt
<div class="togglebox theme-red">
Weight = 0.3,
    <div>Belt2 distribution
Type = Normal,
        <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>
DisplayName = Belt,
    <div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-togglebox-Belt2">
Icon = Belt,</pre>
    <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==
{{CodeBox
| {{CodeSnip
  | lang = java
  | line = true
  | start = 735
  | source = clothing_others.txt
  | 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]]
* {{T|Socks}}
* {{T|Underwear}}


{{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