Bath Towel: Difference between revisions

From PZwiki
m (clean up, replaced: wikitable → pztable)
m (Simplified redundant links)
 
(25 intermediate revisions by 7 users not shown)
Line 1: Line 1:
{{languages|Bath Towel}}
{{Header|Project Zomboid|Items|Miscellaneous items|Household}}
{{header|The Game World|Items|Consumables|Medical Items|type=Medical|version=Version 39|incver=67.5}}{{Infobox item custom
{{Page version|41.78.16}}
|display_name=Bath Towel
{{Infobox item
|name_colour=Medical
|name=Dish Towel
|name_text_colour=Medical
|model=Bathtowel_Model.png
|image = Bathtowel_120px.png
|model2=Bathtowel_Model.png
|function = [[Moodles#Wet|Dry]] player
|icon=Bathtowel.png
|other_function = Clean bloodstains
|icon_name=Bath Towel (dry)
|variant1 = Bath Towel
|icon2=Bathtowel.png
|func1=Weight
|icon_name2=Wet Bath Towel
|data1 = 0.3
|category=Household
|func2=Max. units
|weight=0.3
|data2 = 10 units
|weight_text=(dry)
|variant2=Wet Bath Towel
|weight2=0.5
|data4 = 0.5
|weight_text2=(wet)
|data5 = 10 units
|function=[[Wet|Dry]] player<br>Clean bloodstains
|func3 = Cooldown
|max_units=0.1
|data6 = 10000
|wet_cooldown=10000
|class_name = See [[#Item IDs|Item IDs]]
|item_id=Base.BathTowel
}}{{quote|text=Use to dry self when wet. Always know where your towel is.|author=In-game tooltip.}}A '''bath towel''' is a drainable [[item]] used in [[First Aid|first aid]].
|item_id2=Base.BathTowelWet
}}
{{Quote|text=Use to dry self when wet. Always know where your towel is.|author=In-game tooltip.}}
A '''bath towel''' is a drainable [[Items|item]] used in [[First Aid|first aid]].


==Usage==
==Usage==
===Drying===
===Drying===
Bath towels are used to dry the player when the [[Moodles#Wet|wet]] moodle is displayed, which is typical after being in the [[rain]]. Depending on how wet the player is determines whether a single bath towel will suffice in drying them. If not, the bath towel will become a '''wet bath towel'''.
Bath towels are used to dry the player when the [[wet]] moodle is displayed, which is typical after being in the [[rain]]. Depending on how wet the player is determines whether a single bath towel will suffice in drying them. If not, the bath towel will become a '''wet bath towel'''.


A wet bath towel will gradually dry on its own, similarly to a cooldown in other RPG style games, upon which it will become a standard bath towel again.
A wet bath towel will gradually dry on its own, similarly to a cooldown in other RPG style games, upon which it will become a standard bath towel again.
Line 30: Line 33:


==Distribution==
==Distribution==
The loot distributions can be found in the table(s) below.
<!--BOT FLAG|BathTowel|41.78.16-->
{{clear}}
<div class="togglebox theme-red">
    <div>BathTowel distribution
        <span class="mw-customtoggle-togglebox-BathTowel" 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-BathTowel">
    <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
    | 8.0
    |-
    | Not referenced
    | {{ll|GymSweatbands}}
    | 4
    | 20.0
    |-
    | Not referenced
    | {{ll|GymSweatbands}}
    | 4
    | 10.0
    |-
    | aesthetic
    | {{ll|counter}}
    | 4
    | 10.0
    |-
    | aesthetic
    | {{ll|counter}}
    | 4
    | 20.0
    |-
    | aesthetic
    | {{ll|crate}}
    | 4
    | 20.0
    |-
    | aesthetic
    | {{ll|crate}}
    | 4
    | 50.0
    |-
    | aesthetic
    | {{ll|crate}}
    | 4
    | 10.0
    |-
    | all
    | {{ll|Bag_ALICEpack}}
    | 1
    | 2.0
    |-
    | bathroom
    | {{ll|counter}}
    | 4
    | 10.0
    |-
    | bathroom
    | {{ll|locker}}
    | 4
    | 8.0
    |-
    | bathroom
    | {{ll|shelves}}
    | 4
    | 20.0
    |-
    | bathroom
    | {{ll|shelves}}
    | 4
    | 10.0
    |-
    | bedroom
    | {{ll|crate}}
    | 4
    | 20.0
    |-
    | bedroom
    | {{ll|crate}}
    | 1
    | 1.0
    |-
    | bedroom
    | {{ll|crate}}
    | 4
    | 10.0
    |-
    | closet
    | {{ll|crate}}
    | 4
    | 10.0
    |-
    | closet
    | {{ll|crate}}
    | 4
    | 20.0
    |-
    | departmentstorage
    | {{ll|metal_shelves}}
    | 4
    | 20.0
    |-
    | departmentstorage
    | {{ll|metal_shelves}}
    | 4
    | 10.0
    |-
    | gym
    | {{ll|metal_shelves}}
    | 4
    | 20.0
    |-
    | gym
    | {{ll|metal_shelves}}
    | 4
    | 10.0
    |-
    | hall
    | {{ll|laundrydryerbasic}}
    | 4
    | 20.0
    |-
    | hall
    | {{ll|laundrydryerbasic}}
    | 4
    | 10.0
    |-
    | hall
    | {{ll|laundrydryerbasic}}
    | 4
    | 50.0
    |-
    | laundry
    | {{ll|clothingdryer}}
    | 4
    | 20.0
    |-
    | laundry
    | {{ll|clothingdryer}}
    | 4
    | 10.0
    |-
    | laundry
    | {{ll|clothingdryer}}
    | 4
    | 50.0
    |-
    | motelroom
    | {{ll|metal_shelves}}
    | 4
    | 10.0
    |-
    | motelroom
    | {{ll|metal_shelves}}
    | 4
    | 50.0
    |-
    | motelroom
    | {{ll|metal_shelves}}
    | 4
    | 20.0
    |-
    | pool
    | {{ll|locker}}
    | 4
    | 10.0
    |-
    | pool
    | {{ll|locker}}
    | 4
    | 20.0
    |-
    | prisoncells
    | {{ll|wardrobe}}
    | 1
    | 20.0
    |}
</div>
    </div><div style="clear:both;"></div>
    </div></div><div class="toggle large mw-customtoggle-togglebox-BathTowel" title="{{int:show}}/{{int:hide}}"></div></div>
<!--END BOT FLAG|BathTowel|41.78.16-->
Bath towels can be found in bathrooms, hairdressers, motel rooms and gift stores.
Bath towels can be found in bathrooms, hairdressers, motel rooms and gift stores.


==Item IDs==
==Code==
{| class="pztable"
{{CodeBox|
!Item
''Bath Towel'' [[File:Bath_Towel.png]]<br>
!Class name
{{CodeSnip
|-
  | lang = java
|Bath Towel
  | line = true
|Base.BathTowel
  | start = 1578
|-
  | source = newitems.txt
|Wet Bath Towel
  | retrieved = true
|Base.BathTowelWet
  | version = 41.78.16
|}
  | code =
 
item BathTowel
== Code ==
{
'''''From newitems.txt (Project Zomboid directory/media/scripts/)'''''
    DisplayCategory = Household,
 
Weight = 0.3,
''Bath Towel'' [[File:Bath_Towel.png]]
Type = Drainable,
{{Retrieved|version=39|incver=67.5}}
DisplayName = Bath Towel,
<pre> item BathTowel
        UseWhileEquipped = FALSE,
Weight = 0.3,
Icon = Bathtowel,
Type = Drainable,
        UseDelta = 0.1,
DisplayName = Bath Towel,
ReplaceOnDeplete = BathTowelWet,
        UseWhileEquipped = FALSE,
Tooltip = Tooltip_Bathtowel,
Icon = Bathtowel,
WorldStaticModel = BathTowel,
        UseDelta = 0.1,
cantBeConsolided = TRUE,
ReplaceOnDeplete = BathTowelWet,
}
Tooltip = Tooltip_Bathtowel,</pre>
}}


''Wet Bath Towel'' [[File:Bath_Towel.png]]
''Wet Bath Towel'' [[File:Bath_Towel.png]]<br>
{{Retrieved|version=39|incver=67.5}}
{{CodeSnip
<pre> item BathTowelWet
  | lang = java
Type = Normal,
  | line = true
DisplayName = Wet Bath Towel,
  | start = 1565
Icon = Bathtowel,
  | source = newitems.txt
Weight = 0.5,
  | retrieved = true
Wet = TRUE,
  | version = 41.78.16
WetCooldown = 10000,
  | code =
ItemWhenDry = Base.BathTowel,</pre>
item BathTowelWet
{
    DisplayCategory = Household,
Type = Normal,
DisplayName =     Wet Bath Towel,
Icon = Bathtowel,
Weight = 0.5,
Wet                 =           TRUE,
        WetCooldown         =           10000,
        ItemWhenDry         =           Base.BathTowel,
        WorldStaticModel = BathTowel,
}
}}
}}


== See also ==
==See also==
[[First Aid|General First Aid]]
*[[First Aid]]
*[[Dish Towel]]
*[[Tissue]]


{{Navbox/Consumables}}
{{Navbox items|household_equipment}}

Latest revision as of 11:11, 25 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]
Dish Towel
Bathtowel Model.png
Bathtowel Model.png
General
Category
Household
Encumbrance
Moodle Icon HeavyLoad.png
0.3 (dry)
0.5 (wet)
Function
Dry player
Clean bloodstains
Properties
Capacity
10 units
Wet cooldown
208 seconds
Effect
WetnessMoodle Icon Wet.png
-40%
Technical
Item ID
Base.BathTowel
Base.BathTowelWet
Use to dry self when wet. Always know where your towel is.
— In-game tooltip.

A bath towel is a drainable item used in first aid.

Usage

Drying

Bath towels are used to dry the player when the wet moodle is displayed, which is typical after being in the rain. Depending on how wet the player is determines whether a single bath towel will suffice in drying them. If not, the bath towel will become a wet bath towel.

A wet bath towel will gradually dry on its own, similarly to a cooldown in other RPG style games, upon which it will become a standard bath towel again.

Cleaning

A bath towel can be used with bleach to clean blood splatters off of floors and walls.

Distribution

The loot distributions can be found in the table(s) below.

BathTowel distribution Show / Hide
Containers
Building / Room Container Rolls Chance
Not referenced GolfLockers 4 8.0
Not referenced GymSweatbands 4 20.0
Not referenced GymSweatbands 4 10.0
aesthetic counter 4 10.0
aesthetic counter 4 20.0
aesthetic crate 4 20.0
aesthetic crate 4 50.0
aesthetic crate 4 10.0
all Bag_ALICEpack 1 2.0
bathroom counter 4 10.0
bathroom locker 4 8.0
bathroom shelves 4 20.0
bathroom shelves 4 10.0
bedroom crate 4 20.0
bedroom crate 1 1.0
bedroom crate 4 10.0
closet crate 4 10.0
closet crate 4 20.0
departmentstorage metal_shelves 4 20.0
departmentstorage metal_shelves 4 10.0
gym metal_shelves 4 20.0
gym metal_shelves 4 10.0
hall laundrydryerbasic 4 20.0
hall laundrydryerbasic 4 10.0
hall laundrydryerbasic 4 50.0
laundry clothingdryer 4 20.0
laundry clothingdryer 4 10.0
laundry clothingdryer 4 50.0
motelroom metal_shelves 4 10.0
motelroom metal_shelves 4 50.0
motelroom metal_shelves 4 20.0
pool locker 4 10.0
pool locker 4 20.0
prisoncells wardrobe 1 20.0

Bath towels can be found in bathrooms, hairdressers, motel rooms and gift stores.

Code

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

Bath Towel Bath Towel.png
Source: ProjectZomboid\media\scripts\newitems.txt

Retrieved: Build 41.78.16
item BathTowel
	{
	    DisplayCategory = Household,
		Weight	=	0.3,
		Type	=	Drainable,
		DisplayName	=	Bath Towel,
        UseWhileEquipped	=	FALSE,
		Icon	=	Bathtowel,
        UseDelta	=	0.1,
		ReplaceOnDeplete	=	BathTowelWet,
		Tooltip = Tooltip_Bathtowel,
		WorldStaticModel = BathTowel,
		cantBeConsolided = TRUE,
	}

Wet Bath Towel Bath Towel.png
Source: ProjectZomboid\media\scripts\newitems.txt

Retrieved: Build 41.78.16
item BathTowelWet
	{
	    DisplayCategory = Household,
		Type				=			Normal,
		DisplayName			=		    Wet Bath Towel,
		Icon				=			Bathtowel,
		Weight				=			0.5,
		Wet                 =           TRUE,
        WetCooldown         =           10000,
        ItemWhenDry         =           Base.BathTowel,
        WorldStaticModel = BathTowel,
	}

See also