Underwear: Difference between revisions

From PZwiki
(adjusted layout and new infobox)
(→‎Code: Rm old code section)
 
(30 intermediate revisions by 5 users not shown)
Line 1: Line 1:
__NOTOC__
{{Header|Project Zomboid|Items|Clothing|Underwear|Underpants}}
{{languages|Underwear}}
{{Page version|41.78.16}}
{{header|The Game World|Items|Clothing|version=Version 40|incver=43}}{{Infobox normal
{{Obsolete|build 41|Underpants|item=true}}
|display_name = Underwear
{{Infobox item
|name_colour = Clothing
|name=Underwear
|name_text_colour = Clothing
|model=UnderwearAnim.gif
|image = UnderwearAnim_120px.gif
|icon=Underwear1.png
|image_width = 120px
|icon2=Underwear2.png
|alternate_image = Underwear1.png
|weight=0.1
|alternate_name =
|function=Make {{ll|Ripped Sheets}}
|alternate_link =
|item_id=Base.Underwear1<br>Base.Underwear2
|alternate_image2 = Underwear2.png
}}
|alternate_name2 =
'''Underwear''' was an item of [[clothing]] in [[Project Zomboid]].
|alternate_link2 =
|weight = 0.1
|function = Make {{T|Ripped Sheets}}
|class_name = Base.Underwear1<br>Base.Underwear2
}}'''Underwear''' is an item of {{T|clothing}} in {{T|Project Zomboid}}.  


==Usage==
==Usage==
The {{T|player}} can neither equip nor unequip underwear and is always ''worn'' by the player. If the player were to unequip all their items of clothing they would be left with nothing but their underwear. The male character can be seen with only bottoms, and the female with both top and bottoms.  
The {{ll|player}} could neither equip nor unequip underwear, as it was always ''worn'' by the player. If the player were to unequip all their items of clothing, they would be left with nothing but their underwear. The male character can be seen with only bottoms, and the female with both top and bottoms.


There currently isn't much use for underwear other than being torn for {{T|Ripped Sheets|ripped sheets}}. However, like other items of clothing, underwear can be cleaned with {{T|soap}} and {{T|water}}, even though it can't get dirty or bloody. This is likely a bug as other ''junk'' clothing items like {{T|socks}} cannot be cleaned.
There wasn't much use for underwear other than being torn for {{ll|Ripped Sheets|ripped sheets}}. However, like other items of clothing, underwear could be cleaned with {{ll|soap}} and {{ll|water}}, even though it couldn't get dirty or bloody. This was likely a bug as other ''junk'' clothing items like {{ll|socks}} could not be cleaned.
<div><ul>
<li style="display: inline-block;"> [[File:MaleUnderwearAnim.gif|thumb|100px|The male character in his underwear]] </li>
<li style="display: inline-block;"> [[File:FemaleUnderwearAnim.gif|thumb|100px|The female character in her underwear]] </li>
</ul></div>


