Toothpaste: Difference between revisions

From PZwiki
m (No variants for toothpaste)
m (Insert empty line above each {{Navbox}})
(20 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Languages}}
{{Header|Project Zomboid|Items|Miscellaneous items|Junk}}
{{Header|Project Zomboid|Items|version=Version 40|incver=43}}
{{Page version|41.78.16}}
{{Infobox item
{{Infobox item
| display_name = Toothpaste
|name=Toothpaste
| name_colour =
|model=Toothpaste_Model.png
| name_text_colour =
|icon=Toothpaste.png
| model = Toothpaste_Model.png
|icon_name=Toothpaste
| icon=Toothpaste.png
|model_width=128px
| icon_name=Toothpaste
|weight=0.1
| model_width = 128px
|function=''None''
| weight = 0.1
|item_id=Base.Toothpaste
| function = ''None''
| class_name = Base.Toothpaste
}}
}}
'''Toothpaste''' is currently a useless item, and often considered as ''junk''.
'''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 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==
Line 26: Line 73:
   | lang = java
   | lang = java
   | line = true
   | line = true
   | start = 0
   | start = 1486
   | source = newitems.txt
   | source = newitems.txt
   | retrieved = true
   | retrieved = true
   | version = 40
   | version = 41.78.16
  | incver = 43
   | code =
   | code =
item Toothpaste
item Toothpaste
{
    {
    Type       = Normal,
        DisplayCategory = Junk,
    DisplayName = Toothpaste,
        Type = Normal,
    Icon       = Toothpaste,
        DisplayName =     Toothpaste,
    Weight     = 0.1,
        Icon = Toothpaste,
}
        Weight = 0.1,
  }}
        WorldStaticModel = Toothpaste,
    }
}}
}}
}}


Line 45: Line 93:
*[[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