Belt: Difference between revisions

From PZwiki
m (Grammar)
(Update distribution file)
 
(56 intermediate revisions by 18 users not shown)
Line 1: Line 1:
{{languages}}
{{Header|Project Zomboid|Items|Clothing|Accessories}}
{{Page version|41.78.16}}
{{Infobox item
|name=Belt
|model=Belt_Model.png
|icon=Belt.png
|icon_name=Belt
<!--General-->
|category=Accessory
|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.


{{Items
==Usage==
|image = Belt.png
The belt can be worn by the player since [[build 41]]. It offers two slots in the hotbar at the bottom of the screen.
|weight = 3
 
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 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==
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">
    Effective chance calculations are based off of default loot settings, and median zombie density. The higher the density of zombies in an area, the higher the effective chance of an item spawning. Chance is also influenced by the [[lucky]] and [[unlucky]] traits.    <div class="toggle-content">
<div class="pz-container">
<div id="containers" style="flex-basis:30%">
    {| class="wikitable theme-red" style="margin-right: 15px; width: 95%;"
    |+ {{ll|Containers}}
    ! Building/Room
    ! Container
    ! Effective chance
    |-
    | all
    | {{ll|dresser}}
    | 10.78%
    |-
    | all
    | {{ll|wardrobe}}
    | 10.78%
    |-
    | bathroom
    | {{ll|locker}}
    | 10.78%
    |-
    | bedroom
    | {{ll|dresser}}
    | 10.78%
    |-
    | bedroom
    | {{ll|wardrobe}}
    | 10.78%
    |-
    | changeroom
    | {{ll|locker}}
    | 10.78%
    |-
    | factorystorage
    | {{ll|locker}}
    | 10.78%
    |-
    | garagestorage
    | {{ll|locker}}
    | 10.78%
    |-
    | laundry
    | {{ll|locker}}
    | 10.78%
    |-
    | security
    | {{ll|locker}}
    | 10.78%
    |}
</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,
    }
}}
}}
}}
The '''belt''' can be used to stop [[bleeding]] of the player or [[Kate]]. They are most commonly found in [[wardrobe]]s and [[containers#Kitchen_cupboard|kitchen cupboard]]s.


[[category:items]]
==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==
*[[Holster]]
*[[Double Holster]]
 
{{Navbox items|accessories}}

Latest revision as of 12:04, 30 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
Effective chance calculations are based off of default loot settings, and median zombie density. The higher the density of zombies in an area, the higher the effective chance of an item spawning. Chance is also influenced by the lucky and unlucky traits.
Containers
Building/Room Container Effective chance
all dresser 10.78%
all wardrobe 10.78%
bathroom locker 10.78%
bedroom dresser 10.78%
bedroom wardrobe 10.78%
changeroom locker 10.78%
factorystorage locker 10.78%
garagestorage locker 10.78%
laundry locker 10.78%
security locker 10.78%

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