Dish Towel: Difference between revisions

From PZwiki
m (→‎top: category project: "The Game World")
(→‎Code: Codebox Update)
Line 54: Line 54:


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


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


==See also==
==See also==

Revision as of 05:35, 13 January 2024

Dish Towel
Dish Towel
Dishtowel.png
General
Category Item
Main function Dry player
Other function(s) Clean bloodstains
Dish Towel
Weight 0.3
Max. units 10 units
Wet Dish Towel
Weight 0.5
Max. units 10 units
Cooldown 8000
Technical details
Item ID See Item IDs
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

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

Item IDs

Item Class name
Dish Towel Base.DishCloth
Wet Dish Towel Base.DishClothWet

Gallery

Code

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

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

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

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

Template:Navbox medical