Pants (disambiguation)

From PZwiki
Revision as of 15:33, 4 March 2023 by Faalagorn (talk | contribs) (Cleanup)
The Game WorldItemsClothingPants (disambiguation)
Pants
Pants
Encumbrance
Heavy Load
1.0
Body location Legs
Technical details
Item ID Base.Trousers

Pants are an article of clothing equipable on the legs. It is commonly found in bedroom wardrobes of many houses and on the corpses of dead NPCs and zombies.

They are primarily used to protect the player from getting cold, typically during the winter months. The player may also find themselves getting too hot when wearing pants, at this point it may be beneficial to unequip them. Pants give a +8 effect to temperature.

Over the course of the zombie apocalypse, clothing will become dirty and bloody, which is dependant on the player's activities. If the player is wearing dirty or bloody clothing over an open wound, the chance of infection will increase. However, using soap and water, pants can be cleaned. Each piece of clothing has durability, losing a little upon each hit. Pants have a maximum condition of 12 and the condition will lower one in 20 times the player gets hit. Thus, making pants the most durable item of clothing.

Pants can be torn into ripped sheets, yielding a total of 8. Due to the frequency in which they can be found, pants are an obvious source of bandages. In an emergency, dirty or bloody pants can be torn into bandages, which will always yield 1 clean ripped sheet and 7 dirty ripped sheets.

Item Description Temperature Condition Classname
Pants Pants Pants Pants Provides moderate protection from the cold. Can be ripped into ripped sheets or tied into a sheet rope. 8 12
Max
5%
Degradation
Base.Trousers

Crafting

Clothing can be torn into ripped sheets, which is a makeshift bandage, an essential first aid tool. Clothing can also be turned into sheet ropes, which can be used to rappel down from (and also up, as long as the player doesn't have the weak trait) a window.

Product XP gained Skill(s) Recipe Ingredient 1
Rag.png
Ripped Sheets
0.25 Tailoring none
(consumed)
SheetRope.png
Sheet Rope
0 XP none
(consumed)

Code

From items.txt (Project Zomboid directory/media/scripts/)

	item Trousers
		Palettes			= Trousers_White,
		BodyLocation			= Bottoms,
		PalettesStart			= Trousers_,
		Type				= Clothing,
		Temperature			= 8,
		SpriteName			= Trousers,
		DisplayName			= Pants,
		Icon				= Trousers,
        	ConditionLowerChanceOneIn	= 20,
        	ConditionMax			= 12,

See also