Dish Towel: Difference between revisions

From PZwiki
m (Add navbox equipment)
m (Automated Formatting)
(34 intermediate revisions by 8 users not shown)
Line 1: Line 1:
{{Languages}}{{Header|The Game World|Items|Consumables|Medical Items|type=Medical|version=Version 39|incver=67.5}}{{Infobox item custom
{{Header|Project Zomboid|Items|Miscellaneous items|Household}}
|display_name=Dish Towel
{{Page version|41.78.16}}
|name_colour=Medical
{{Infobox item
|name_text_colour=Medical
|name=Dish Towel
|image=Dish_Towel.png
|model=DishTowel_Model.png
|function=[[Moodles#Wet|Dry]] player
|model2=WetDishTowel_Model.png
|other_function=Clean bloodstains
|icon=Dishtowel.png
|variant1=Dish Towel
|icon_name=Dish Towel (dry)
|func1=Weight
|icon2=Dishtowel.png
|data1=0.3
|icon_name2=Wet Dish Towel
|func2=Max. units
|category=Household
|data2=10 units
|weight=0.3
|variant2=Wet Dish Towel
|weight_text=(dry)
|data4=0.5
|weight2=0.5
|data5=10 units
|weight_text2=(wet)
|func3=Cooldown
|function=[[Wet|Dry]] player<br>Clean bloodstains
|data6=8000
|max_units=0.1
|class_name = See [[#Item IDs|Item IDs]]
|wet_cooldown=8000
}}{{quote|text=Use to dry self when wet. Always know where your towel is.|author=In-game tooltip.}}A '''dish towel''' is a drainable [[item]] used in [[First Aid|first aid]].
|item_id=Base.DishCloth
|item_id2=Base.DishClothWet
}}
{{Quote|text=Use to dry self when wet. Always know where your towel is.|author=In-game tooltip.}}
A '''dish towel''' is a drainable [[Items|item]] used in [[First Aid|first aid]].


==Usage==
==Usage==
===Drying===
===Drying===
Dish towels can be used to dry the player when they are displaying the [[Moodles#Wet|wet]] moodle after being caught in the [[rain]] in-game, which will produce a '''wet dish towel'''.
Dish towels can be used to dry the player when they are displaying the [[Wet|wet]] moodle after being caught in the [[rain]] in-game, which will produce a '''wet dish towel'''.


The wet dish towel will dry over time.  
The wet dish towel will dry over time.


===Cleaning===
===Cleaning===
Line 30: Line 33:


==Distribution==
==Distribution==
Dish towels are usually found in kitchens of houses and restaurants, although they can also be found in motels, storage units and houseware stores.
The loot distributions can be found in the table(s) below.


==Item IDs==
{| class="mw-collapsible mw-collapsed wikitable theme-red" data-expandtext="{{int:show}}" data-collapsetext="{{int:hide}}" style="text-align:center; min-width:24em;"
{| class="pztable"
! colspan="4" | Containers
!Item
|-
!Class name
! Building/Room
! Container
! style="width: 3.2em;" | Rolls
! style="width: 3.2em;" | Chance
|-
|all
|[[bin]]
|1
|2
|-
|rowspan="2"|bakerykitchen
|[[counter]]
|4
|1
|-
|[[counter]]
|4
|1
|-
|breakroom
|[[counter]]
|4
|1
|-
|butcher
|[[counter]]
|4
|8
|-
|rowspan="2"|departmentstorage
|[[metal_shelves]]
|4
|1
|-
|[[metal_shelves]]
|4
|2
|-
|rowspan="4"|kitchen
|[[counter]]
|4
|1
|-
|-
|Dish Towel
|[[counter]]
|Base.DishCloth
|4
|1
|-
|-
|Wet Dish Towel
|[[counter]]
|Base.DishClothWet
|4
|}
|1
|-
|[[counter]]
|4
|1
|-
|rowspan="2"|laundry
|[[clothingdryer]]
|4
|1
|-
|[[clothingdryer]]
|4
|2
|}Dish towels are usually found in kitchens of houses and restaurants, although they can also be found in motels, storage units and houseware stores.


==Code==
==Code==
''Dish Towel'' [[File:Dishtowel.png]]
{{CodeBox|
{{Retrieved|version=39|incver=67.5}}
''Dish Towel'' [[File:Dishtowel.png]]<br>
<pre>
{{CodeSnip
item DishCloth
  | lang = java
Weight = 0.3,
  | line = true
Type = Drainable,
  | start = 642
DisplayName = Dish Towel,
  | source = items.txt
        UseWhileEquipped = FALSE,
  | retrieved = true
Icon = Dishtowel,
  | version = 41.78.16
        UseDelta = 0.1,
  | code =
ReplaceOnDeplete = DishClothWet,
item DishCloth
{
    DisplayCategory = Household,
Weight = 0.3,
Type = Drainable,
DisplayName = Dish Towel,
        UseWhileEquipped = FALSE,
Icon = Dishtowel,
        UseDelta = 0.1,
ReplaceOnDeplete = DishClothWet,
Tooltip = Tooltip_Bathtowel,
Tooltip = Tooltip_Bathtowel,
</pre>
WorldStaticModel = DishTowel,
cantBeConsolided = TRUE,
}
}}
 


''Wet Dish Towel'' [[File:Dishtowel.png]]
''Wet Dish Towel'' [[File:Dishtowel.png]]<br>
{{Retrieved|version=39|incver=67.5}}
{{CodeSnip
<pre>
  | lang = java
item DishClothWet
  | line = true
Weight = 0.3,
  | start = 5
Type = Normal,
  | source = items.txt
DisplayName = Wet Dish Towel,
  | retrieved = true
        Icon = Dishtowel,
  | version = 41.78.16
Wet = TRUE,
  | code =
WetCooldown = 8000,
item DishClothWet
ItemWhenDry = Base.DishCloth,
{
</pre>
    DisplayCategory = Household,
Weight = 0.3,
Type = Normal,
DisplayName = Wet Dish Towel,
        Icon = Dishtowel,
        Wet                 =           TRUE,
        WetCooldown         =           8000,
        ItemWhenDry         =           Base.DishCloth,
        WorldStaticModel = DishTowelWet,
}
}}
}}


==See also==
==See also==
*[[First Aid]]
*[[First Aid]]


{{Navbox equipment}}
{{Navbox items|household_equipment}}
{{Navbox medical}}

Revision as of 08:02, 14 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
DishTowel Model.png
WetDishTowel 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
166.4 seconds
Effect
WetnessMoodle Icon Wet.png
-40%
Technical
Item ID
Base.DishCloth
Base.DishClothWet
Use to dry self when wet. Always know where your towel is.
— In-game tooltip.

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

Usage

Drying

Dish towels can be used to dry the player when they are displaying the wet moodle after being caught in the rain in-game, which will produce a wet dish towel.

The wet dish towel will dry over time.

Cleaning

Dish towels 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.

Containers
Building/Room Container Rolls Chance
all bin 1 2
bakerykitchen counter 4 1
counter 4 1
breakroom counter 4 1
butcher counter 4 8
departmentstorage metal_shelves 4 1
metal_shelves 4 2
kitchen counter 4 1
counter 4 1
counter 4 1
counter 4 1
laundry clothingdryer 4 1
clothingdryer 4 2

Dish towels are usually found in kitchens of houses and restaurants, although they can also be found in motels, storage units and houseware stores.

Code

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

Dish Towel Dishtowel.png
Source: ProjectZomboid\media\scripts\items.txt

Retrieved: Build 41.78.16
item DishCloth
	{
	    DisplayCategory = Household,
		Weight	=	0.3,
		Type	=	Drainable,
		DisplayName	=	Dish Towel,
        UseWhileEquipped	=	FALSE,
		Icon	=	Dishtowel,
        UseDelta	=	0.1,
		ReplaceOnDeplete	=	DishClothWet,
		Tooltip = Tooltip_Bathtowel,
		WorldStaticModel = DishTowel,
		cantBeConsolided = TRUE,
	}


Wet Dish Towel Dishtowel.png
Source: ProjectZomboid\media\scripts\items.txt

Retrieved: Build 41.78.16
item DishClothWet
	{
	    DisplayCategory = Household,
		Weight	=	0.3,
		Type	=	Normal,
		DisplayName	=	Wet Dish Towel,
        Icon	=	Dishtowel,
        Wet                 =           TRUE,
        WetCooldown         =           8000,
        ItemWhenDry         =           Base.DishCloth,
        WorldStaticModel = DishTowelWet,
	}

See also