Rubber Duck: Difference between revisions

From PZwiki
m (→‎top: Category Project: Junk)
(→‎Code: Update codebox to B41)
Line 28: Line 28:
   | lang = java
   | lang = java
   | line = true
   | line = true
   | start = 0
   | start = 1039
   | source = newitems.txt
   | source = newitems.txt
   | retrieved = true
   | retrieved = true
   | version = 40
   | version = 41.78.16
  | incver = 43
   | code =
   | code =
item Rubberducky
    item Rubberducky
{
    {
  Weight     = 0.1,
        DisplayCategory = Junk,
  Type       = Normal,
        Weight = 0.1,
  DisplayName = Rubber Duck,
        Type = Normal,
  Icon       = Rubberducky,
        DisplayName = Rubber Duck,
}
        Icon = Rubberducky,
        WorldStaticModel = Rubberducky,
    }
   }}
   }}
}}
}}

Revision as of 08:51, 2 February 2024

Template:Header/sandbox2

UI Tick.png
This page has been revised for the current stable version (41.78.16).
Help by adding any missing content. [edit]
Rubber Duck
RubberDucky Model.png
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. It currently cannot be obtained outside of being spawned in debug mode or by admin in multiplayer or through mods, it is visible in crafting recipes.

Code

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

Source: ProjectZomboid\media\scripts\newitems.txt

Retrieved: Build 41.78.16
item Rubberducky
    {
        DisplayCategory = Junk,
        Weight	=	0.1,
        Type	=	Normal,
        DisplayName	=	Rubber Duck,
        Icon	=	Rubberducky,
        WorldStaticModel = Rubberducky,
    }

See also