Rubber Duck: Difference between revisions

From PZwiki
m (→‎top: category project: "The Game World")
m (Automated Formatting)
(19 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{Languages}}{{Header|Project Zomboid|Items|version=Version 40|incver=43}}{{Infobox item
{{Header|Project Zomboid|Items|Miscellaneous items|Junk}}
| display_name = Rubber Duck
{{Page version|41.78.16}}
| name_colour =
{{Infobox item
| name_text_colour =  
|name=Rubber Duck
| model = Rubberducky.png
|model=RubberDucky_Model.png
| model_width = 128px
|icon=Rubberducky.png
| weight = 0.1
|weight=0.1
| function = ''None''
|function=None
| class_name = Base.Rubberducky
|item_id=Base.Rubberducky
}}A '''rubber duck''' is currently a useless {{T|item}}, and often considered as ''junk''.
}}
{{About|decorative junk item|rubber duck with a [[battery]]|Rubber Duck (battery)}}
A '''rubber duck''' is currently a useless item, and often considered as ''junk''.


==Usage==
==Usage==
A rubber duck has no use, being added purely for the purpose of clutter, creating more realism for the {{T|player}} when looting.  
A rubber duck has no use, being added purely for the purpose of clutter, creating more realism for the player when looting.


==Distribution==
==Distribution==
Rubber ducks can be found in bathrooms and gift stores.  
The loot distributions can be found in the table(s) below.
 
{| class="mw-collapsible mw-collapsed wikitable theme-red" data-expandtext="{{int:show}}" data-collapsetext="{{int:hide}}" style="text-align:center; min-width:24em;"
! colspan="4" | Containers
|-
! Building/Room
! Container
! style="width: 3.2em;" | Rolls
! style="width: 3.2em;" | Chance
|-
|rowspan="3"|bathroom
|[[counter]]
|4
|4
|-
|[[counter]]
|4
|4
|-
|[[shelves]]
|4
|4
|-
|bedroom
|[[crate]]
|1
|0.4
|-
|closet
|[[crate]]
|4
|4
|}


==Trivia==
==Trivia==
A test item called ''Rubberducky2'' in code exists and can be used to remove batteries.
*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==
{{CodeBox
{{CodeBox
| {{CodeSnip
| {{CodeSnip
   | 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,
    }
}}
}}
}}


Line 44: Line 78:
*[[Toothbrush]]
*[[Toothbrush]]
*[[Toilet Paper]]
*[[Toilet Paper]]
{{Navbox items|junk}}

Revision as of 11:41, 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]
Rubber Duck
RubberDucky Model.png
General
Encumbrance
Moodle Icon HeavyLoad.png
0.1
Function
None
Technical
Item ID
Base.Rubberducky
PlushSpiffo.pngThis article is about decorative junk item. For rubber duck with a battery, see Rubber Duck (battery).

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

The loot distributions can be found in the table(s) below.

Containers
Building/Room Container Rolls Chance
bathroom counter 4 4
counter 4 4
shelves 4 4
bedroom crate 1 0.4
closet crate 4 4

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