Toothpaste: Difference between revisions

From PZwiki
(Created page)
 
(Update distribution file)
 
(29 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{languages}}
{{Header|Project Zomboid|Items|Miscellaneous items|Junk}}
{{header|The Game World|Items|version=Version 40|incver=43}}{{Infobox normal
{{Page version|41.78.16}}
| display_name = Toothpaste
{{Infobox item
| name_colour =  
|name=Toothpaste
| name_text_colour =  
|model=Toothpaste_Model.png
| image = Toothpaste.png
|icon=Toothpaste.png
| image_width = 120px
|icon_name=Toothpaste
| weight = 0.1
|model_width=128px
| function = ''None''
|weight=0.1
| class_name = Base.Toothpaste
|function=''None''
}}'''Toothpaste''' is currently a useless {{T|item}}, and often considered as ''junk''.
|item_id=Base.Toothpaste
}}
'''Toothpaste''' is currently a useless item, and often considered as ''junk''.


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


==Distribution==
==Distribution==
Toothpaste can be found in bathrooms.  
The loot distributions can be found in the table(s) below.
 
<!--BOT FLAG|Toothpaste|41.78.16-->
{{Clear}}
<div class="togglebox theme-red">
    <div>Toothpaste distribution
        <span class="mw-customtoggle-togglebox-Toothpaste" title="{{int:show}} / {{int:hide}}" style="float: right; padding-right: 30px; padding-top: 4px; font-size: 0.7em; font-weight: normal;">{{int:show}} / {{int:hide}}</span></div>
    <div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-togglebox-Toothpaste">
    Effective chance calculations are based off of default loot settings, and median zombie density. The higher the density of zombies in an area, the higher the effective chance of an item spawning. Chance is also influenced by the [[lucky]] and [[unlucky]] traits.    <div class="toggle-content">
<div class="pz-container">
<div id="containers" style="flex-basis:30%">
    {| class="wikitable theme-red" style="margin-right: 15px; width: 95%;"
    |+ {{ll|Containers}}
    ! Building/Room
    ! Container
    ! Effective chance
    |-
    | all
    | {{ll|junk}}
    | 6.41%
    |-
    | bathroom
    | {{ll|counter}}
    | 23.28%
    |-
    | bathroom
    | {{ll|medicine}}
    | 23.28%
    |-
    | bathroom
    | {{ll|shelves}}
    | 23.28%
    |-
    | pharmacy
    | {{ll|shelves}}
    | 10.78%
    |-
    | prisoncells
    | {{ll|wardrobe}}
    | 23.28%
    |}
</div>
    </div><div style="clear: both;"></div>
    </div></div><div class="toggle large mw-customtoggle-togglebox-Toothpaste" title="{{int:show}}/{{int:hide}}"></div></div>
<!--END BOT FLAG|Toothpaste|41.78.16-->


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


==See also==
==See also==
* [[Toothbrush]]
*[[Toothbrush]]
* [[Toilet Paper]]
*[[Toilet Paper]]
 
{{Navbox items|junk}}

Latest revision as of 14:09, 30 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]
Toothpaste
Toothpaste Model.png
General
Encumbrance
Moodle Icon HeavyLoad.png
0.1
Function
None
Technical
Item ID
Base.Toothpaste

Toothpaste is currently a useless item, and often considered as junk.

Usage

Toothpaste 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.

Toothpaste distribution Show / Hide
Effective chance calculations are based off of default loot settings, and median zombie density. The higher the density of zombies in an area, the higher the effective chance of an item spawning. Chance is also influenced by the lucky and unlucky traits.
Containers
Building/Room Container Effective chance
all junk 6.41%
bathroom counter 23.28%
bathroom medicine 23.28%
bathroom shelves 23.28%
pharmacy shelves 10.78%
prisoncells wardrobe 23.28%

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 Toothpaste
    {
        DisplayCategory = Junk,
        Type				=			Normal,
        DisplayName			=		    Toothpaste,
        Icon				=			Toothpaste,
        Weight				=			0.1,
        WorldStaticModel = Toothpaste,
    }

See also