Dish Towel: Difference between revisions

From PZwiki
m (→‎top: category project: "The Game World")
m (Automated Formatting)
(27 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{Languages}}
{{Header|Project Zomboid|Items|Miscellaneous items|Household}}
{{Header|Project Zomboid|Items|Consumables|Medical Items|type=Medical|version=Version 39|incver=67.5}}
{{Page version|41.78.16}}
{{Infobox item custom
{{Infobox item
|display_name=Dish Towel
|name=Dish Towel
|name_colour=Medical
|model=DishTowel_Model.png
|name_text_colour=Medical
|model2=WetDishTowel_Model.png
|image=DishTowel_Model.png
|icon=Dishtowel.png
|alternate_image=Dishtowel.png
|icon_name=Dish Towel (dry)
|function=[[Moodles#Wet|Dry]] player
|icon2=Dishtowel.png
|other_function=Clean bloodstains
|icon_name2=Wet Dish Towel
|variant1=Dish Towel
|category=Household
|func1=Weight
|weight=0.3
|data1=0.3
|weight_text=(dry)
|func2=Max. units
|weight2=0.5
|data2=10 units
|weight_text2=(wet)
|variant2=Wet Dish Towel
|function=[[Wet|Dry]] player<br>Clean bloodstains
|data4=0.5
|max_units=0.1
|data5=10 units
|wet_cooldown=8000
|func3=Cooldown
|item_id=Base.DishCloth
|data6=8000
|item_id2=Base.DishClothWet
|class_name = See [[#Item IDs|Item IDs]]
}}
}}
{{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]].
{{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 33: 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="wikitable theme-red"
! colspan="4" | Containers
!Item
!Class name
|-
|-
|Dish Towel
! Building/Room
|Base.DishCloth
! Container
! style="width: 3.2em;" | Rolls
! style="width: 3.2em;" | Chance
|-
|-
|Wet Dish Towel
|all
|Base.DishClothWet
|[[bin]]
|}
|1
 
|2
==Gallery==
|-
<gallery>
|rowspan="2"|bakerykitchen
DishTowel_Model.png|Dry dish towel
|[[counter]]
WetDishTowel_Model.png|Wet dish towel
|4
</gallery>
|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
|-
|[[counter]]
|4
|1
|-
|[[counter]]
|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=41|incver=78.16}}
''Dish Towel'' [[File:Dishtowel.png]]<br>
<pre>
{{CodeSnip
item DishCloth
  | lang = java
  | line = true
  | start = 642
  | source = items.txt
  | retrieved = true
  | version = 41.78.16
  | code =
item DishCloth
{
{
DisplayCategory = Household,
    DisplayCategory = Household,
Weight = 0.3,
Weight = 0.3,
Type = Drainable,
Type = Drainable,
DisplayName = Dish Towel,
DisplayName = Dish Towel,
UseWhileEquipped = FALSE,
        UseWhileEquipped = FALSE,
Icon = Dishtowel,
Icon = Dishtowel,
UseDelta = 0.1,
        UseDelta = 0.1,
ReplaceOnDeplete = DishClothWet,
ReplaceOnDeplete = DishClothWet,
Tooltip = Tooltip_Bathtowel,
Tooltip = Tooltip_Bathtowel,
Line 71: Line 128:
cantBeConsolided = TRUE,
cantBeConsolided = TRUE,
}
}
</pre>
}}


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


==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