Rubber Duck: Difference between revisions
VaileasysBot (talk | contribs) m (→top: category project: "The Game World") |
m (Automated Formatting) |
||
(19 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
{{Header|Project Zomboid|Items|Miscellaneous items|Junk}} | |||
| | {{Page version|41.78.16}} | ||
| | {{Infobox item | ||
|name=Rubber Duck | |||
| | |model=RubberDucky_Model.png | ||
|icon=Rubberducky.png | |||
| weight = 0.1 | |weight=0.1 | ||
| function = | |function=None | ||
| | |item_id=Base.Rubberducky | ||
}}A '''rubber duck''' is currently a useless | }} | ||
{{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 | A rubber duck has no use, being added purely for the purpose of clutter, creating more realism for the player when looting. | ||
==Distribution== | ==Distribution== | ||
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 = | | start = 1039 | ||
| source = newitems.txt | | source = newitems.txt | ||
| retrieved = true | | retrieved = true | ||
| version = | | version = 41.78.16 | ||
| code = | | code = | ||
item Rubberducky | item Rubberducky | ||
{ | { | ||
DisplayCategory = Junk, | |||
Weight = 0.1, | |||
Type = Normal, | |||
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
- This 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 snippet! This section contains source code from Project ZomboidShow / Hide
Source: ProjectZomboid\media\scripts\newitems.txt
item Rubberducky
{
DisplayCategory = Junk,
Weight = 0.1,
Type = Normal,
DisplayName = Rubber Duck,
Icon = Rubberducky,
WorldStaticModel = Rubberducky,
}