Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Be crafty.png

Build 42 unstable is out now!

The wiki has already begun updating. Please be patient during the transition.
Help us by contributing to the build 42 update project.
The Project Zomboid Map Project will not be updated until at least January, in the meantime use B42 Map.

404SpiffoMascotMap.png

Rubber Duck (battery)

From PZwiki
Project ZomboidItemsMiscellaneous itemsJunkRubber Duck (battery)
UI Tick.png
This page has been revised for the current stable version (41.78.16).
Help by adding any missing content. [edit]
Parts of this page may have been automatically updated to the latest build (42.0.2).
Rubber Duck
Rubberducky Model.png
General
Category
Junk
Encumbrance
Moodle Icon HeavyLoad.png
0.1
Properties
Capacity
333.3 units
Technical
Item ID
Base.Rubberducky2
PlushSpiffo.pngThis article is about rubber duck with a battery. For decorative item with no battery, see Rubber Duck.

A rubber duck is a test item that is not found in the regular game.

Crafting

Unlike other electric craftable items, a screwdriver is not needed to disassemble this item. The player just needs to hover over the item in the player’s inventory, the option to Remove Battery will appear. After doing which, the player will gain a battery from the process.

LightBulbBlue.png
Recipes are still based on build 41, and are planned to be revamped to build 42 at a later date, depending on the game's crafting system improvement.
Product Ingredients Tools Requirements Workstation XP
Battery.png
Battery
One of:
Flashlight.png Flashlight ×1
Flashlight2.png Flashlight ×1
Rubber Duck Rubber Duck ×1
none none none none
Rubber Duck
Rubber Duck
Rubber Duck Rubber Duck ×1
Battery.png Battery ×1
none none none none

Location

This item can only be spawned in debug mode or by an admin in multiplayer, it is also visible as an item in crafting.

Trivia

  • This item is likely a reference to rubber duck debugging, a method of troubleshooting where a programmer explains their code verbally to a rubber duck or similar item in order to figure out the problem.

History

Base.Rubberducky2

Version Description
Build 41.78.16 Removed on this version.
Build 41.69 cantBeConsolided added with value TRUE.
Build 41.65 DisplayCategory added with value Junk.
Build 41.51 WorldStaticModel added with value Rubberducky.
Build 41.38 Released on this version.

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 Rubberducky2
    {
        DisplayCategory = Junk,
        Weight	=	0.1,
        Type	=	Drainable,
        UseDelta	=	0.003,
        DisplayName	=	Rubber Duck,
        Icon	=	Rubberducky,
        WorldStaticModel = Rubberducky,
        cantBeConsolided = TRUE,
    }

See also