Pants

From PZwiki
Jump to: navigation, search
PZwiki:Language policy Language: English • français • 日本語 • norsk
Pants
PantsAnim 120px.gif

Body Area: Legs
Weight: 1.0


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.

There are currently 5 different variants of pants, however 2 appear identical.

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
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 be torn into ripped sheets, which is a makeshift bandage, an essential first aid tool. Clothing 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 XP none
One of:
Sheet.png Sheet
Clothing Clothing

(consumed)
SheetRope.png
Sheet Rope
0 XP none
One of:
Sheet.png Sheet
Clothing Clothing

(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


Clothing (Pre 41) vde
Head None
Torso BlouseJacketPadded JacketSweaterVest
Legs Long ShortsPadded PantsPantsSkirtUnderwear
Feet Shoes
Unusable BeltSocks