Rubber Duck: Difference between revisions

From PZwiki
m (→‎top: Replace "Infobox_normal" with "Infobox_item")
(→‎Code: Code box update)
Line 20: Line 20:


==Code==
==Code==
'''''From newitems.txt (Project Zomboid directory/media/scripts/)'''''
 
{{Retrieved|version=40|incver=43}}
{{CodeBox
<pre>
| {{CodeSnip
item Rubberducky
  | lang = java
Weight = 0.1,
  | line = true
Type = Normal,
  | start = 0
DisplayName = Rubber Duck,
  | source = newitems.txt
Icon = Rubberducky,
  | retrieved = true
</pre>
  | version = 40
  | incver = 43
  | code =
item Rubberducky
{
  Weight     = 0.1,
  Type       = Normal,
  DisplayName = Rubber Duck,
  Icon       = Rubberducky,
}
  }}
}}


==See also==
==See also==
*[[Toothbrush]]
*[[Toothbrush]]
*[[Toilet Paper]]
*[[Toilet Paper]]

Revision as of 09:00, 8 January 2024

The Game WorldItemsRubber Duck
Rubber Duck
General
Encumbrance
Moodle Icon HeavyLoad.png
0.1
Function
None
Technical
Item ID
Base.Rubberducky

A rubber duck is currently a useless item, and often considered as junk.

Usage

A rubber duck has no use, being added purely for the purpose of clutter, creating more realism for the player when looting.

Distribution

Rubber ducks can be found in bathrooms and gift stores.

Trivia

A test item called Rubberducky2 in code exists and can be used to remove batteries.

Code

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

Source: ProjectZomboid\media\scripts\newitems.txt

Retrieved: Build 40.43
item Rubberducky
{
  Weight      = 0.1,
  Type        = Normal,
  DisplayName = Rubber Duck,
  Icon        = Rubberducky,
}

See also