Belt: Difference between revisions

From PZwiki
m (Codebox)
m (Distribution table update)
(6 intermediate revisions by 2 users not shown)
Line 2: Line 2:
{{Page version|41.78.16}}
{{Page version|41.78.16}}
{{Infobox item
{{Infobox item
|name =Belt
|name=Belt
| model=Belt_Model.png
|model=Belt_Model.png
| icon=Belt.png
|icon=Belt.png
| icon_name=Belt
|icon_name=Belt
<!--General-->
<!--General-->
| category=Accessory
|category=Accessory
| weight=0.2
|weight=0.2
| body_location=Belt
|body_location=Belt
| attachments_provided=SmallBeltLeft<br>SmallBeltRight
|attachments_provided=SmallBeltLeft<br>SmallBeltRight
<!--Technical-->
<!--Technical-->
| item_id=Base.Belt2
|item_id=Base.Belt2
| item_id2=Base.Belt (pre-[[Build 41|b41]])
|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.
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.


Line 26: Line 25:


==Distribution==
==Distribution==
Belts are most commonly found in bedroom [[Storage#Dressers|wardrobes]] and shelves in 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==
Line 38: Line 86:
   | version = 41.78.16
   | version = 41.78.16
   | code =
   | code =
    item Belt2
item Belt2
     {
     {
         DisplayCategory = Accessory,
         DisplayCategory = Accessory,
Line 50: Line 98:
         WorldStaticModel = Belt_Ground,
         WorldStaticModel = Belt_Ground,
     }
     }
  }}
}}
}}
}}


Line 60: Line 108:
*[[Double Holster]]
*[[Double Holster]]


{{Navbox clothing|accessories}}
{{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