Toothpaste: Difference between revisions

From PZwiki
m (→‎top: Replace "Infobox_normal" with "Infobox_item")
m (Insert empty line above each {{Navbox}})
(25 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{Languages}}{{Header|The Game World|Items|version=Version 40|incver=43}}{{Infobox item
{{Header|Project Zomboid|Items|Miscellaneous items|Junk}}
| display_name = Toothpaste
{{Page version|41.78.16}}
| name_colour =  
{{Infobox item
| name_text_colour =  
|name=Toothpaste
| model = Toothpaste.png
|model=Toothpaste_Model.png
| model_width = 128px
|icon=Toothpaste.png
| weight = 0.1
|icon_name=Toothpaste
| function = ''None''
|model_width=128px
| class_name = Base.Toothpaste
|weight=0.1
}}'''Toothpaste''' is currently a useless {{T|item}}, and often considered as ''junk''.
|function=''None''
|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">
    <div class="toggle-content"><div style="display: flex;"><div style="float:left;">
    {| class="wikitable theme-red" style="margin-right:15px; width:95%;"
    |+ {{ll|Containers}}
    ! Building / Room
    ! Container
    ! Rolls
    ! Chance
    |-
    | all
    | {{ll|junk}}
    | 1
    | 10.0
    |-
    | bathroom
    | {{ll|counter}}
    | 4
    | 10.0
    |-
    | bathroom
    | {{ll|medicine}}
    | 4
    | 10.0
    |-
    | bathroom
    | {{ll|shelves}}
    | 4
    | 10.0
    |-
    | pharmacy
    | {{ll|shelves}}
    | 4
    | 4.0
    |-
    | prisoncells
    | {{ll|wardrobe}}
    | 4
    | 10.0
    |}
</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>
  | lang = java
item Toothpaste
  | line = true
Type = Normal,
  | start = 1486
DisplayName = Toothpaste,
  | source = newitems.txt
Icon = Toothpaste,
  | retrieved = true
Weight = 0.1,
  | version = 41.78.16
</pre>
  | 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}}

Revision as of 15:58, 25 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
Containers
Building / Room Container Rolls Chance
all junk 1 10.0
bathroom counter 4 10.0
bathroom medicine 4 10.0
bathroom shelves 4 10.0
pharmacy shelves 4 4.0
prisoncells wardrobe 4 10.0

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