==Crafting==
==Crafting==
{{Crafting table header}}
Clothing can be torn into [[Ripped Sheets|ripped sheets]], which is a makeshift [[bandage]], an essential first aid tool. Clothing can also be turned into [[Sheet Rope|sheet ropes]], which can be used to rappel down from (and also up, as long as the player doesn't have the [[Traits#Negatives|weak]] trait) a window.
{{RecipeLookup|4033}}
{{Crafting/sandbox2
{{RecipeLookup|4000}}
|ripped_sheets
{{Crafting table footer}}
|sheet_rope
}}


==Distribution==
==Distribution==
They will commonly be found in bedroom [[Containers#Bedroom Storage|wardrobes]] of many houses, on the [[Containers#Shelves|shelves]] of [[Clothing Stores|clothing stores]], or in the [[Containers#Lockers|lockers]] of [[school]]s and [[Police Station|police stations]].  
They were commonly found in bedroom [[Containers#Bedroom Storage|wardrobes]] of many houses, on the [[Containers#Shelves|shelves]] of clothing stores, or in the [[Containers#Lockers|lockers]] of schools and [[police station]]s.
 
==Gallery==
<gallery>
MaleUnderwearAnim.gif|The male character in his underwear
FemaleUnderwearAnim.gif|The female character in her underwear
</gallery>


==Code==
==Code==
'''''From items.txt (Project Zomboid directory/media/scripts/)'''''
{{CodeBox|
{{CodeSnip
  | lang = java
  | line = true
  | start = 786
  | source = newitems.txt
  | retrieved = true
  | version = 41.78.16
  | code =
item Underwear1
    {
        DisplayCategory = Household,
        Weight = 0.1,
        Type = Normal,
        DisplayName = Underwear,
        Icon = Underwear1,
        OBSOLETE = TRUE,
    }
}}
{{CodeSnip
  | lang = java
  | line = true
  | start = 796
  | source = newitems.txt
  | retrieved = true
  | version = 41.78.16
  | code =
item Underwear2
    {
        DisplayCategory = Household,
        Weight = 0.1,
        Type = Normal,
        DisplayName = Underwear,
        Icon = Underwear2,
        OBSOLETE = TRUE,
    }
}}
}}


''Underwear1'' [[File:Underwear1.png]]
==See also==
<pre> item Underwear1
*[[Clothing]]
Weight = 0.1,
*[[Pants]]
Type = Normal,
*[[Skirt]]
DisplayName = Underwear,
*[[Belt]]
Icon = Underwear1,</pre>


''Underwear2'' [[File:Underwear2.png]]
{{Navbox items|underwear}}
<pre> item Underwear2
Weight = 0.1,
Type = Normal,
DisplayName = Underwear,
Icon = Underwear2,</pre>


==See also==
* [[Clothing]]
* [[Pants]]
* [[Skirt]]
* [[Belt]]


{{Navbox/Clothing}}
[[Category:Household]]

Latest revision as of 10:36, 2 May 2024

UI Tick.png
This page has been revised for the current stable version (41.78.16).
Help by adding any missing content. [edit]
BoxSmall.png
This item has been removed from the game in build 41.
It has been replaced by Underpants.
Underwear
UnderwearAnim.gif
Underwear
General
Encumbrance
Moodle Icon HeavyLoad.png
0.1
Function
Technical
Item ID
Base.Underwear1
Base.Underwear2

Underwear was an item of clothing in Project Zomboid.

Usage

The player could neither equip nor unequip underwear, as it was always worn by the player. If the player were to unequip all their items of clothing, they would be left with nothing but their underwear. The male character can be seen with only bottoms, and the female with both top and bottoms.

There wasn't much use for underwear other than being torn for ripped sheets. However, like other items of clothing, underwear could be cleaned with soap and water, even though it couldn't get dirty or bloody. This was likely a bug as other junk clothing items like socks could not be cleaned.

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 Ingredients Tools Requirements Workstation XP
Rag.png
Ripped Sheets
One of:
TshirtGeneric.png Clothing (cotton) ×1
Sheet.png Sheet ×1
none none none 0.25 Tailoring
SheetRope.png
Sheet Rope
One of:
Sheet.png Sheet ×1
Vest White.png Clothing (cotton) ×1
none none none none

Distribution

They were commonly found in bedroom wardrobes of many houses, on the shelves of clothing stores, or in the lockers of schools and police stations.

Gallery

Code

Code icon.png Code snippet! This section contains source code from Project ZomboidShow / Hide

Source: ProjectZomboid\media\scripts\newitems.txt

Retrieved: Build 41.78.16
item Underwear1
    {
        DisplayCategory = Household,
        Weight	=	0.1,
        Type	=	Normal,
        DisplayName	=	Underwear,
        Icon	=	Underwear1,
        OBSOLETE = TRUE,
    }

Source: ProjectZomboid\media\scripts\newitems.txt

Retrieved: Build 41.78.16
item Underwear2
    {
        DisplayCategory = Household,
        Weight	=	0.1,
        Type	=	Normal,
        DisplayName	=	Underwear,
        Icon	=	Underwear2,
        OBSOLETE = TRUE,
    }

See also